Mock Version: 1.3.4 Mock Version: 1.3.4 ENTER ['do'](['bash', '--login', '-c', '/usr/bin/rpmbuild -bs --target ppc64le --nodeps /builddir/build/SPECS/tbb.spec'], nspawn_args=[]shell=Falseuid=996env={'LANG': 'en_GB.UTF-8', 'TERM': 'vt100', 'SHELL': '/bin/bash', 'HOSTNAME': 'mock', 'PROMPT_COMMAND': 'printf "\\033]0;\\007"', 'HOME': '/builddir', 'PATH': '/usr/bin:/bin:/usr/sbin:/sbin', 'PS1': ' \\s-\\v\\$ '}chrootPath='/var/lib/mock/dist-c8-build-8123-384/root'gid=135user='mockbuild'timeout=86400logger=printOutput=False) Executing command: ['bash', '--login', '-c', '/usr/bin/rpmbuild -bs --target ppc64le --nodeps /builddir/build/SPECS/tbb.spec'] with env {'LANG': 'en_GB.UTF-8', 'TERM': 'vt100', 'SHELL': '/bin/bash', 'HOSTNAME': 'mock', 'PROMPT_COMMAND': 'printf "\\033]0;\\007"', 'HOME': '/builddir', 'PATH': '/usr/bin:/bin:/usr/sbin:/sbin', 'PS1': ' \\s-\\v\\$ '} and shell False Building target platforms: ppc64le Building for target ppc64le Wrote: /builddir/build/SRPMS/tbb-2018.2-9.el8.src.rpm Child return code was: 0 ENTER ['do'](['bash', '--login', '-c', u'/usr/bin/rpmbuild -bb --target ppc64le --nodeps /builddir/build/SPECS/tbb.spec'], nspawn_args=[]shell=Falseuid=996env={'LANG': 'en_GB.UTF-8', 'TERM': 'vt100', 'SHELL': '/bin/bash', 'HOSTNAME': 'mock', 'PROMPT_COMMAND': 'printf "\\033]0;\\007"', 'HOME': '/builddir', 'PATH': '/usr/bin:/bin:/usr/sbin:/sbin', 'PS1': ' \\s-\\v\\$ '}chrootPath='/var/lib/mock/dist-c8-build-8123-384/root'gid=135user='mockbuild'timeout=86400logger=printOutput=False) Executing command: ['bash', '--login', '-c', u'/usr/bin/rpmbuild -bb --target ppc64le --nodeps /builddir/build/SPECS/tbb.spec'] with env {'LANG': 'en_GB.UTF-8', 'TERM': 'vt100', 'SHELL': '/bin/bash', 'HOSTNAME': 'mock', 'PROMPT_COMMAND': 'printf "\\033]0;\\007"', 'HOME': '/builddir', 'PATH': '/usr/bin:/bin:/usr/sbin:/sbin', 'PS1': ' \\s-\\v\\$ '} and shell False Building target platforms: ppc64le Building for target ppc64le Executing(%prep): /bin/sh -e /var/tmp/rpm-tmp.jEibS9 + umask 022 + cd /builddir/build/BUILD + cd /builddir/build/BUILD + rm -rf tbb-2018_U2 + /usr/bin/gzip -dc /builddir/build/SOURCES/2018_U2.tar.gz + /usr/bin/tar -xof - + STATUS=0 + '[' 0 -ne 0 ']' + cd tbb-2018_U2 + /usr/bin/chmod -Rf a+rX,u+w,g-w,o-w . Patch #1 (tbb-4.4-cxxflags.patch): patching file build/linux.gcc.inc patching file build/Makefile.tbbmalloc Patch #2 (tbb-4.0-mfence.patch): patching file include/tbb/machine/linux_ia32.h Patch #3 (tbb-4.3-dont-snip-Wall.patch): + echo 'Patch #1 (tbb-4.4-cxxflags.patch):' + /usr/bin/patch --no-backup-if-mismatch -p1 --fuzz=0 + echo 'Patch #2 (tbb-4.0-mfence.patch):' + /usr/bin/patch --no-backup-if-mismatch -p1 --fuzz=0 + echo 'Patch #3 (tbb-4.3-dont-snip-Wall.patch):' + /usr/bin/patch --no-backup-if-mismatch -p1 --fuzz=0 patching file build/Makefile.tbbmalloc + sed -i 's/"`hostname -s`" ("`uname -m`"/fedorabuild (ppc64le/' build/version_info_linux.sh + sed -i s/-mrtm// build/linux.gcc.inc + sed -i 's,env python,python3,' python/TBB.py python/tbb/__init__.py python/tbb/__main__.py + sed -i '/^#!/d' python/tbb/pool.py python/tbb/test.py + '[' /usr/lib64 '!=' /usr/lib ']' + sed -i.orig 's/"lib"/"lib64"/' cmake/TBBMakeConfig.cmake + touch -r cmake/TBBMakeConfig.cmake.orig cmake/TBBMakeConfig.cmake + rm cmake/TBBMakeConfig.cmake.orig + cp -a python python3 + sed -i s,python,python3,g python3/Makefile python3/rml/Makefile + sed -i s,python2,python3, python3/TBB.py python3/tbb/__init__.py python3/tbb/__main__.py + sed -i s,PY_SETUP=python3,PY_SETUP=/usr/libexec/platform-python,g python3/Makefile + sed -i 's,python3 -m tbb test,/usr/libexec/platform-python -m tbb test,g' python3/Makefile + exit 0 Executing(%build): /bin/sh -e /var/tmp/rpm-tmp.HjYbgA + umask 022 + cd /builddir/build/BUILD + cd tbb-2018_U2 + make -j8 tbb_build_prefix=obj stdver=c++14 'CXXFLAGS=-O2 -g -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -fexceptions -fstack-protector-strong -grecord-gcc-switches -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -mcpu=power8 -mtune=power8 -funwind-tables -fstack-clash-protection' 'LDFLAGS=-Wl,--as-needed -Wl,-z,relro -Wl,-z,now -specs=/usr/lib/rpm/redhat/redhat-hardened-ld' Created ./build/obj_release and ..._debug directories make -C "./build/obj_debug" -r -f ../../build/Makefile.tbb cfg=debug make[1]: Entering directory '/builddir/build/BUILD/tbb-2018_U2/build/obj_debug' ../../build/Makefile.tbb:32: CONFIG: cfg=debug arch=ppc64le compiler=gcc target=linux runtime=cc8_libc2.28_kernel4.14.0 g++ -o concurrent_hash_map.o -c -MMD -O2 -g -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -fexceptions -fstack-protector-strong -grecord-gcc-switches -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -mcpu=power8 -mtune=power8 -funwind-tables -fstack-clash-protection -DTBB_USE_DEBUG -g -O0 -DUSE_PTHREAD -fPIC -flifetime-dse=1 -D__TBB_BUILD=1 -Wall -Wno-parentheses -Wno-non-virtual-dtor -O2 -g -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -fexceptions -fstack-protector-strong -grecord-gcc-switches -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -mcpu=power8 -mtune=power8 -funwind-tables -fstack-clash-protection -std=c++14 -I../../src -I../../src/rml/include -I../../include ../../src/tbb/concurrent_hash_map.cpp g++ -o concurrent_queue.o -c -MMD -O2 -g -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -fexceptions -fstack-protector-strong -grecord-gcc-switches -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -mcpu=power8 -mtune=power8 -funwind-tables -fstack-clash-protection -DTBB_USE_DEBUG -g -O0 -DUSE_PTHREAD -fPIC -flifetime-dse=1 -D__TBB_BUILD=1 -Wall -Wno-parentheses -Wno-non-virtual-dtor -O2 -g -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -fexceptions -fstack-protector-strong -grecord-gcc-switches -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -mcpu=power8 -mtune=power8 -funwind-tables -fstack-clash-protection -std=c++14 -I../../src -I../../src/rml/include -I../../include ../../src/tbb/concurrent_queue.cpp g++ -o concurrent_vector.o -c -MMD -O2 -g -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -fexceptions -fstack-protector-strong -grecord-gcc-switches -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -mcpu=power8 -mtune=power8 -funwind-tables -fstack-clash-protection -DTBB_USE_DEBUG -g -O0 -DUSE_PTHREAD -fPIC -flifetime-dse=1 -D__TBB_BUILD=1 -Wall -Wno-parentheses -Wno-non-virtual-dtor -O2 -g -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -fexceptions -fstack-protector-strong -grecord-gcc-switches -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -mcpu=power8 -mtune=power8 -funwind-tables -fstack-clash-protection -std=c++14 -I../../src -I../../src/rml/include -I../../include ../../src/tbb/concurrent_vector.cpp g++ -o dynamic_link.o -c -MMD -O2 -g -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -fexceptions -fstack-protector-strong -grecord-gcc-switches -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -mcpu=power8 -mtune=power8 -funwind-tables -fstack-clash-protection -DTBB_USE_DEBUG -g -O0 -DUSE_PTHREAD -fPIC -flifetime-dse=1 -D__TBB_BUILD=1 -Wall -Wno-parentheses -Wno-non-virtual-dtor -O2 -g -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -fexceptions -fstack-protector-strong -grecord-gcc-switches -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -mcpu=power8 -mtune=power8 -funwind-tables -fstack-clash-protection -std=c++14 -I../../src -I../../src/rml/include -I../../include ../../src/tbb/dynamic_link.cpp g++ -o itt_notify.o -c -MMD -O2 -g -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -fexceptions -fstack-protector-strong -grecord-gcc-switches -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -mcpu=power8 -mtune=power8 -funwind-tables -fstack-clash-protection -DTBB_USE_DEBUG -g -O0 -DUSE_PTHREAD -fPIC -flifetime-dse=1 -D__TBB_BUILD=1 -Wall -Wno-parentheses -Wno-non-virtual-dtor -O2 -g -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -fexceptions -fstack-protector-strong -grecord-gcc-switches -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -mcpu=power8 -mtune=power8 -funwind-tables -fstack-clash-protection -std=c++14 -I../../src -I../../src/rml/include -I../../include ../../src/tbb/itt_notify.cpp g++ -o cache_aligned_allocator.o -c -MMD -O2 -g -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -fexceptions -fstack-protector-strong -grecord-gcc-switches -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -mcpu=power8 -mtune=power8 -funwind-tables -fstack-clash-protection -DTBB_USE_DEBUG -g -O0 -DUSE_PTHREAD -fPIC -flifetime-dse=1 -D__TBB_BUILD=1 -Wall -Wno-parentheses -Wno-non-virtual-dtor -O2 -g -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -fexceptions -fstack-protector-strong -grecord-gcc-switches -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -mcpu=power8 -mtune=power8 -funwind-tables -fstack-clash-protection -std=c++14 -I../../src -I../../src/rml/include -I../../include ../../src/tbb/cache_aligned_allocator.cpp g++ -o pipeline.o -c -MMD -O2 -g -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -fexceptions -fstack-protector-strong -grecord-gcc-switches -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -mcpu=power8 -mtune=power8 -funwind-tables -fstack-clash-protection -DTBB_USE_DEBUG -g -O0 -DUSE_PTHREAD -fPIC -flifetime-dse=1 -D__TBB_BUILD=1 -Wall -Wno-parentheses -Wno-non-virtual-dtor -O2 -g -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -fexceptions -fstack-protector-strong -grecord-gcc-switches -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -mcpu=power8 -mtune=power8 -funwind-tables -fstack-clash-protection -std=c++14 -I../../src -I../../src/rml/include -I../../include ../../src/tbb/pipeline.cpp g++ -o queuing_mutex.o -c -MMD -O2 -g -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -fexceptions -fstack-protector-strong -grecord-gcc-switches -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -mcpu=power8 -mtune=power8 -funwind-tables -fstack-clash-protection -DTBB_USE_DEBUG -g -O0 -DUSE_PTHREAD -fPIC -flifetime-dse=1 -D__TBB_BUILD=1 -Wall -Wno-parentheses -Wno-non-virtual-dtor -O2 -g -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -fexceptions -fstack-protector-strong -grecord-gcc-switches -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -mcpu=power8 -mtune=power8 -funwind-tables -fstack-clash-protection -std=c++14 -I../../src -I../../src/rml/include -I../../include ../../src/tbb/queuing_mutex.cpp In file included from ../../src/tbb/concurrent_hash_map.cpp:21: ../../include/tbb/concurrent_hash_map.h: In static member function 'static void tbb::interface5::internal::hash_map_base::init_buckets(tbb::interface5::internal::hash_map_base::segment_ptr_t, tbb::interface5::internal::hash_map_base::size_type, bool)': ../../include/tbb/concurrent_hash_map.h:158:68: warning: 'void* memset(void*, int, size_t)' clearing an object of type 'struct tbb::interface5::internal::hash_map_base::bucket' with no trivial copy-assignment; use value-initialization instead [-Wclass-memaccess] if( is_initial ) std::memset(ptr, 0, sz*sizeof(bucket) ); ^ ../../include/tbb/concurrent_hash_map.h:87:16: note: 'struct tbb::interface5::internal::hash_map_base::bucket' declared here struct bucket : tbb::internal::no_copy { ^~~~~~ g++ -o queuing_rw_mutex.o -c -MMD -O2 -g -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -fexceptions -fstack-protector-strong -grecord-gcc-switches -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -mcpu=power8 -mtune=power8 -funwind-tables -fstack-clash-protection -DTBB_USE_DEBUG -g -O0 -DUSE_PTHREAD -fPIC -flifetime-dse=1 -D__TBB_BUILD=1 -Wall -Wno-parentheses -Wno-non-virtual-dtor -O2 -g -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -fexceptions -fstack-protector-strong -grecord-gcc-switches -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -mcpu=power8 -mtune=power8 -funwind-tables -fstack-clash-protection -std=c++14 -I../../src -I../../src/rml/include -I../../include ../../src/tbb/queuing_rw_mutex.cpp g++ -o reader_writer_lock.o -c -MMD -O2 -g -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -fexceptions -fstack-protector-strong -grecord-gcc-switches -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -mcpu=power8 -mtune=power8 -funwind-tables -fstack-clash-protection -DTBB_USE_DEBUG -g -O0 -DUSE_PTHREAD -fPIC -flifetime-dse=1 -D__TBB_BUILD=1 -Wall -Wno-parentheses -Wno-non-virtual-dtor -O2 -g -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -fexceptions -fstack-protector-strong -grecord-gcc-switches -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -mcpu=power8 -mtune=power8 -funwind-tables -fstack-clash-protection -std=c++14 -I../../src -I../../src/rml/include -I../../include ../../src/tbb/reader_writer_lock.cpp g++ -o spin_rw_mutex.o -c -MMD -O2 -g -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -fexceptions -fstack-protector-strong -grecord-gcc-switches -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -mcpu=power8 -mtune=power8 -funwind-tables -fstack-clash-protection -DTBB_USE_DEBUG -g -O0 -DUSE_PTHREAD -fPIC -flifetime-dse=1 -D__TBB_BUILD=1 -Wall -Wno-parentheses -Wno-non-virtual-dtor -O2 -g -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -fexceptions -fstack-protector-strong -grecord-gcc-switches -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -mcpu=power8 -mtune=power8 -funwind-tables -fstack-clash-protection -std=c++14 -I../../src -I../../src/rml/include -I../../include ../../src/tbb/spin_rw_mutex.cpp ../../src/tbb/concurrent_queue.cpp: In constructor 'tbb::internal::concurrent_queue_base_v3::concurrent_queue_base_v3(std::size_t)': ../../src/tbb/concurrent_queue.cpp:356:49: warning: 'void* memset(void*, int, size_t)' clearing an object of type 'class tbb::internal::concurrent_queue_rep' with no trivial copy-assignment; use value-initialization instead [-Wclass-memaccess] memset(my_rep,0,sizeof(concurrent_queue_rep)); ^ ../../src/tbb/concurrent_queue.cpp:118:7: note: 'class tbb::internal::concurrent_queue_rep' declared here class concurrent_queue_rep { ^~~~~~~~~~~~~~~~~~~~ g++ -o x86_rtm_rw_mutex.o -c -MMD -O2 -g -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -fexceptions -fstack-protector-strong -grecord-gcc-switches -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -mcpu=power8 -mtune=power8 -funwind-tables -fstack-clash-protection -DTBB_USE_DEBUG -g -O0 -DUSE_PTHREAD -fPIC -flifetime-dse=1 -D__TBB_BUILD=1 -Wall -Wno-parentheses -Wno-non-virtual-dtor -O2 -g -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -fexceptions -fstack-protector-strong -grecord-gcc-switches -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -mcpu=power8 -mtune=power8 -funwind-tables -fstack-clash-protection -std=c++14 -I../../src -I../../src/rml/include -I../../include ../../src/tbb/x86_rtm_rw_mutex.cpp g++ -o spin_mutex.o -c -MMD -O2 -g -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -fexceptions -fstack-protector-strong -grecord-gcc-switches -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -mcpu=power8 -mtune=power8 -funwind-tables -fstack-clash-protection -DTBB_USE_DEBUG -g -O0 -DUSE_PTHREAD -fPIC -flifetime-dse=1 -D__TBB_BUILD=1 -Wall -Wno-parentheses -Wno-non-virtual-dtor -O2 -g -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -fexceptions -fstack-protector-strong -grecord-gcc-switches -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -mcpu=power8 -mtune=power8 -funwind-tables -fstack-clash-protection -std=c++14 -I../../src -I../../src/rml/include -I../../include ../../src/tbb/spin_mutex.cpp g++ -o critical_section.o -c -MMD -O2 -g -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -fexceptions -fstack-protector-strong -grecord-gcc-switches -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -mcpu=power8 -mtune=power8 -funwind-tables -fstack-clash-protection -DTBB_USE_DEBUG -g -O0 -DUSE_PTHREAD -fPIC -flifetime-dse=1 -D__TBB_BUILD=1 -Wall -Wno-parentheses -Wno-non-virtual-dtor -O2 -g -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -fexceptions -fstack-protector-strong -grecord-gcc-switches -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -mcpu=power8 -mtune=power8 -funwind-tables -fstack-clash-protection -std=c++14 -I../../src -I../../src/rml/include -I../../include ../../src/tbb/critical_section.cpp g++ -o mutex.o -c -MMD -O2 -g -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -fexceptions -fstack-protector-strong -grecord-gcc-switches -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -mcpu=power8 -mtune=power8 -funwind-tables -fstack-clash-protection -DTBB_USE_DEBUG -g -O0 -DUSE_PTHREAD -fPIC -flifetime-dse=1 -D__TBB_BUILD=1 -Wall -Wno-parentheses -Wno-non-virtual-dtor -O2 -g -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -fexceptions -fstack-protector-strong -grecord-gcc-switches -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -mcpu=power8 -mtune=power8 -funwind-tables -fstack-clash-protection -std=c++14 -I../../src -I../../src/rml/include -I../../include ../../src/tbb/mutex.cpp g++ -o recursive_mutex.o -c -MMD -O2 -g -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -fexceptions -fstack-protector-strong -grecord-gcc-switches -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -mcpu=power8 -mtune=power8 -funwind-tables -fstack-clash-protection -DTBB_USE_DEBUG -g -O0 -DUSE_PTHREAD -fPIC -flifetime-dse=1 -D__TBB_BUILD=1 -Wall -Wno-parentheses -Wno-non-virtual-dtor -O2 -g -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -fexceptions -fstack-protector-strong -grecord-gcc-switches -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -mcpu=power8 -mtune=power8 -funwind-tables -fstack-clash-protection -std=c++14 -I../../src -I../../src/rml/include -I../../include ../../src/tbb/recursive_mutex.cpp g++ -o condition_variable.o -c -MMD -O2 -g -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -fexceptions -fstack-protector-strong -grecord-gcc-switches -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -mcpu=power8 -mtune=power8 -funwind-tables -fstack-clash-protection -DTBB_USE_DEBUG -g -O0 -DUSE_PTHREAD -fPIC -flifetime-dse=1 -D__TBB_BUILD=1 -Wall -Wno-parentheses -Wno-non-virtual-dtor -O2 -g -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -fexceptions -fstack-protector-strong -grecord-gcc-switches -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -mcpu=power8 -mtune=power8 -funwind-tables -fstack-clash-protection -std=c++14 -I../../src -I../../src/rml/include -I../../include ../../src/tbb/condition_variable.cpp g++ -o tbb_thread.o -c -MMD -O2 -g -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -fexceptions -fstack-protector-strong -grecord-gcc-switches -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -mcpu=power8 -mtune=power8 -funwind-tables -fstack-clash-protection -DTBB_USE_DEBUG -g -O0 -DUSE_PTHREAD -fPIC -flifetime-dse=1 -D__TBB_BUILD=1 -Wall -Wno-parentheses -Wno-non-virtual-dtor -O2 -g -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -fexceptions -fstack-protector-strong -grecord-gcc-switches -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -mcpu=power8 -mtune=power8 -funwind-tables -fstack-clash-protection -std=c++14 -I../../src -I../../src/rml/include -I../../include ../../src/tbb/tbb_thread.cpp g++ -o concurrent_monitor.o -c -MMD -O2 -g -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -fexceptions -fstack-protector-strong -grecord-gcc-switches -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -mcpu=power8 -mtune=power8 -funwind-tables -fstack-clash-protection -DTBB_USE_DEBUG -g -O0 -DUSE_PTHREAD -fPIC -flifetime-dse=1 -D__TBB_BUILD=1 -Wall -Wno-parentheses -Wno-non-virtual-dtor -O2 -g -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -fexceptions -fstack-protector-strong -grecord-gcc-switches -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -mcpu=power8 -mtune=power8 -funwind-tables -fstack-clash-protection -std=c++14 -I../../src -I../../src/rml/include -I../../include ../../src/tbb/concurrent_monitor.cpp g++ -o semaphore.o -c -MMD -O2 -g -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -fexceptions -fstack-protector-strong -grecord-gcc-switches -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -mcpu=power8 -mtune=power8 -funwind-tables -fstack-clash-protection -DTBB_USE_DEBUG -g -O0 -DUSE_PTHREAD -fPIC -flifetime-dse=1 -D__TBB_BUILD=1 -Wall -Wno-parentheses -Wno-non-virtual-dtor -O2 -g -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -fexceptions -fstack-protector-strong -grecord-gcc-switches -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -mcpu=power8 -mtune=power8 -funwind-tables -fstack-clash-protection -std=c++14 -I../../src -I../../src/rml/include -I../../include ../../src/tbb/semaphore.cpp g++ -o private_server.o -c -MMD -O2 -g -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -fexceptions -fstack-protector-strong -grecord-gcc-switches -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -mcpu=power8 -mtune=power8 -funwind-tables -fstack-clash-protection -DTBB_USE_DEBUG -g -O0 -DUSE_PTHREAD -fPIC -flifetime-dse=1 -D__TBB_BUILD=1 -Wall -Wno-parentheses -Wno-non-virtual-dtor -O2 -g -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -fexceptions -fstack-protector-strong -grecord-gcc-switches -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -mcpu=power8 -mtune=power8 -funwind-tables -fstack-clash-protection -std=c++14 -I../../src -I../../src/rml/include -I../../include ../../src/tbb/private_server.cpp g++ -o rml_tbb.o -c -MMD -O2 -g -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -fexceptions -fstack-protector-strong -grecord-gcc-switches -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -mcpu=power8 -mtune=power8 -funwind-tables -fstack-clash-protection -DTBB_USE_DEBUG -g -O0 -DUSE_PTHREAD -fPIC -flifetime-dse=1 -D__TBB_BUILD=1 -Wall -Wno-parentheses -Wno-non-virtual-dtor -O2 -g -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -fexceptions -fstack-protector-strong -grecord-gcc-switches -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -mcpu=power8 -mtune=power8 -funwind-tables -fstack-clash-protection -std=c++14 -I../../src -I../../src/rml/include -I../../include ../../src/rml/client/rml_tbb.cpp sh ../../build/version_info_linux.sh g++ -O2 -g -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -fexceptions -fstack-protector-strong -grecord-gcc-switches -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -mcpu=power8 -mtune=power8 -funwind-tables -fstack-clash-protection -DTBB_USE_DEBUG -g -O0 -DUSE_PTHREAD -fPIC -flifetime-dse=1 -D__TBB_BUILD=1 -Wall -Wno-parentheses -Wno-non-virtual-dtor -O2 -g -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -fexceptions -fstack-protector-strong -grecord-gcc-switches -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -mcpu=power8 -mtune=power8 -funwind-tables -fstack-clash-protection -std=c++14 -I../../src -I../../src/rml/include -I../../include -I. >version_string.ver g++ -o tbb_misc_ex.o -c -MMD -O2 -g -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -fexceptions -fstack-protector-strong -grecord-gcc-switches -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -mcpu=power8 -mtune=power8 -funwind-tables -fstack-clash-protection -DTBB_USE_DEBUG -g -O0 -DUSE_PTHREAD -fPIC -flifetime-dse=1 -D__TBB_BUILD=1 -Wall -Wno-parentheses -Wno-non-virtual-dtor -O2 -g -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -fexceptions -fstack-protector-strong -grecord-gcc-switches -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -mcpu=power8 -mtune=power8 -funwind-tables -fstack-clash-protection -std=c++14 -I../../src -I../../src/rml/include -I../../include ../../src/tbb/tbb_misc_ex.cpp g++ -o task.o -c -MMD -O2 -g -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -fexceptions -fstack-protector-strong -grecord-gcc-switches -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -mcpu=power8 -mtune=power8 -funwind-tables -fstack-clash-protection -DTBB_USE_DEBUG -g -O0 -DUSE_PTHREAD -fPIC -flifetime-dse=1 -D__TBB_BUILD=1 -Wall -Wno-parentheses -Wno-non-virtual-dtor -O2 -g -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -fexceptions -fstack-protector-strong -grecord-gcc-switches -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -mcpu=power8 -mtune=power8 -funwind-tables -fstack-clash-protection -std=c++14 -I../../src -I../../src/rml/include -I../../include ../../src/tbb/task.cpp g++ -o task_group_context.o -c -MMD -O2 -g -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -fexceptions -fstack-protector-strong -grecord-gcc-switches -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -mcpu=power8 -mtune=power8 -funwind-tables -fstack-clash-protection -DTBB_USE_DEBUG -g -O0 -DUSE_PTHREAD -fPIC -flifetime-dse=1 -D__TBB_BUILD=1 -Wall -Wno-parentheses -Wno-non-virtual-dtor -O2 -g -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -fexceptions -fstack-protector-strong -grecord-gcc-switches -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -mcpu=power8 -mtune=power8 -funwind-tables -fstack-clash-protection -std=c++14 -I../../src -I../../src/rml/include -I../../include ../../src/tbb/task_group_context.cpp g++ -o governor.o -c -MMD -O2 -g -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -fexceptions -fstack-protector-strong -grecord-gcc-switches -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -mcpu=power8 -mtune=power8 -funwind-tables -fstack-clash-protection -DTBB_USE_DEBUG -g -O0 -DUSE_PTHREAD -fPIC -flifetime-dse=1 -D__TBB_BUILD=1 -Wall -Wno-parentheses -Wno-non-virtual-dtor -O2 -g -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -fexceptions -fstack-protector-strong -grecord-gcc-switches -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -mcpu=power8 -mtune=power8 -funwind-tables -fstack-clash-protection -std=c++14 -I../../src -I../../src/rml/include -I../../include ../../src/tbb/governor.cpp g++ -o market.o -c -MMD -O2 -g -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -fexceptions -fstack-protector-strong -grecord-gcc-switches -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -mcpu=power8 -mtune=power8 -funwind-tables -fstack-clash-protection -DTBB_USE_DEBUG -g -O0 -DUSE_PTHREAD -fPIC -flifetime-dse=1 -D__TBB_BUILD=1 -Wall -Wno-parentheses -Wno-non-virtual-dtor -O2 -g -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -fexceptions -fstack-protector-strong -grecord-gcc-switches -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -mcpu=power8 -mtune=power8 -funwind-tables -fstack-clash-protection -std=c++14 -I../../src -I../../src/rml/include -I../../include ../../src/tbb/market.cpp g++ -o arena.o -c -MMD -O2 -g -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -fexceptions -fstack-protector-strong -grecord-gcc-switches -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -mcpu=power8 -mtune=power8 -funwind-tables -fstack-clash-protection -DTBB_USE_DEBUG -g -O0 -DUSE_PTHREAD -fPIC -flifetime-dse=1 -D__TBB_BUILD=1 -Wall -Wno-parentheses -Wno-non-virtual-dtor -O2 -g -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -fexceptions -fstack-protector-strong -grecord-gcc-switches -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -mcpu=power8 -mtune=power8 -funwind-tables -fstack-clash-protection -std=c++14 -I../../src -I../../src/rml/include -I../../include ../../src/tbb/arena.cpp g++ -o scheduler.o -c -MMD -O2 -g -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -fexceptions -fstack-protector-strong -grecord-gcc-switches -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -mcpu=power8 -mtune=power8 -funwind-tables -fstack-clash-protection -DTBB_USE_DEBUG -g -O0 -DUSE_PTHREAD -fPIC -flifetime-dse=1 -D__TBB_BUILD=1 -Wall -Wno-parentheses -Wno-non-virtual-dtor -O2 -g -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -fexceptions -fstack-protector-strong -grecord-gcc-switches -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -mcpu=power8 -mtune=power8 -funwind-tables -fstack-clash-protection -std=c++14 -I../../src -I../../src/rml/include -I../../include ../../src/tbb/scheduler.cpp g++ -o observer_proxy.o -c -MMD -O2 -g -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -fexceptions -fstack-protector-strong -grecord-gcc-switches -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -mcpu=power8 -mtune=power8 -funwind-tables -fstack-clash-protection -DTBB_USE_DEBUG -g -O0 -DUSE_PTHREAD -fPIC -flifetime-dse=1 -D__TBB_BUILD=1 -Wall -Wno-parentheses -Wno-non-virtual-dtor -O2 -g -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -fexceptions -fstack-protector-strong -grecord-gcc-switches -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -mcpu=power8 -mtune=power8 -funwind-tables -fstack-clash-protection -std=c++14 -I../../src -I../../src/rml/include -I../../include ../../src/tbb/observer_proxy.cpp g++ -o tbb_statistics.o -c -MMD -O2 -g -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -fexceptions -fstack-protector-strong -grecord-gcc-switches -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -mcpu=power8 -mtune=power8 -funwind-tables -fstack-clash-protection -DTBB_USE_DEBUG -g -O0 -DUSE_PTHREAD -fPIC -flifetime-dse=1 -D__TBB_BUILD=1 -Wall -Wno-parentheses -Wno-non-virtual-dtor -O2 -g -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -fexceptions -fstack-protector-strong -grecord-gcc-switches -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -mcpu=power8 -mtune=power8 -funwind-tables -fstack-clash-protection -std=c++14 -I../../src -I../../src/rml/include -I../../include ../../src/tbb/tbb_statistics.cpp g++ -o tbb_main.o -c -MMD -O2 -g -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -fexceptions -fstack-protector-strong -grecord-gcc-switches -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -mcpu=power8 -mtune=power8 -funwind-tables -fstack-clash-protection -DTBB_USE_DEBUG -g -O0 -DUSE_PTHREAD -fPIC -flifetime-dse=1 -D__TBB_BUILD=1 -Wall -Wno-parentheses -Wno-non-virtual-dtor -O2 -g -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -fexceptions -fstack-protector-strong -grecord-gcc-switches -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -mcpu=power8 -mtune=power8 -funwind-tables -fstack-clash-protection -std=c++14 -I../../src -I../../src/rml/include -I../../include ../../src/tbb/tbb_main.cpp g++ -o concurrent_vector_v2.o -c -MMD -O2 -g -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -fexceptions -fstack-protector-strong -grecord-gcc-switches -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -mcpu=power8 -mtune=power8 -funwind-tables -fstack-clash-protection -DTBB_USE_DEBUG -g -O0 -DUSE_PTHREAD -fPIC -flifetime-dse=1 -D__TBB_BUILD=1 -Wall -Wno-parentheses -Wno-non-virtual-dtor -O2 -g -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -fexceptions -fstack-protector-strong -grecord-gcc-switches -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -mcpu=power8 -mtune=power8 -funwind-tables -fstack-clash-protection -std=c++14 -I../../src -I../../src/rml/include -I../../include ../../src/old/concurrent_vector_v2.cpp g++ -o concurrent_queue_v2.o -c -MMD -O2 -g -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -fexceptions -fstack-protector-strong -grecord-gcc-switches -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -mcpu=power8 -mtune=power8 -funwind-tables -fstack-clash-protection -DTBB_USE_DEBUG -g -O0 -DUSE_PTHREAD -fPIC -flifetime-dse=1 -D__TBB_BUILD=1 -Wall -Wno-parentheses -Wno-non-virtual-dtor -O2 -g -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -fexceptions -fstack-protector-strong -grecord-gcc-switches -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -mcpu=power8 -mtune=power8 -funwind-tables -fstack-clash-protection -std=c++14 -I../../src -I../../src/rml/include -I../../include ../../src/old/concurrent_queue_v2.cpp g++ -o spin_rw_mutex_v2.o -c -MMD -O2 -g -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -fexceptions -fstack-protector-strong -grecord-gcc-switches -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -mcpu=power8 -mtune=power8 -funwind-tables -fstack-clash-protection -DTBB_USE_DEBUG -g -O0 -DUSE_PTHREAD -fPIC -flifetime-dse=1 -D__TBB_BUILD=1 -Wall -Wno-parentheses -Wno-non-virtual-dtor -O2 -g -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -fexceptions -fstack-protector-strong -grecord-gcc-switches -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -mcpu=power8 -mtune=power8 -funwind-tables -fstack-clash-protection -std=c++14 -I../../src -I../../src/rml/include -I../../include ../../src/old/spin_rw_mutex_v2.cpp g++ -o task_v2.o -c -MMD -O2 -g -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -fexceptions -fstack-protector-strong -grecord-gcc-switches -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -mcpu=power8 -mtune=power8 -funwind-tables -fstack-clash-protection -DTBB_USE_DEBUG -g -O0 -DUSE_PTHREAD -fPIC -flifetime-dse=1 -D__TBB_BUILD=1 -Wall -Wno-parentheses -Wno-non-virtual-dtor -O2 -g -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -fexceptions -fstack-protector-strong -grecord-gcc-switches -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -mcpu=power8 -mtune=power8 -funwind-tables -fstack-clash-protection -std=c++14 -I../../src -I../../src/rml/include -I../../include ../../src/old/task_v2.cpp sh ../../build/generate_tbbvars.sh ../../src/old/concurrent_vector_v2.cpp: In static member function 'static void tbb::internal::concurrent_vector_base::helper::extend_segment(tbb::internal::concurrent_vector_base&)': ../../src/old/concurrent_vector_v2.cpp:74:68: warning: 'void* memset(void*, int, size_t)' clearing an object of non-trivial type 'struct tbb::internal::concurrent_vector_base::segment_t'; use assignment or value-initialization instead [-Wclass-memaccess] std::memset( s, 0, pointers_per_long_segment*sizeof(segment_t) ); ^ In file included from ../../src/old/concurrent_vector_v2.cpp:21: ../../src/old/concurrent_vector_v2.h:79:16: note: 'struct tbb::internal::concurrent_vector_base::segment_t' declared here struct segment_t { ^~~~~~~~~ ../../src/old/concurrent_queue_v2.cpp: In constructor 'tbb::internal::concurrent_queue_base::concurrent_queue_base(std::size_t)': ../../src/old/concurrent_queue_v2.cpp:213:49: warning: 'void* memset(void*, int, size_t)' clearing an object of type 'class tbb::internal::concurrent_queue_rep' with no trivial copy-assignment; use value-initialization instead [-Wclass-memaccess] memset(my_rep,0,sizeof(concurrent_queue_rep)); ^ ../../src/old/concurrent_queue_v2.cpp:102:7: note: 'class tbb::internal::concurrent_queue_rep' declared here class concurrent_queue_rep { ^~~~~~~~~~~~~~~~~~~~ echo "INPUT (libtbb_debug.so.2)" > libtbb_debug.so g++ -E -x c++ ../../src/tbb/lin64-tbb-export.def -O2 -g -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -fexceptions -fstack-protector-strong -grecord-gcc-switches -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -mcpu=power8 -mtune=power8 -funwind-tables -fstack-clash-protection -DTBB_USE_DEBUG -g -O0 -DUSE_PTHREAD -fPIC -flifetime-dse=1 -D__TBB_BUILD=1 -Wall -Wno-parentheses -Wno-non-virtual-dtor -O2 -g -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -fexceptions -fstack-protector-strong -grecord-gcc-switches -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -mcpu=power8 -mtune=power8 -funwind-tables -fstack-clash-protection -I../../src -I../../src/rml/include -I../../include > tbb.def g++ -o tbb_misc.o -c -MMD -O2 -g -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -fexceptions -fstack-protector-strong -grecord-gcc-switches -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -mcpu=power8 -mtune=power8 -funwind-tables -fstack-clash-protection -DTBB_USE_DEBUG -g -O0 -DUSE_PTHREAD -fPIC -flifetime-dse=1 -D__TBB_BUILD=1 -Wall -Wno-parentheses -Wno-non-virtual-dtor -O2 -g -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -fexceptions -fstack-protector-strong -grecord-gcc-switches -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -mcpu=power8 -mtune=power8 -funwind-tables -fstack-clash-protection -std=c++14 -I../../src -I../../src/rml/include -I../../include -I. ../../src/tbb/tbb_misc.cpp g++ -fPIC -o libtbb_debug.so.2 concurrent_hash_map.o concurrent_queue.o concurrent_vector.o dynamic_link.o itt_notify.o cache_aligned_allocator.o pipeline.o queuing_mutex.o queuing_rw_mutex.o reader_writer_lock.o spin_rw_mutex.o x86_rtm_rw_mutex.o spin_mutex.o critical_section.o mutex.o recursive_mutex.o condition_variable.o tbb_thread.o concurrent_monitor.o semaphore.o private_server.o rml_tbb.o tbb_misc.o tbb_misc_ex.o task.o task_group_context.o governor.o market.o arena.o scheduler.o observer_proxy.o tbb_statistics.o tbb_main.o concurrent_vector_v2.o concurrent_queue_v2.o spin_rw_mutex_v2.o task_v2.o -ldl -lpthread -lrt -shared -Wl,-soname=libtbb_debug.so.2 -Wl,--as-needed -Wl,-z,relro -Wl,-z,now -specs=/usr/lib/rpm/redhat/redhat-hardened-ld -Wl,--version-script,tbb.def make[1]: Leaving directory '/builddir/build/BUILD/tbb-2018_U2/build/obj_debug' make -C "./build/obj_release" -r -f ../../build/Makefile.tbb cfg=release make[1]: Entering directory '/builddir/build/BUILD/tbb-2018_U2/build/obj_release' ../../build/Makefile.tbb:32: CONFIG: cfg=release arch=ppc64le compiler=gcc target=linux runtime=cc8_libc2.28_kernel4.14.0 g++ -o concurrent_hash_map.o -c -MMD -O2 -g -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -fexceptions -fstack-protector-strong -grecord-gcc-switches -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -mcpu=power8 -mtune=power8 -funwind-tables -fstack-clash-protection -g -O2 -DUSE_PTHREAD -fPIC -flifetime-dse=1 -D__TBB_BUILD=1 -Wall -Wno-parentheses -Wno-non-virtual-dtor -O2 -g -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -fexceptions -fstack-protector-strong -grecord-gcc-switches -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -mcpu=power8 -mtune=power8 -funwind-tables -fstack-clash-protection -std=c++14 -I../../src -I../../src/rml/include -I../../include ../../src/tbb/concurrent_hash_map.cpp g++ -o concurrent_queue.o -c -MMD -O2 -g -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -fexceptions -fstack-protector-strong -grecord-gcc-switches -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -mcpu=power8 -mtune=power8 -funwind-tables -fstack-clash-protection -g -O2 -DUSE_PTHREAD -fPIC -flifetime-dse=1 -D__TBB_BUILD=1 -Wall -Wno-parentheses -Wno-non-virtual-dtor -O2 -g -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -fexceptions -fstack-protector-strong -grecord-gcc-switches -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -mcpu=power8 -mtune=power8 -funwind-tables -fstack-clash-protection -std=c++14 -I../../src -I../../src/rml/include -I../../include ../../src/tbb/concurrent_queue.cpp g++ -o concurrent_vector.o -c -MMD -O2 -g -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -fexceptions -fstack-protector-strong -grecord-gcc-switches -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -mcpu=power8 -mtune=power8 -funwind-tables -fstack-clash-protection -g -O2 -DUSE_PTHREAD -fPIC -flifetime-dse=1 -D__TBB_BUILD=1 -Wall -Wno-parentheses -Wno-non-virtual-dtor -O2 -g -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -fexceptions -fstack-protector-strong -grecord-gcc-switches -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -mcpu=power8 -mtune=power8 -funwind-tables -fstack-clash-protection -std=c++14 -I../../src -I../../src/rml/include -I../../include ../../src/tbb/concurrent_vector.cpp g++ -o dynamic_link.o -c -MMD -O2 -g -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -fexceptions -fstack-protector-strong -grecord-gcc-switches -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -mcpu=power8 -mtune=power8 -funwind-tables -fstack-clash-protection -g -O2 -DUSE_PTHREAD -fPIC -flifetime-dse=1 -D__TBB_BUILD=1 -Wall -Wno-parentheses -Wno-non-virtual-dtor -O2 -g -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -fexceptions -fstack-protector-strong -grecord-gcc-switches -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -mcpu=power8 -mtune=power8 -funwind-tables -fstack-clash-protection -std=c++14 -I../../src -I../../src/rml/include -I../../include ../../src/tbb/dynamic_link.cpp g++ -o itt_notify.o -c -MMD -O2 -g -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -fexceptions -fstack-protector-strong -grecord-gcc-switches -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -mcpu=power8 -mtune=power8 -funwind-tables -fstack-clash-protection -g -O2 -DUSE_PTHREAD -fPIC -flifetime-dse=1 -D__TBB_BUILD=1 -Wall -Wno-parentheses -Wno-non-virtual-dtor -O2 -g -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -fexceptions -fstack-protector-strong -grecord-gcc-switches -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -mcpu=power8 -mtune=power8 -funwind-tables -fstack-clash-protection -std=c++14 -I../../src -I../../src/rml/include -I../../include ../../src/tbb/itt_notify.cpp g++ -o cache_aligned_allocator.o -c -MMD -O2 -g -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -fexceptions -fstack-protector-strong -grecord-gcc-switches -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -mcpu=power8 -mtune=power8 -funwind-tables -fstack-clash-protection -g -O2 -DUSE_PTHREAD -fPIC -flifetime-dse=1 -D__TBB_BUILD=1 -Wall -Wno-parentheses -Wno-non-virtual-dtor -O2 -g -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -fexceptions -fstack-protector-strong -grecord-gcc-switches -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -mcpu=power8 -mtune=power8 -funwind-tables -fstack-clash-protection -std=c++14 -I../../src -I../../src/rml/include -I../../include ../../src/tbb/cache_aligned_allocator.cpp g++ -o pipeline.o -c -MMD -O2 -g -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -fexceptions -fstack-protector-strong -grecord-gcc-switches -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -mcpu=power8 -mtune=power8 -funwind-tables -fstack-clash-protection -g -O2 -DUSE_PTHREAD -fPIC -flifetime-dse=1 -D__TBB_BUILD=1 -Wall -Wno-parentheses -Wno-non-virtual-dtor -O2 -g -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -fexceptions -fstack-protector-strong -grecord-gcc-switches -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -mcpu=power8 -mtune=power8 -funwind-tables -fstack-clash-protection -std=c++14 -I../../src -I../../src/rml/include -I../../include ../../src/tbb/pipeline.cpp g++ -o queuing_mutex.o -c -MMD -O2 -g -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -fexceptions -fstack-protector-strong -grecord-gcc-switches -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -mcpu=power8 -mtune=power8 -funwind-tables -fstack-clash-protection -g -O2 -DUSE_PTHREAD -fPIC -flifetime-dse=1 -D__TBB_BUILD=1 -Wall -Wno-parentheses -Wno-non-virtual-dtor -O2 -g -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -fexceptions -fstack-protector-strong -grecord-gcc-switches -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -mcpu=power8 -mtune=power8 -funwind-tables -fstack-clash-protection -std=c++14 -I../../src -I../../src/rml/include -I../../include ../../src/tbb/queuing_mutex.cpp g++ -o queuing_rw_mutex.o -c -MMD -O2 -g -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -fexceptions -fstack-protector-strong -grecord-gcc-switches -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -mcpu=power8 -mtune=power8 -funwind-tables -fstack-clash-protection -g -O2 -DUSE_PTHREAD -fPIC -flifetime-dse=1 -D__TBB_BUILD=1 -Wall -Wno-parentheses -Wno-non-virtual-dtor -O2 -g -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -fexceptions -fstack-protector-strong -grecord-gcc-switches -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -mcpu=power8 -mtune=power8 -funwind-tables -fstack-clash-protection -std=c++14 -I../../src -I../../src/rml/include -I../../include ../../src/tbb/queuing_rw_mutex.cpp ../../src/tbb/concurrent_queue.cpp: In constructor 'tbb::internal::concurrent_queue_base_v3::concurrent_queue_base_v3(std::size_t)': ../../src/tbb/concurrent_queue.cpp:356:49: warning: 'void* memset(void*, int, size_t)' clearing an object of type 'class tbb::internal::concurrent_queue_rep' with no trivial copy-assignment; use value-initialization instead [-Wclass-memaccess] memset(my_rep,0,sizeof(concurrent_queue_rep)); ^ ../../src/tbb/concurrent_queue.cpp:118:7: note: 'class tbb::internal::concurrent_queue_rep' declared here class concurrent_queue_rep { ^~~~~~~~~~~~~~~~~~~~ In file included from ../../src/tbb/concurrent_hash_map.cpp:21: ../../include/tbb/concurrent_hash_map.h: In static member function 'static void tbb::interface5::internal::hash_map_base::init_buckets(tbb::interface5::internal::hash_map_base::segment_ptr_t, tbb::interface5::internal::hash_map_base::size_type, bool)': ../../include/tbb/concurrent_hash_map.h:158:68: warning: 'void* memset(void*, int, size_t)' clearing an object of type 'struct tbb::interface5::internal::hash_map_base::bucket' with no trivial copy-assignment; use value-initialization instead [-Wclass-memaccess] if( is_initial ) std::memset(ptr, 0, sz*sizeof(bucket) ); ^ ../../include/tbb/concurrent_hash_map.h:87:16: note: 'struct tbb::interface5::internal::hash_map_base::bucket' declared here struct bucket : tbb::internal::no_copy { ^~~~~~ g++ -o reader_writer_lock.o -c -MMD -O2 -g -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -fexceptions -fstack-protector-strong -grecord-gcc-switches -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -mcpu=power8 -mtune=power8 -funwind-tables -fstack-clash-protection -g -O2 -DUSE_PTHREAD -fPIC -flifetime-dse=1 -D__TBB_BUILD=1 -Wall -Wno-parentheses -Wno-non-virtual-dtor -O2 -g -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -fexceptions -fstack-protector-strong -grecord-gcc-switches -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -mcpu=power8 -mtune=power8 -funwind-tables -fstack-clash-protection -std=c++14 -I../../src -I../../src/rml/include -I../../include ../../src/tbb/reader_writer_lock.cpp g++ -o spin_rw_mutex.o -c -MMD -O2 -g -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -fexceptions -fstack-protector-strong -grecord-gcc-switches -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -mcpu=power8 -mtune=power8 -funwind-tables -fstack-clash-protection -g -O2 -DUSE_PTHREAD -fPIC -flifetime-dse=1 -D__TBB_BUILD=1 -Wall -Wno-parentheses -Wno-non-virtual-dtor -O2 -g -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -fexceptions -fstack-protector-strong -grecord-gcc-switches -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -mcpu=power8 -mtune=power8 -funwind-tables -fstack-clash-protection -std=c++14 -I../../src -I../../src/rml/include -I../../include ../../src/tbb/spin_rw_mutex.cpp g++ -o x86_rtm_rw_mutex.o -c -MMD -O2 -g -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -fexceptions -fstack-protector-strong -grecord-gcc-switches -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -mcpu=power8 -mtune=power8 -funwind-tables -fstack-clash-protection -g -O2 -DUSE_PTHREAD -fPIC -flifetime-dse=1 -D__TBB_BUILD=1 -Wall -Wno-parentheses -Wno-non-virtual-dtor -O2 -g -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -fexceptions -fstack-protector-strong -grecord-gcc-switches -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -mcpu=power8 -mtune=power8 -funwind-tables -fstack-clash-protection -std=c++14 -I../../src -I../../src/rml/include -I../../include ../../src/tbb/x86_rtm_rw_mutex.cpp g++ -o spin_mutex.o -c -MMD -O2 -g -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -fexceptions -fstack-protector-strong -grecord-gcc-switches -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -mcpu=power8 -mtune=power8 -funwind-tables -fstack-clash-protection -g -O2 -DUSE_PTHREAD -fPIC -flifetime-dse=1 -D__TBB_BUILD=1 -Wall -Wno-parentheses -Wno-non-virtual-dtor -O2 -g -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -fexceptions -fstack-protector-strong -grecord-gcc-switches -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -mcpu=power8 -mtune=power8 -funwind-tables -fstack-clash-protection -std=c++14 -I../../src -I../../src/rml/include -I../../include ../../src/tbb/spin_mutex.cpp g++ -o critical_section.o -c -MMD -O2 -g -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -fexceptions -fstack-protector-strong -grecord-gcc-switches -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -mcpu=power8 -mtune=power8 -funwind-tables -fstack-clash-protection -g -O2 -DUSE_PTHREAD -fPIC -flifetime-dse=1 -D__TBB_BUILD=1 -Wall -Wno-parentheses -Wno-non-virtual-dtor -O2 -g -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -fexceptions -fstack-protector-strong -grecord-gcc-switches -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -mcpu=power8 -mtune=power8 -funwind-tables -fstack-clash-protection -std=c++14 -I../../src -I../../src/rml/include -I../../include ../../src/tbb/critical_section.cpp g++ -o mutex.o -c -MMD -O2 -g -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -fexceptions -fstack-protector-strong -grecord-gcc-switches -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -mcpu=power8 -mtune=power8 -funwind-tables -fstack-clash-protection -g -O2 -DUSE_PTHREAD -fPIC -flifetime-dse=1 -D__TBB_BUILD=1 -Wall -Wno-parentheses -Wno-non-virtual-dtor -O2 -g -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -fexceptions -fstack-protector-strong -grecord-gcc-switches -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -mcpu=power8 -mtune=power8 -funwind-tables -fstack-clash-protection -std=c++14 -I../../src -I../../src/rml/include -I../../include ../../src/tbb/mutex.cpp g++ -o recursive_mutex.o -c -MMD -O2 -g -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -fexceptions -fstack-protector-strong -grecord-gcc-switches -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -mcpu=power8 -mtune=power8 -funwind-tables -fstack-clash-protection -g -O2 -DUSE_PTHREAD -fPIC -flifetime-dse=1 -D__TBB_BUILD=1 -Wall -Wno-parentheses -Wno-non-virtual-dtor -O2 -g -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -fexceptions -fstack-protector-strong -grecord-gcc-switches -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -mcpu=power8 -mtune=power8 -funwind-tables -fstack-clash-protection -std=c++14 -I../../src -I../../src/rml/include -I../../include ../../src/tbb/recursive_mutex.cpp g++ -o condition_variable.o -c -MMD -O2 -g -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -fexceptions -fstack-protector-strong -grecord-gcc-switches -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -mcpu=power8 -mtune=power8 -funwind-tables -fstack-clash-protection -g -O2 -DUSE_PTHREAD -fPIC -flifetime-dse=1 -D__TBB_BUILD=1 -Wall -Wno-parentheses -Wno-non-virtual-dtor -O2 -g -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -fexceptions -fstack-protector-strong -grecord-gcc-switches -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -mcpu=power8 -mtune=power8 -funwind-tables -fstack-clash-protection -std=c++14 -I../../src -I../../src/rml/include -I../../include ../../src/tbb/condition_variable.cpp g++ -o tbb_thread.o -c -MMD -O2 -g -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -fexceptions -fstack-protector-strong -grecord-gcc-switches -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -mcpu=power8 -mtune=power8 -funwind-tables -fstack-clash-protection -g -O2 -DUSE_PTHREAD -fPIC -flifetime-dse=1 -D__TBB_BUILD=1 -Wall -Wno-parentheses -Wno-non-virtual-dtor -O2 -g -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -fexceptions -fstack-protector-strong -grecord-gcc-switches -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -mcpu=power8 -mtune=power8 -funwind-tables -fstack-clash-protection -std=c++14 -I../../src -I../../src/rml/include -I../../include ../../src/tbb/tbb_thread.cpp g++ -o concurrent_monitor.o -c -MMD -O2 -g -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -fexceptions -fstack-protector-strong -grecord-gcc-switches -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -mcpu=power8 -mtune=power8 -funwind-tables -fstack-clash-protection -g -O2 -DUSE_PTHREAD -fPIC -flifetime-dse=1 -D__TBB_BUILD=1 -Wall -Wno-parentheses -Wno-non-virtual-dtor -O2 -g -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -fexceptions -fstack-protector-strong -grecord-gcc-switches -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -mcpu=power8 -mtune=power8 -funwind-tables -fstack-clash-protection -std=c++14 -I../../src -I../../src/rml/include -I../../include ../../src/tbb/concurrent_monitor.cpp g++ -o semaphore.o -c -MMD -O2 -g -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -fexceptions -fstack-protector-strong -grecord-gcc-switches -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -mcpu=power8 -mtune=power8 -funwind-tables -fstack-clash-protection -g -O2 -DUSE_PTHREAD -fPIC -flifetime-dse=1 -D__TBB_BUILD=1 -Wall -Wno-parentheses -Wno-non-virtual-dtor -O2 -g -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -fexceptions -fstack-protector-strong -grecord-gcc-switches -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -mcpu=power8 -mtune=power8 -funwind-tables -fstack-clash-protection -std=c++14 -I../../src -I../../src/rml/include -I../../include ../../src/tbb/semaphore.cpp g++ -o private_server.o -c -MMD -O2 -g -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -fexceptions -fstack-protector-strong -grecord-gcc-switches -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -mcpu=power8 -mtune=power8 -funwind-tables -fstack-clash-protection -g -O2 -DUSE_PTHREAD -fPIC -flifetime-dse=1 -D__TBB_BUILD=1 -Wall -Wno-parentheses -Wno-non-virtual-dtor -O2 -g -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -fexceptions -fstack-protector-strong -grecord-gcc-switches -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -mcpu=power8 -mtune=power8 -funwind-tables -fstack-clash-protection -std=c++14 -I../../src -I../../src/rml/include -I../../include ../../src/tbb/private_server.cpp g++ -o rml_tbb.o -c -MMD -O2 -g -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -fexceptions -fstack-protector-strong -grecord-gcc-switches -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -mcpu=power8 -mtune=power8 -funwind-tables -fstack-clash-protection -g -O2 -DUSE_PTHREAD -fPIC -flifetime-dse=1 -D__TBB_BUILD=1 -Wall -Wno-parentheses -Wno-non-virtual-dtor -O2 -g -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -fexceptions -fstack-protector-strong -grecord-gcc-switches -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -mcpu=power8 -mtune=power8 -funwind-tables -fstack-clash-protection -std=c++14 -I../../src -I../../src/rml/include -I../../include ../../src/rml/client/rml_tbb.cpp sh ../../build/version_info_linux.sh g++ -O2 -g -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -fexceptions -fstack-protector-strong -grecord-gcc-switches -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -mcpu=power8 -mtune=power8 -funwind-tables -fstack-clash-protection -g -O2 -DUSE_PTHREAD -fPIC -flifetime-dse=1 -D__TBB_BUILD=1 -Wall -Wno-parentheses -Wno-non-virtual-dtor -O2 -g -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -fexceptions -fstack-protector-strong -grecord-gcc-switches -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -mcpu=power8 -mtune=power8 -funwind-tables -fstack-clash-protection -std=c++14 -I../../src -I../../src/rml/include -I../../include -I. >version_string.ver g++ -o tbb_misc_ex.o -c -MMD -O2 -g -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -fexceptions -fstack-protector-strong -grecord-gcc-switches -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -mcpu=power8 -mtune=power8 -funwind-tables -fstack-clash-protection -g -O2 -DUSE_PTHREAD -fPIC -flifetime-dse=1 -D__TBB_BUILD=1 -Wall -Wno-parentheses -Wno-non-virtual-dtor -O2 -g -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -fexceptions -fstack-protector-strong -grecord-gcc-switches -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -mcpu=power8 -mtune=power8 -funwind-tables -fstack-clash-protection -std=c++14 -I../../src -I../../src/rml/include -I../../include ../../src/tbb/tbb_misc_ex.cpp g++ -o task.o -c -MMD -O2 -g -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -fexceptions -fstack-protector-strong -grecord-gcc-switches -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -mcpu=power8 -mtune=power8 -funwind-tables -fstack-clash-protection -g -O2 -DUSE_PTHREAD -fPIC -flifetime-dse=1 -D__TBB_BUILD=1 -Wall -Wno-parentheses -Wno-non-virtual-dtor -O2 -g -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -fexceptions -fstack-protector-strong -grecord-gcc-switches -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -mcpu=power8 -mtune=power8 -funwind-tables -fstack-clash-protection -std=c++14 -I../../src -I../../src/rml/include -I../../include ../../src/tbb/task.cpp g++ -o task_group_context.o -c -MMD -O2 -g -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -fexceptions -fstack-protector-strong -grecord-gcc-switches -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -mcpu=power8 -mtune=power8 -funwind-tables -fstack-clash-protection -g -O2 -DUSE_PTHREAD -fPIC -flifetime-dse=1 -D__TBB_BUILD=1 -Wall -Wno-parentheses -Wno-non-virtual-dtor -O2 -g -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -fexceptions -fstack-protector-strong -grecord-gcc-switches -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -mcpu=power8 -mtune=power8 -funwind-tables -fstack-clash-protection -std=c++14 -I../../src -I../../src/rml/include -I../../include ../../src/tbb/task_group_context.cpp g++ -o governor.o -c -MMD -O2 -g -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -fexceptions -fstack-protector-strong -grecord-gcc-switches -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -mcpu=power8 -mtune=power8 -funwind-tables -fstack-clash-protection -g -O2 -DUSE_PTHREAD -fPIC -flifetime-dse=1 -D__TBB_BUILD=1 -Wall -Wno-parentheses -Wno-non-virtual-dtor -O2 -g -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -fexceptions -fstack-protector-strong -grecord-gcc-switches -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -mcpu=power8 -mtune=power8 -funwind-tables -fstack-clash-protection -std=c++14 -I../../src -I../../src/rml/include -I../../include ../../src/tbb/governor.cpp g++ -o market.o -c -MMD -O2 -g -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -fexceptions -fstack-protector-strong -grecord-gcc-switches -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -mcpu=power8 -mtune=power8 -funwind-tables -fstack-clash-protection -g -O2 -DUSE_PTHREAD -fPIC -flifetime-dse=1 -D__TBB_BUILD=1 -Wall -Wno-parentheses -Wno-non-virtual-dtor -O2 -g -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -fexceptions -fstack-protector-strong -grecord-gcc-switches -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -mcpu=power8 -mtune=power8 -funwind-tables -fstack-clash-protection -std=c++14 -I../../src -I../../src/rml/include -I../../include ../../src/tbb/market.cpp g++ -o arena.o -c -MMD -O2 -g -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -fexceptions -fstack-protector-strong -grecord-gcc-switches -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -mcpu=power8 -mtune=power8 -funwind-tables -fstack-clash-protection -g -O2 -DUSE_PTHREAD -fPIC -flifetime-dse=1 -D__TBB_BUILD=1 -Wall -Wno-parentheses -Wno-non-virtual-dtor -O2 -g -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -fexceptions -fstack-protector-strong -grecord-gcc-switches -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -mcpu=power8 -mtune=power8 -funwind-tables -fstack-clash-protection -std=c++14 -I../../src -I../../src/rml/include -I../../include ../../src/tbb/arena.cpp g++ -o scheduler.o -c -MMD -O2 -g -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -fexceptions -fstack-protector-strong -grecord-gcc-switches -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -mcpu=power8 -mtune=power8 -funwind-tables -fstack-clash-protection -g -O2 -DUSE_PTHREAD -fPIC -flifetime-dse=1 -D__TBB_BUILD=1 -Wall -Wno-parentheses -Wno-non-virtual-dtor -O2 -g -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -fexceptions -fstack-protector-strong -grecord-gcc-switches -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -mcpu=power8 -mtune=power8 -funwind-tables -fstack-clash-protection -std=c++14 -I../../src -I../../src/rml/include -I../../include ../../src/tbb/scheduler.cpp g++ -o observer_proxy.o -c -MMD -O2 -g -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -fexceptions -fstack-protector-strong -grecord-gcc-switches -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -mcpu=power8 -mtune=power8 -funwind-tables -fstack-clash-protection -g -O2 -DUSE_PTHREAD -fPIC -flifetime-dse=1 -D__TBB_BUILD=1 -Wall -Wno-parentheses -Wno-non-virtual-dtor -O2 -g -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -fexceptions -fstack-protector-strong -grecord-gcc-switches -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -mcpu=power8 -mtune=power8 -funwind-tables -fstack-clash-protection -std=c++14 -I../../src -I../../src/rml/include -I../../include ../../src/tbb/observer_proxy.cpp g++ -o tbb_statistics.o -c -MMD -O2 -g -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -fexceptions -fstack-protector-strong -grecord-gcc-switches -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -mcpu=power8 -mtune=power8 -funwind-tables -fstack-clash-protection -g -O2 -DUSE_PTHREAD -fPIC -flifetime-dse=1 -D__TBB_BUILD=1 -Wall -Wno-parentheses -Wno-non-virtual-dtor -O2 -g -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -fexceptions -fstack-protector-strong -grecord-gcc-switches -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -mcpu=power8 -mtune=power8 -funwind-tables -fstack-clash-protection -std=c++14 -I../../src -I../../src/rml/include -I../../include ../../src/tbb/tbb_statistics.cpp g++ -o tbb_main.o -c -MMD -O2 -g -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -fexceptions -fstack-protector-strong -grecord-gcc-switches -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -mcpu=power8 -mtune=power8 -funwind-tables -fstack-clash-protection -g -O2 -DUSE_PTHREAD -fPIC -flifetime-dse=1 -D__TBB_BUILD=1 -Wall -Wno-parentheses -Wno-non-virtual-dtor -O2 -g -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -fexceptions -fstack-protector-strong -grecord-gcc-switches -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -mcpu=power8 -mtune=power8 -funwind-tables -fstack-clash-protection -std=c++14 -I../../src -I../../src/rml/include -I../../include ../../src/tbb/tbb_main.cpp g++ -o concurrent_vector_v2.o -c -MMD -O2 -g -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -fexceptions -fstack-protector-strong -grecord-gcc-switches -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -mcpu=power8 -mtune=power8 -funwind-tables -fstack-clash-protection -g -O2 -DUSE_PTHREAD -fPIC -flifetime-dse=1 -D__TBB_BUILD=1 -Wall -Wno-parentheses -Wno-non-virtual-dtor -O2 -g -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -fexceptions -fstack-protector-strong -grecord-gcc-switches -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -mcpu=power8 -mtune=power8 -funwind-tables -fstack-clash-protection -std=c++14 -I../../src -I../../src/rml/include -I../../include ../../src/old/concurrent_vector_v2.cpp g++ -o concurrent_queue_v2.o -c -MMD -O2 -g -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -fexceptions -fstack-protector-strong -grecord-gcc-switches -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -mcpu=power8 -mtune=power8 -funwind-tables -fstack-clash-protection -g -O2 -DUSE_PTHREAD -fPIC -flifetime-dse=1 -D__TBB_BUILD=1 -Wall -Wno-parentheses -Wno-non-virtual-dtor -O2 -g -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -fexceptions -fstack-protector-strong -grecord-gcc-switches -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -mcpu=power8 -mtune=power8 -funwind-tables -fstack-clash-protection -std=c++14 -I../../src -I../../src/rml/include -I../../include ../../src/old/concurrent_queue_v2.cpp g++ -o spin_rw_mutex_v2.o -c -MMD -O2 -g -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -fexceptions -fstack-protector-strong -grecord-gcc-switches -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -mcpu=power8 -mtune=power8 -funwind-tables -fstack-clash-protection -g -O2 -DUSE_PTHREAD -fPIC -flifetime-dse=1 -D__TBB_BUILD=1 -Wall -Wno-parentheses -Wno-non-virtual-dtor -O2 -g -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -fexceptions -fstack-protector-strong -grecord-gcc-switches -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -mcpu=power8 -mtune=power8 -funwind-tables -fstack-clash-protection -std=c++14 -I../../src -I../../src/rml/include -I../../include ../../src/old/spin_rw_mutex_v2.cpp ../../src/old/concurrent_queue_v2.cpp: In constructor 'tbb::internal::concurrent_queue_base::concurrent_queue_base(std::size_t)': ../../src/old/concurrent_queue_v2.cpp:213:49: warning: 'void* memset(void*, int, size_t)' clearing an object of type 'class tbb::internal::concurrent_queue_rep' with no trivial copy-assignment; use value-initialization instead [-Wclass-memaccess] memset(my_rep,0,sizeof(concurrent_queue_rep)); ^ ../../src/old/concurrent_queue_v2.cpp:102:7: note: 'class tbb::internal::concurrent_queue_rep' declared here class concurrent_queue_rep { ^~~~~~~~~~~~~~~~~~~~ g++ -o task_v2.o -c -MMD -O2 -g -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -fexceptions -fstack-protector-strong -grecord-gcc-switches -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -mcpu=power8 -mtune=power8 -funwind-tables -fstack-clash-protection -g -O2 -DUSE_PTHREAD -fPIC -flifetime-dse=1 -D__TBB_BUILD=1 -Wall -Wno-parentheses -Wno-non-virtual-dtor -O2 -g -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -fexceptions -fstack-protector-strong -grecord-gcc-switches -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -mcpu=power8 -mtune=power8 -funwind-tables -fstack-clash-protection -std=c++14 -I../../src -I../../src/rml/include -I../../include ../../src/old/task_v2.cpp sh ../../build/generate_tbbvars.sh echo "INPUT (libtbb.so.2)" > libtbb.so g++ -E -x c++ ../../src/tbb/lin64-tbb-export.def -O2 -g -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -fexceptions -fstack-protector-strong -grecord-gcc-switches -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -mcpu=power8 -mtune=power8 -funwind-tables -fstack-clash-protection -g -O2 -DUSE_PTHREAD -fPIC -flifetime-dse=1 -D__TBB_BUILD=1 -Wall -Wno-parentheses -Wno-non-virtual-dtor -O2 -g -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -fexceptions -fstack-protector-strong -grecord-gcc-switches -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -mcpu=power8 -mtune=power8 -funwind-tables -fstack-clash-protection -I../../src -I../../src/rml/include -I../../include > tbb.def g++ -o tbb_misc.o -c -MMD -O2 -g -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -fexceptions -fstack-protector-strong -grecord-gcc-switches -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -mcpu=power8 -mtune=power8 -funwind-tables -fstack-clash-protection -g -O2 -DUSE_PTHREAD -fPIC -flifetime-dse=1 -D__TBB_BUILD=1 -Wall -Wno-parentheses -Wno-non-virtual-dtor -O2 -g -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -fexceptions -fstack-protector-strong -grecord-gcc-switches -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -mcpu=power8 -mtune=power8 -funwind-tables -fstack-clash-protection -std=c++14 -I../../src -I../../src/rml/include -I../../include -I. ../../src/tbb/tbb_misc.cpp g++ -fPIC -o libtbb.so.2 concurrent_hash_map.o concurrent_queue.o concurrent_vector.o dynamic_link.o itt_notify.o cache_aligned_allocator.o pipeline.o queuing_mutex.o queuing_rw_mutex.o reader_writer_lock.o spin_rw_mutex.o x86_rtm_rw_mutex.o spin_mutex.o critical_section.o mutex.o recursive_mutex.o condition_variable.o tbb_thread.o concurrent_monitor.o semaphore.o private_server.o rml_tbb.o tbb_misc.o tbb_misc_ex.o task.o task_group_context.o governor.o market.o arena.o scheduler.o observer_proxy.o tbb_statistics.o tbb_main.o concurrent_vector_v2.o concurrent_queue_v2.o spin_rw_mutex_v2.o task_v2.o -ldl -lpthread -lrt -shared -Wl,-soname=libtbb.so.2 -Wl,--as-needed -Wl,-z,relro -Wl,-z,now -specs=/usr/lib/rpm/redhat/redhat-hardened-ld -Wl,--version-script,tbb.def make[1]: Leaving directory '/builddir/build/BUILD/tbb-2018_U2/build/obj_release' make -C "./build/obj_debug" -r -f ../../build/Makefile.tbbmalloc cfg=debug malloc make[1]: Entering directory '/builddir/build/BUILD/tbb-2018_U2/build/obj_debug' g++ -c -MMD -O2 -g -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -fexceptions -fstack-protector-strong -grecord-gcc-switches -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -mcpu=power8 -mtune=power8 -funwind-tables -fstack-clash-protection -fno-strict-aliasing -D__TBBMALLOC_BUILD=1 -Wno-parentheses -Wno-non-virtual-dtor -fPIC -flifetime-dse=1 -I../../src -I../../src/rml/include -I../../include -I../../src/tbbmalloc -I../../src/tbbmalloc ../../src/tbbmalloc/backend.cpp g++ -c -MMD -O2 -g -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -fexceptions -fstack-protector-strong -grecord-gcc-switches -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -mcpu=power8 -mtune=power8 -funwind-tables -fstack-clash-protection -fno-strict-aliasing -D__TBBMALLOC_BUILD=1 -Wno-parentheses -Wno-non-virtual-dtor -fPIC -flifetime-dse=1 -I../../src -I../../src/rml/include -I../../include -I../../src/tbbmalloc -I../../src/tbbmalloc ../../src/tbbmalloc/large_objects.cpp g++ -c -MMD -O2 -g -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -fexceptions -fstack-protector-strong -grecord-gcc-switches -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -mcpu=power8 -mtune=power8 -funwind-tables -fstack-clash-protection -fno-strict-aliasing -D__TBBMALLOC_BUILD=1 -Wno-parentheses -Wno-non-virtual-dtor -fPIC -flifetime-dse=1 -I../../src -I../../src/rml/include -I../../include -I../../src/tbbmalloc -I../../src/tbbmalloc ../../src/tbbmalloc/backref.cpp g++ -c -MMD -O2 -g -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -fexceptions -fstack-protector-strong -grecord-gcc-switches -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -mcpu=power8 -mtune=power8 -funwind-tables -fstack-clash-protection -fno-strict-aliasing -D__TBBMALLOC_BUILD=1 -Wno-parentheses -Wno-non-virtual-dtor -fPIC -flifetime-dse=1 -I../../src -I../../src/rml/include -I../../include -I../../src/tbbmalloc -I../../src/tbbmalloc ../../src/tbbmalloc/tbbmalloc.cpp g++ -c -MMD -O2 -g -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -fexceptions -fstack-protector-strong -grecord-gcc-switches -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -mcpu=power8 -mtune=power8 -funwind-tables -fstack-clash-protection -fno-strict-aliasing -D__TBBMALLOC_BUILD=1 -Wno-parentheses -Wno-non-virtual-dtor -fPIC -flifetime-dse=1 -o itt_notify_malloc.o -I../../src -I../../src/rml/include -I../../include ../../src/tbb/itt_notify.cpp g++ -c -MMD -O2 -g -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -fexceptions -fstack-protector-strong -grecord-gcc-switches -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -mcpu=power8 -mtune=power8 -funwind-tables -fstack-clash-protection -fno-strict-aliasing -D__TBBMALLOC_BUILD=1 -Wno-parentheses -Wno-non-virtual-dtor -fPIC -flifetime-dse=1 -I../../src -I../../src/rml/include -I../../include -I../../src/tbbmalloc -I../../src/tbbmalloc -I. ../../src/tbbmalloc/frontend.cpp echo "INPUT (libtbbmalloc_debug.so.2)" > libtbbmalloc_debug.so g++ -E -x c++ ../../src/tbbmalloc/lin64-tbbmalloc-export.def -O2 -g -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -fexceptions -fstack-protector-strong -grecord-gcc-switches -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -mcpu=power8 -mtune=power8 -funwind-tables -fstack-clash-protection -fno-strict-aliasing -D__TBBMALLOC_BUILD=1 -Wno-parentheses -Wno-non-virtual-dtor -I../../src -I../../src/rml/include -I../../include > tbbmalloc.def g++ -c -MMD -O2 -g -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -fexceptions -fstack-protector-strong -grecord-gcc-switches -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -mcpu=power8 -mtune=power8 -funwind-tables -fstack-clash-protection -DTBB_USE_DEBUG -g -O0 -DUSE_PTHREAD -Wall -O2 -g -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -fexceptions -fstack-protector-strong -grecord-gcc-switches -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -mcpu=power8 -mtune=power8 -funwind-tables -fstack-clash-protection -Wno-parentheses -Wno-non-virtual-dtor -fPIC -flifetime-dse=1 -D__TBBMALLOC_BUILD=1 -I../../src -I../../src/rml/include -I../../include -I../../src/tbbmalloc -I../../src/tbbmalloc ../../src/tbbmalloc/proxy.cpp g++ -c -MMD -O2 -g -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -fexceptions -fstack-protector-strong -grecord-gcc-switches -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -mcpu=power8 -mtune=power8 -funwind-tables -fstack-clash-protection -DTBB_USE_DEBUG -g -O0 -DUSE_PTHREAD -Wall -O2 -g -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -fexceptions -fstack-protector-strong -grecord-gcc-switches -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -mcpu=power8 -mtune=power8 -funwind-tables -fstack-clash-protection -Wno-parentheses -Wno-non-virtual-dtor -fPIC -flifetime-dse=1 -D__TBBMALLOC_BUILD=1 -I../../src -I../../src/rml/include -I../../include -I../../src/tbbmalloc -I../../src/tbbmalloc ../../src/tbbmalloc/tbb_function_replacement.cpp echo "INPUT (libtbbmalloc_proxy_debug.so.2)" > libtbbmalloc_proxy_debug.so ../../src/tbbmalloc/backref.cpp: In constructor 'rml::internal::BackRefBlock::BackRefBlock(const rml::internal::BackRefBlock*, intptr_t)': ../../src/tbbmalloc/backref.cpp:49:51: warning: 'void* memset(void*, int, size_t)' clearing an object of type 'class MallocMutex' with no trivial copy-assignment; use value-initialization instead [-Wclass-memaccess] memset(&blockMutex, 0, sizeof(MallocMutex)); ^ In file included from ../../src/tbbmalloc/TypeDefinitions.h:58, from ../../src/tbbmalloc/tbbmalloc_internal.h:25, from ../../src/tbbmalloc/backref.cpp:21: ../../src/tbbmalloc/Customize.h:58:7: note: 'class MallocMutex' declared here class MallocMutex : tbb::internal::no_copy { ^~~~~~~~~~~ ../../src/tbbmalloc/backref.cpp: In member function 'void rml::internal::BackRefBlock::zeroSet()': ../../src/tbbmalloc/backref.cpp:55:80: warning: 'void* memset(void*, int, size_t)' clearing an object of type 'struct rml::internal::BackRefBlock' with no trivial copy-assignment [-Wclass-memaccess] void zeroSet() { memset(this+1, 0, BackRefBlock::bytes-sizeof(BackRefBlock)); } ^ ../../src/tbbmalloc/backref.cpp:32:8: note: 'struct rml::internal::BackRefBlock' declared here struct BackRefBlock : public BlockI { ^~~~~~~~~~~~ ../../src/tbbmalloc/large_objects.cpp: In function 'bool rml::internal::lessThanWithOverflow(intptr_t, intptr_t)': ../../src/tbbmalloc/large_objects.cpp:199:29: warning: comparison of integer expressions of different signedness: 'intptr_t' {aka 'long int'} and 'long unsigned int' [-Wsign-compare] return (a < b && (b - a < UINTPTR_MAX/2)) || ~~~~~~^~~~~~~~~~~~~~~ ../../src/tbbmalloc/backref.cpp: In function 'bool rml::internal::initBackRefMaster(rml::internal::Backend*)': ../../src/tbbmalloc/backref.cpp:112:65: warning: 'void* memset(void*, int, size_t)' clearing an object of type 'class MallocMutex' with no trivial copy-assignment; use value-initialization instead [-Wclass-memaccess] memset(&master->requestNewSpaceMutex, 0, sizeof(MallocMutex)); ^ In file included from ../../src/tbbmalloc/TypeDefinitions.h:58, from ../../src/tbbmalloc/tbbmalloc_internal.h:25, from ../../src/tbbmalloc/backref.cpp:21: ../../src/tbbmalloc/Customize.h:58:7: note: 'class MallocMutex' declared here class MallocMutex : tbb::internal::no_copy { ^~~~~~~~~~~ ../../src/tbbmalloc/large_objects.cpp:200:29: warning: comparison of integer expressions of different signedness: 'intptr_t' {aka 'long int'} and 'long unsigned int' [-Wsign-compare] (a > b && (a - b > UINTPTR_MAX/2)); ~~~~~~^~~~~~~~~~~~~~~ In file included from ../../src/tbbmalloc/backref.cpp:21: ../../src/tbbmalloc/tbbmalloc_internal.h: In instantiation of 'void rml::internal::LargeObjectCacheImpl::CacheBin::init() [with Props = rml::internal::LargeObjectCacheProps<8192, 8388608, 8192, 2, 2, 16>]': ../../src/tbbmalloc/tbbmalloc_internal.h:415:13: required from 'void rml::internal::LargeObjectCacheImpl::reset() [with Props = rml::internal::LargeObjectCacheProps<8192, 8388608, 8192, 2, 2, 16>]' ../../src/tbbmalloc/tbbmalloc_internal.h:475:26: required from here ../../src/tbbmalloc/tbbmalloc_internal.h:351:29: warning: 'void* memset(void*, int, size_t)' clearing an object of type 'class rml::internal::LargeObjectCacheImpl >::CacheBin' with no trivial copy-assignment; use assignment or value-initialization instead [-Wclass-memaccess] void init() { memset(this, 0, sizeof(CacheBin)); } ~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~ In file included from ../../src/tbbmalloc/backref.cpp:21: ../../src/tbbmalloc/tbbmalloc_internal.h:322:11: note: 'class rml::internal::LargeObjectCacheImpl >::CacheBin' declared here class CacheBin { ^~~~~~~~ In file included from ../../src/tbbmalloc/backref.cpp:21: ../../src/tbbmalloc/tbbmalloc_internal.h: In instantiation of 'void rml::internal::LargeObjectCacheImpl::CacheBin::init() [with Props = rml::internal::LargeObjectCacheProps<8388608, 135266304, 524288, 1, 1, 4>]': ../../src/tbbmalloc/tbbmalloc_internal.h:415:13: required from 'void rml::internal::LargeObjectCacheImpl::reset() [with Props = rml::internal::LargeObjectCacheProps<8388608, 135266304, 524288, 1, 1, 4>]' ../../src/tbbmalloc/tbbmalloc_internal.h:476:25: required from here ../../src/tbbmalloc/tbbmalloc_internal.h:351:29: warning: 'void* memset(void*, int, size_t)' clearing an object of type 'class rml::internal::LargeObjectCacheImpl >::CacheBin' with no trivial copy-assignment; use assignment or value-initialization instead [-Wclass-memaccess] void init() { memset(this, 0, sizeof(CacheBin)); } ~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~ In file included from ../../src/tbbmalloc/backref.cpp:21: ../../src/tbbmalloc/tbbmalloc_internal.h:322:11: note: 'class rml::internal::LargeObjectCacheImpl >::CacheBin' declared here class CacheBin { ^~~~~~~~ g++ -E -x c++ ../../src/tbbmalloc/lin64-proxy-export.def -O2 -g -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -fexceptions -fstack-protector-strong -grecord-gcc-switches -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -mcpu=power8 -mtune=power8 -funwind-tables -fstack-clash-protection -DTBB_USE_DEBUG -g -O0 -DUSE_PTHREAD -Wall -O2 -g -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -fexceptions -fstack-protector-strong -grecord-gcc-switches -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -mcpu=power8 -mtune=power8 -funwind-tables -fstack-clash-protection -Wno-parentheses -Wno-non-virtual-dtor -I../../src -I../../src/rml/include -I../../include > tbbmallocproxy.def ../../src/tbbmalloc/backend.cpp: In member function 'void rml::internal::CoalRequestQ::blockWasProcessed()': ../../src/tbbmalloc/backend.cpp:413:9: warning: unused variable 'prev' [-Wunused-variable] int prev = AtomicAdd(inFlyBlocks, -1); ^~~~ In file included from ../../src/tbbmalloc/large_objects.cpp:21: ../../src/tbbmalloc/tbbmalloc_internal.h: In instantiation of 'void rml::internal::LargeObjectCacheImpl::CacheBin::init() [with Props = rml::internal::LargeObjectCacheProps<8192, 8388608, 8192, 2, 2, 16>]': ../../src/tbbmalloc/tbbmalloc_internal.h:415:13: required from 'void rml::internal::LargeObjectCacheImpl::reset() [with Props = rml::internal::LargeObjectCacheProps<8192, 8388608, 8192, 2, 2, 16>]' ../../src/tbbmalloc/tbbmalloc_internal.h:475:26: required from here ../../src/tbbmalloc/tbbmalloc_internal.h:351:29: warning: 'void* memset(void*, int, size_t)' clearing an object of type 'class rml::internal::LargeObjectCacheImpl >::CacheBin' with no trivial copy-assignment; use assignment or value-initialization instead [-Wclass-memaccess] void init() { memset(this, 0, sizeof(CacheBin)); } ~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~ In file included from ../../src/tbbmalloc/large_objects.cpp:21: ../../src/tbbmalloc/tbbmalloc_internal.h:322:11: note: 'class rml::internal::LargeObjectCacheImpl >::CacheBin' declared here class CacheBin { ^~~~~~~~ In file included from ../../src/tbbmalloc/large_objects.cpp:21: ../../src/tbbmalloc/tbbmalloc_internal.h: In instantiation of 'void rml::internal::LargeObjectCacheImpl::CacheBin::init() [with Props = rml::internal::LargeObjectCacheProps<8388608, 135266304, 524288, 1, 1, 4>]': ../../src/tbbmalloc/tbbmalloc_internal.h:415:13: required from 'void rml::internal::LargeObjectCacheImpl::reset() [with Props = rml::internal::LargeObjectCacheProps<8388608, 135266304, 524288, 1, 1, 4>]' ../../src/tbbmalloc/tbbmalloc_internal.h:476:25: required from here ../../src/tbbmalloc/tbbmalloc_internal.h:351:29: warning: 'void* memset(void*, int, size_t)' clearing an object of type 'class rml::internal::LargeObjectCacheImpl >::CacheBin' with no trivial copy-assignment; use assignment or value-initialization instead [-Wclass-memaccess] void init() { memset(this, 0, sizeof(CacheBin)); } ~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~ In file included from ../../src/tbbmalloc/large_objects.cpp:21: ../../src/tbbmalloc/tbbmalloc_internal.h:322:11: note: 'class rml::internal::LargeObjectCacheImpl >::CacheBin' declared here class CacheBin { ^~~~~~~~ ../../src/tbbmalloc/large_objects.cpp: In instantiation of 'void rml::internal::LargeObjectCacheImpl::CacheBin::forgetOutdatedState(uintptr_t) [with Props = rml::internal::LargeObjectCacheProps<8192, 8388608, 8192, 2, 2, 16>; uintptr_t = long unsigned int]': ../../src/tbbmalloc/large_objects.cpp:367:25: required from 'void rml::internal::CacheBinFunctor::operator()(rml::internal::CacheBinOperation*) [with Props = rml::internal::LargeObjectCacheProps<8192, 8388608, 8192, 2, 2, 16>]' ../../include/tbb/internal/_aggregator_impl.h:140:26: required from 'void tbb::interface6::internal::aggregator_generic::start_handle_operations(handler_type&) [with handler_type = rml::internal::CacheBinFunctor >; operation_type = rml::internal::CacheBinOperation]' ../../include/tbb/internal/_aggregator_impl.h:92:13: required from 'void tbb::interface6::internal::aggregator_generic::execute(operation_type*, handler_type&, bool) [with handler_type = rml::internal::CacheBinFunctor >; operation_type = rml::internal::CacheBinOperation]' ../../src/tbbmalloc/large_objects.cpp:419:5: required from 'void rml::internal::LargeObjectCacheImpl::CacheBin::ExecuteOperation(rml::internal::CacheBinOperation*, rml::internal::ExtMemoryPool*, rml::internal::LargeObjectCacheImpl::BinBitMask*, int, bool) [with Props = rml::internal::LargeObjectCacheProps<8192, 8388608, 8192, 2, 2, 16>; rml::internal::LargeObjectCacheImpl::BinBitMask = rml::internal::BitMaskMax<1023>]' ../../src/tbbmalloc/large_objects.cpp:458:9: required from 'bool rml::internal::LargeObjectCacheImpl::CacheBin::cleanToThreshold(rml::internal::ExtMemoryPool*, rml::internal::LargeObjectCacheImpl::BinBitMask*, uintptr_t, int) [with Props = rml::internal::LargeObjectCacheProps<8192, 8388608, 8192, 2, 2, 16>; rml::internal::LargeObjectCacheImpl::BinBitMask = rml::internal::BitMaskMax<1023>; uintptr_t = long unsigned int]' ../../src/tbbmalloc/large_objects.cpp:683:9: required from 'bool rml::internal::LargeObjectCacheImpl::regularCleanup(rml::internal::ExtMemoryPool*, uintptr_t, bool) [with Props = rml::internal::LargeObjectCacheProps<8192, 8388608, 8192, 2, 2, 16>; uintptr_t = long unsigned int]' ../../src/tbbmalloc/large_objects.cpp:748:72: required from here ../../src/tbbmalloc/large_objects.cpp:577:34: warning: comparison of integer expressions of different signedness: 'const uintptr_t' {aka 'const long unsigned int'} and 'intptr_t' {aka 'long int'} [-Wsign-compare] doCleanup = sinceLastGet > Props::LongWaitFactor*ageThreshold; ~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ../../src/tbbmalloc/large_objects.cpp: In instantiation of 'void rml::internal::LargeObjectCacheImpl::CacheBin::forgetOutdatedState(uintptr_t) [with Props = rml::internal::LargeObjectCacheProps<8388608, 135266304, 524288, 1, 1, 4>; uintptr_t = long unsigned int]': ../../src/tbbmalloc/large_objects.cpp:367:25: required from 'void rml::internal::CacheBinFunctor::operator()(rml::internal::CacheBinOperation*) [with Props = rml::internal::LargeObjectCacheProps<8388608, 135266304, 524288, 1, 1, 4>]' ../../include/tbb/internal/_aggregator_impl.h:140:26: required from 'void tbb::interface6::internal::aggregator_generic::start_handle_operations(handler_type&) [with handler_type = rml::internal::CacheBinFunctor >; operation_type = rml::internal::CacheBinOperation]' ../../include/tbb/internal/_aggregator_impl.h:92:13: required from 'void tbb::interface6::internal::aggregator_generic::execute(operation_type*, handler_type&, bool) [with handler_type = rml::internal::CacheBinFunctor >; operation_type = rml::internal::CacheBinOperation]' ../../src/tbbmalloc/large_objects.cpp:419:5: required from 'void rml::internal::LargeObjectCacheImpl::CacheBin::ExecuteOperation(rml::internal::CacheBinOperation*, rml::internal::ExtMemoryPool*, rml::internal::LargeObjectCacheImpl::BinBitMask*, int, bool) [with Props = rml::internal::LargeObjectCacheProps<8388608, 135266304, 524288, 1, 1, 4>; rml::internal::LargeObjectCacheImpl::BinBitMask = rml::internal::BitMaskMax<242>]' ../../src/tbbmalloc/large_objects.cpp:458:9: required from 'bool rml::internal::LargeObjectCacheImpl::CacheBin::cleanToThreshold(rml::internal::ExtMemoryPool*, rml::internal::LargeObjectCacheImpl::BinBitMask*, uintptr_t, int) [with Props = rml::internal::LargeObjectCacheProps<8388608, 135266304, 524288, 1, 1, 4>; rml::internal::LargeObjectCacheImpl::BinBitMask = rml::internal::BitMaskMax<242>; uintptr_t = long unsigned int]' ../../src/tbbmalloc/large_objects.cpp:683:9: required from 'bool rml::internal::LargeObjectCacheImpl::regularCleanup(rml::internal::ExtMemoryPool*, uintptr_t, bool) [with Props = rml::internal::LargeObjectCacheProps<8388608, 135266304, 524288, 1, 1, 4>; uintptr_t = long unsigned int]' ../../src/tbbmalloc/large_objects.cpp:749:70: required from here ../../src/tbbmalloc/large_objects.cpp:577:34: warning: comparison of integer expressions of different signedness: 'const uintptr_t' {aka 'const long unsigned int'} and 'intptr_t' {aka 'long int'} [-Wsign-compare] In file included from ../../src/tbbmalloc/backend.cpp:23: ../../src/tbbmalloc/tbbmalloc_internal.h: In instantiation of 'void rml::internal::LargeObjectCacheImpl::CacheBin::init() [with Props = rml::internal::LargeObjectCacheProps<8192, 8388608, 8192, 2, 2, 16>]': ../../src/tbbmalloc/tbbmalloc_internal.h:415:13: required from 'void rml::internal::LargeObjectCacheImpl::reset() [with Props = rml::internal::LargeObjectCacheProps<8192, 8388608, 8192, 2, 2, 16>]' ../../src/tbbmalloc/tbbmalloc_internal.h:475:26: required from here ../../src/tbbmalloc/tbbmalloc_internal.h:351:29: warning: 'void* memset(void*, int, size_t)' clearing an object of type 'class rml::internal::LargeObjectCacheImpl >::CacheBin' with no trivial copy-assignment; use assignment or value-initialization instead [-Wclass-memaccess] void init() { memset(this, 0, sizeof(CacheBin)); } ~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~ In file included from ../../src/tbbmalloc/backend.cpp:23: ../../src/tbbmalloc/tbbmalloc_internal.h:322:11: note: 'class rml::internal::LargeObjectCacheImpl >::CacheBin' declared here class CacheBin { ^~~~~~~~ In file included from ../../src/tbbmalloc/backend.cpp:23: ../../src/tbbmalloc/tbbmalloc_internal.h: In instantiation of 'void rml::internal::LargeObjectCacheImpl::CacheBin::init() [with Props = rml::internal::LargeObjectCacheProps<8388608, 135266304, 524288, 1, 1, 4>]': ../../src/tbbmalloc/tbbmalloc_internal.h:415:13: required from 'void rml::internal::LargeObjectCacheImpl::reset() [with Props = rml::internal::LargeObjectCacheProps<8388608, 135266304, 524288, 1, 1, 4>]' ../../src/tbbmalloc/tbbmalloc_internal.h:476:25: required from here ../../src/tbbmalloc/tbbmalloc_internal.h:351:29: warning: 'void* memset(void*, int, size_t)' clearing an object of type 'class rml::internal::LargeObjectCacheImpl >::CacheBin' with no trivial copy-assignment; use assignment or value-initialization instead [-Wclass-memaccess] void init() { memset(this, 0, sizeof(CacheBin)); } ~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~ In file included from ../../src/tbbmalloc/backend.cpp:23: ../../src/tbbmalloc/tbbmalloc_internal.h:322:11: note: 'class rml::internal::LargeObjectCacheImpl >::CacheBin' declared here class CacheBin { ^~~~~~~~ ../../src/tbbmalloc/frontend.cpp: In constructor 'rml::internal::LifoList::LifoList()': ../../src/tbbmalloc/frontend.cpp:909:41: warning: 'void* memset(void*, int, size_t)' clearing an object of type 'class MallocMutex' with no trivial copy-assignment; use value-initialization instead [-Wclass-memaccess] memset(&lock, 0, sizeof(MallocMutex)); ^ In file included from ../../src/tbbmalloc/TypeDefinitions.h:58, from ../../src/tbbmalloc/tbbmalloc_internal.h:25, from ../../src/tbbmalloc/frontend.cpp:22: ../../src/tbbmalloc/Customize.h:58:7: note: 'class MallocMutex' declared here class MallocMutex : tbb::internal::no_copy { ^~~~~~~~~~~ ../../src/tbbmalloc/frontend.cpp: In function 'rml::MemPoolError rml::pool_create_v1(intptr_t, const rml::MemPoolPolicy*, rml::MemoryPool**)': ../../src/tbbmalloc/frontend.cpp:2671:57: warning: 'void* memset(void*, int, size_t)' clearing an object of type 'class rml::internal::MemoryPool' with no trivial copy-assignment [-Wclass-memaccess] memset(memPool, 0, sizeof(rml::internal::MemoryPool)); ^ ../../src/tbbmalloc/frontend.cpp:264:7: note: 'class rml::internal::MemoryPool' declared here class MemoryPool { ^~~~~~~~~~ ../../src/tbbmalloc/large_objects.cpp: In member function 'void rml::internal::CacheBinFunctor::operator()(rml::internal::CacheBinOperation*) [with Props = rml::internal::LargeObjectCacheProps<8192, 8388608, 8192, 2, 2, 16>]': ../../src/tbbmalloc/large_objects.cpp:521:9: warning: 'prep.rml::internal::CacheBinFunctor >::OperationPreprocessor::putListNum' may be used uninitialized in this function [-Wmaybe-uninitialized] num--; ^~~ ../../src/tbbmalloc/large_objects.cpp:340:27: note: 'prep.rml::internal::CacheBinFunctor >::OperationPreprocessor::putListNum' was declared here OperationPreprocessor prep(bin); ^~~~ ../../src/tbbmalloc/large_objects.cpp:514:32: warning: 'prep.rml::internal::CacheBinFunctor >::OperationPreprocessor::tail' may be used uninitialized in this function [-Wmaybe-uninitialized] lastCleanedAge = tail->age; ~~~~~~^~~ ../../src/tbbmalloc/large_objects.cpp:340:27: note: 'prep.rml::internal::CacheBinFunctor >::OperationPreprocessor::tail' was declared here OperationPreprocessor prep(bin); ^~~~ In file included from ../../src/tbbmalloc/frontend.cpp:22: ../../src/tbbmalloc/tbbmalloc_internal.h: In instantiation of 'void rml::internal::LargeObjectCacheImpl::CacheBin::init() [with Props = rml::internal::LargeObjectCacheProps<8192, 8388608, 8192, 2, 2, 16>]': ../../src/tbbmalloc/tbbmalloc_internal.h:415:13: required from 'void rml::internal::LargeObjectCacheImpl::reset() [with Props = rml::internal::LargeObjectCacheProps<8192, 8388608, 8192, 2, 2, 16>]' ../../src/tbbmalloc/tbbmalloc_internal.h:475:26: required from here ../../src/tbbmalloc/tbbmalloc_internal.h:351:29: warning: 'void* memset(void*, int, size_t)' clearing an object of type 'class rml::internal::LargeObjectCacheImpl >::CacheBin' with no trivial copy-assignment; use assignment or value-initialization instead [-Wclass-memaccess] void init() { memset(this, 0, sizeof(CacheBin)); } ~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~ In file included from ../../src/tbbmalloc/frontend.cpp:22: ../../src/tbbmalloc/tbbmalloc_internal.h:322:11: note: 'class rml::internal::LargeObjectCacheImpl >::CacheBin' declared here class CacheBin { ^~~~~~~~ In file included from ../../src/tbbmalloc/frontend.cpp:22: ../../src/tbbmalloc/tbbmalloc_internal.h: In instantiation of 'void rml::internal::LargeObjectCacheImpl::CacheBin::init() [with Props = rml::internal::LargeObjectCacheProps<8388608, 135266304, 524288, 1, 1, 4>]': ../../src/tbbmalloc/tbbmalloc_internal.h:415:13: required from 'void rml::internal::LargeObjectCacheImpl::reset() [with Props = rml::internal::LargeObjectCacheProps<8388608, 135266304, 524288, 1, 1, 4>]' ../../src/tbbmalloc/tbbmalloc_internal.h:476:25: required from here ../../src/tbbmalloc/tbbmalloc_internal.h:351:29: warning: 'void* memset(void*, int, size_t)' clearing an object of type 'class rml::internal::LargeObjectCacheImpl >::CacheBin' with no trivial copy-assignment; use assignment or value-initialization instead [-Wclass-memaccess] void init() { memset(this, 0, sizeof(CacheBin)); } ~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~ In file included from ../../src/tbbmalloc/frontend.cpp:22: ../../src/tbbmalloc/tbbmalloc_internal.h:322:11: note: 'class rml::internal::LargeObjectCacheImpl >::CacheBin' declared here class CacheBin { ^~~~~~~~ ../../src/tbbmalloc/proxy.cpp:234:32: warning: dynamic exception specifications are deprecated in C++11 [-Wdeprecated] void * operator new(size_t sz) throw (std::bad_alloc) { ^~~~~ ../../src/tbbmalloc/proxy.cpp:242:33: warning: dynamic exception specifications are deprecated in C++11 [-Wdeprecated] void* operator new[](size_t sz) throw (std::bad_alloc) { ^~~~~ ../../src/tbbmalloc/large_objects.cpp: In member function 'void rml::internal::CacheBinFunctor::operator()(rml::internal::CacheBinOperation*) [with Props = rml::internal::LargeObjectCacheProps<8388608, 135266304, 524288, 1, 1, 4>]': ../../src/tbbmalloc/large_objects.cpp:521:9: warning: 'prep.rml::internal::CacheBinFunctor >::OperationPreprocessor::putListNum' may be used uninitialized in this function [-Wmaybe-uninitialized] num--; ^~~ ../../src/tbbmalloc/large_objects.cpp:340:27: note: 'prep.rml::internal::CacheBinFunctor >::OperationPreprocessor::putListNum' was declared here OperationPreprocessor prep(bin); ^~~~ ../../src/tbbmalloc/large_objects.cpp:514:32: warning: 'prep.rml::internal::CacheBinFunctor >::OperationPreprocessor::tail' may be used uninitialized in this function [-Wmaybe-uninitialized] lastCleanedAge = tail->age; ~~~~~~^~~ ../../src/tbbmalloc/large_objects.cpp:340:27: note: 'prep.rml::internal::CacheBinFunctor >::OperationPreprocessor::tail' was declared here OperationPreprocessor prep(bin); ^~~~ g++ -fPIC -o libtbbmalloc_debug.so.2 backend.o large_objects.o backref.o tbbmalloc.o itt_notify_malloc.o frontend.o -ldl -lpthread -lrt -shared -Wl,-soname=libtbbmalloc_debug.so.2 -Wl,--as-needed -Wl,-z,relro -Wl,-z,now -specs=/usr/lib/rpm/redhat/redhat-hardened-ld -Wl,--version-script,tbbmalloc.def g++ -fPIC -o libtbbmalloc_proxy_debug.so.2 proxy.o tbb_function_replacement.o -ldl -lpthread -lrt libtbbmalloc_debug.so -shared -Wl,-soname=libtbbmalloc_proxy_debug.so.2 -Wl,--as-needed -Wl,-z,relro -Wl,-z,now -specs=/usr/lib/rpm/redhat/redhat-hardened-ld -Wl,--version-script,tbbmallocproxy.def make[1]: Leaving directory '/builddir/build/BUILD/tbb-2018_U2/build/obj_debug' make -C "./build/obj_release" -r -f ../../build/Makefile.tbbmalloc cfg=release malloc make[1]: Entering directory '/builddir/build/BUILD/tbb-2018_U2/build/obj_release' g++ -c -MMD -O2 -g -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -fexceptions -fstack-protector-strong -grecord-gcc-switches -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -mcpu=power8 -mtune=power8 -funwind-tables -fstack-clash-protection -fno-strict-aliasing -D__TBBMALLOC_BUILD=1 -Wno-parentheses -Wno-non-virtual-dtor -fPIC -flifetime-dse=1 -I../../src -I../../src/rml/include -I../../include -I../../src/tbbmalloc -I../../src/tbbmalloc ../../src/tbbmalloc/backend.cpp g++ -c -MMD -O2 -g -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -fexceptions -fstack-protector-strong -grecord-gcc-switches -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -mcpu=power8 -mtune=power8 -funwind-tables -fstack-clash-protection -fno-strict-aliasing -D__TBBMALLOC_BUILD=1 -Wno-parentheses -Wno-non-virtual-dtor -fPIC -flifetime-dse=1 -I../../src -I../../src/rml/include -I../../include -I../../src/tbbmalloc -I../../src/tbbmalloc ../../src/tbbmalloc/large_objects.cpp g++ -c -MMD -O2 -g -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -fexceptions -fstack-protector-strong -grecord-gcc-switches -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -mcpu=power8 -mtune=power8 -funwind-tables -fstack-clash-protection -fno-strict-aliasing -D__TBBMALLOC_BUILD=1 -Wno-parentheses -Wno-non-virtual-dtor -fPIC -flifetime-dse=1 -I../../src -I../../src/rml/include -I../../include -I../../src/tbbmalloc -I../../src/tbbmalloc ../../src/tbbmalloc/backref.cpp g++ -c -MMD -O2 -g -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -fexceptions -fstack-protector-strong -grecord-gcc-switches -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -mcpu=power8 -mtune=power8 -funwind-tables -fstack-clash-protection -fno-strict-aliasing -D__TBBMALLOC_BUILD=1 -Wno-parentheses -Wno-non-virtual-dtor -fPIC -flifetime-dse=1 -I../../src -I../../src/rml/include -I../../include -I../../src/tbbmalloc -I../../src/tbbmalloc ../../src/tbbmalloc/tbbmalloc.cpp g++ -c -MMD -O2 -g -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -fexceptions -fstack-protector-strong -grecord-gcc-switches -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -mcpu=power8 -mtune=power8 -funwind-tables -fstack-clash-protection -fno-strict-aliasing -D__TBBMALLOC_BUILD=1 -Wno-parentheses -Wno-non-virtual-dtor -fPIC -flifetime-dse=1 -o itt_notify_malloc.o -I../../src -I../../src/rml/include -I../../include ../../src/tbb/itt_notify.cpp g++ -c -MMD -O2 -g -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -fexceptions -fstack-protector-strong -grecord-gcc-switches -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -mcpu=power8 -mtune=power8 -funwind-tables -fstack-clash-protection -fno-strict-aliasing -D__TBBMALLOC_BUILD=1 -Wno-parentheses -Wno-non-virtual-dtor -fPIC -flifetime-dse=1 -I../../src -I../../src/rml/include -I../../include -I../../src/tbbmalloc -I../../src/tbbmalloc -I. ../../src/tbbmalloc/frontend.cpp echo "INPUT (libtbbmalloc.so.2)" > libtbbmalloc.so g++ -E -x c++ ../../src/tbbmalloc/lin64-tbbmalloc-export.def -O2 -g -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -fexceptions -fstack-protector-strong -grecord-gcc-switches -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -mcpu=power8 -mtune=power8 -funwind-tables -fstack-clash-protection -fno-strict-aliasing -D__TBBMALLOC_BUILD=1 -Wno-parentheses -Wno-non-virtual-dtor -I../../src -I../../src/rml/include -I../../include > tbbmalloc.def g++ -c -MMD -O2 -g -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -fexceptions -fstack-protector-strong -grecord-gcc-switches -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -mcpu=power8 -mtune=power8 -funwind-tables -fstack-clash-protection -g -O2 -DUSE_PTHREAD -Wall -O2 -g -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -fexceptions -fstack-protector-strong -grecord-gcc-switches -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -mcpu=power8 -mtune=power8 -funwind-tables -fstack-clash-protection -Wno-parentheses -Wno-non-virtual-dtor -fPIC -flifetime-dse=1 -D__TBBMALLOC_BUILD=1 -I../../src -I../../src/rml/include -I../../include -I../../src/tbbmalloc -I../../src/tbbmalloc ../../src/tbbmalloc/proxy.cpp g++ -c -MMD -O2 -g -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -fexceptions -fstack-protector-strong -grecord-gcc-switches -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -mcpu=power8 -mtune=power8 -funwind-tables -fstack-clash-protection -g -O2 -DUSE_PTHREAD -Wall -O2 -g -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -fexceptions -fstack-protector-strong -grecord-gcc-switches -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -mcpu=power8 -mtune=power8 -funwind-tables -fstack-clash-protection -Wno-parentheses -Wno-non-virtual-dtor -fPIC -flifetime-dse=1 -D__TBBMALLOC_BUILD=1 -I../../src -I../../src/rml/include -I../../include -I../../src/tbbmalloc -I../../src/tbbmalloc ../../src/tbbmalloc/tbb_function_replacement.cpp ../../src/tbbmalloc/backref.cpp: In constructor 'rml::internal::BackRefBlock::BackRefBlock(const rml::internal::BackRefBlock*, intptr_t)': ../../src/tbbmalloc/backref.cpp:49:51: warning: 'void* memset(void*, int, size_t)' clearing an object of type 'class MallocMutex' with no trivial copy-assignment; use value-initialization instead [-Wclass-memaccess] memset(&blockMutex, 0, sizeof(MallocMutex)); ^ In file included from ../../src/tbbmalloc/TypeDefinitions.h:58, from ../../src/tbbmalloc/tbbmalloc_internal.h:25, from ../../src/tbbmalloc/backref.cpp:21: ../../src/tbbmalloc/Customize.h:58:7: note: 'class MallocMutex' declared here class MallocMutex : tbb::internal::no_copy { ^~~~~~~~~~~ ../../src/tbbmalloc/backref.cpp: In member function 'void rml::internal::BackRefBlock::zeroSet()': ../../src/tbbmalloc/backref.cpp:55:80: warning: 'void* memset(void*, int, size_t)' clearing an object of type 'struct rml::internal::BackRefBlock' with no trivial copy-assignment [-Wclass-memaccess] void zeroSet() { memset(this+1, 0, BackRefBlock::bytes-sizeof(BackRefBlock)); } ^ ../../src/tbbmalloc/backref.cpp:32:8: note: 'struct rml::internal::BackRefBlock' declared here struct BackRefBlock : public BlockI { ^~~~~~~~~~~~ ../../src/tbbmalloc/backref.cpp: In function 'bool rml::internal::initBackRefMaster(rml::internal::Backend*)': ../../src/tbbmalloc/backref.cpp:112:65: warning: 'void* memset(void*, int, size_t)' clearing an object of type 'class MallocMutex' with no trivial copy-assignment; use value-initialization instead [-Wclass-memaccess] memset(&master->requestNewSpaceMutex, 0, sizeof(MallocMutex)); ^ In file included from ../../src/tbbmalloc/TypeDefinitions.h:58, from ../../src/tbbmalloc/tbbmalloc_internal.h:25, from ../../src/tbbmalloc/backref.cpp:21: ../../src/tbbmalloc/Customize.h:58:7: note: 'class MallocMutex' declared here class MallocMutex : tbb::internal::no_copy { ^~~~~~~~~~~ ../../src/tbbmalloc/large_objects.cpp: In function 'bool rml::internal::lessThanWithOverflow(intptr_t, intptr_t)': ../../src/tbbmalloc/large_objects.cpp:199:29: warning: comparison of integer expressions of different signedness: 'intptr_t' {aka 'long int'} and 'long unsigned int' [-Wsign-compare] return (a < b && (b - a < UINTPTR_MAX/2)) || ~~~~~~^~~~~~~~~~~~~~~ ../../src/tbbmalloc/large_objects.cpp:200:29: warning: comparison of integer expressions of different signedness: 'intptr_t' {aka 'long int'} and 'long unsigned int' [-Wsign-compare] (a > b && (a - b > UINTPTR_MAX/2)); ~~~~~~^~~~~~~~~~~~~~~ ../../src/tbbmalloc/backend.cpp: In member function 'void rml::internal::CoalRequestQ::blockWasProcessed()': ../../src/tbbmalloc/backend.cpp:413:9: warning: unused variable 'prev' [-Wunused-variable] int prev = AtomicAdd(inFlyBlocks, -1); ^~~~ ../../src/tbbmalloc/frontend.cpp: In constructor 'rml::internal::LifoList::LifoList()': ../../src/tbbmalloc/frontend.cpp:909:41: warning: 'void* memset(void*, int, size_t)' clearing an object of type 'class MallocMutex' with no trivial copy-assignment; use value-initialization instead [-Wclass-memaccess] memset(&lock, 0, sizeof(MallocMutex)); ^ In file included from ../../src/tbbmalloc/TypeDefinitions.h:58, from ../../src/tbbmalloc/tbbmalloc_internal.h:25, from ../../src/tbbmalloc/frontend.cpp:22: ../../src/tbbmalloc/Customize.h:58:7: note: 'class MallocMutex' declared here class MallocMutex : tbb::internal::no_copy { ^~~~~~~~~~~ In file included from ../../src/tbbmalloc/backref.cpp:21: ../../src/tbbmalloc/tbbmalloc_internal.h: In instantiation of 'void rml::internal::LargeObjectCacheImpl::CacheBin::init() [with Props = rml::internal::LargeObjectCacheProps<8192, 8388608, 8192, 2, 2, 16>]': ../../src/tbbmalloc/tbbmalloc_internal.h:415:13: required from 'void rml::internal::LargeObjectCacheImpl::reset() [with Props = rml::internal::LargeObjectCacheProps<8192, 8388608, 8192, 2, 2, 16>]' ../../src/tbbmalloc/tbbmalloc_internal.h:475:26: required from here ../../src/tbbmalloc/tbbmalloc_internal.h:351:29: warning: 'void* memset(void*, int, size_t)' clearing an object of type 'class rml::internal::LargeObjectCacheImpl >::CacheBin' with no trivial copy-assignment; use assignment or value-initialization instead [-Wclass-memaccess] void init() { memset(this, 0, sizeof(CacheBin)); } ~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~ In file included from ../../src/tbbmalloc/backref.cpp:21: ../../src/tbbmalloc/tbbmalloc_internal.h:322:11: note: 'class rml::internal::LargeObjectCacheImpl >::CacheBin' declared here class CacheBin { ^~~~~~~~ In file included from ../../src/tbbmalloc/backref.cpp:21: ../../src/tbbmalloc/tbbmalloc_internal.h: In instantiation of 'void rml::internal::LargeObjectCacheImpl::CacheBin::init() [with Props = rml::internal::LargeObjectCacheProps<8388608, 135266304, 524288, 1, 1, 4>]': ../../src/tbbmalloc/tbbmalloc_internal.h:415:13: required from 'void rml::internal::LargeObjectCacheImpl::reset() [with Props = rml::internal::LargeObjectCacheProps<8388608, 135266304, 524288, 1, 1, 4>]' ../../src/tbbmalloc/tbbmalloc_internal.h:476:25: required from here ../../src/tbbmalloc/tbbmalloc_internal.h:351:29: warning: 'void* memset(void*, int, size_t)' clearing an object of type 'class rml::internal::LargeObjectCacheImpl >::CacheBin' with no trivial copy-assignment; use assignment or value-initialization instead [-Wclass-memaccess] void init() { memset(this, 0, sizeof(CacheBin)); } ~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~ In file included from ../../src/tbbmalloc/backref.cpp:21: ../../src/tbbmalloc/tbbmalloc_internal.h:322:11: note: 'class rml::internal::LargeObjectCacheImpl >::CacheBin' declared here class CacheBin { ^~~~~~~~ In file included from ../../src/tbbmalloc/large_objects.cpp:21: ../../src/tbbmalloc/tbbmalloc_internal.h: In instantiation of 'void rml::internal::LargeObjectCacheImpl::CacheBin::init() [with Props = rml::internal::LargeObjectCacheProps<8192, 8388608, 8192, 2, 2, 16>]': ../../src/tbbmalloc/tbbmalloc_internal.h:415:13: required from 'void rml::internal::LargeObjectCacheImpl::reset() [with Props = rml::internal::LargeObjectCacheProps<8192, 8388608, 8192, 2, 2, 16>]' ../../src/tbbmalloc/tbbmalloc_internal.h:475:26: required from here ../../src/tbbmalloc/tbbmalloc_internal.h:351:29: warning: 'void* memset(void*, int, size_t)' clearing an object of type 'class rml::internal::LargeObjectCacheImpl >::CacheBin' with no trivial copy-assignment; use assignment or value-initialization instead [-Wclass-memaccess] void init() { memset(this, 0, sizeof(CacheBin)); } ~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~ In file included from ../../src/tbbmalloc/large_objects.cpp:21: ../../src/tbbmalloc/tbbmalloc_internal.h:322:11: note: 'class rml::internal::LargeObjectCacheImpl >::CacheBin' declared here class CacheBin { ^~~~~~~~ In file included from ../../src/tbbmalloc/large_objects.cpp:21: ../../src/tbbmalloc/tbbmalloc_internal.h: In instantiation of 'void rml::internal::LargeObjectCacheImpl::CacheBin::init() [with Props = rml::internal::LargeObjectCacheProps<8388608, 135266304, 524288, 1, 1, 4>]': ../../src/tbbmalloc/tbbmalloc_internal.h:415:13: required from 'void rml::internal::LargeObjectCacheImpl::reset() [with Props = rml::internal::LargeObjectCacheProps<8388608, 135266304, 524288, 1, 1, 4>]' ../../src/tbbmalloc/tbbmalloc_internal.h:476:25: required from here ../../src/tbbmalloc/tbbmalloc_internal.h:351:29: warning: 'void* memset(void*, int, size_t)' clearing an object of type 'class rml::internal::LargeObjectCacheImpl >::CacheBin' with no trivial copy-assignment; use assignment or value-initialization instead [-Wclass-memaccess] void init() { memset(this, 0, sizeof(CacheBin)); } ~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~ In file included from ../../src/tbbmalloc/large_objects.cpp:21: ../../src/tbbmalloc/tbbmalloc_internal.h:322:11: note: 'class rml::internal::LargeObjectCacheImpl >::CacheBin' declared here class CacheBin { ^~~~~~~~ echo "INPUT (libtbbmalloc_proxy.so.2)" > libtbbmalloc_proxy.so In file included from ../../src/tbbmalloc/backend.cpp:23: ../../src/tbbmalloc/tbbmalloc_internal.h: In instantiation of 'void rml::internal::LargeObjectCacheImpl::CacheBin::init() [with Props = rml::internal::LargeObjectCacheProps<8192, 8388608, 8192, 2, 2, 16>]': ../../src/tbbmalloc/tbbmalloc_internal.h:415:13: required from 'void rml::internal::LargeObjectCacheImpl::reset() [with Props = rml::internal::LargeObjectCacheProps<8192, 8388608, 8192, 2, 2, 16>]' ../../src/tbbmalloc/tbbmalloc_internal.h:475:26: required from here ../../src/tbbmalloc/tbbmalloc_internal.h:351:29: warning: 'void* memset(void*, int, size_t)' clearing an object of type 'class rml::internal::LargeObjectCacheImpl >::CacheBin' with no trivial copy-assignment; use assignment or value-initialization instead [-Wclass-memaccess] void init() { memset(this, 0, sizeof(CacheBin)); } ~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~ In file included from ../../src/tbbmalloc/backend.cpp:23: ../../src/tbbmalloc/tbbmalloc_internal.h:322:11: note: 'class rml::internal::LargeObjectCacheImpl >::CacheBin' declared here class CacheBin { ^~~~~~~~ In file included from ../../src/tbbmalloc/backend.cpp:23: ../../src/tbbmalloc/tbbmalloc_internal.h: In instantiation of 'void rml::internal::LargeObjectCacheImpl::CacheBin::init() [with Props = rml::internal::LargeObjectCacheProps<8388608, 135266304, 524288, 1, 1, 4>]': ../../src/tbbmalloc/tbbmalloc_internal.h:415:13: required from 'void rml::internal::LargeObjectCacheImpl::reset() [with Props = rml::internal::LargeObjectCacheProps<8388608, 135266304, 524288, 1, 1, 4>]' ../../src/tbbmalloc/tbbmalloc_internal.h:476:25: required from here ../../src/tbbmalloc/tbbmalloc_internal.h:351:29: warning: 'void* memset(void*, int, size_t)' clearing an object of type 'class rml::internal::LargeObjectCacheImpl >::CacheBin' with no trivial copy-assignment; use assignment or value-initialization instead [-Wclass-memaccess] void init() { memset(this, 0, sizeof(CacheBin)); } ~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~ In file included from ../../src/tbbmalloc/backend.cpp:23: ../../src/tbbmalloc/tbbmalloc_internal.h:322:11: note: 'class rml::internal::LargeObjectCacheImpl >::CacheBin' declared here class CacheBin { ^~~~~~~~ ../../src/tbbmalloc/frontend.cpp: In function 'rml::MemPoolError rml::pool_create_v1(intptr_t, const rml::MemPoolPolicy*, rml::MemoryPool**)': ../../src/tbbmalloc/frontend.cpp:2671:57: warning: 'void* memset(void*, int, size_t)' clearing an object of type 'class rml::internal::MemoryPool' with no trivial copy-assignment [-Wclass-memaccess] memset(memPool, 0, sizeof(rml::internal::MemoryPool)); ^ ../../src/tbbmalloc/frontend.cpp:264:7: note: 'class rml::internal::MemoryPool' declared here class MemoryPool { ^~~~~~~~~~ ../../src/tbbmalloc/large_objects.cpp: In instantiation of 'void rml::internal::LargeObjectCacheImpl::CacheBin::forgetOutdatedState(uintptr_t) [with Props = rml::internal::LargeObjectCacheProps<8192, 8388608, 8192, 2, 2, 16>; uintptr_t = long unsigned int]': ../../src/tbbmalloc/large_objects.cpp:367:25: required from 'void rml::internal::CacheBinFunctor::operator()(rml::internal::CacheBinOperation*) [with Props = rml::internal::LargeObjectCacheProps<8192, 8388608, 8192, 2, 2, 16>]' ../../include/tbb/internal/_aggregator_impl.h:140:26: required from 'void tbb::interface6::internal::aggregator_generic::start_handle_operations(handler_type&) [with handler_type = rml::internal::CacheBinFunctor >; operation_type = rml::internal::CacheBinOperation]' ../../include/tbb/internal/_aggregator_impl.h:92:13: required from 'void tbb::interface6::internal::aggregator_generic::execute(operation_type*, handler_type&, bool) [with handler_type = rml::internal::CacheBinFunctor >; operation_type = rml::internal::CacheBinOperation]' ../../src/tbbmalloc/large_objects.cpp:419:5: required from 'void rml::internal::LargeObjectCacheImpl::CacheBin::ExecuteOperation(rml::internal::CacheBinOperation*, rml::internal::ExtMemoryPool*, rml::internal::LargeObjectCacheImpl::BinBitMask*, int, bool) [with Props = rml::internal::LargeObjectCacheProps<8192, 8388608, 8192, 2, 2, 16>; rml::internal::LargeObjectCacheImpl::BinBitMask = rml::internal::BitMaskMax<1023>]' ../../src/tbbmalloc/large_objects.cpp:458:9: required from 'bool rml::internal::LargeObjectCacheImpl::CacheBin::cleanToThreshold(rml::internal::ExtMemoryPool*, rml::internal::LargeObjectCacheImpl::BinBitMask*, uintptr_t, int) [with Props = rml::internal::LargeObjectCacheProps<8192, 8388608, 8192, 2, 2, 16>; rml::internal::LargeObjectCacheImpl::BinBitMask = rml::internal::BitMaskMax<1023>; uintptr_t = long unsigned int]' ../../src/tbbmalloc/large_objects.cpp:683:9: required from 'bool rml::internal::LargeObjectCacheImpl::regularCleanup(rml::internal::ExtMemoryPool*, uintptr_t, bool) [with Props = rml::internal::LargeObjectCacheProps<8192, 8388608, 8192, 2, 2, 16>; uintptr_t = long unsigned int]' ../../src/tbbmalloc/large_objects.cpp:748:72: required from here ../../src/tbbmalloc/large_objects.cpp:577:34: warning: comparison of integer expressions of different signedness: 'const uintptr_t' {aka 'const long unsigned int'} and 'intptr_t' {aka 'long int'} [-Wsign-compare] doCleanup = sinceLastGet > Props::LongWaitFactor*ageThreshold; ~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ../../src/tbbmalloc/large_objects.cpp: In instantiation of 'void rml::internal::LargeObjectCacheImpl::CacheBin::forgetOutdatedState(uintptr_t) [with Props = rml::internal::LargeObjectCacheProps<8388608, 135266304, 524288, 1, 1, 4>; uintptr_t = long unsigned int]': ../../src/tbbmalloc/large_objects.cpp:367:25: required from 'void rml::internal::CacheBinFunctor::operator()(rml::internal::CacheBinOperation*) [with Props = rml::internal::LargeObjectCacheProps<8388608, 135266304, 524288, 1, 1, 4>]' ../../include/tbb/internal/_aggregator_impl.h:140:26: required from 'void tbb::interface6::internal::aggregator_generic::start_handle_operations(handler_type&) [with handler_type = rml::internal::CacheBinFunctor >; operation_type = rml::internal::CacheBinOperation]' ../../include/tbb/internal/_aggregator_impl.h:92:13: required from 'void tbb::interface6::internal::aggregator_generic::execute(operation_type*, handler_type&, bool) [with handler_type = rml::internal::CacheBinFunctor >; operation_type = rml::internal::CacheBinOperation]' ../../src/tbbmalloc/large_objects.cpp:419:5: required from 'void rml::internal::LargeObjectCacheImpl::CacheBin::ExecuteOperation(rml::internal::CacheBinOperation*, rml::internal::ExtMemoryPool*, rml::internal::LargeObjectCacheImpl::BinBitMask*, int, bool) [with Props = rml::internal::LargeObjectCacheProps<8388608, 135266304, 524288, 1, 1, 4>; rml::internal::LargeObjectCacheImpl::BinBitMask = rml::internal::BitMaskMax<242>]' ../../src/tbbmalloc/large_objects.cpp:458:9: required from 'bool rml::internal::LargeObjectCacheImpl::CacheBin::cleanToThreshold(rml::internal::ExtMemoryPool*, rml::internal::LargeObjectCacheImpl::BinBitMask*, uintptr_t, int) [with Props = rml::internal::LargeObjectCacheProps<8388608, 135266304, 524288, 1, 1, 4>; rml::internal::LargeObjectCacheImpl::BinBitMask = rml::internal::BitMaskMax<242>; uintptr_t = long unsigned int]' ../../src/tbbmalloc/large_objects.cpp:683:9: required from 'bool rml::internal::LargeObjectCacheImpl::regularCleanup(rml::internal::ExtMemoryPool*, uintptr_t, bool) [with Props = rml::internal::LargeObjectCacheProps<8388608, 135266304, 524288, 1, 1, 4>; uintptr_t = long unsigned int]' ../../src/tbbmalloc/large_objects.cpp:749:70: required from here ../../src/tbbmalloc/large_objects.cpp:577:34: warning: comparison of integer expressions of different signedness: 'const uintptr_t' {aka 'const long unsigned int'} and 'intptr_t' {aka 'long int'} [-Wsign-compare] g++ -E -x c++ ../../src/tbbmalloc/lin64-proxy-export.def -O2 -g -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -fexceptions -fstack-protector-strong -grecord-gcc-switches -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -mcpu=power8 -mtune=power8 -funwind-tables -fstack-clash-protection -g -O2 -DUSE_PTHREAD -Wall -O2 -g -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -fexceptions -fstack-protector-strong -grecord-gcc-switches -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -mcpu=power8 -mtune=power8 -funwind-tables -fstack-clash-protection -Wno-parentheses -Wno-non-virtual-dtor -I../../src -I../../src/rml/include -I../../include > tbbmallocproxy.def In file included from ../../src/tbbmalloc/frontend.cpp:22: ../../src/tbbmalloc/tbbmalloc_internal.h: In instantiation of 'void rml::internal::LargeObjectCacheImpl::CacheBin::init() [with Props = rml::internal::LargeObjectCacheProps<8192, 8388608, 8192, 2, 2, 16>]': ../../src/tbbmalloc/tbbmalloc_internal.h:415:13: required from 'void rml::internal::LargeObjectCacheImpl::reset() [with Props = rml::internal::LargeObjectCacheProps<8192, 8388608, 8192, 2, 2, 16>]' ../../src/tbbmalloc/tbbmalloc_internal.h:475:26: required from here ../../src/tbbmalloc/tbbmalloc_internal.h:351:29: warning: 'void* memset(void*, int, size_t)' clearing an object of type 'class rml::internal::LargeObjectCacheImpl >::CacheBin' with no trivial copy-assignment; use assignment or value-initialization instead [-Wclass-memaccess] void init() { memset(this, 0, sizeof(CacheBin)); } ~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~ In file included from ../../src/tbbmalloc/frontend.cpp:22: ../../src/tbbmalloc/tbbmalloc_internal.h:322:11: note: 'class rml::internal::LargeObjectCacheImpl >::CacheBin' declared here class CacheBin { ^~~~~~~~ In file included from ../../src/tbbmalloc/frontend.cpp:22: ../../src/tbbmalloc/tbbmalloc_internal.h: In instantiation of 'void rml::internal::LargeObjectCacheImpl::CacheBin::init() [with Props = rml::internal::LargeObjectCacheProps<8388608, 135266304, 524288, 1, 1, 4>]': ../../src/tbbmalloc/tbbmalloc_internal.h:415:13: required from 'void rml::internal::LargeObjectCacheImpl::reset() [with Props = rml::internal::LargeObjectCacheProps<8388608, 135266304, 524288, 1, 1, 4>]' ../../src/tbbmalloc/tbbmalloc_internal.h:476:25: required from here ../../src/tbbmalloc/tbbmalloc_internal.h:351:29: warning: 'void* memset(void*, int, size_t)' clearing an object of type 'class rml::internal::LargeObjectCacheImpl >::CacheBin' with no trivial copy-assignment; use assignment or value-initialization instead [-Wclass-memaccess] void init() { memset(this, 0, sizeof(CacheBin)); } ~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~ In file included from ../../src/tbbmalloc/frontend.cpp:22: ../../src/tbbmalloc/tbbmalloc_internal.h:322:11: note: 'class rml::internal::LargeObjectCacheImpl >::CacheBin' declared here class CacheBin { ^~~~~~~~ ../../src/tbbmalloc/large_objects.cpp: In member function 'void rml::internal::CacheBinFunctor::operator()(rml::internal::CacheBinOperation*) [with Props = rml::internal::LargeObjectCacheProps<8192, 8388608, 8192, 2, 2, 16>]': ../../src/tbbmalloc/large_objects.cpp:521:9: warning: 'prep.rml::internal::CacheBinFunctor >::OperationPreprocessor::putListNum' may be used uninitialized in this function [-Wmaybe-uninitialized] num--; ^~~ ../../src/tbbmalloc/large_objects.cpp:340:27: note: 'prep.rml::internal::CacheBinFunctor >::OperationPreprocessor::putListNum' was declared here OperationPreprocessor prep(bin); ^~~~ ../../src/tbbmalloc/large_objects.cpp:514:32: warning: 'prep.rml::internal::CacheBinFunctor >::OperationPreprocessor::tail' may be used uninitialized in this function [-Wmaybe-uninitialized] lastCleanedAge = tail->age; ~~~~~~^~~ ../../src/tbbmalloc/large_objects.cpp:340:27: note: 'prep.rml::internal::CacheBinFunctor >::OperationPreprocessor::tail' was declared here OperationPreprocessor prep(bin); ^~~~ ../../src/tbbmalloc/proxy.cpp:234:32: warning: dynamic exception specifications are deprecated in C++11 [-Wdeprecated] void * operator new(size_t sz) throw (std::bad_alloc) { ^~~~~ ../../src/tbbmalloc/proxy.cpp:242:33: warning: dynamic exception specifications are deprecated in C++11 [-Wdeprecated] void* operator new[](size_t sz) throw (std::bad_alloc) { ^~~~~ ../../src/tbbmalloc/large_objects.cpp: In member function 'void rml::internal::CacheBinFunctor::operator()(rml::internal::CacheBinOperation*) [with Props = rml::internal::LargeObjectCacheProps<8388608, 135266304, 524288, 1, 1, 4>]': ../../src/tbbmalloc/large_objects.cpp:521:9: warning: 'prep.rml::internal::CacheBinFunctor >::OperationPreprocessor::putListNum' may be used uninitialized in this function [-Wmaybe-uninitialized] num--; ^~~ ../../src/tbbmalloc/large_objects.cpp:340:27: note: 'prep.rml::internal::CacheBinFunctor >::OperationPreprocessor::putListNum' was declared here OperationPreprocessor prep(bin); ^~~~ ../../src/tbbmalloc/large_objects.cpp:514:32: warning: 'prep.rml::internal::CacheBinFunctor >::OperationPreprocessor::tail' may be used uninitialized in this function [-Wmaybe-uninitialized] lastCleanedAge = tail->age; ~~~~~~^~~ ../../src/tbbmalloc/large_objects.cpp:340:27: note: 'prep.rml::internal::CacheBinFunctor >::OperationPreprocessor::tail' was declared here OperationPreprocessor prep(bin); ^~~~ g++ -fPIC -o libtbbmalloc.so.2 backend.o large_objects.o backref.o tbbmalloc.o itt_notify_malloc.o frontend.o -ldl -lpthread -lrt -shared -Wl,-soname=libtbbmalloc.so.2 -Wl,--as-needed -Wl,-z,relro -Wl,-z,now -specs=/usr/lib/rpm/redhat/redhat-hardened-ld -Wl,--version-script,tbbmalloc.def g++ -fPIC -o libtbbmalloc_proxy.so.2 proxy.o tbb_function_replacement.o -ldl -lpthread -lrt libtbbmalloc.so -shared -Wl,-soname=libtbbmalloc_proxy.so.2 -Wl,--as-needed -Wl,-z,relro -Wl,-z,now -specs=/usr/lib/rpm/redhat/redhat-hardened-ld -Wl,--version-script,tbbmallocproxy.def make[1]: Leaving directory '/builddir/build/BUILD/tbb-2018_U2/build/obj_release' + for file in /builddir/build/SOURCES/tbb.pc /builddir/build/SOURCES/tbbmalloc.pc /builddir/build/SOURCES/tbbmalloc_proxy.pc ++ basename /builddir/build/SOURCES/tbb.pc + base=tbb.pc + sed s/_FEDORA_VERSION/2018.2/ /builddir/build/SOURCES/tbb.pc + touch -r /builddir/build/SOURCES/tbb.pc tbb.pc + for file in /builddir/build/SOURCES/tbb.pc /builddir/build/SOURCES/tbbmalloc.pc /builddir/build/SOURCES/tbbmalloc_proxy.pc ++ basename /builddir/build/SOURCES/tbbmalloc.pc + base=tbbmalloc.pc + sed s/_FEDORA_VERSION/2018.2/ /builddir/build/SOURCES/tbbmalloc.pc + touch -r /builddir/build/SOURCES/tbbmalloc.pc tbbmalloc.pc + for file in /builddir/build/SOURCES/tbb.pc /builddir/build/SOURCES/tbbmalloc.pc /builddir/build/SOURCES/tbbmalloc_proxy.pc ++ basename /builddir/build/SOURCES/tbbmalloc_proxy.pc + base=tbbmalloc_proxy.pc + sed s/_FEDORA_VERSION/2018.2/ /builddir/build/SOURCES/tbbmalloc_proxy.pc + touch -r /builddir/build/SOURCES/tbbmalloc_proxy.pc tbbmalloc_proxy.pc + . build/obj_release/tbbvars.sh ++ export TBBROOT=/builddir/build/BUILD/tbb-2018_U2 ++ TBBROOT=/builddir/build/BUILD/tbb-2018_U2 ++ tbb_bin=/builddir/build/BUILD/tbb-2018_U2/build/obj_release ++ '[' -z '' ']' ~/build/BUILD/tbb-2018_U2/python3 ~/build/BUILD/tbb-2018_U2 ++ export CPATH=/builddir/build/BUILD/tbb-2018_U2/include ++ CPATH=/builddir/build/BUILD/tbb-2018_U2/include ++ '[' -z '' ']' ++ export LIBRARY_PATH=/builddir/build/BUILD/tbb-2018_U2/build/obj_release ++ LIBRARY_PATH=/builddir/build/BUILD/tbb-2018_U2/build/obj_release ++ '[' -z '' ']' ++ export LD_LIBRARY_PATH=/builddir/build/BUILD/tbb-2018_U2/build/obj_release ++ LD_LIBRARY_PATH=/builddir/build/BUILD/tbb-2018_U2/build/obj_release + pushd python3 + make -j8 -C rml stdver=c++14 'CPLUS_FLAGS=-O2 -g -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -fexceptions -fstack-protector-strong -grecord-gcc-switches -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -mcpu=power8 -mtune=power8 -funwind-tables -fstack-clash-protection -DDO_ITT_NOTIFY -DUSE_PTHREAD' 'PIC_KEY=-fPIC -Wl,--as-needed' 'LDFLAGS=-Wl,-z,relro -Wl,-z,now -specs=/usr/lib/rpm/redhat/redhat-hardened-ld' make: Entering directory '/builddir/build/BUILD/tbb-2018_U2/python3/rml' g++ -c -MMD -o cache_aligned_allocator_rml.o -O2 -g -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -fexceptions -fstack-protector-strong -grecord-gcc-switches -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -mcpu=power8 -mtune=power8 -funwind-tables -fstack-clash-protection -DDO_ITT_NOTIFY=0 -DUSE_PTHREAD -Wno-parentheses -Wno-non-virtual-dtor -DTBB_USE_THREADING_TOOLS=0 -D__TBB_RML_STATIC=1 -D__TBB_NO_IMPLICIT_LINKAGE=1 -fPIC -Wl,--as-needed -flifetime-dse=1 -I../../src -I../../src/rml/include -I../../include -I../../src/rml/include -I. ../../src/tbb/cache_aligned_allocator.cpp g++ -c -MMD -o dynamic_link_rml.o -O2 -g -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -fexceptions -fstack-protector-strong -grecord-gcc-switches -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -mcpu=power8 -mtune=power8 -funwind-tables -fstack-clash-protection -DDO_ITT_NOTIFY=0 -DUSE_PTHREAD -Wno-parentheses -Wno-non-virtual-dtor -DTBB_USE_THREADING_TOOLS=0 -D__TBB_RML_STATIC=1 -D__TBB_NO_IMPLICIT_LINKAGE=1 -fPIC -Wl,--as-needed -flifetime-dse=1 -I../../src -I../../src/rml/include -I../../include -I../../src/rml/include -I. ../../src/tbb/dynamic_link.cpp sh ../../build/version_info_linux.sh g++ -O2 -g -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -fexceptions -fstack-protector-strong -grecord-gcc-switches -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -mcpu=power8 -mtune=power8 -funwind-tables -fstack-clash-protection -DDO_ITT_NOTIFY -DUSE_PTHREAD -std=c++14 -I../../src -I../../src/rml/include -I../../include -I../../src/rml/include -I. >version_string.ver g++ -c -MMD -o tbb_misc_rml.o -O2 -g -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -fexceptions -fstack-protector-strong -grecord-gcc-switches -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -mcpu=power8 -mtune=power8 -funwind-tables -fstack-clash-protection -DDO_ITT_NOTIFY=0 -DUSE_PTHREAD -Wno-parentheses -Wno-non-virtual-dtor -DTBB_USE_THREADING_TOOLS=0 -D__TBB_RML_STATIC=1 -D__TBB_NO_IMPLICIT_LINKAGE=1 -fPIC -Wl,--as-needed -flifetime-dse=1 -I../../src -I../../src/rml/include -I../../include -I../../src/rml/include -I. ../../src/tbb/tbb_misc.cpp g++ -c -MMD -o tbb_misc_ex_rml.o -O2 -g -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -fexceptions -fstack-protector-strong -grecord-gcc-switches -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -mcpu=power8 -mtune=power8 -funwind-tables -fstack-clash-protection -DDO_ITT_NOTIFY=0 -DUSE_PTHREAD -Wno-parentheses -Wno-non-virtual-dtor -DTBB_USE_THREADING_TOOLS=0 -D__TBB_RML_STATIC=1 -D__TBB_NO_IMPLICIT_LINKAGE=1 -fPIC -Wl,--as-needed -flifetime-dse=1 -I../../src -I../../src/rml/include -I../../include -I../../src/rml/include -I. ../../src/tbb/tbb_misc_ex.cpp g++ -c -MMD -O2 -g -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -fexceptions -fstack-protector-strong -grecord-gcc-switches -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -mcpu=power8 -mtune=power8 -funwind-tables -fstack-clash-protection -DDO_ITT_NOTIFY=0 -DUSE_PTHREAD -Wno-parentheses -Wno-non-virtual-dtor -DTBB_USE_THREADING_TOOLS=0 -D__TBB_RML_STATIC=1 -D__TBB_NO_IMPLICIT_LINKAGE=1 -fPIC -Wl,--as-needed -flifetime-dse=1 -I../../src -I../../src/rml/include -I../../include -I../../src/rml/include -I. ipc_server.cpp ipc_server.cpp: In function 'void tbb::internal::rml::release_thread_sem(sem_t*)': ipc_server.cpp:138:65: warning: comparison of integer expressions of different signedness: 'tbb::internal::atomic_impl::value_type' {aka 'unsigned int'} and 'int' [-Wsign-compare] } while( my_global_thread_count.compare_and_swap(old-1, old)!=old ); ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~~~~ ipc_server.cpp: In function 'void tbb::internal::rml::set_active_sem_name()': ipc_server.cpp:151:13: warning: unused variable 'status' [-Wunused-variable] int status = setenv( IPC_ACTIVE_SEM_VAR_NAME, sem_name, 1 ); ^~~~~~ ipc_server.cpp: In function 'void tbb::internal::rml::set_stop_sem_name()': ipc_server.cpp:164:13: warning: unused variable 'status' [-Wunused-variable] int status = setenv( IPC_STOP_SEM_VAR_NAME, sem_name, 1 ); ^~~~~~ ipc_server.cpp: In constructor 'tbb::internal::rml::ipc_server::ipc_server(tbb::internal::rml::tbb_client&)': ipc_server.cpp:373:18: warning: 'tbb::internal::rml::ipc_server::my_stopper' will be initialized after [-Wreorder] ipc_stopper* my_stopper; ^~~~~~~~~~ ipc_server.cpp:367:16: warning: 'const bool tbb::internal::rml::ipc_server::my_join_workers' [-Wreorder] const bool my_join_workers; ^~~~~~~~~~~~~~~ ipc_server.cpp:808:1: warning: when initialized here [-Wreorder] ipc_server::ipc_server(tbb_client& client) : ^~~~~~~~~~ ipc_server.cpp:829:71: warning: 'void* memset(void*, int, size_t)' clearing an object of type 'class tbb::internal::rml::padded_ipc_worker' with no trivial copy-assignment [-Wclass-memaccess] memset( my_thread_array, 0, sizeof(padded_ipc_worker)*my_n_thread ); ^ ipc_server.cpp:301:7: note: 'class tbb::internal::rml::padded_ipc_worker' declared here class padded_ipc_worker: public ipc_worker { ^~~~~~~~~~~~~~~~~ ipc_server.cpp:837:44: warning: 'void* memset(void*, int, size_t)' clearing an object of type 'class tbb::internal::rml::ipc_waker' with no trivial copy-assignment [-Wclass-memaccess] memset( my_waker, 0, sizeof(ipc_waker) ); ^ ipc_server.cpp:311:7: note: 'class tbb::internal::rml::ipc_waker' declared here class ipc_waker : public padded_ipc_worker { ^~~~~~~~~ ipc_server.cpp:841:48: warning: 'void* memset(void*, int, size_t)' clearing an object of type 'class tbb::internal::rml::ipc_stopper' with no trivial copy-assignment [-Wclass-memaccess] memset( my_stopper, 0, sizeof(ipc_stopper) ); ^ ipc_server.cpp:324:7: note: 'class tbb::internal::rml::ipc_stopper' declared here class ipc_stopper : public padded_ipc_worker { ^~~~~~~~~~~ ipc_server.cpp: In function 'void tbb::internal::rml::rml_atfork_child()': ipc_server.cpp:1090:47: warning: 'void* memset(void*, int, size_t)' clearing an object of type 'class tbb::internal::rml::ipc_server' with no trivial copy-assignment [-Wclass-memaccess] memset( server, 0, sizeof(ipc_server) ); ^ ipc_server.cpp:337:7: note: 'class tbb::internal::rml::ipc_server' declared here class ipc_server: public tbb_server, no_copy { ^~~~~~~~~~ g++ -c -MMD -O2 -g -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -fexceptions -fstack-protector-strong -grecord-gcc-switches -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -mcpu=power8 -mtune=power8 -funwind-tables -fstack-clash-protection -DDO_ITT_NOTIFY=0 -DUSE_PTHREAD -Wno-parentheses -Wno-non-virtual-dtor -DTBB_USE_THREADING_TOOLS=0 -D__TBB_RML_STATIC=1 -D__TBB_NO_IMPLICIT_LINKAGE=1 -fPIC -Wl,--as-needed -flifetime-dse=1 -I../../src -I../../src/rml/include -I../../include -I../../src/rml/include -I. ipc_utils.cpp echo "INPUT (libirml.so.1)" > libirml.so g++ -fPIC -Wl,--as-needed -o libirml.so.1 ipc_server.o ipc_utils.o cache_aligned_allocator_rml.o dynamic_link_rml.o tbb_misc_rml.o tbb_misc_ex_rml.o -ldl -lpthread -lrt -ldl -shared -Wl,-soname=libirml.so.1 -Wl,-z,relro -Wl,-z,now -specs=/usr/lib/rpm/redhat/redhat-hardened-ld ipc_server.o: In function `set_active_sem_name': /builddir/build/BUILD/tbb-2018_U2/python3/rml/ipc_server.cpp:149: warning: the use of `mktemp' is dangerous, better use `mkstemp' or `mkdtemp' g++ -c -MMD -O2 -g -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -fexceptions -fstack-protector-strong -grecord-gcc-switches -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -mcpu=power8 -mtune=power8 -funwind-tables -fstack-clash-protection -DDO_ITT_NOTIFY=0 -DUSE_PTHREAD -Wno-parentheses -Wno-non-virtual-dtor -DTBB_USE_THREADING_TOOLS=0 -D__TBB_RML_STATIC=1 -D__TBB_NO_IMPLICIT_LINKAGE=1 -fPIC -Wl,--as-needed -I../../src -I../../src/rml/include -I../../include -I../../src/rml/include -I. -I../../src/test -I../../src/rml/server ../../src/rml/test/test_job_automaton.cpp g++ -o test_job_automaton.exe -O2 -g -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -fexceptions -fstack-protector-strong -grecord-gcc-switches -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -mcpu=power8 -mtune=power8 -funwind-tables -fstack-clash-protection -DDO_ITT_NOTIFY -DUSE_PTHREAD test_job_automaton.o cache_aligned_allocator_rml.o dynamic_link_rml.o tbb_misc_rml.o tbb_misc_ex_rml.o -lpthread -lrt -ldl -Wl,-rpath-link=. -rdynamic -Wl,-z,relro -Wl,-z,now -specs=/usr/lib/rpm/redhat/redhat-hardened-ld g++ -c -MMD -O2 -g -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -fexceptions -fstack-protector-strong -grecord-gcc-switches -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -mcpu=power8 -mtune=power8 -funwind-tables -fstack-clash-protection -DDO_ITT_NOTIFY=0 -DUSE_PTHREAD -Wno-parentheses -Wno-non-virtual-dtor -DTBB_USE_THREADING_TOOLS=0 -D__TBB_RML_STATIC=1 -D__TBB_NO_IMPLICIT_LINKAGE=1 -fPIC -Wl,--as-needed -I../../src -I../../src/rml/include -I../../include -I../../src/rml/include -I. -I../../src/test -I../../src/rml/server ../../src/rml/test/test_thread_monitor.cpp g++ -o test_thread_monitor.exe -O2 -g -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -fexceptions -fstack-protector-strong -grecord-gcc-switches -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -mcpu=power8 -mtune=power8 -funwind-tables -fstack-clash-protection -DDO_ITT_NOTIFY -DUSE_PTHREAD test_thread_monitor.o cache_aligned_allocator_rml.o dynamic_link_rml.o tbb_misc_rml.o tbb_misc_ex_rml.o -lpthread -lrt -ldl -Wl,-rpath-link=. -rdynamic -Wl,-z,relro -Wl,-z,now -specs=/usr/lib/rpm/redhat/redhat-hardened-ld g++ -c -MMD -O2 -g -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -fexceptions -fstack-protector-strong -grecord-gcc-switches -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -mcpu=power8 -mtune=power8 -funwind-tables -fstack-clash-protection -DDO_ITT_NOTIFY=0 -DUSE_PTHREAD -Wno-parentheses -Wno-non-virtual-dtor -DTBB_USE_THREADING_TOOLS=0 -D__TBB_RML_STATIC=1 -D__TBB_NO_IMPLICIT_LINKAGE=1 -fPIC -Wl,--as-needed -I../../src -I../../src/rml/include -I../../include -I../../src/rml/include -I. -I../../src/test -I../../src/rml/server ../../src/rml/test/test_rml_tbb.cpp In file included from ../../src/rml/test/test_rml_tbb.cpp:37: ../../src/rml/test/test_server.h: In destructor 'MyJob::~MyJob()': ../../src/rml/test/test_server.h:96:37: warning: 'void* memset(void*, int, size_t)' writing to an object of type 'class MyJob' with no trivial copy-assignment [-Wclass-memaccess] memset(this,-1,sizeof(*this)); ^ ../../src/rml/test/test_server.h:64:7: note: 'class MyJob' declared here class MyJob: public ::rml::job { ^~~~~ g++ -c -MMD -O2 -g -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -fexceptions -fstack-protector-strong -grecord-gcc-switches -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -mcpu=power8 -mtune=power8 -funwind-tables -fstack-clash-protection -DDO_ITT_NOTIFY=0 -DUSE_PTHREAD -Wno-parentheses -Wno-non-virtual-dtor -DTBB_USE_THREADING_TOOLS=0 -D__TBB_RML_STATIC=1 -D__TBB_NO_IMPLICIT_LINKAGE=1 -fPIC -Wl,--as-needed -flifetime-dse=1 -I../../src -I../../src/rml/include -I../../include -I../../src/rml/include -I. ../../src/rml/client/rml_tbb.cpp g++ -o test_rml_tbb.exe -O2 -g -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -fexceptions -fstack-protector-strong -grecord-gcc-switches -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -mcpu=power8 -mtune=power8 -funwind-tables -fstack-clash-protection -DDO_ITT_NOTIFY -DUSE_PTHREAD test_rml_tbb.o ipc_utils.o rml_tbb.o dynamic_link_rml.o -lpthread -lrt -ldl -Wl,-rpath-link=. -rdynamic -Wl,-z,relro -Wl,-z,now -specs=/usr/lib/rpm/redhat/redhat-hardened-ld ./test_job_automaton.exe done ./test_thread_monitor.exe done make: Leaving directory '/builddir/build/BUILD/tbb-2018_U2/python3/rml' + cp -p rml/libirml.so rml/libirml.so.1 . + CFLAGS='-O2 -g -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -fexceptions -fstack-protector-strong -grecord-gcc-switches -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -mcpu=power8 -mtune=power8 -funwind-tables -fstack-clash-protection' + LDFLAGS='-Wl,-z,relro -Wl,-z,now -specs=/usr/lib/rpm/redhat/redhat-hardened-ld' + /usr/libexec/platform-python setup.py build '--executable=/usr/libexec/platform-python -s' Using TBBROOT= /builddir/build/BUILD/tbb-2018_U2 running build running build_ext building 'tbb._api' extension swigging tbb/api.i to tbb/api_wrap.cpp swig -python -c++ -O -threads -I/builddir/build/BUILD/tbb-2018_U2/include -o tbb/api_wrap.cpp tbb/api.i creating build creating build/temp.linux-ppc64le-3.6 creating build/temp.linux-ppc64le-3.6/tbb gcc -pthread -DDYNAMIC_ANNOTATIONS_ENABLED=1 -DNDEBUG -O2 -g -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -fexceptions -fstack-protector-strong -grecord-gcc-switches -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -mcpu=power8 -mtune=power8 -funwind-tables -fstack-clash-protection -D_GNU_SOURCE -fPIC -fwrapv -O2 -g -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -fexceptions -fstack-protector-strong -grecord-gcc-switches -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -mcpu=power8 -mtune=power8 -funwind-tables -fstack-clash-protection -fPIC -I/builddir/build/BUILD/tbb-2018_U2/include -I/usr/include/python3.6m -c tbb/api_wrap.cpp -o build/temp.linux-ppc64le-3.6/tbb/api_wrap.o -std=c++11 -Wno-unused-variable In file included from /builddir/build/BUILD/tbb-2018_U2/include/tbb/tbb.h:42, from tbb/api_wrap.cpp:3134: /builddir/build/BUILD/tbb-2018_U2/include/tbb/concurrent_hash_map.h: In static member function ‘static void tbb::interface5::internal::hash_map_base::init_buckets(tbb::interface5::internal::hash_map_base::segment_ptr_t, tbb::interface5::internal::hash_map_base::size_type, bool)’: /builddir/build/BUILD/tbb-2018_U2/include/tbb/concurrent_hash_map.h:158:68: warning: ‘void* memset(void*, int, size_t)’ clearing an object of type ‘struct tbb::interface5::internal::hash_map_base::bucket’ with no trivial copy-assignment; use value-initialization instead [-Wclass-memaccess] if( is_initial ) std::memset(ptr, 0, sz*sizeof(bucket) ); ^ /builddir/build/BUILD/tbb-2018_U2/include/tbb/concurrent_hash_map.h:87:16: note: ‘struct tbb::interface5::internal::hash_map_base::bucket’ declared here struct bucket : tbb::internal::no_copy { ^~~~~~ creating build/lib.linux-ppc64le-3.6 creating build/lib.linux-ppc64le-3.6/tbb g++ -pthread -shared -Wl,-z,relro -Wl,-z,now -specs=/usr/lib/rpm/redhat/redhat-hardened-ld -g -Wl,-z,relro -Wl,-z,now -specs=/usr/lib/rpm/redhat/redhat-hardened-ld -O2 -g -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -fexceptions -fstack-protector-strong -grecord-gcc-switches -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -mcpu=power8 -mtune=power8 -funwind-tables -fstack-clash-protection build/temp.linux-ppc64le-3.6/tbb/api_wrap.o -L/builddir/build/BUILD/tbb-2018_U2/python3 -L/builddir/build/BUILD/tbb-2018_U2/lib/intel64/gcc4.4 -L/builddir/build/BUILD/tbb-2018_U2/lib -L/builddir/build/BUILD/tbb-2018_U2/lib/intel64/vc_mt -L/usr/lib64 -ltbb -lirml -lpython3.6m -o build/lib.linux-ppc64le-3.6/tbb/_api.cpython-36m-ppc64le-linux-gnu.so running build_py copying TBB.py -> build/lib.linux-ppc64le-3.6 copying tbb/api.py -> build/lib.linux-ppc64le-3.6/tbb copying tbb/test.py -> build/lib.linux-ppc64le-3.6/tbb copying tbb/__main__.py -> build/lib.linux-ppc64le-3.6/tbb copying tbb/pool.py -> build/lib.linux-ppc64le-3.6/tbb copying tbb/__init__.py -> build/lib.linux-ppc64le-3.6/tbb + sleep 1 ~/build/BUILD/tbb-2018_U2 + popd + exit 0 Executing(%install): /bin/sh -e /var/tmp/rpm-tmp.wef6Ob + umask 022 + cd /builddir/build/BUILD + '[' /builddir/build/BUILDROOT/tbb-2018.2-9.el8.ppc64le '!=' / ']' + rm -rf /builddir/build/BUILDROOT/tbb-2018.2-9.el8.ppc64le ++ dirname /builddir/build/BUILDROOT/tbb-2018.2-9.el8.ppc64le + mkdir -p /builddir/build/BUILDROOT + mkdir /builddir/build/BUILDROOT/tbb-2018.2-9.el8.ppc64le + cd tbb-2018_U2 + mkdir -p /builddir/build/BUILDROOT/tbb-2018.2-9.el8.ppc64le//usr/lib64 + mkdir -p /builddir/build/BUILDROOT/tbb-2018.2-9.el8.ppc64le//usr/include ~/build/BUILD/tbb-2018_U2/build/obj_release ~/build/BUILD/tbb-2018_U2 + pushd build/obj_release + for file in libtbb{,malloc{,_proxy}} + install -p -D -m 755 libtbb.so.2 /builddir/build/BUILDROOT/tbb-2018.2-9.el8.ppc64le//usr/lib64 + ln -s libtbb.so.2 /builddir/build/BUILDROOT/tbb-2018.2-9.el8.ppc64le//usr/lib64/libtbb.so + for file in libtbb{,malloc{,_proxy}} + install -p -D -m 755 libtbbmalloc.so.2 /builddir/build/BUILDROOT/tbb-2018.2-9.el8.ppc64le//usr/lib64 + ln -s libtbbmalloc.so.2 /builddir/build/BUILDROOT/tbb-2018.2-9.el8.ppc64le//usr/lib64/libtbbmalloc.so + for file in libtbb{,malloc{,_proxy}} + install -p -D -m 755 libtbbmalloc_proxy.so.2 /builddir/build/BUILDROOT/tbb-2018.2-9.el8.ppc64le//usr/lib64 + ln -s libtbbmalloc_proxy.so.2 /builddir/build/BUILDROOT/tbb-2018.2-9.el8.ppc64le//usr/lib64/libtbbmalloc_proxy.so ~/build/BUILD/tbb-2018_U2 ~/build/BUILD/tbb-2018_U2/include ~/build/BUILD/tbb-2018_U2 + popd + pushd include + find tbb -type f '!' -name '*.htm*' -exec install -p -D -m 644 '{}' '/builddir/build/BUILDROOT/tbb-2018.2-9.el8.ppc64le//usr/include/{}' ';' ~/build/BUILD/tbb-2018_U2 + popd + for file in /builddir/build/SOURCES/tbb.pc /builddir/build/SOURCES/tbbmalloc.pc /builddir/build/SOURCES/tbbmalloc_proxy.pc ++ basename /builddir/build/SOURCES/tbb.pc ++ basename /builddir/build/SOURCES/tbb.pc + install -p -D -m 644 tbb.pc /builddir/build/BUILDROOT/tbb-2018.2-9.el8.ppc64le//usr/lib64/pkgconfig/tbb.pc + for file in /builddir/build/SOURCES/tbb.pc /builddir/build/SOURCES/tbbmalloc.pc /builddir/build/SOURCES/tbbmalloc_proxy.pc ++ basename /builddir/build/SOURCES/tbbmalloc.pc ++ basename /builddir/build/SOURCES/tbbmalloc.pc + install -p -D -m 644 tbbmalloc.pc /builddir/build/BUILDROOT/tbb-2018.2-9.el8.ppc64le//usr/lib64/pkgconfig/tbbmalloc.pc + for file in /builddir/build/SOURCES/tbb.pc /builddir/build/SOURCES/tbbmalloc.pc /builddir/build/SOURCES/tbbmalloc_proxy.pc ++ basename /builddir/build/SOURCES/tbbmalloc_proxy.pc ++ basename /builddir/build/SOURCES/tbbmalloc_proxy.pc + install -p -D -m 644 tbbmalloc_proxy.pc /builddir/build/BUILDROOT/tbb-2018.2-9.el8.ppc64le//usr/lib64/pkgconfig/tbbmalloc_proxy.pc + mkdir -p /builddir/build/BUILDROOT/tbb-2018.2-9.el8.ppc64le/usr/include/rml + cp -p src/rml/include/rml_base.h src/rml/include/rml_omp.h src/rml/include/rml_tbb.h /builddir/build/BUILDROOT/tbb-2018.2-9.el8.ppc64le/usr/include/rml ~/build/BUILD/tbb-2018_U2/python3 ~/build/BUILD/tbb-2018_U2 + pushd python3 + CFLAGS='-O2 -g -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -fexceptions -fstack-protector-strong -grecord-gcc-switches -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -mcpu=power8 -mtune=power8 -funwind-tables -fstack-clash-protection' + LDFLAGS='-Wl,-z,relro -Wl,-z,now -specs=/usr/lib/rpm/redhat/redhat-hardened-ld' + /usr/libexec/platform-python setup.py install -O1 --skip-build --root /builddir/build/BUILDROOT/tbb-2018.2-9.el8.ppc64le Warning: TBBROOT env var is not set and Intel's compiler is not used. It might lead !!!: to compile/link problems. Source tbbvars.sh/.csh file to set environment running install running install_lib creating /builddir/build/BUILDROOT/tbb-2018.2-9.el8.ppc64le/usr/lib64/python3.6 creating /builddir/build/BUILDROOT/tbb-2018.2-9.el8.ppc64le/usr/lib64/python3.6/site-packages creating /builddir/build/BUILDROOT/tbb-2018.2-9.el8.ppc64le/usr/lib64/python3.6/site-packages/tbb copying build/lib.linux-ppc64le-3.6/tbb/api.py -> /builddir/build/BUILDROOT/tbb-2018.2-9.el8.ppc64le/usr/lib64/python3.6/site-packages/tbb copying build/lib.linux-ppc64le-3.6/tbb/test.py -> /builddir/build/BUILDROOT/tbb-2018.2-9.el8.ppc64le/usr/lib64/python3.6/site-packages/tbb copying build/lib.linux-ppc64le-3.6/tbb/__main__.py -> /builddir/build/BUILDROOT/tbb-2018.2-9.el8.ppc64le/usr/lib64/python3.6/site-packages/tbb copying build/lib.linux-ppc64le-3.6/tbb/pool.py -> /builddir/build/BUILDROOT/tbb-2018.2-9.el8.ppc64le/usr/lib64/python3.6/site-packages/tbb copying build/lib.linux-ppc64le-3.6/tbb/_api.cpython-36m-ppc64le-linux-gnu.so -> /builddir/build/BUILDROOT/tbb-2018.2-9.el8.ppc64le/usr/lib64/python3.6/site-packages/tbb copying build/lib.linux-ppc64le-3.6/tbb/__init__.py -> /builddir/build/BUILDROOT/tbb-2018.2-9.el8.ppc64le/usr/lib64/python3.6/site-packages/tbb copying build/lib.linux-ppc64le-3.6/TBB.py -> /builddir/build/BUILDROOT/tbb-2018.2-9.el8.ppc64le/usr/lib64/python3.6/site-packages byte-compiling /builddir/build/BUILDROOT/tbb-2018.2-9.el8.ppc64le/usr/lib64/python3.6/site-packages/tbb/api.py to api.cpython-36.pyc byte-compiling /builddir/build/BUILDROOT/tbb-2018.2-9.el8.ppc64le/usr/lib64/python3.6/site-packages/tbb/test.py to test.cpython-36.pyc byte-compiling /builddir/build/BUILDROOT/tbb-2018.2-9.el8.ppc64le/usr/lib64/python3.6/site-packages/tbb/__main__.py to __main__.cpython-36.pyc byte-compiling /builddir/build/BUILDROOT/tbb-2018.2-9.el8.ppc64le/usr/lib64/python3.6/site-packages/tbb/pool.py to pool.cpython-36.pyc byte-compiling /builddir/build/BUILDROOT/tbb-2018.2-9.el8.ppc64le/usr/lib64/python3.6/site-packages/tbb/__init__.py to __init__.cpython-36.pyc byte-compiling /builddir/build/BUILDROOT/tbb-2018.2-9.el8.ppc64le/usr/lib64/python3.6/site-packages/TBB.py to TBB.cpython-36.pyc writing byte-compilation script '/tmp/tmpl264twoz.py' /usr/libexec/platform-python /tmp/tmpl264twoz.py removing /tmp/tmpl264twoz.py running install_egg_info Writing /builddir/build/BUILDROOT/tbb-2018.2-9.el8.ppc64le/usr/lib64/python3.6/site-packages/TBB-0.1-py3.6.egg-info + chmod a+x /builddir/build/BUILDROOT/tbb-2018.2-9.el8.ppc64le/usr/lib64/python3.6/site-packages/TBB.py + chmod a+x /builddir/build/BUILDROOT/tbb-2018.2-9.el8.ppc64le/usr/lib64/python3.6/site-packages/tbb/__init__.py /builddir/build/BUILDROOT/tbb-2018.2-9.el8.ppc64le/usr/lib64/python3.6/site-packages/tbb/__main__.py + cp -p libirml.so.1 /builddir/build/BUILDROOT/tbb-2018.2-9.el8.ppc64le/usr/lib64 + ln -s libirml.so.1 /builddir/build/BUILDROOT/tbb-2018.2-9.el8.ppc64le/usr/lib64/libirml.so + popd ~/build/BUILD/tbb-2018_U2 + mkdir -p /builddir/build/BUILDROOT/tbb-2018.2-9.el8.ppc64le/usr/lib64/cmake + cp -a cmake /builddir/build/BUILDROOT/tbb-2018.2-9.el8.ppc64le/usr/lib64/cmake/tbb + rm /builddir/build/BUILDROOT/tbb-2018.2-9.el8.ppc64le/usr/lib64/cmake/tbb/README.rst + /usr/lib/rpm/find-debuginfo.sh -j8 --strict-build-id -m -i --build-id-seed 2018.2-9.el8 --unique-debug-suffix -2018.2-9.el8.ppc64le --unique-debug-src-base tbb-2018.2-9.el8.ppc64le --run-dwz --dwz-low-mem-die-limit 10000000 --dwz-max-die-limit 50000000 -S debugsourcefiles.list /builddir/build/BUILD/tbb-2018_U2 extracting debug info from /builddir/build/BUILDROOT/tbb-2018.2-9.el8.ppc64le/usr/lib64/libtbbmalloc_proxy.so.2 extracting debug info from /builddir/build/BUILDROOT/tbb-2018.2-9.el8.ppc64le/usr/lib64/libtbb.so.2 extracting debug info from /builddir/build/BUILDROOT/tbb-2018.2-9.el8.ppc64le/usr/lib64/libtbbmalloc.so.2 extracting debug info from /builddir/build/BUILDROOT/tbb-2018.2-9.el8.ppc64le/usr/lib64/python3.6/site-packages/tbb/_api.cpython-36m-ppc64le-linux-gnu.so extracting debug info from /builddir/build/BUILDROOT/tbb-2018.2-9.el8.ppc64le/usr/lib64/libirml.so.1 /usr/lib/rpm/sepdebugcrcfix: Updated 5 CRC32s, 0 CRC32s did match. 4324 blocks + /usr/lib/rpm/check-buildroot + /usr/lib/rpm/redhat/brp-ldconfig /sbin/ldconfig: Warning: ignoring configuration file that cannot be opened: /etc/ld.so.conf: No such file or directory + /usr/lib/rpm/brp-compress + /usr/lib/rpm/brp-strip-static-archive /usr/bin/strip + /usr/lib/rpm/brp-python-bytecompile 1 Bytecompiling .py files below /builddir/build/BUILDROOT/tbb-2018.2-9.el8.ppc64le/usr/lib64/python3.6 using /usr/libexec/platform-python Bytecompiling .py files below /builddir/build/BUILDROOT/tbb-2018.2-9.el8.ppc64le/usr/lib/debug/usr/lib64/python3.6 using /usr/libexec/platform-python + /usr/lib/rpm/brp-python-hardlink + PYTHON3=/usr/libexec/platform-python + /usr/lib/rpm/redhat/brp-mangle-shebangs mangling shebang in /usr/lib64/python3.6/site-packages/tbb/__main__.py from /usr/bin/python3 to #!/usr/libexec/platform-python mangling shebang in /usr/lib64/python3.6/site-packages/tbb/__init__.py from /usr/bin/python3 to #!/usr/libexec/platform-python mangling shebang in /usr/lib64/python3.6/site-packages/TBB.py from /usr/bin/python3 to #!/usr/libexec/platform-python Executing(%check): /bin/sh -e /var/tmp/rpm-tmp.hm4MJO + umask 022 + cd /builddir/build/BUILD ============BEGIN TESTING=============== + cd tbb-2018_U2 + echo ============BEGIN TESTING=============== + make -k test tbb_build_prefix=obj stdver=c++14 'CXXFLAGS=-O2 -g -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -fexceptions -fstack-protector-strong -grecord-gcc-switches -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -mcpu=power8 -mtune=power8 -funwind-tables -fstack-clash-protection' Created ./build/obj_release and ..._debug directories make -C "./build/obj_debug" -r -f ../../build/Makefile.tbb cfg=debug make[1]: Entering directory '/builddir/build/BUILD/tbb-2018_U2/build/obj_debug' ../../build/Makefile.tbb:32: CONFIG: cfg=debug arch=ppc64le compiler=gcc target=linux runtime=cc8_libc2.28_kernel4.14.0 make[1]: Nothing to be done for 'default_tbb'. make[1]: Leaving directory '/builddir/build/BUILD/tbb-2018_U2/build/obj_debug' make -C "./build/obj_release" -r -f ../../build/Makefile.tbb cfg=release make[1]: Entering directory '/builddir/build/BUILD/tbb-2018_U2/build/obj_release' ../../build/Makefile.tbb:32: CONFIG: cfg=release arch=ppc64le compiler=gcc target=linux runtime=cc8_libc2.28_kernel4.14.0 make[1]: Nothing to be done for 'default_tbb'. make[1]: Leaving directory '/builddir/build/BUILD/tbb-2018_U2/build/obj_release' make -C "./build/obj_debug" -r -f ../../build/Makefile.tbbmalloc cfg=debug malloc make[1]: Entering directory '/builddir/build/BUILD/tbb-2018_U2/build/obj_debug' make[1]: Nothing to be done for 'malloc'. make[1]: Leaving directory '/builddir/build/BUILD/tbb-2018_U2/build/obj_debug' make -C "./build/obj_release" -r -f ../../build/Makefile.tbbmalloc cfg=release malloc make[1]: Entering directory '/builddir/build/BUILD/tbb-2018_U2/build/obj_release' make[1]: Nothing to be done for 'malloc'. make[1]: Leaving directory '/builddir/build/BUILD/tbb-2018_U2/build/obj_release' make -C "./build/obj_debug" -r -f ../../build/Makefile.tbbmalloc cfg=debug malloc_test make[1]: Entering directory '/builddir/build/BUILD/tbb-2018_U2/build/obj_debug' g++ -o test_ScalableAllocator.o -c -MMD -O2 -g -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -fexceptions -fstack-protector-strong -grecord-gcc-switches -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -mcpu=power8 -mtune=power8 -funwind-tables -fstack-clash-protection -DTBB_USE_DEBUG -g -O0 -DUSE_PTHREAD -Wall -O2 -g -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -fexceptions -fstack-protector-strong -grecord-gcc-switches -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -mcpu=power8 -mtune=power8 -funwind-tables -fstack-clash-protection -Wshadow -Wcast-qual -Woverloaded-virtual -Wnon-virtual-dtor -Wextra -std=c++14 -I../../src -I../../src/rml/include -I../../include -include ../../src/test/harness_preload.h ../../src/test/test_ScalableAllocator.cpp In file included from ../../include/tbb/tbb_machine.h:243, from ../../include/tbb/atomic.h:32, from ../../src/test/harness_allocator.h:43, from ../../src/test/test_ScalableAllocator.cpp:36: ../../include/tbb/machine/mac_ppc.h: In function 'int32_t __TBB_machine_cmpswp4(volatile void*, int32_t, int32_t)': ../../include/tbb/machine/mac_ppc.h:91:46: warning: cast from type 'volatile void*' to type 'int32_t*' {aka 'int*'} casts away qualifiers [-Wcast-qual] , "+m"(* (int32_t*) ptr) /* redundant with "memory" */ ^~~ ../../include/tbb/machine/mac_ppc.h: In function 'int64_t __TBB_machine_cmpswp8(volatile void*, int64_t, int64_t)': ../../include/tbb/machine/mac_ppc.h:116:46: warning: cast from type 'volatile void*' to type 'int64_t*' {aka 'long int*'} casts away qualifiers [-Wcast-qual] , "+m"(* (int64_t*) ptr) /* redundant with "memory" */ ^~~ ../../src/test/test_ScalableAllocator.cpp: In function 'void TestSmallFixedSizePool()': ../../src/test/test_ScalableAllocator.cpp:128:23: warning: catching polymorphic type 'class std::invalid_argument' by value [-Wcatch-value=] } catch (std::invalid_argument) { ^~~~~~~~~~~~~~~~ ../../src/test/test_ScalableAllocator.cpp:159:19: warning: catching polymorphic type 'class std::invalid_argument' by value [-Wcatch-value=] } catch (std::invalid_argument) { ^~~~~~~~~~~~~~~~ In file included from ../../src/test/test_ScalableAllocator.cpp:35: ../../src/test/test_allocator.h: In instantiation of 'void TestBasic(A&) [with T = Foo; A = tbb::scalable_allocator >]': ../../src/test/test_allocator.h:256:17: required from 'void Test(A&) [with U = Foo; A = tbb::scalable_allocator >]' ../../src/test/test_allocator.h:272:23: required from 'int TestMain(const Allocator&) [with Allocator = tbb::scalable_allocator]' ../../src/test/test_ScalableAllocator.cpp:176:59: required from here ../../src/test/test_allocator.h:174:7: warning: catching polymorphic type 'class std::bad_alloc' by value [-Wcatch-value=] } catch ( std::bad_alloc ) { ^~~~~ ../../src/test/test_allocator.h: In instantiation of 'void TestBasic(A&) [with T = Foo; A = tbb::scalable_allocator >]': ../../src/test/test_allocator.h:257:38: required from 'void Test(A&) [with U = Foo; A = tbb::scalable_allocator >]' ../../src/test/test_allocator.h:272:23: required from 'int TestMain(const Allocator&) [with Allocator = tbb::scalable_allocator]' ../../src/test/test_ScalableAllocator.cpp:176:59: required from here ../../src/test/test_allocator.h:174:7: warning: catching polymorphic type 'class std::bad_alloc' by value [-Wcatch-value=] ../../src/test/test_allocator.h: In instantiation of 'void TestBasic(A&) [with T = Foo; A = tbb::scalable_allocator >]': ../../src/test/test_allocator.h:256:17: required from 'void Test(A&) [with U = Foo; A = tbb::scalable_allocator >]' ../../src/test/test_allocator.h:273:25: required from 'int TestMain(const Allocator&) [with Allocator = tbb::scalable_allocator]' ../../src/test/test_ScalableAllocator.cpp:176:59: required from here ../../src/test/test_allocator.h:174:7: warning: catching polymorphic type 'class std::bad_alloc' by value [-Wcatch-value=] ../../src/test/test_allocator.h: In instantiation of 'void TestBasic(A&) [with T = Foo; A = tbb::scalable_allocator >]': ../../src/test/test_allocator.h:257:38: required from 'void Test(A&) [with U = Foo; A = tbb::scalable_allocator >]' ../../src/test/test_allocator.h:273:25: required from 'int TestMain(const Allocator&) [with Allocator = tbb::scalable_allocator]' ../../src/test/test_ScalableAllocator.cpp:176:59: required from here ../../src/test/test_allocator.h:174:7: warning: catching polymorphic type 'class std::bad_alloc' by value [-Wcatch-value=] ../../src/test/test_allocator.h: In instantiation of 'void TestBasic(A&) [with T = Foo; A = tbb::interface6::memory_pool_allocator, tbb::interface6::internal::pool_base>]': ../../src/test/test_allocator.h:256:17: required from 'void Test(A&) [with U = Foo; A = tbb::interface6::memory_pool_allocator, tbb::interface6::internal::pool_base>]' ../../src/test/test_allocator.h:272:23: required from 'int TestMain(const Allocator&) [with Allocator = tbb::interface6::memory_pool_allocator]' ../../src/test/test_ScalableAllocator.cpp:179:67: required from here ../../src/test/test_allocator.h:174:7: warning: catching polymorphic type 'class std::bad_alloc' by value [-Wcatch-value=] ../../src/test/test_allocator.h: In instantiation of 'void TestBasic(A&) [with T = Foo; A = tbb::interface6::memory_pool_allocator, tbb::interface6::internal::pool_base>]': ../../src/test/test_allocator.h:257:38: required from 'void Test(A&) [with U = Foo; A = tbb::interface6::memory_pool_allocator, tbb::interface6::internal::pool_base>]' ../../src/test/test_allocator.h:272:23: required from 'int TestMain(const Allocator&) [with Allocator = tbb::interface6::memory_pool_allocator]' ../../src/test/test_ScalableAllocator.cpp:179:67: required from here ../../src/test/test_allocator.h:174:7: warning: catching polymorphic type 'class std::bad_alloc' by value [-Wcatch-value=] ../../src/test/test_allocator.h: In instantiation of 'void TestBasic(A&) [with T = Foo; A = tbb::interface6::memory_pool_allocator, tbb::interface6::internal::pool_base>]': ../../src/test/test_allocator.h:256:17: required from 'void Test(A&) [with U = Foo; A = tbb::interface6::memory_pool_allocator, tbb::interface6::internal::pool_base>]' ../../src/test/test_allocator.h:273:25: required from 'int TestMain(const Allocator&) [with Allocator = tbb::interface6::memory_pool_allocator]' ../../src/test/test_ScalableAllocator.cpp:179:67: required from here ../../src/test/test_allocator.h:174:7: warning: catching polymorphic type 'class std::bad_alloc' by value [-Wcatch-value=] ../../src/test/test_allocator.h: In instantiation of 'void TestBasic(A&) [with T = Foo; A = tbb::interface6::memory_pool_allocator, tbb::interface6::internal::pool_base>]': ../../src/test/test_allocator.h:257:38: required from 'void Test(A&) [with U = Foo; A = tbb::interface6::memory_pool_allocator, tbb::interface6::internal::pool_base>]' ../../src/test/test_allocator.h:273:25: required from 'int TestMain(const Allocator&) [with Allocator = tbb::interface6::memory_pool_allocator]' ../../src/test/test_ScalableAllocator.cpp:179:67: required from here ../../src/test/test_allocator.h:174:7: warning: catching polymorphic type 'class std::bad_alloc' by value [-Wcatch-value=] ../../src/test/test_allocator.h: In instantiation of 'void TestBasic(A&) [with T = Foo; A = static_counting_allocator, tbb::interface6::internal::pool_base>, tbb::atomic >]': ../../src/test/test_allocator.h:256:17: required from 'void Test(A&) [with U = Foo; A = static_counting_allocator, tbb::interface6::internal::pool_base>, tbb::atomic >]' ../../src/test/test_allocator.h:272:23: required from 'int TestMain(const Allocator&) [with Allocator = static_counting_allocator >]' ../../src/test/test_ScalableAllocator.cpp:183:33: required from here ../../src/test/test_allocator.h:174:7: warning: catching polymorphic type 'class std::bad_alloc' by value [-Wcatch-value=] ../../src/test/test_allocator.h: In instantiation of 'void TestBasic(A&) [with T = Foo; A = static_counting_allocator, tbb::interface6::internal::pool_base>, tbb::atomic >]': ../../src/test/test_allocator.h:257:38: required from 'void Test(A&) [with U = Foo; A = static_counting_allocator, tbb::interface6::internal::pool_base>, tbb::atomic >]' ../../src/test/test_allocator.h:272:23: required from 'int TestMain(const Allocator&) [with Allocator = static_counting_allocator >]' ../../src/test/test_ScalableAllocator.cpp:183:33: required from here ../../src/test/test_allocator.h:174:7: warning: catching polymorphic type 'class std::bad_alloc' by value [-Wcatch-value=] ../../src/test/test_allocator.h: In instantiation of 'void TestBasic(A&) [with T = Foo; A = static_counting_allocator, tbb::interface6::internal::pool_base>, tbb::atomic >]': ../../src/test/test_allocator.h:256:17: required from 'void Test(A&) [with U = Foo; A = static_counting_allocator, tbb::interface6::internal::pool_base>, tbb::atomic >]' ../../src/test/test_allocator.h:273:25: required from 'int TestMain(const Allocator&) [with Allocator = static_counting_allocator >]' ../../src/test/test_ScalableAllocator.cpp:183:33: required from here ../../src/test/test_allocator.h:174:7: warning: catching polymorphic type 'class std::bad_alloc' by value [-Wcatch-value=] ../../src/test/test_allocator.h: In instantiation of 'void TestBasic(A&) [with T = Foo; A = static_counting_allocator, tbb::interface6::internal::pool_base>, tbb::atomic >]': ../../src/test/test_allocator.h:257:38: required from 'void Test(A&) [with U = Foo; A = static_counting_allocator, tbb::interface6::internal::pool_base>, tbb::atomic >]' ../../src/test/test_allocator.h:273:25: required from 'int TestMain(const Allocator&) [with Allocator = static_counting_allocator >]' ../../src/test/test_ScalableAllocator.cpp:183:33: required from here ../../src/test/test_allocator.h:174:7: warning: catching polymorphic type 'class std::bad_alloc' by value [-Wcatch-value=] g++ -o test_ScalableAllocator.exe -O2 -g -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -fexceptions -fstack-protector-strong -grecord-gcc-switches -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -mcpu=power8 -mtune=power8 -funwind-tables -fstack-clash-protection -DTBB_USE_DEBUG -g -O0 -DUSE_PTHREAD -Wall -O2 -g -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -fexceptions -fstack-protector-strong -grecord-gcc-switches -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -mcpu=power8 -mtune=power8 -funwind-tables -fstack-clash-protection -Wshadow -Wcast-qual -Woverloaded-virtual -Wnon-virtual-dtor -Wextra test_ScalableAllocator.o libtbbmalloc_debug.so -lpthread -lrt -Wl,-rpath-link=. -rdynamic g++ -o test_ScalableAllocator_STL.o -c -MMD -O2 -g -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -fexceptions -fstack-protector-strong -grecord-gcc-switches -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -mcpu=power8 -mtune=power8 -funwind-tables -fstack-clash-protection -DTBB_USE_DEBUG -g -O0 -DUSE_PTHREAD -Wall -O2 -g -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -fexceptions -fstack-protector-strong -grecord-gcc-switches -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -mcpu=power8 -mtune=power8 -funwind-tables -fstack-clash-protection -Wshadow -Wcast-qual -Woverloaded-virtual -Wnon-virtual-dtor -Wextra -std=c++14 -I../../src -I../../src/rml/include -I../../include -include ../../src/test/harness_preload.h ../../src/test/test_ScalableAllocator_STL.cpp g++ -o test_ScalableAllocator_STL.exe -O2 -g -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -fexceptions -fstack-protector-strong -grecord-gcc-switches -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -mcpu=power8 -mtune=power8 -funwind-tables -fstack-clash-protection -DTBB_USE_DEBUG -g -O0 -DUSE_PTHREAD -Wall -O2 -g -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -fexceptions -fstack-protector-strong -grecord-gcc-switches -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -mcpu=power8 -mtune=power8 -funwind-tables -fstack-clash-protection -Wshadow -Wcast-qual -Woverloaded-virtual -Wnon-virtual-dtor -Wextra test_ScalableAllocator_STL.o libtbbmalloc_debug.so -lpthread -lrt -Wl,-rpath-link=. -rdynamic g++ -o test_malloc_compliance.o -c -MMD -O2 -g -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -fexceptions -fstack-protector-strong -grecord-gcc-switches -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -mcpu=power8 -mtune=power8 -funwind-tables -fstack-clash-protection -DTBB_USE_DEBUG -g -O0 -DUSE_PTHREAD -Wall -O2 -g -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -fexceptions -fstack-protector-strong -grecord-gcc-switches -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -mcpu=power8 -mtune=power8 -funwind-tables -fstack-clash-protection -Wshadow -Wcast-qual -Woverloaded-virtual -Wnon-virtual-dtor -Wextra -std=c++14 -I../../src -I../../src/rml/include -I../../include -include ../../src/test/harness_preload.h ../../src/test/test_malloc_compliance.cpp In file included from ../../include/tbb/tbb_machine.h:243, from ../../include/tbb/atomic.h:32, from ../../src/test/harness_barrier.h:21, from ../../src/test/test_malloc_compliance.cpp:118: ../../include/tbb/machine/mac_ppc.h: In function 'int32_t __TBB_machine_cmpswp4(volatile void*, int32_t, int32_t)': ../../include/tbb/machine/mac_ppc.h:91:46: warning: cast from type 'volatile void*' to type 'int32_t*' {aka 'int*'} casts away qualifiers [-Wcast-qual] , "+m"(* (int32_t*) ptr) /* redundant with "memory" */ ^~~ ../../include/tbb/machine/mac_ppc.h: In function 'int64_t __TBB_machine_cmpswp8(volatile void*, int64_t, int64_t)': ../../include/tbb/machine/mac_ppc.h:116:46: warning: cast from type 'volatile void*' to type 'int64_t*' {aka 'long int*'} casts away qualifiers [-Wcast-qual] , "+m"(* (int64_t*) ptr) /* redundant with "memory" */ ^~~ g++ -o test_malloc_compliance.exe -O2 -g -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -fexceptions -fstack-protector-strong -grecord-gcc-switches -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -mcpu=power8 -mtune=power8 -funwind-tables -fstack-clash-protection -DTBB_USE_DEBUG -g -O0 -DUSE_PTHREAD -Wall -O2 -g -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -fexceptions -fstack-protector-strong -grecord-gcc-switches -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -mcpu=power8 -mtune=power8 -funwind-tables -fstack-clash-protection -Wshadow -Wcast-qual -Woverloaded-virtual -Wnon-virtual-dtor -Wextra test_malloc_compliance.o libtbbmalloc_debug.so -lpthread -lrt -Wl,-rpath-link=. -rdynamic g++ -o test_malloc_regression.o -c -MMD -O2 -g -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -fexceptions -fstack-protector-strong -grecord-gcc-switches -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -mcpu=power8 -mtune=power8 -funwind-tables -fstack-clash-protection -DTBB_USE_DEBUG -g -O0 -DUSE_PTHREAD -Wall -O2 -g -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -fexceptions -fstack-protector-strong -grecord-gcc-switches -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -mcpu=power8 -mtune=power8 -funwind-tables -fstack-clash-protection -Wshadow -Wcast-qual -Woverloaded-virtual -Wnon-virtual-dtor -Wextra -std=c++14 -I../../src -I../../src/rml/include -I../../include -include ../../src/test/harness_preload.h ../../src/test/test_malloc_regression.cpp g++ -o test_malloc_regression.exe -O2 -g -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -fexceptions -fstack-protector-strong -grecord-gcc-switches -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -mcpu=power8 -mtune=power8 -funwind-tables -fstack-clash-protection -DTBB_USE_DEBUG -g -O0 -DUSE_PTHREAD -Wall -O2 -g -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -fexceptions -fstack-protector-strong -grecord-gcc-switches -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -mcpu=power8 -mtune=power8 -funwind-tables -fstack-clash-protection -Wshadow -Wcast-qual -Woverloaded-virtual -Wnon-virtual-dtor -Wextra test_malloc_regression.o libtbbmalloc_debug.so -lpthread -lrt -Wl,-rpath-link=. -rdynamic g++ -o test_malloc_init_shutdown.o -c -MMD -O2 -g -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -fexceptions -fstack-protector-strong -grecord-gcc-switches -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -mcpu=power8 -mtune=power8 -funwind-tables -fstack-clash-protection -DTBB_USE_DEBUG -g -O0 -DUSE_PTHREAD -Wall -O2 -g -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -fexceptions -fstack-protector-strong -grecord-gcc-switches -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -mcpu=power8 -mtune=power8 -funwind-tables -fstack-clash-protection -Wshadow -Wcast-qual -Woverloaded-virtual -Wnon-virtual-dtor -Wextra -std=c++14 -I../../src -I../../src/rml/include -I../../include -include ../../src/test/harness_preload.h ../../src/test/test_malloc_init_shutdown.cpp In file included from ../../include/tbb/tbb_machine.h:243, from ../../include/tbb/atomic.h:32, from ../../src/test/test_malloc_init_shutdown.cpp:22: ../../include/tbb/machine/mac_ppc.h: In function 'int32_t __TBB_machine_cmpswp4(volatile void*, int32_t, int32_t)': ../../include/tbb/machine/mac_ppc.h:91:46: warning: cast from type 'volatile void*' to type 'int32_t*' {aka 'int*'} casts away qualifiers [-Wcast-qual] , "+m"(* (int32_t*) ptr) /* redundant with "memory" */ ^~~ ../../include/tbb/machine/mac_ppc.h: In function 'int64_t __TBB_machine_cmpswp8(volatile void*, int64_t, int64_t)': ../../include/tbb/machine/mac_ppc.h:116:46: warning: cast from type 'volatile void*' to type 'int64_t*' {aka 'long int*'} casts away qualifiers [-Wcast-qual] , "+m"(* (int64_t*) ptr) /* redundant with "memory" */ ^~~ g++ -o test_malloc_init_shutdown.exe -O2 -g -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -fexceptions -fstack-protector-strong -grecord-gcc-switches -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -mcpu=power8 -mtune=power8 -funwind-tables -fstack-clash-protection -DTBB_USE_DEBUG -g -O0 -DUSE_PTHREAD -Wall -O2 -g -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -fexceptions -fstack-protector-strong -grecord-gcc-switches -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -mcpu=power8 -mtune=power8 -funwind-tables -fstack-clash-protection -Wshadow -Wcast-qual -Woverloaded-virtual -Wnon-virtual-dtor -Wextra test_malloc_init_shutdown.o libtbbmalloc_debug.so -lpthread -lrt -Wl,-rpath-link=. -rdynamic g++ -o test_malloc_pools.o -c -MMD -O2 -g -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -fexceptions -fstack-protector-strong -grecord-gcc-switches -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -mcpu=power8 -mtune=power8 -funwind-tables -fstack-clash-protection -DTBB_USE_DEBUG -g -O0 -DUSE_PTHREAD -Wall -O2 -g -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -fexceptions -fstack-protector-strong -grecord-gcc-switches -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -mcpu=power8 -mtune=power8 -funwind-tables -fstack-clash-protection -Wshadow -Wcast-qual -Woverloaded-virtual -Wnon-virtual-dtor -Wextra -std=c++14 -I../../src -I../../src/rml/include -I../../include -include ../../src/test/harness_preload.h ../../src/test/test_malloc_pools.cpp In file included from ../../include/tbb/tbb_machine.h:243, from ../../include/tbb/atomic.h:32, from ../../src/test/test_malloc_pools.cpp:22: ../../include/tbb/machine/mac_ppc.h: In function 'int32_t __TBB_machine_cmpswp4(volatile void*, int32_t, int32_t)': ../../include/tbb/machine/mac_ppc.h:91:46: warning: cast from type 'volatile void*' to type 'int32_t*' {aka 'int*'} casts away qualifiers [-Wcast-qual] , "+m"(* (int32_t*) ptr) /* redundant with "memory" */ ^~~ ../../include/tbb/machine/mac_ppc.h: In function 'int64_t __TBB_machine_cmpswp8(volatile void*, int64_t, int64_t)': ../../include/tbb/machine/mac_ppc.h:116:46: warning: cast from type 'volatile void*' to type 'int64_t*' {aka 'long int*'} casts away qualifiers [-Wcast-qual] , "+m"(* (int64_t*) ptr) /* redundant with "memory" */ ^~~ g++ -o test_malloc_pools.exe -O2 -g -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -fexceptions -fstack-protector-strong -grecord-gcc-switches -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -mcpu=power8 -mtune=power8 -funwind-tables -fstack-clash-protection -DTBB_USE_DEBUG -g -O0 -DUSE_PTHREAD -Wall -O2 -g -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -fexceptions -fstack-protector-strong -grecord-gcc-switches -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -mcpu=power8 -mtune=power8 -funwind-tables -fstack-clash-protection -Wshadow -Wcast-qual -Woverloaded-virtual -Wnon-virtual-dtor -Wextra test_malloc_pools.o libtbbmalloc_debug.so -lpthread -lrt -Wl,-rpath-link=. -rdynamic gcc -c -MMD -o test_malloc_pure_c.o -O2 -g -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -fexceptions -fstack-protector-strong -grecord-gcc-switches -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -mcpu=power8 -mtune=power8 -funwind-tables -fstack-clash-protection -DTBB_USE_DEBUG -g -O0 -DUSE_PTHREAD -Wall -O2 -g -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -fexceptions -fstack-protector-strong -grecord-gcc-switches -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -mcpu=power8 -mtune=power8 -funwind-tables -fstack-clash-protection -Wshadow -Wcast-qual -Woverloaded-virtual -Wnon-virtual-dtor -Wextra -I../../src -I../../src/rml/include -I../../include -include ../../src/test/harness_preload.h ../../src/test/test_malloc_pure_c.c cc1: warning: command line option '-Woverloaded-virtual' is valid for C++/ObjC++ but not for C cc1: warning: command line option '-Wnon-virtual-dtor' is valid for C++/ObjC++ but not for C g++ -o test_malloc_pure_c.exe -O2 -g -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -fexceptions -fstack-protector-strong -grecord-gcc-switches -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -mcpu=power8 -mtune=power8 -funwind-tables -fstack-clash-protection -DTBB_USE_DEBUG -g -O0 -DUSE_PTHREAD -Wall -O2 -g -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -fexceptions -fstack-protector-strong -grecord-gcc-switches -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -mcpu=power8 -mtune=power8 -funwind-tables -fstack-clash-protection -Wshadow -Wcast-qual -Woverloaded-virtual -Wnon-virtual-dtor -Wextra test_malloc_pure_c.o libtbbmalloc_debug.so -lpthread -lrt -Wl,-rpath-link=. -rdynamic g++ -o test_malloc_whitebox.o -c -MMD -O2 -g -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -fexceptions -fstack-protector-strong -grecord-gcc-switches -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -mcpu=power8 -mtune=power8 -funwind-tables -fstack-clash-protection -fno-strict-aliasing -D__TBBMALLOC_BUILD=1 -Wshadow -Wcast-qual -Woverloaded-virtual -Wnon-virtual-dtor -Wextra -std=c++14 -I../../src -I../../src/rml/include -I../../include -I../../src/tbbmalloc -I../../src/tbbmalloc -include ../../src/test/harness_preload.h -I. ../../src/test/test_malloc_whitebox.cpp In file included from ../../include/tbb/tbb_machine.h:243, from ../../include/tbb/atomic.h:32, from ../../src/test/harness_barrier.h:21, from ../../src/test/test_malloc_whitebox.cpp:32: ../../include/tbb/machine/mac_ppc.h: In function 'int32_t __TBB_machine_cmpswp4(volatile void*, int32_t, int32_t)': ../../include/tbb/machine/mac_ppc.h:91:46: warning: cast from type 'volatile void*' to type 'int32_t*' {aka 'int*'} casts away qualifiers [-Wcast-qual] , "+m"(* (int32_t*) ptr) /* redundant with "memory" */ ^~~ ../../include/tbb/machine/mac_ppc.h: In function 'int64_t __TBB_machine_cmpswp8(volatile void*, int64_t, int64_t)': ../../include/tbb/machine/mac_ppc.h:116:46: warning: cast from type 'volatile void*' to type 'int64_t*' {aka 'long int*'} casts away qualifiers [-Wcast-qual] , "+m"(* (int64_t*) ptr) /* redundant with "memory" */ ^~~ In file included from ../../src/test/test_malloc_whitebox.cpp:52: ../../src/test/../tbbmalloc/frontend.cpp: In constructor 'rml::internal::LifoList::LifoList()': ../../src/test/../tbbmalloc/frontend.cpp:909:41: warning: 'void* memset(void*, int, size_t)' clearing an object of type 'class MallocMutex' with no trivial copy-assignment; use value-initialization instead [-Wclass-memaccess] memset(&lock, 0, sizeof(MallocMutex)); ^ In file included from ../../src/test/../tbbmalloc/TypeDefinitions.h:58, from ../../src/test/../tbbmalloc/tbbmalloc_internal.h:25, from ../../src/test/../tbbmalloc/frontend.cpp:22, from ../../src/test/test_malloc_whitebox.cpp:52: ../../src/test/../tbbmalloc/Customize.h:58:7: note: 'class MallocMutex' declared here class MallocMutex : tbb::internal::no_copy { ^~~~~~~~~~~ In file included from ../../src/test/test_malloc_whitebox.cpp:52: ../../src/test/../tbbmalloc/frontend.cpp: In member function 'bool rml::internal::ExtMemoryPool::init(intptr_t, rml::rawAllocType, rml::rawFreeType, size_t, bool, bool)': ../../src/test/../tbbmalloc/frontend.cpp:1050:60: warning: declaration of 'fixedPool' shadows a member of 'rml::internal::ExtMemoryPool' [-Wshadow] bool keepAllMemory, bool fixedPool) ^ In file included from ../../src/test/../tbbmalloc/frontend.cpp:22, from ../../src/test/test_malloc_whitebox.cpp:52: ../../src/test/../tbbmalloc/tbbmalloc_internal.h:904:23: note: shadowed declaration is here fixedPool; ^~~~~~~~~ In file included from ../../src/test/test_malloc_whitebox.cpp:52: ../../src/test/../tbbmalloc/frontend.cpp:1050:60: warning: declaration of 'keepAllMemory' shadows a member of 'rml::internal::ExtMemoryPool' [-Wshadow] bool keepAllMemory, bool fixedPool) ^ In file included from ../../src/test/../tbbmalloc/frontend.cpp:22, from ../../src/test/test_malloc_whitebox.cpp:52: ../../src/test/../tbbmalloc/tbbmalloc_internal.h:901:23: note: shadowed declaration is here bool keepAllMemory, ^~~~~~~~~~~~~ In file included from ../../src/test/test_malloc_whitebox.cpp:52: ../../src/test/../tbbmalloc/frontend.cpp:1050:60: warning: declaration of 'granularity' shadows a member of 'rml::internal::ExtMemoryPool' [-Wshadow] bool keepAllMemory, bool fixedPool) ^ In file included from ../../src/test/../tbbmalloc/frontend.cpp:22, from ../../src/test/test_malloc_whitebox.cpp:52: ../../src/test/../tbbmalloc/tbbmalloc_internal.h:900:23: note: shadowed declaration is here size_t granularity; ^~~~~~~~~~~ In file included from ../../src/test/test_malloc_whitebox.cpp:52: ../../src/test/../tbbmalloc/frontend.cpp:1050:60: warning: declaration of 'rawFree' shadows a member of 'rml::internal::ExtMemoryPool' [-Wshadow] bool keepAllMemory, bool fixedPool) ^ In file included from ../../src/test/../tbbmalloc/frontend.cpp:22, from ../../src/test/test_malloc_whitebox.cpp:52: ../../src/test/../tbbmalloc/tbbmalloc_internal.h:899:23: note: shadowed declaration is here rawFreeType rawFree; ^~~~~~~ In file included from ../../src/test/test_malloc_whitebox.cpp:52: ../../src/test/../tbbmalloc/frontend.cpp:1050:60: warning: declaration of 'rawAlloc' shadows a member of 'rml::internal::ExtMemoryPool' [-Wshadow] bool keepAllMemory, bool fixedPool) ^ In file included from ../../src/test/../tbbmalloc/frontend.cpp:22, from ../../src/test/test_malloc_whitebox.cpp:52: ../../src/test/../tbbmalloc/tbbmalloc_internal.h:898:23: note: shadowed declaration is here rawAllocType rawAlloc; ^~~~~~~~ In file included from ../../src/test/test_malloc_whitebox.cpp:52: ../../src/test/../tbbmalloc/frontend.cpp:1050:60: warning: declaration of 'poolId' shadows a member of 'rml::internal::ExtMemoryPool' [-Wshadow] bool keepAllMemory, bool fixedPool) ^ In file included from ../../src/test/../tbbmalloc/frontend.cpp:22, from ../../src/test/test_malloc_whitebox.cpp:52: ../../src/test/../tbbmalloc/tbbmalloc_internal.h:893:23: note: shadowed declaration is here intptr_t poolId; ^~~~~~ In file included from ../../src/test/test_malloc_whitebox.cpp:52: ../../src/test/../tbbmalloc/frontend.cpp: In member function 'void rml::internal::Block::shareOrphaned(intptr_t, unsigned int)': ../../src/test/../tbbmalloc/frontend.cpp:1439:53: warning: unused parameter 'index' [-Wunused-parameter] void Block::shareOrphaned(intptr_t binTag, unsigned index) ~~~~~~~~~^~~~~ ../../src/test/../tbbmalloc/frontend.cpp: In member function 'rml::internal::FreeObject* rml::internal::Block::findObjectToFree(const void*) const': ../../src/test/../tbbmalloc/frontend.cpp:1676:37: warning: cast from type 'const void*' to type 'rml::internal::FreeObject*' casts away qualifiers [-Wcast-qual] objectToFree = (FreeObject*)object; ^~~~~~ ../../src/test/../tbbmalloc/frontend.cpp:1683:41: warning: cast from type 'const void*' to type 'rml::internal::FreeObject*' casts away qualifiers [-Wcast-qual] objectToFree = (FreeObject*)object; ^~~~~~ ../../src/test/../tbbmalloc/frontend.cpp: In function 'rml::MemPoolError rml::pool_create_v1(intptr_t, const rml::MemPoolPolicy*, rml::MemoryPool**)': ../../src/test/../tbbmalloc/frontend.cpp:2671:57: warning: 'void* memset(void*, int, size_t)' clearing an object of type 'class rml::internal::MemoryPool' with no trivial copy-assignment [-Wclass-memaccess] memset(memPool, 0, sizeof(rml::internal::MemoryPool)); ^ ../../src/test/../tbbmalloc/frontend.cpp:264:7: note: 'class rml::internal::MemoryPool' declared here class MemoryPool { ^~~~~~~~~~ In file included from ../../src/test/../tbbmalloc/backend.cpp:41, from ../../src/test/test_malloc_whitebox.cpp:58: ../../src/test/../tbbmalloc/MapMemory.h: In function 'void* rml::internal::MapMemory(size_t, bool)': ../../src/test/../tbbmalloc/MapMemory.h:61:46: warning: declaration of 'hugePages' shadows a global declaration [-Wshadow] void* MapMemory (size_t bytes, bool hugePages) ^ In file included from ../../src/test/test_malloc_whitebox.cpp:52: ../../src/test/../tbbmalloc/frontend.cpp:304:17: note: shadowed declaration is here HugePagesStatus hugePages; ^~~~~~~~~ In file included from ../../src/test/test_malloc_whitebox.cpp:58: ../../src/test/../tbbmalloc/backend.cpp: In function 'void* rml::internal::getRawMemory(size_t, bool)': ../../src/test/../tbbmalloc/backend.cpp:46:48: warning: declaration of 'hugePages' shadows a global declaration [-Wshadow] void* getRawMemory (size_t size, bool hugePages) { ^ In file included from ../../src/test/test_malloc_whitebox.cpp:52: ../../src/test/../tbbmalloc/frontend.cpp:304:17: note: shadowed declaration is here HugePagesStatus hugePages; ^~~~~~~~~ In file included from ../../src/test/test_malloc_whitebox.cpp:58: ../../src/test/../tbbmalloc/backend.cpp: In member function 'void rml::internal::CoalRequestQ::blockWasProcessed()': ../../src/test/../tbbmalloc/backend.cpp:413:9: warning: unused variable 'prev' [-Wunused-variable] int prev = AtomicAdd(inFlyBlocks, -1); ^~~~ ../../src/test/../tbbmalloc/backend.cpp: In member function 'void* rml::internal::Backend::remap(void*, size_t, size_t, size_t)': ../../src/test/../tbbmalloc/backend.cpp:1020:41: warning: cast from type 'const rml::internal::LargeMemoryBlock*' to type 'rml::internal::FreeBlock*' casts away qualifiers [-Wcast-qual] FreeBlock *oldFBlock = (FreeBlock *)lmbOld; ^~~~~~ In file included from ../../src/test/test_malloc_whitebox.cpp:59: ../../src/test/../tbbmalloc/backref.cpp: In constructor 'rml::internal::BackRefBlock::BackRefBlock(const rml::internal::BackRefBlock*, intptr_t)': ../../src/test/../tbbmalloc/backref.cpp:49:51: warning: 'void* memset(void*, int, size_t)' clearing an object of type 'class MallocMutex' with no trivial copy-assignment; use value-initialization instead [-Wclass-memaccess] memset(&blockMutex, 0, sizeof(MallocMutex)); ^ In file included from ../../src/test/../tbbmalloc/TypeDefinitions.h:58, from ../../src/test/../tbbmalloc/tbbmalloc_internal.h:25, from ../../src/test/../tbbmalloc/frontend.cpp:22, from ../../src/test/test_malloc_whitebox.cpp:52: ../../src/test/../tbbmalloc/Customize.h:58:7: note: 'class MallocMutex' declared here class MallocMutex : tbb::internal::no_copy { ^~~~~~~~~~~ In file included from ../../src/test/test_malloc_whitebox.cpp:59: ../../src/test/../tbbmalloc/backref.cpp: In member function 'void rml::internal::BackRefBlock::zeroSet()': ../../src/test/../tbbmalloc/backref.cpp:55:80: warning: 'void* memset(void*, int, size_t)' clearing an object of type 'struct rml::internal::BackRefBlock' with no trivial copy-assignment [-Wclass-memaccess] void zeroSet() { memset(this+1, 0, BackRefBlock::bytes-sizeof(BackRefBlock)); } ^ ../../src/test/../tbbmalloc/backref.cpp:32:8: note: 'struct rml::internal::BackRefBlock' declared here struct BackRefBlock : public BlockI { ^~~~~~~~~~~~ ../../src/test/../tbbmalloc/backref.cpp: In function 'bool rml::internal::initBackRefMaster(rml::internal::Backend*)': ../../src/test/../tbbmalloc/backref.cpp:112:65: warning: 'void* memset(void*, int, size_t)' clearing an object of type 'class MallocMutex' with no trivial copy-assignment; use value-initialization instead [-Wclass-memaccess] memset(&master->requestNewSpaceMutex, 0, sizeof(MallocMutex)); ^ In file included from ../../src/test/../tbbmalloc/TypeDefinitions.h:58, from ../../src/test/../tbbmalloc/tbbmalloc_internal.h:25, from ../../src/test/../tbbmalloc/frontend.cpp:22, from ../../src/test/test_malloc_whitebox.cpp:52: ../../src/test/../tbbmalloc/Customize.h:58:7: note: 'class MallocMutex' declared here class MallocMutex : tbb::internal::no_copy { ^~~~~~~~~~~ In file included from ../../src/test/test_malloc_whitebox.cpp:59: ../../src/test/../tbbmalloc/backref.cpp: In member function 'bool rml::internal::BackRefMaster::requestNewSpace()': ../../src/test/../tbbmalloc/backref.cpp:162:10: warning: declaration of 'rawMemUsed' shadows a member of 'rml::internal::BackRefMaster' [-Wshadow] bool rawMemUsed; ^~~~~~~~~~ ../../src/test/../tbbmalloc/backref.cpp:84:20: note: shadowed declaration is here bool rawMemUsed; ^~~~~~~~~~ In file included from ../../src/test/test_malloc_whitebox.cpp:65: ../../src/test/../tbbmalloc/large_objects.cpp: In constructor 'rml::internal::CacheBinFunctor::OperationPreprocessor::OperationPreprocessor(typename rml::internal::LargeObjectCacheImpl::CacheBin*)': ../../src/test/../tbbmalloc/large_objects.cpp:84:84: warning: declaration of 'bin' shadows a member of 'rml::internal::CacheBinFunctor::OperationPreprocessor' [-Wshadow] OperationPreprocessor(typename LargeObjectCacheImpl::CacheBin *bin) : ^ ../../src/test/../tbbmalloc/large_objects.cpp:51:64: note: shadowed declaration is here typename LargeObjectCacheImpl::CacheBin *const bin; ^~~ ../../src/test/../tbbmalloc/large_objects.cpp: In constructor 'rml::internal::CacheBinFunctor::CacheBinFunctor(typename rml::internal::LargeObjectCacheImpl::CacheBin*, rml::internal::ExtMemoryPool*, typename rml::internal::LargeObjectCacheImpl::BinBitMask*, int)': ../../src/test/../tbbmalloc/large_objects.cpp:95:89: warning: declaration of 'idx' shadows a member of 'rml::internal::CacheBinFunctor' [-Wshadow] typename LargeObjectCacheImpl::BinBitMask *bitMask, int idx) : ^ ../../src/test/../tbbmalloc/large_objects.cpp:36:15: note: shadowed declaration is here const int idx; ^~~ ../../src/test/../tbbmalloc/large_objects.cpp:95:89: warning: declaration of 'bitMask' shadows a member of 'rml::internal::CacheBinFunctor' [-Wshadow] typename LargeObjectCacheImpl::BinBitMask *bitMask, int idx) : ^ ../../src/test/../tbbmalloc/large_objects.cpp:35:61: note: shadowed declaration is here typename LargeObjectCacheImpl::BinBitMask *const bitMask; ^~~~~~~ ../../src/test/../tbbmalloc/large_objects.cpp:95:89: warning: declaration of 'extMemPool' shadows a member of 'rml::internal::CacheBinFunctor' [-Wshadow] typename LargeObjectCacheImpl::BinBitMask *bitMask, int idx) : ^ ../../src/test/../tbbmalloc/large_objects.cpp:34:26: note: shadowed declaration is here ExtMemoryPool *const extMemPool; ^~~~~~~~~~ ../../src/test/../tbbmalloc/large_objects.cpp:95:89: warning: declaration of 'bin' shadows a member of 'rml::internal::CacheBinFunctor' [-Wshadow] typename LargeObjectCacheImpl::BinBitMask *bitMask, int idx) : ^ ../../src/test/../tbbmalloc/large_objects.cpp:33:59: note: shadowed declaration is here typename LargeObjectCacheImpl::CacheBin *const bin; ^~~ ../../src/test/../tbbmalloc/large_objects.cpp: In function 'bool rml::internal::lessThanWithOverflow(intptr_t, intptr_t)': ../../src/test/../tbbmalloc/large_objects.cpp:199:29: warning: comparison of integer expressions of different signedness: 'intptr_t' {aka 'long int'} and 'long unsigned int' [-Wsign-compare] return (a < b && (b - a < UINTPTR_MAX/2)) || ~~~~~~^~~~~~~~~~~~~~~ ../../src/test/../tbbmalloc/large_objects.cpp:200:29: warning: comparison of integer expressions of different signedness: 'intptr_t' {aka 'long int'} and 'long unsigned int' [-Wsign-compare] (a > b && (a - b > UINTPTR_MAX/2)); ~~~~~~^~~~~~~~~~~~~~~ ../../src/test/../tbbmalloc/large_objects.cpp: In member function 'bool rml::internal::CacheBinFunctor::OperationPreprocessor::getFromPutList(rml::internal::CacheBinOperation*, uintptr_t)': ../../src/test/../tbbmalloc/large_objects.cpp:219:87: warning: declaration of 'opGet' shadows a member of 'rml::internal::CacheBinFunctor::OperationPreprocessor' [-Wshadow] OperationPreprocessor::getFromPutList(CacheBinOperation *opGet, uintptr_t currTime) ^ ../../src/test/../tbbmalloc/large_objects.cpp:60:28: note: shadowed declaration is here CacheBinOperation *opGet, *opClean; ^~~~~ ../../src/test/../tbbmalloc/large_objects.cpp: In member function 'void rml::internal::CacheBinFunctor::OperationPreprocessor::operator()(rml::internal::CacheBinOperation*)': ../../src/test/../tbbmalloc/large_objects.cpp:276:35: warning: declaration of 'head' shadows a member of 'rml::internal::CacheBinFunctor::OperationPreprocessor' [-Wshadow] LargeMemoryBlock *head = opCast(*op).head; ^~~~ ../../src/test/../tbbmalloc/large_objects.cpp:72:27: note: shadowed declaration is here LargeMemoryBlock *head, *tail; ^~~~ ../../src/test/../tbbmalloc/large_objects.cpp:297:35: warning: declaration of 'tail' shadows a member of 'rml::internal::CacheBinFunctor::OperationPreprocessor' [-Wshadow] LargeMemoryBlock *tail = prev; ^~~~ ../../src/test/../tbbmalloc/large_objects.cpp:72:34: note: shadowed declaration is here LargeMemoryBlock *head, *tail; ^~~~ ../../src/test/test_malloc_whitebox.cpp: In constructor 'StressLOCacheWork::StressLOCacheWork(rml::MemoryPool*)': ../../src/test/test_malloc_whitebox.cpp:399:52: warning: declaration of 'mallocPool' shadows a member of 'StressLOCacheWork' [-Wshadow] StressLOCacheWork(rml::MemoryPool *mallocPool) : mallocPool(mallocPool) {} ^ ../../src/test/test_malloc_whitebox.cpp:397:22: note: shadowed declaration is here rml::MemoryPool *mallocPool; ^~~~~~~~~~ In file included from ../../src/test/harness.h:187, from ../../src/test/test_malloc_whitebox.cpp:31: ../../src/test/test_malloc_whitebox.cpp: In member function 'void TestCollapsingMallocFree::check()': ../../src/test/test_malloc_whitebox.cpp:1054:53: warning: comparison of integer expressions of different signedness: 'size_t' {aka 'long unsigned int'} and 'int' [-Wsign-compare] ASSERT( tbbmalloc_whitebox::locGetProcessed < num_threads*NUM_ALLOCS, "No one Malloc/Free pair was collapsed." ); ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~ ../../src/test/harness_assert.h:33:47: note: in definition of macro 'ASSERT_CUSTOM' #define ASSERT_CUSTOM(p,message,file,line) ((p)?(void)0:ReportError(file,line,#p,message)) ^ ../../src/test/test_malloc_whitebox.cpp:1054:9: note: in expansion of macro 'ASSERT' ASSERT( tbbmalloc_whitebox::locGetProcessed < num_threads*NUM_ALLOCS, "No one Malloc/Free pair was collapsed." ); ^~~~~~ ../../src/test/test_malloc_whitebox.cpp: In member function 'void TestCollapsingBootstrap::CheckNumAllocs::operator()() const': ../../src/test/test_malloc_whitebox.cpp:1064:57: warning: comparison of integer expressions of different signedness: 'size_t' {aka 'long unsigned int'} and 'int' [-Wsign-compare] ASSERT( tbbmalloc_whitebox::locGetProcessed == num_threads*NUM_ALLOCS, ASSERT_TEXT ); ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~ ../../src/test/harness_assert.h:33:47: note: in definition of macro 'ASSERT_CUSTOM' #define ASSERT_CUSTOM(p,message,file,line) ((p)?(void)0:ReportError(file,line,#p,message)) ^ ../../src/test/test_malloc_whitebox.cpp:1064:13: note: in expansion of macro 'ASSERT' ASSERT( tbbmalloc_whitebox::locGetProcessed == num_threads*NUM_ALLOCS, ASSERT_TEXT ); ^~~~~~ ../../src/test/test_malloc_whitebox.cpp: In member function 'void TestCollapsingBootstrap::check()': ../../src/test/test_malloc_whitebox.cpp:1093:53: warning: comparison of integer expressions of different signedness: 'size_t' {aka 'long unsigned int'} and 'int' [-Wsign-compare] ASSERT( tbbmalloc_whitebox::locGetProcessed == num_threads*NUM_ALLOCS, ASSERT_TEXT ); ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~ ../../src/test/harness_assert.h:33:47: note: in definition of macro 'ASSERT_CUSTOM' #define ASSERT_CUSTOM(p,message,file,line) ((p)?(void)0:ReportError(file,line,#p,message)) ^ ../../src/test/test_malloc_whitebox.cpp:1093:9: note: in expansion of macro 'ASSERT' ASSERT( tbbmalloc_whitebox::locGetProcessed == num_threads*NUM_ALLOCS, ASSERT_TEXT ); ^~~~~~ ../../src/test/test_malloc_whitebox.cpp: In function 'void TestSlabAlignment()': ../../src/test/test_malloc_whitebox.cpp:1133:30: warning: declaration of 'ptrs' shadows a global declaration [-Wshadow] void *ptrs[space / min_sz]; // the worst case is min_sz byte object ^ ../../src/test/test_malloc_whitebox.cpp:784:7: note: shadowed declaration is here void *ptrs[num_allocs]; ^~~~ ../../src/test/test_malloc_whitebox.cpp:1136:27: warning: comparison of integer expressions of different signedness: 'int' and 'size_t' {aka 'long unsigned int'} [-Wsign-compare] for (int i = 0; i < space/sz; i++) { ~~^~~~~~~~~~ ../../src/test/test_malloc_whitebox.cpp:1138:20: warning: unused variable 'block' [-Wunused-variable] Block *block = (Block *)alignDown(ptrs[i], slabSize); ^~~~~ ../../src/test/test_malloc_whitebox.cpp:1144:27: warning: comparison of integer expressions of different signedness: 'int' and 'size_t' {aka 'long unsigned int'} [-Wsign-compare] for (int i = 0; i < space/sz; i++) ~~^~~~~~~~~~ In file included from ../../src/test/../tbbmalloc/frontend.cpp:22, from ../../src/test/test_malloc_whitebox.cpp:52: ../../src/test/../tbbmalloc/tbbmalloc_internal.h: In instantiation of 'void rml::internal::LargeObjectCacheImpl::CacheBin::init() [with Props = rml::internal::LargeObjectCacheProps<8192, 8388608, 8192, 2, 2, 16>]': ../../src/test/../tbbmalloc/tbbmalloc_internal.h:415:13: required from 'void rml::internal::LargeObjectCacheImpl::reset() [with Props = rml::internal::LargeObjectCacheProps<8192, 8388608, 8192, 2, 2, 16>]' ../../src/test/../tbbmalloc/tbbmalloc_internal.h:475:26: required from here ../../src/test/../tbbmalloc/tbbmalloc_internal.h:351:29: warning: 'void* memset(void*, int, size_t)' clearing an object of type 'class rml::internal::LargeObjectCacheImpl >::CacheBin' with no trivial copy-assignment; use assignment or value-initialization instead [-Wclass-memaccess] void init() { memset(this, 0, sizeof(CacheBin)); } ~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~ In file included from ../../src/test/../tbbmalloc/frontend.cpp:22, from ../../src/test/test_malloc_whitebox.cpp:52: ../../src/test/../tbbmalloc/tbbmalloc_internal.h:322:11: note: 'class rml::internal::LargeObjectCacheImpl >::CacheBin' declared here class CacheBin { ^~~~~~~~ In file included from ../../src/test/../tbbmalloc/frontend.cpp:22, from ../../src/test/test_malloc_whitebox.cpp:52: ../../src/test/../tbbmalloc/tbbmalloc_internal.h: In instantiation of 'void rml::internal::LargeObjectCacheImpl::CacheBin::init() [with Props = rml::internal::LargeObjectCacheProps<8388608, 135266304, 524288, 1, 1, 4>]': ../../src/test/../tbbmalloc/tbbmalloc_internal.h:415:13: required from 'void rml::internal::LargeObjectCacheImpl::reset() [with Props = rml::internal::LargeObjectCacheProps<8388608, 135266304, 524288, 1, 1, 4>]' ../../src/test/../tbbmalloc/tbbmalloc_internal.h:476:25: required from here ../../src/test/../tbbmalloc/tbbmalloc_internal.h:351:29: warning: 'void* memset(void*, int, size_t)' clearing an object of type 'class rml::internal::LargeObjectCacheImpl >::CacheBin' with no trivial copy-assignment; use assignment or value-initialization instead [-Wclass-memaccess] void init() { memset(this, 0, sizeof(CacheBin)); } ~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~ In file included from ../../src/test/../tbbmalloc/frontend.cpp:22, from ../../src/test/test_malloc_whitebox.cpp:52: ../../src/test/../tbbmalloc/tbbmalloc_internal.h:322:11: note: 'class rml::internal::LargeObjectCacheImpl >::CacheBin' declared here class CacheBin { ^~~~~~~~ In file included from ../../src/test/test_malloc_whitebox.cpp:65: ../../src/test/../tbbmalloc/large_objects.cpp: In instantiation of 'rml::internal::LargeMemoryBlock* rml::internal::LargeObjectCacheImpl::CacheBin::get(rml::internal::ExtMemoryPool*, size_t, rml::internal::LargeObjectCacheImpl::BinBitMask*, int) [with Props = rml::internal::LargeObjectCacheProps<8192, 8388608, 8192, 2, 2, 16>; size_t = long unsigned int; rml::internal::LargeObjectCacheImpl::BinBitMask = rml::internal::BitMaskMax<1023>]': ../../src/test/../tbbmalloc/large_objects.cpp:773:23: required from 'rml::internal::LargeMemoryBlock* rml::internal::LargeObjectCacheImpl::get(rml::internal::ExtMemoryPool*, size_t) [with Props = rml::internal::LargeObjectCacheProps<8192, 8388608, 8192, 2, 2, 16>; size_t = long unsigned int]' ../../src/test/../tbbmalloc/large_objects.cpp:897:44: required from here ../../src/test/../tbbmalloc/large_objects.cpp:432:11: warning: missing initializer for member 'rml::internal::OpGet::currTime' [-Wmissing-field-initializers] OpGet data = {&lmb, size}; ^~~~ ../../src/test/../tbbmalloc/large_objects.cpp: In instantiation of 'rml::internal::LargeMemoryBlock* rml::internal::LargeObjectCacheImpl::CacheBin::get(rml::internal::ExtMemoryPool*, size_t, rml::internal::LargeObjectCacheImpl::BinBitMask*, int) [with Props = rml::internal::LargeObjectCacheProps<8388608, 135266304, 524288, 1, 1, 4>; size_t = long unsigned int; rml::internal::LargeObjectCacheImpl::BinBitMask = rml::internal::BitMaskMax<242>]': ../../src/test/../tbbmalloc/large_objects.cpp:773:23: required from 'rml::internal::LargeMemoryBlock* rml::internal::LargeObjectCacheImpl::get(rml::internal::ExtMemoryPool*, size_t) [with Props = rml::internal::LargeObjectCacheProps<8388608, 135266304, 524288, 1, 1, 4>; size_t = long unsigned int]' ../../src/test/../tbbmalloc/large_objects.cpp:897:78: required from here ../../src/test/../tbbmalloc/large_objects.cpp:432:11: warning: missing initializer for member 'rml::internal::OpGet::currTime' [-Wmissing-field-initializers] ../../src/test/test_malloc_whitebox.cpp: In instantiation of 'void CacheBinModel::get() [with Props = rml::internal::LargeObjectCacheProps<8192, 8388608, 8192, 2, 2, 16>]': ../../src/test/test_malloc_whitebox.cpp:973:30: required from 'void LOCModelTester() [with Scenarion = TestBootstrap]' ../../src/test/test_malloc_whitebox.cpp:1111:35: required from here ../../src/test/test_malloc_whitebox.cpp:884:63: warning: comparison of integer expressions of different signedness: 'const uintptr_t' {aka 'const long unsigned int'} and 'intptr_t' {aka 'long int'} [-Wsign-compare] if ( ( cacheBinModel.ageThreshold && sinceLastGet > Props::LongWaitFactor*cacheBinModel.ageThreshold ) || ~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ In file included from ../../src/test/test_malloc_whitebox.cpp:65: ../../src/test/../tbbmalloc/large_objects.cpp: In instantiation of 'rml::internal::CacheBinFunctor::CacheBinFunctor(typename rml::internal::LargeObjectCacheImpl::CacheBin*, rml::internal::ExtMemoryPool*, typename rml::internal::LargeObjectCacheImpl::BinBitMask*, int) [with Props = rml::internal::LargeObjectCacheProps<8192, 8388608, 8192, 2, 2, 16>; typename rml::internal::LargeObjectCacheImpl::CacheBin = rml::internal::LargeObjectCacheImpl >::CacheBin; typename rml::internal::LargeObjectCacheImpl::BinBitMask = rml::internal::BitMaskMax<1023>]': ../../src/test/../tbbmalloc/large_objects.cpp:418:28: required from 'void rml::internal::LargeObjectCacheImpl::CacheBin::ExecuteOperation(rml::internal::CacheBinOperation*, rml::internal::ExtMemoryPool*, rml::internal::LargeObjectCacheImpl::BinBitMask*, int, bool) [with Props = rml::internal::LargeObjectCacheProps<8192, 8388608, 8192, 2, 2, 16>; rml::internal::LargeObjectCacheImpl::BinBitMask = rml::internal::BitMaskMax<1023>]' ../../src/test/../tbbmalloc/large_objects.cpp:458:9: required from 'bool rml::internal::LargeObjectCacheImpl::CacheBin::cleanToThreshold(rml::internal::ExtMemoryPool*, rml::internal::LargeObjectCacheImpl::BinBitMask*, uintptr_t, int) [with Props = rml::internal::LargeObjectCacheProps<8192, 8388608, 8192, 2, 2, 16>; rml::internal::LargeObjectCacheImpl::BinBitMask = rml::internal::BitMaskMax<1023>; uintptr_t = long unsigned int]' ../../src/test/../tbbmalloc/large_objects.cpp:683:9: required from 'bool rml::internal::LargeObjectCacheImpl::regularCleanup(rml::internal::ExtMemoryPool*, uintptr_t, bool) [with Props = rml::internal::LargeObjectCacheProps<8192, 8388608, 8192, 2, 2, 16>; uintptr_t = long unsigned int]' ../../src/test/../tbbmalloc/large_objects.cpp:748:72: required from here ../../src/test/../tbbmalloc/large_objects.cpp:94:5: warning: declaration of 'idx' shadows a member of 'rml::internal::CacheBinFunctor >' [-Wshadow] CacheBinFunctor(typename LargeObjectCacheImpl::CacheBin *bin, ExtMemoryPool *extMemPool, ^~~~~~~~~~~~~~~ ../../src/test/../tbbmalloc/large_objects.cpp:36:15: note: shadowed declaration is here const int idx; ^~~ ../../src/test/../tbbmalloc/large_objects.cpp:94:5: warning: declaration of 'bitMask' shadows a member of 'rml::internal::CacheBinFunctor >' [-Wshadow] CacheBinFunctor(typename LargeObjectCacheImpl::CacheBin *bin, ExtMemoryPool *extMemPool, ^~~~~~~~~~~~~~~ ../../src/test/../tbbmalloc/large_objects.cpp:35:61: note: shadowed declaration is here typename LargeObjectCacheImpl::BinBitMask *const bitMask; ^~~~~~~ ../../src/test/../tbbmalloc/large_objects.cpp:94:5: warning: declaration of 'extMemPool' shadows a member of 'rml::internal::CacheBinFunctor >' [-Wshadow] CacheBinFunctor(typename LargeObjectCacheImpl::CacheBin *bin, ExtMemoryPool *extMemPool, ^~~~~~~~~~~~~~~ ../../src/test/../tbbmalloc/large_objects.cpp:34:26: note: shadowed declaration is here ExtMemoryPool *const extMemPool; ^~~~~~~~~~ ../../src/test/../tbbmalloc/large_objects.cpp:94:5: warning: declaration of 'bin' shadows a member of 'rml::internal::CacheBinFunctor >' [-Wshadow] CacheBinFunctor(typename LargeObjectCacheImpl::CacheBin *bin, ExtMemoryPool *extMemPool, ^~~~~~~~~~~~~~~ ../../src/test/../tbbmalloc/large_objects.cpp:33:59: note: shadowed declaration is here typename LargeObjectCacheImpl::CacheBin *const bin; ^~~ ../../src/test/../tbbmalloc/large_objects.cpp: In instantiation of 'rml::internal::CacheBinFunctor::CacheBinFunctor(typename rml::internal::LargeObjectCacheImpl::CacheBin*, rml::internal::ExtMemoryPool*, typename rml::internal::LargeObjectCacheImpl::BinBitMask*, int) [with Props = rml::internal::LargeObjectCacheProps<8388608, 135266304, 524288, 1, 1, 4>; typename rml::internal::LargeObjectCacheImpl::CacheBin = rml::internal::LargeObjectCacheImpl >::CacheBin; typename rml::internal::LargeObjectCacheImpl::BinBitMask = rml::internal::BitMaskMax<242>]': ../../src/test/../tbbmalloc/large_objects.cpp:418:28: required from 'void rml::internal::LargeObjectCacheImpl::CacheBin::ExecuteOperation(rml::internal::CacheBinOperation*, rml::internal::ExtMemoryPool*, rml::internal::LargeObjectCacheImpl::BinBitMask*, int, bool) [with Props = rml::internal::LargeObjectCacheProps<8388608, 135266304, 524288, 1, 1, 4>; rml::internal::LargeObjectCacheImpl::BinBitMask = rml::internal::BitMaskMax<242>]' ../../src/test/../tbbmalloc/large_objects.cpp:458:9: required from 'bool rml::internal::LargeObjectCacheImpl::CacheBin::cleanToThreshold(rml::internal::ExtMemoryPool*, rml::internal::LargeObjectCacheImpl::BinBitMask*, uintptr_t, int) [with Props = rml::internal::LargeObjectCacheProps<8388608, 135266304, 524288, 1, 1, 4>; rml::internal::LargeObjectCacheImpl::BinBitMask = rml::internal::BitMaskMax<242>; uintptr_t = long unsigned int]' ../../src/test/../tbbmalloc/large_objects.cpp:683:9: required from 'bool rml::internal::LargeObjectCacheImpl::regularCleanup(rml::internal::ExtMemoryPool*, uintptr_t, bool) [with Props = rml::internal::LargeObjectCacheProps<8388608, 135266304, 524288, 1, 1, 4>; uintptr_t = long unsigned int]' ../../src/test/../tbbmalloc/large_objects.cpp:749:70: required from here ../../src/test/../tbbmalloc/large_objects.cpp:94:5: warning: declaration of 'idx' shadows a member of 'rml::internal::CacheBinFunctor >' [-Wshadow] CacheBinFunctor(typename LargeObjectCacheImpl::CacheBin *bin, ExtMemoryPool *extMemPool, ^~~~~~~~~~~~~~~ ../../src/test/../tbbmalloc/large_objects.cpp:36:15: note: shadowed declaration is here const int idx; ^~~ ../../src/test/../tbbmalloc/large_objects.cpp:94:5: warning: declaration of 'bitMask' shadows a member of 'rml::internal::CacheBinFunctor >' [-Wshadow] CacheBinFunctor(typename LargeObjectCacheImpl::CacheBin *bin, ExtMemoryPool *extMemPool, ^~~~~~~~~~~~~~~ ../../src/test/../tbbmalloc/large_objects.cpp:35:61: note: shadowed declaration is here typename LargeObjectCacheImpl::BinBitMask *const bitMask; ^~~~~~~ ../../src/test/../tbbmalloc/large_objects.cpp:94:5: warning: declaration of 'extMemPool' shadows a member of 'rml::internal::CacheBinFunctor >' [-Wshadow] CacheBinFunctor(typename LargeObjectCacheImpl::CacheBin *bin, ExtMemoryPool *extMemPool, ^~~~~~~~~~~~~~~ ../../src/test/../tbbmalloc/large_objects.cpp:34:26: note: shadowed declaration is here ExtMemoryPool *const extMemPool; ^~~~~~~~~~ ../../src/test/../tbbmalloc/large_objects.cpp:94:5: warning: declaration of 'bin' shadows a member of 'rml::internal::CacheBinFunctor >' [-Wshadow] CacheBinFunctor(typename LargeObjectCacheImpl::CacheBin *bin, ExtMemoryPool *extMemPool, ^~~~~~~~~~~~~~~ ../../src/test/../tbbmalloc/large_objects.cpp:33:59: note: shadowed declaration is here typename LargeObjectCacheImpl::CacheBin *const bin; ^~~ ../../src/test/test_malloc_whitebox.cpp: In instantiation of 'void BackRefWork::operator()(int) const [with int ITERS = 4082]': ../../src/test/harness.h:602:9: required from 'static void* NativeParallelForTask::thread_function(void*) [with Index = int; Body = BackRefWork<4082>]' ../../src/test/harness.h:558:32: required from 'void NativeParallelForTask::start() [with Index = int; Body = BackRefWork<4082>]' ../../src/test/harness.h:629:13: required from 'void NativeParallelFor(Index, const Body&) [with Index = int; Body = BackRefWork<4082>]' ../../src/test/test_malloc_whitebox.cpp:317:61: required from here ../../src/test/test_malloc_whitebox.cpp:229:24: warning: comparison of integer expressions of different signedness: 'int' and 'size_t' {aka 'long unsigned int'} [-Wsign-compare] for (int i=0; i::operator()(int) const [with int ITERS = 0]': ../../src/test/harness.h:602:9: required from 'static void* NativeParallelForTask::thread_function(void*) [with Index = int; Body = BackRefWork<0>]' ../../src/test/harness.h:558:32: required from 'void NativeParallelForTask::start() [with Index = int; Body = BackRefWork<0>]' ../../src/test/harness.h:629:13: required from 'void NativeParallelFor(Index, const Body&) [with Index = int; Body = BackRefWork<0>]' ../../src/test/test_malloc_whitebox.cpp:347:56: required from here ../../src/test/test_malloc_whitebox.cpp:229:24: warning: comparison of integer expressions of different signedness: 'int' and 'size_t' {aka 'long unsigned int'} [-Wsign-compare] In file included from ../../src/test/test_malloc_whitebox.cpp:65: ../../src/test/../tbbmalloc/large_objects.cpp: In instantiation of 'rml::internal::CacheBinFunctor::OperationPreprocessor::OperationPreprocessor(typename rml::internal::LargeObjectCacheImpl::CacheBin*) [with Props = rml::internal::LargeObjectCacheProps<8192, 8388608, 8192, 2, 2, 16>; typename rml::internal::LargeObjectCacheImpl::CacheBin = rml::internal::LargeObjectCacheImpl >::CacheBin]': ../../src/test/../tbbmalloc/large_objects.cpp:340:27: required from 'void rml::internal::CacheBinFunctor::operator()(rml::internal::CacheBinOperation*) [with Props = rml::internal::LargeObjectCacheProps<8192, 8388608, 8192, 2, 2, 16>]' ../../include/tbb/internal/_aggregator_impl.h:140:26: required from 'void tbb::interface6::internal::aggregator_generic::start_handle_operations(handler_type&) [with handler_type = rml::internal::CacheBinFunctor >; operation_type = rml::internal::CacheBinOperation]' ../../include/tbb/internal/_aggregator_impl.h:92:13: required from 'void tbb::interface6::internal::aggregator_generic::execute(operation_type*, handler_type&, bool) [with handler_type = rml::internal::CacheBinFunctor >; operation_type = rml::internal::CacheBinOperation]' ../../src/test/../tbbmalloc/large_objects.cpp:419:5: required from 'void rml::internal::LargeObjectCacheImpl::CacheBin::ExecuteOperation(rml::internal::CacheBinOperation*, rml::internal::ExtMemoryPool*, rml::internal::LargeObjectCacheImpl::BinBitMask*, int, bool) [with Props = rml::internal::LargeObjectCacheProps<8192, 8388608, 8192, 2, 2, 16>; rml::internal::LargeObjectCacheImpl::BinBitMask = rml::internal::BitMaskMax<1023>]' ../../src/test/../tbbmalloc/large_objects.cpp:458:9: required from 'bool rml::internal::LargeObjectCacheImpl::CacheBin::cleanToThreshold(rml::internal::ExtMemoryPool*, rml::internal::LargeObjectCacheImpl::BinBitMask*, uintptr_t, int) [with Props = rml::internal::LargeObjectCacheProps<8192, 8388608, 8192, 2, 2, 16>; rml::internal::LargeObjectCacheImpl::BinBitMask = rml::internal::BitMaskMax<1023>; uintptr_t = long unsigned int]' ../../src/test/../tbbmalloc/large_objects.cpp:683:9: required from 'bool rml::internal::LargeObjectCacheImpl::regularCleanup(rml::internal::ExtMemoryPool*, uintptr_t, bool) [with Props = rml::internal::LargeObjectCacheProps<8192, 8388608, 8192, 2, 2, 16>; uintptr_t = long unsigned int]' ../../src/test/../tbbmalloc/large_objects.cpp:748:72: required from here ../../src/test/../tbbmalloc/large_objects.cpp:84:9: warning: declaration of 'bin' shadows a member of 'rml::internal::CacheBinFunctor >::OperationPreprocessor' [-Wshadow] OperationPreprocessor(typename LargeObjectCacheImpl::CacheBin *bin) : ^~~~~~~~~~~~~~~~~~~~~ ../../src/test/../tbbmalloc/large_objects.cpp:51:64: note: shadowed declaration is here typename LargeObjectCacheImpl::CacheBin *const bin; ^~~ ../../src/test/../tbbmalloc/large_objects.cpp: In instantiation of 'void rml::internal::CacheBinFunctor::OperationPreprocessor::operator()(rml::internal::CacheBinOperation*) [with Props = rml::internal::LargeObjectCacheProps<8192, 8388608, 8192, 2, 2, 16>]': ../../src/test/../tbbmalloc/large_objects.cpp:341:9: required from 'void rml::internal::CacheBinFunctor::operator()(rml::internal::CacheBinOperation*) [with Props = rml::internal::LargeObjectCacheProps<8192, 8388608, 8192, 2, 2, 16>]' ../../include/tbb/internal/_aggregator_impl.h:140:26: required from 'void tbb::interface6::internal::aggregator_generic::start_handle_operations(handler_type&) [with handler_type = rml::internal::CacheBinFunctor >; operation_type = rml::internal::CacheBinOperation]' ../../include/tbb/internal/_aggregator_impl.h:92:13: required from 'void tbb::interface6::internal::aggregator_generic::execute(operation_type*, handler_type&, bool) [with handler_type = rml::internal::CacheBinFunctor >; operation_type = rml::internal::CacheBinOperation]' ../../src/test/../tbbmalloc/large_objects.cpp:419:5: required from 'void rml::internal::LargeObjectCacheImpl::CacheBin::ExecuteOperation(rml::internal::CacheBinOperation*, rml::internal::ExtMemoryPool*, rml::internal::LargeObjectCacheImpl::BinBitMask*, int, bool) [with Props = rml::internal::LargeObjectCacheProps<8192, 8388608, 8192, 2, 2, 16>; rml::internal::LargeObjectCacheImpl::BinBitMask = rml::internal::BitMaskMax<1023>]' ../../src/test/../tbbmalloc/large_objects.cpp:458:9: required from 'bool rml::internal::LargeObjectCacheImpl::CacheBin::cleanToThreshold(rml::internal::ExtMemoryPool*, rml::internal::LargeObjectCacheImpl::BinBitMask*, uintptr_t, int) [with Props = rml::internal::LargeObjectCacheProps<8192, 8388608, 8192, 2, 2, 16>; rml::internal::LargeObjectCacheImpl::BinBitMask = rml::internal::BitMaskMax<1023>; uintptr_t = long unsigned int]' ../../src/test/../tbbmalloc/large_objects.cpp:683:9: required from 'bool rml::internal::LargeObjectCacheImpl::regularCleanup(rml::internal::ExtMemoryPool*, uintptr_t, bool) [with Props = rml::internal::LargeObjectCacheProps<8192, 8388608, 8192, 2, 2, 16>; uintptr_t = long unsigned int]' ../../src/test/../tbbmalloc/large_objects.cpp:748:72: required from here ../../src/test/../tbbmalloc/large_objects.cpp:276:35: warning: declaration of 'head' shadows a member of 'rml::internal::CacheBinFunctor >::OperationPreprocessor' [-Wshadow] LargeMemoryBlock *head = opCast(*op).head; ^~~~ ../../src/test/../tbbmalloc/large_objects.cpp:72:27: note: shadowed declaration is here LargeMemoryBlock *head, *tail; ^~~~ ../../src/test/../tbbmalloc/large_objects.cpp:297:35: warning: declaration of 'tail' shadows a member of 'rml::internal::CacheBinFunctor >::OperationPreprocessor' [-Wshadow] LargeMemoryBlock *tail = prev; ^~~~ ../../src/test/../tbbmalloc/large_objects.cpp:72:34: note: shadowed declaration is here LargeMemoryBlock *head, *tail; ^~~~ In file included from ../../src/test/test_malloc_whitebox.cpp:65: ../../src/test/../tbbmalloc/large_objects.cpp: In instantiation of 'void rml::internal::LargeObjectCacheImpl::CacheBin::forgetOutdatedState(uintptr_t) [with Props = rml::internal::LargeObjectCacheProps<8192, 8388608, 8192, 2, 2, 16>; uintptr_t = long unsigned int]': ../../src/test/../tbbmalloc/large_objects.cpp:367:25: required from 'void rml::internal::CacheBinFunctor::operator()(rml::internal::CacheBinOperation*) [with Props = rml::internal::LargeObjectCacheProps<8192, 8388608, 8192, 2, 2, 16>]' ../../include/tbb/internal/_aggregator_impl.h:140:26: required from 'void tbb::interface6::internal::aggregator_generic::start_handle_operations(handler_type&) [with handler_type = rml::internal::CacheBinFunctor >; operation_type = rml::internal::CacheBinOperation]' ../../include/tbb/internal/_aggregator_impl.h:92:13: required from 'void tbb::interface6::internal::aggregator_generic::execute(operation_type*, handler_type&, bool) [with handler_type = rml::internal::CacheBinFunctor >; operation_type = rml::internal::CacheBinOperation]' ../../src/test/../tbbmalloc/large_objects.cpp:419:5: required from 'void rml::internal::LargeObjectCacheImpl::CacheBin::ExecuteOperation(rml::internal::CacheBinOperation*, rml::internal::ExtMemoryPool*, rml::internal::LargeObjectCacheImpl::BinBitMask*, int, bool) [with Props = rml::internal::LargeObjectCacheProps<8192, 8388608, 8192, 2, 2, 16>; rml::internal::LargeObjectCacheImpl::BinBitMask = rml::internal::BitMaskMax<1023>]' ../../src/test/../tbbmalloc/large_objects.cpp:458:9: required from 'bool rml::internal::LargeObjectCacheImpl::CacheBin::cleanToThreshold(rml::internal::ExtMemoryPool*, rml::internal::LargeObjectCacheImpl::BinBitMask*, uintptr_t, int) [with Props = rml::internal::LargeObjectCacheProps<8192, 8388608, 8192, 2, 2, 16>; rml::internal::LargeObjectCacheImpl::BinBitMask = rml::internal::BitMaskMax<1023>; uintptr_t = long unsigned int]' ../../src/test/../tbbmalloc/large_objects.cpp:683:9: required from 'bool rml::internal::LargeObjectCacheImpl::regularCleanup(rml::internal::ExtMemoryPool*, uintptr_t, bool) [with Props = rml::internal::LargeObjectCacheProps<8192, 8388608, 8192, 2, 2, 16>; uintptr_t = long unsigned int]' ../../src/test/../tbbmalloc/large_objects.cpp:748:72: required from here ../../src/test/../tbbmalloc/large_objects.cpp:577:34: warning: comparison of integer expressions of different signedness: 'const uintptr_t' {aka 'const long unsigned int'} and 'intptr_t' {aka 'long int'} [-Wsign-compare] doCleanup = sinceLastGet > Props::LongWaitFactor*ageThreshold; ~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ In file included from ../../src/test/test_malloc_whitebox.cpp:65: ../../src/test/../tbbmalloc/large_objects.cpp: In instantiation of 'rml::internal::CacheBinFunctor::OperationPreprocessor::OperationPreprocessor(typename rml::internal::LargeObjectCacheImpl::CacheBin*) [with Props = rml::internal::LargeObjectCacheProps<8388608, 135266304, 524288, 1, 1, 4>; typename rml::internal::LargeObjectCacheImpl::CacheBin = rml::internal::LargeObjectCacheImpl >::CacheBin]': ../../src/test/../tbbmalloc/large_objects.cpp:340:27: required from 'void rml::internal::CacheBinFunctor::operator()(rml::internal::CacheBinOperation*) [with Props = rml::internal::LargeObjectCacheProps<8388608, 135266304, 524288, 1, 1, 4>]' ../../include/tbb/internal/_aggregator_impl.h:140:26: required from 'void tbb::interface6::internal::aggregator_generic::start_handle_operations(handler_type&) [with handler_type = rml::internal::CacheBinFunctor >; operation_type = rml::internal::CacheBinOperation]' ../../include/tbb/internal/_aggregator_impl.h:92:13: required from 'void tbb::interface6::internal::aggregator_generic::execute(operation_type*, handler_type&, bool) [with handler_type = rml::internal::CacheBinFunctor >; operation_type = rml::internal::CacheBinOperation]' ../../src/test/../tbbmalloc/large_objects.cpp:419:5: required from 'void rml::internal::LargeObjectCacheImpl::CacheBin::ExecuteOperation(rml::internal::CacheBinOperation*, rml::internal::ExtMemoryPool*, rml::internal::LargeObjectCacheImpl::BinBitMask*, int, bool) [with Props = rml::internal::LargeObjectCacheProps<8388608, 135266304, 524288, 1, 1, 4>; rml::internal::LargeObjectCacheImpl::BinBitMask = rml::internal::BitMaskMax<242>]' ../../src/test/../tbbmalloc/large_objects.cpp:458:9: required from 'bool rml::internal::LargeObjectCacheImpl::CacheBin::cleanToThreshold(rml::internal::ExtMemoryPool*, rml::internal::LargeObjectCacheImpl::BinBitMask*, uintptr_t, int) [with Props = rml::internal::LargeObjectCacheProps<8388608, 135266304, 524288, 1, 1, 4>; rml::internal::LargeObjectCacheImpl::BinBitMask = rml::internal::BitMaskMax<242>; uintptr_t = long unsigned int]' ../../src/test/../tbbmalloc/large_objects.cpp:683:9: required from 'bool rml::internal::LargeObjectCacheImpl::regularCleanup(rml::internal::ExtMemoryPool*, uintptr_t, bool) [with Props = rml::internal::LargeObjectCacheProps<8388608, 135266304, 524288, 1, 1, 4>; uintptr_t = long unsigned int]' ../../src/test/../tbbmalloc/large_objects.cpp:749:70: required from here ../../src/test/../tbbmalloc/large_objects.cpp:84:9: warning: declaration of 'bin' shadows a member of 'rml::internal::CacheBinFunctor >::OperationPreprocessor' [-Wshadow] OperationPreprocessor(typename LargeObjectCacheImpl::CacheBin *bin) : ^~~~~~~~~~~~~~~~~~~~~ ../../src/test/../tbbmalloc/large_objects.cpp:51:64: note: shadowed declaration is here typename LargeObjectCacheImpl::CacheBin *const bin; ^~~ ../../src/test/../tbbmalloc/large_objects.cpp: In instantiation of 'void rml::internal::CacheBinFunctor::OperationPreprocessor::operator()(rml::internal::CacheBinOperation*) [with Props = rml::internal::LargeObjectCacheProps<8388608, 135266304, 524288, 1, 1, 4>]': ../../src/test/../tbbmalloc/large_objects.cpp:341:9: required from 'void rml::internal::CacheBinFunctor::operator()(rml::internal::CacheBinOperation*) [with Props = rml::internal::LargeObjectCacheProps<8388608, 135266304, 524288, 1, 1, 4>]' ../../include/tbb/internal/_aggregator_impl.h:140:26: required from 'void tbb::interface6::internal::aggregator_generic::start_handle_operations(handler_type&) [with handler_type = rml::internal::CacheBinFunctor >; operation_type = rml::internal::CacheBinOperation]' ../../include/tbb/internal/_aggregator_impl.h:92:13: required from 'void tbb::interface6::internal::aggregator_generic::execute(operation_type*, handler_type&, bool) [with handler_type = rml::internal::CacheBinFunctor >; operation_type = rml::internal::CacheBinOperation]' ../../src/test/../tbbmalloc/large_objects.cpp:419:5: required from 'void rml::internal::LargeObjectCacheImpl::CacheBin::ExecuteOperation(rml::internal::CacheBinOperation*, rml::internal::ExtMemoryPool*, rml::internal::LargeObjectCacheImpl::BinBitMask*, int, bool) [with Props = rml::internal::LargeObjectCacheProps<8388608, 135266304, 524288, 1, 1, 4>; rml::internal::LargeObjectCacheImpl::BinBitMask = rml::internal::BitMaskMax<242>]' ../../src/test/../tbbmalloc/large_objects.cpp:458:9: required from 'bool rml::internal::LargeObjectCacheImpl::CacheBin::cleanToThreshold(rml::internal::ExtMemoryPool*, rml::internal::LargeObjectCacheImpl::BinBitMask*, uintptr_t, int) [with Props = rml::internal::LargeObjectCacheProps<8388608, 135266304, 524288, 1, 1, 4>; rml::internal::LargeObjectCacheImpl::BinBitMask = rml::internal::BitMaskMax<242>; uintptr_t = long unsigned int]' ../../src/test/../tbbmalloc/large_objects.cpp:683:9: required from 'bool rml::internal::LargeObjectCacheImpl::regularCleanup(rml::internal::ExtMemoryPool*, uintptr_t, bool) [with Props = rml::internal::LargeObjectCacheProps<8388608, 135266304, 524288, 1, 1, 4>; uintptr_t = long unsigned int]' ../../src/test/../tbbmalloc/large_objects.cpp:749:70: required from here ../../src/test/../tbbmalloc/large_objects.cpp:276:35: warning: declaration of 'head' shadows a member of 'rml::internal::CacheBinFunctor >::OperationPreprocessor' [-Wshadow] LargeMemoryBlock *head = opCast(*op).head; ^~~~ ../../src/test/../tbbmalloc/large_objects.cpp:72:27: note: shadowed declaration is here LargeMemoryBlock *head, *tail; ^~~~ ../../src/test/../tbbmalloc/large_objects.cpp:297:35: warning: declaration of 'tail' shadows a member of 'rml::internal::CacheBinFunctor >::OperationPreprocessor' [-Wshadow] LargeMemoryBlock *tail = prev; ^~~~ ../../src/test/../tbbmalloc/large_objects.cpp:72:34: note: shadowed declaration is here LargeMemoryBlock *head, *tail; ^~~~ In file included from ../../src/test/test_malloc_whitebox.cpp:65: ../../src/test/../tbbmalloc/large_objects.cpp: In instantiation of 'void rml::internal::LargeObjectCacheImpl::CacheBin::forgetOutdatedState(uintptr_t) [with Props = rml::internal::LargeObjectCacheProps<8388608, 135266304, 524288, 1, 1, 4>; uintptr_t = long unsigned int]': ../../src/test/../tbbmalloc/large_objects.cpp:367:25: required from 'void rml::internal::CacheBinFunctor::operator()(rml::internal::CacheBinOperation*) [with Props = rml::internal::LargeObjectCacheProps<8388608, 135266304, 524288, 1, 1, 4>]' ../../include/tbb/internal/_aggregator_impl.h:140:26: required from 'void tbb::interface6::internal::aggregator_generic::start_handle_operations(handler_type&) [with handler_type = rml::internal::CacheBinFunctor >; operation_type = rml::internal::CacheBinOperation]' ../../include/tbb/internal/_aggregator_impl.h:92:13: required from 'void tbb::interface6::internal::aggregator_generic::execute(operation_type*, handler_type&, bool) [with handler_type = rml::internal::CacheBinFunctor >; operation_type = rml::internal::CacheBinOperation]' ../../src/test/../tbbmalloc/large_objects.cpp:419:5: required from 'void rml::internal::LargeObjectCacheImpl::CacheBin::ExecuteOperation(rml::internal::CacheBinOperation*, rml::internal::ExtMemoryPool*, rml::internal::LargeObjectCacheImpl::BinBitMask*, int, bool) [with Props = rml::internal::LargeObjectCacheProps<8388608, 135266304, 524288, 1, 1, 4>; rml::internal::LargeObjectCacheImpl::BinBitMask = rml::internal::BitMaskMax<242>]' ../../src/test/../tbbmalloc/large_objects.cpp:458:9: required from 'bool rml::internal::LargeObjectCacheImpl::CacheBin::cleanToThreshold(rml::internal::ExtMemoryPool*, rml::internal::LargeObjectCacheImpl::BinBitMask*, uintptr_t, int) [with Props = rml::internal::LargeObjectCacheProps<8388608, 135266304, 524288, 1, 1, 4>; rml::internal::LargeObjectCacheImpl::BinBitMask = rml::internal::BitMaskMax<242>; uintptr_t = long unsigned int]' ../../src/test/../tbbmalloc/large_objects.cpp:683:9: required from 'bool rml::internal::LargeObjectCacheImpl::regularCleanup(rml::internal::ExtMemoryPool*, uintptr_t, bool) [with Props = rml::internal::LargeObjectCacheProps<8388608, 135266304, 524288, 1, 1, 4>; uintptr_t = long unsigned int]' ../../src/test/../tbbmalloc/large_objects.cpp:749:70: required from here ../../src/test/../tbbmalloc/large_objects.cpp:577:34: warning: comparison of integer expressions of different signedness: 'const uintptr_t' {aka 'const long unsigned int'} and 'intptr_t' {aka 'long int'} [-Wsign-compare] doCleanup = sinceLastGet > Props::LongWaitFactor*ageThreshold; ~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ In file included from ../../src/test/test_malloc_whitebox.cpp:65: ../../src/test/../tbbmalloc/large_objects.cpp: In instantiation of 'bool rml::internal::CacheBinFunctor::OperationPreprocessor::getFromPutList(rml::internal::CacheBinOperation*, uintptr_t) [with Props = rml::internal::LargeObjectCacheProps<8192, 8388608, 8192, 2, 2, 16>; uintptr_t = long unsigned int]': ../../src/test/../tbbmalloc/large_objects.cpp:267:23: required from 'void rml::internal::CacheBinFunctor::OperationPreprocessor::operator()(rml::internal::CacheBinOperation*) [with Props = rml::internal::LargeObjectCacheProps<8192, 8388608, 8192, 2, 2, 16>]' ../../src/test/../tbbmalloc/large_objects.cpp:341:9: required from 'void rml::internal::CacheBinFunctor::operator()(rml::internal::CacheBinOperation*) [with Props = rml::internal::LargeObjectCacheProps<8192, 8388608, 8192, 2, 2, 16>]' ../../include/tbb/internal/_aggregator_impl.h:140:26: required from 'void tbb::interface6::internal::aggregator_generic::start_handle_operations(handler_type&) [with handler_type = rml::internal::CacheBinFunctor >; operation_type = rml::internal::CacheBinOperation]' ../../include/tbb/internal/_aggregator_impl.h:92:13: required from 'void tbb::interface6::internal::aggregator_generic::execute(operation_type*, handler_type&, bool) [with handler_type = rml::internal::CacheBinFunctor >; operation_type = rml::internal::CacheBinOperation]' ../../src/test/../tbbmalloc/large_objects.cpp:419:5: required from 'void rml::internal::LargeObjectCacheImpl::CacheBin::ExecuteOperation(rml::internal::CacheBinOperation*, rml::internal::ExtMemoryPool*, rml::internal::LargeObjectCacheImpl::BinBitMask*, int, bool) [with Props = rml::internal::LargeObjectCacheProps<8192, 8388608, 8192, 2, 2, 16>; rml::internal::LargeObjectCacheImpl::BinBitMask = rml::internal::BitMaskMax<1023>]' ../../src/test/../tbbmalloc/large_objects.cpp:458:9: required from 'bool rml::internal::LargeObjectCacheImpl::CacheBin::cleanToThreshold(rml::internal::ExtMemoryPool*, rml::internal::LargeObjectCacheImpl::BinBitMask*, uintptr_t, int) [with Props = rml::internal::LargeObjectCacheProps<8192, 8388608, 8192, 2, 2, 16>; rml::internal::LargeObjectCacheImpl::BinBitMask = rml::internal::BitMaskMax<1023>; uintptr_t = long unsigned int]' ../../src/test/../tbbmalloc/large_objects.cpp:683:9: required from 'bool rml::internal::LargeObjectCacheImpl::regularCleanup(rml::internal::ExtMemoryPool*, uintptr_t, bool) [with Props = rml::internal::LargeObjectCacheProps<8192, 8388608, 8192, 2, 2, 16>; uintptr_t = long unsigned int]' ../../src/test/../tbbmalloc/large_objects.cpp:748:72: required from here ../../src/test/../tbbmalloc/large_objects.cpp:218:31: warning: declaration of 'opGet' shadows a member of 'rml::internal::CacheBinFunctor >::OperationPreprocessor' [-Wshadow] template bool CacheBinFunctor:: ^~~~~~~~~~~~~~~~~~~~~~ ../../src/test/../tbbmalloc/large_objects.cpp:60:28: note: shadowed declaration is here CacheBinOperation *opGet, *opClean; ^~~~~ ../../src/test/../tbbmalloc/large_objects.cpp: In instantiation of 'bool rml::internal::CacheBinFunctor::OperationPreprocessor::getFromPutList(rml::internal::CacheBinOperation*, uintptr_t) [with Props = rml::internal::LargeObjectCacheProps<8388608, 135266304, 524288, 1, 1, 4>; uintptr_t = long unsigned int]': ../../src/test/../tbbmalloc/large_objects.cpp:267:23: required from 'void rml::internal::CacheBinFunctor::OperationPreprocessor::operator()(rml::internal::CacheBinOperation*) [with Props = rml::internal::LargeObjectCacheProps<8388608, 135266304, 524288, 1, 1, 4>]' ../../src/test/../tbbmalloc/large_objects.cpp:341:9: required from 'void rml::internal::CacheBinFunctor::operator()(rml::internal::CacheBinOperation*) [with Props = rml::internal::LargeObjectCacheProps<8388608, 135266304, 524288, 1, 1, 4>]' ../../include/tbb/internal/_aggregator_impl.h:140:26: required from 'void tbb::interface6::internal::aggregator_generic::start_handle_operations(handler_type&) [with handler_type = rml::internal::CacheBinFunctor >; operation_type = rml::internal::CacheBinOperation]' ../../include/tbb/internal/_aggregator_impl.h:92:13: required from 'void tbb::interface6::internal::aggregator_generic::execute(operation_type*, handler_type&, bool) [with handler_type = rml::internal::CacheBinFunctor >; operation_type = rml::internal::CacheBinOperation]' ../../src/test/../tbbmalloc/large_objects.cpp:419:5: required from 'void rml::internal::LargeObjectCacheImpl::CacheBin::ExecuteOperation(rml::internal::CacheBinOperation*, rml::internal::ExtMemoryPool*, rml::internal::LargeObjectCacheImpl::BinBitMask*, int, bool) [with Props = rml::internal::LargeObjectCacheProps<8388608, 135266304, 524288, 1, 1, 4>; rml::internal::LargeObjectCacheImpl::BinBitMask = rml::internal::BitMaskMax<242>]' ../../src/test/../tbbmalloc/large_objects.cpp:458:9: required from 'bool rml::internal::LargeObjectCacheImpl::CacheBin::cleanToThreshold(rml::internal::ExtMemoryPool*, rml::internal::LargeObjectCacheImpl::BinBitMask*, uintptr_t, int) [with Props = rml::internal::LargeObjectCacheProps<8388608, 135266304, 524288, 1, 1, 4>; rml::internal::LargeObjectCacheImpl::BinBitMask = rml::internal::BitMaskMax<242>; uintptr_t = long unsigned int]' ../../src/test/../tbbmalloc/large_objects.cpp:683:9: required from 'bool rml::internal::LargeObjectCacheImpl::regularCleanup(rml::internal::ExtMemoryPool*, uintptr_t, bool) [with Props = rml::internal::LargeObjectCacheProps<8388608, 135266304, 524288, 1, 1, 4>; uintptr_t = long unsigned int]' ../../src/test/../tbbmalloc/large_objects.cpp:749:70: required from here ../../src/test/../tbbmalloc/large_objects.cpp:218:31: warning: declaration of 'opGet' shadows a member of 'rml::internal::CacheBinFunctor >::OperationPreprocessor' [-Wshadow] template bool CacheBinFunctor:: ^~~~~~~~~~~~~~~~~~~~~~ ../../src/test/../tbbmalloc/large_objects.cpp:60:28: note: shadowed declaration is here CacheBinOperation *opGet, *opClean; ^~~~~ In file included from ../../src/test/test_malloc_whitebox.cpp:65: ../../src/test/../tbbmalloc/large_objects.cpp: In member function 'void rml::internal::CacheBinFunctor::operator()(rml::internal::CacheBinOperation*) [with Props = rml::internal::LargeObjectCacheProps<8192, 8388608, 8192, 2, 2, 16>]': ../../src/test/../tbbmalloc/large_objects.cpp:521:9: warning: 'prep.rml::internal::CacheBinFunctor >::OperationPreprocessor::putListNum' may be used uninitialized in this function [-Wmaybe-uninitialized] num--; ^~~ In file included from ../../src/test/test_malloc_whitebox.cpp:65: ../../src/test/../tbbmalloc/large_objects.cpp:340:27: note: 'prep.rml::internal::CacheBinFunctor >::OperationPreprocessor::putListNum' was declared here OperationPreprocessor prep(bin); ^~~~ In file included from ../../src/test/test_malloc_whitebox.cpp:65: ../../src/test/../tbbmalloc/large_objects.cpp:514:32: warning: 'prep.rml::internal::CacheBinFunctor >::OperationPreprocessor::tail' may be used uninitialized in this function [-Wmaybe-uninitialized] lastCleanedAge = tail->age; ~~~~~~^~~ In file included from ../../src/test/test_malloc_whitebox.cpp:65: ../../src/test/../tbbmalloc/large_objects.cpp:340:27: note: 'prep.rml::internal::CacheBinFunctor >::OperationPreprocessor::tail' was declared here OperationPreprocessor prep(bin); ^~~~ In file included from ../../src/test/test_malloc_whitebox.cpp:65: ../../src/test/../tbbmalloc/large_objects.cpp: In member function 'void rml::internal::CacheBinFunctor::operator()(rml::internal::CacheBinOperation*) [with Props = rml::internal::LargeObjectCacheProps<8388608, 135266304, 524288, 1, 1, 4>]': ../../src/test/../tbbmalloc/large_objects.cpp:521:9: warning: 'prep.rml::internal::CacheBinFunctor >::OperationPreprocessor::putListNum' may be used uninitialized in this function [-Wmaybe-uninitialized] num--; ^~~ In file included from ../../src/test/test_malloc_whitebox.cpp:65: ../../src/test/../tbbmalloc/large_objects.cpp:340:27: note: 'prep.rml::internal::CacheBinFunctor >::OperationPreprocessor::putListNum' was declared here OperationPreprocessor prep(bin); ^~~~ In file included from ../../src/test/test_malloc_whitebox.cpp:65: ../../src/test/../tbbmalloc/large_objects.cpp:514:32: warning: 'prep.rml::internal::CacheBinFunctor >::OperationPreprocessor::tail' may be used uninitialized in this function [-Wmaybe-uninitialized] lastCleanedAge = tail->age; ~~~~~~^~~ In file included from ../../src/test/test_malloc_whitebox.cpp:65: ../../src/test/../tbbmalloc/large_objects.cpp:340:27: note: 'prep.rml::internal::CacheBinFunctor >::OperationPreprocessor::tail' was declared here OperationPreprocessor prep(bin); ^~~~ g++ -o test_malloc_whitebox.exe -O2 -g -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -fexceptions -fstack-protector-strong -grecord-gcc-switches -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -mcpu=power8 -mtune=power8 -funwind-tables -fstack-clash-protection -fno-strict-aliasing -D__TBBMALLOC_BUILD=1 -Wshadow -Wcast-qual -Woverloaded-virtual -Wnon-virtual-dtor -Wextra test_malloc_whitebox.o -lpthread -lrt -Wl,-rpath-link=. -rdynamic -ldl g++ -c -MMD -o test_malloc_used_by_lib_dll.o -O2 -g -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -fexceptions -fstack-protector-strong -grecord-gcc-switches -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -mcpu=power8 -mtune=power8 -funwind-tables -fstack-clash-protection -fno-strict-aliasing -D__TBBMALLOC_BUILD=1 -Wshadow -Wcast-qual -Woverloaded-virtual -Wnon-virtual-dtor -Wextra -fPIC -D_USRDLL -I../../src -I../../src/rml/include -I../../include -I../../src/tbbmalloc -I../../src/tbbmalloc -include ../../src/test/harness_preload.h ../../src/test/test_malloc_used_by_lib.cpp g++ -o test_malloc_used_by_lib_dll.so -O2 -g -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -fexceptions -fstack-protector-strong -grecord-gcc-switches -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -mcpu=power8 -mtune=power8 -funwind-tables -fstack-clash-protection -fno-strict-aliasing -D__TBBMALLOC_BUILD=1 -Wshadow -Wcast-qual -Woverloaded-virtual -Wnon-virtual-dtor -Wextra test_malloc_used_by_lib_dll.o libtbbmalloc_debug.so -lpthread -lrt -Wl,-rpath-link=. -rdynamic -fPIC -shared g++ -o test_malloc_used_by_lib.o -c -MMD -O2 -g -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -fexceptions -fstack-protector-strong -grecord-gcc-switches -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -mcpu=power8 -mtune=power8 -funwind-tables -fstack-clash-protection -fno-strict-aliasing -D__TBBMALLOC_BUILD=1 -Wshadow -Wcast-qual -Woverloaded-virtual -Wnon-virtual-dtor -Wextra -std=c++14 -I../../src -I../../src/rml/include -I../../include -I../../src/tbbmalloc -I../../src/tbbmalloc -include ../../src/test/harness_preload.h ../../src/test/test_malloc_used_by_lib.cpp In file included from ../../include/tbb/tbb_machine.h:243, from ../../include/tbb/atomic.h:32, from ../../src/test/harness_barrier.h:21, from ../../src/test/test_malloc_used_by_lib.cpp:81: ../../include/tbb/machine/mac_ppc.h: In function 'int32_t __TBB_machine_cmpswp4(volatile void*, int32_t, int32_t)': ../../include/tbb/machine/mac_ppc.h:91:46: warning: cast from type 'volatile void*' to type 'int32_t*' {aka 'int*'} casts away qualifiers [-Wcast-qual] , "+m"(* (int32_t*) ptr) /* redundant with "memory" */ ^~~ ../../include/tbb/machine/mac_ppc.h: In function 'int64_t __TBB_machine_cmpswp8(volatile void*, int64_t, int64_t)': ../../include/tbb/machine/mac_ppc.h:116:46: warning: cast from type 'volatile void*' to type 'int64_t*' {aka 'long int*'} casts away qualifiers [-Wcast-qual] , "+m"(* (int64_t*) ptr) /* redundant with "memory" */ ^~~ g++ -o test_malloc_used_by_lib.exe -O2 -g -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -fexceptions -fstack-protector-strong -grecord-gcc-switches -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -mcpu=power8 -mtune=power8 -funwind-tables -fstack-clash-protection -fno-strict-aliasing -D__TBBMALLOC_BUILD=1 -Wshadow -Wcast-qual -Woverloaded-virtual -Wnon-virtual-dtor -Wextra test_malloc_used_by_lib.o test_malloc_used_by_lib_dll.so -lpthread -lrt -Wl,-rpath-link=. -rdynamic -ldl g++ -c -MMD -o test_malloc_lib_unload_dll.o -O2 -g -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -fexceptions -fstack-protector-strong -grecord-gcc-switches -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -mcpu=power8 -mtune=power8 -funwind-tables -fstack-clash-protection -DTBB_USE_DEBUG -g -O0 -DUSE_PTHREAD -Wall -O2 -g -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -fexceptions -fstack-protector-strong -grecord-gcc-switches -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -mcpu=power8 -mtune=power8 -funwind-tables -fstack-clash-protection -fPIC -D_USRDLL -I../../src -I../../src/rml/include -I../../include -include ../../src/test/harness_preload.h ../../src/test/test_malloc_lib_unload.cpp g++ -o test_malloc_lib_unload_dll.so -O2 -g -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -fexceptions -fstack-protector-strong -grecord-gcc-switches -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -mcpu=power8 -mtune=power8 -funwind-tables -fstack-clash-protection -DTBB_USE_DEBUG -g -O0 -DUSE_PTHREAD -Wall -O2 -g -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -fexceptions -fstack-protector-strong -grecord-gcc-switches -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -mcpu=power8 -mtune=power8 -funwind-tables -fstack-clash-protection test_malloc_lib_unload_dll.o -lpthread -lrt -Wl,-rpath-link=. -rdynamic -ldl -fPIC -shared g++ -o test_malloc_lib_unload.o -c -MMD -O2 -g -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -fexceptions -fstack-protector-strong -grecord-gcc-switches -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -mcpu=power8 -mtune=power8 -funwind-tables -fstack-clash-protection -fno-strict-aliasing -D__TBBMALLOC_BUILD=1 -Wshadow -Wcast-qual -Woverloaded-virtual -Wnon-virtual-dtor -Wextra -std=c++14 -I../../src -I../../src/rml/include -I../../include -I../../src/tbbmalloc -I../../src/tbbmalloc -include ../../src/test/harness_preload.h ../../src/test/test_malloc_lib_unload.cpp ../../src/test/test_malloc_lib_unload.cpp: In function 'int TestMain()': ../../src/test/test_malloc_lib_unload.cpp:200:21: warning: declaration of 'memory_in_use' shadows a previous local [-Wshadow] std::size_t memory_in_use = GetMemoryUsage(); ^~~~~~~~~~~~~ ../../src/test/test_malloc_lib_unload.cpp:194:17: note: shadowed declaration is here std::size_t memory_in_use = GetMemoryUsage(); ^~~~~~~~~~~~~ g++ -o test_malloc_lib_unload.exe -O2 -g -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -fexceptions -fstack-protector-strong -grecord-gcc-switches -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -mcpu=power8 -mtune=power8 -funwind-tables -fstack-clash-protection -fno-strict-aliasing -D__TBBMALLOC_BUILD=1 -Wshadow -Wcast-qual -Woverloaded-virtual -Wnon-virtual-dtor -Wextra test_malloc_lib_unload.o test_malloc_lib_unload_dll.so -lpthread -lrt -Wl,-rpath-link=. -rdynamic -ldl g++ -o test_malloc_overload.o -c -MMD -O2 -g -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -fexceptions -fstack-protector-strong -grecord-gcc-switches -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -mcpu=power8 -mtune=power8 -funwind-tables -fstack-clash-protection -fno-strict-aliasing -D__TBBMALLOC_BUILD=1 -Wshadow -Wcast-qual -Woverloaded-virtual -Wnon-virtual-dtor -Wextra -Wshadow -Wcast-qual -Woverloaded-virtual -Wnon-virtual-dtor -Wextra -std=c++14 -I../../src -I../../src/rml/include -I../../include -I../../src/tbbmalloc -I../../src/tbbmalloc -include ../../src/test/harness_preload.h -include ../../src/test/harness_preload.h ../../src/test/test_malloc_overload.cpp ../../src/test/test_malloc_overload.cpp: In function 'int TestMain()': ../../src/test/test_malloc_overload.cpp:335:17: warning: unused variable 'ptr1' [-Wunused-variable] void *ptr, *ptr1; ^~~~ g++ -o test_malloc_overload.exe -O2 -g -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -fexceptions -fstack-protector-strong -grecord-gcc-switches -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -mcpu=power8 -mtune=power8 -funwind-tables -fstack-clash-protection -fno-strict-aliasing -D__TBBMALLOC_BUILD=1 -Wshadow -Wcast-qual -Woverloaded-virtual -Wnon-virtual-dtor -Wextra -Wshadow -Wcast-qual -Woverloaded-virtual -Wnon-virtual-dtor -Wextra test_malloc_overload.o -lpthread -lrt -Wl,-rpath-link=. -rdynamic -ldl g++ -o test_malloc_overload_proxy.o -c -MMD -O2 -g -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -fexceptions -fstack-protector-strong -grecord-gcc-switches -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -mcpu=power8 -mtune=power8 -funwind-tables -fstack-clash-protection -fno-strict-aliasing -D__TBBMALLOC_BUILD=1 -Wshadow -Wcast-qual -Woverloaded-virtual -Wnon-virtual-dtor -Wextra -Wshadow -Wcast-qual -Woverloaded-virtual -Wnon-virtual-dtor -Wextra -std=c++14 -I../../src -I../../src/rml/include -I../../include -I../../src/tbbmalloc -I../../src/tbbmalloc -include ../../src/test/harness_preload.h -include ../../src/test/harness_preload.h ../../src/test/test_malloc_overload.cpp ../../src/test/test_malloc_overload.cpp: In function 'int TestMain()': ../../src/test/test_malloc_overload.cpp:335:17: warning: unused variable 'ptr1' [-Wunused-variable] void *ptr, *ptr1; ^~~~ g++ -o test_malloc_overload_proxy.exe -O2 -g -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -fexceptions -fstack-protector-strong -grecord-gcc-switches -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -mcpu=power8 -mtune=power8 -funwind-tables -fstack-clash-protection -fno-strict-aliasing -D__TBBMALLOC_BUILD=1 -Wshadow -Wcast-qual -Woverloaded-virtual -Wnon-virtual-dtor -Wextra -Wshadow -Wcast-qual -Woverloaded-virtual -Wnon-virtual-dtor -Wextra test_malloc_overload_proxy.o libtbbmalloc_proxy_debug.so -lpthread -lrt -Wl,-rpath-link=. -rdynamic -ldl g++ -c -MMD -o test_malloc_atexit_dll.o -O2 -g -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -fexceptions -fstack-protector-strong -grecord-gcc-switches -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -mcpu=power8 -mtune=power8 -funwind-tables -fstack-clash-protection -fno-strict-aliasing -D__TBBMALLOC_BUILD=1 -Wshadow -Wcast-qual -Woverloaded-virtual -Wnon-virtual-dtor -Wextra -fPIC -D_USRDLL -I../../src -I../../src/rml/include -I../../include -include ../../src/test/harness_preload.h ../../src/test/test_malloc_atexit.cpp In file included from ../../src/test/test_malloc_atexit.cpp:55: ../../src/test/harness.h:313:13: warning: 'void ParseCommandLine(int, char**)' defined but not used [-Wunused-function] static void ParseCommandLine( int argc, char* argv[] ) { ^~~~~~~~~~~~~~~~ g++ -o test_malloc_atexit_dll.so -O2 -g -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -fexceptions -fstack-protector-strong -grecord-gcc-switches -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -mcpu=power8 -mtune=power8 -funwind-tables -fstack-clash-protection -fno-strict-aliasing -D__TBBMALLOC_BUILD=1 -Wshadow -Wcast-qual -Woverloaded-virtual -Wnon-virtual-dtor -Wextra test_malloc_atexit_dll.o libtbbmalloc_debug.so libtbbmalloc_proxy_debug.so -lpthread -lrt -Wl,-rpath-link=. -rdynamic -ldl -fPIC -shared g++ -o test_malloc_atexit.o -c -MMD -O2 -g -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -fexceptions -fstack-protector-strong -grecord-gcc-switches -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -mcpu=power8 -mtune=power8 -funwind-tables -fstack-clash-protection -fno-strict-aliasing -D__TBBMALLOC_BUILD=1 -Wshadow -Wcast-qual -Woverloaded-virtual -Wnon-virtual-dtor -Wextra -std=c++14 -I../../src -I../../src/rml/include -I../../include -include ../../src/test/harness_preload.h ../../src/test/test_malloc_atexit.cpp g++ -o test_malloc_atexit.exe -O2 -g -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -fexceptions -fstack-protector-strong -grecord-gcc-switches -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -mcpu=power8 -mtune=power8 -funwind-tables -fstack-clash-protection -fno-strict-aliasing -D__TBBMALLOC_BUILD=1 -Wshadow -Wcast-qual -Woverloaded-virtual -Wnon-virtual-dtor -Wextra test_malloc_atexit.o libtbbmalloc_debug.so -Wl,--no-as-needed libtbbmalloc_proxy_debug.so test_malloc_atexit_dll.so -lpthread -lrt -Wl,-rpath-link=. -rdynamic -ldl ./test_malloc_pools.exe 1:4 done ./test_malloc_atexit.exe done sh ../../build/test_launcher.sh -l libtbbmalloc_proxy_debug.so.2 ./test_malloc_overload.exe done sh ../../build/test_launcher.sh ./test_malloc_overload_proxy.exe done sh ../../build/test_launcher.sh ./test_malloc_lib_unload.exe ../../build/test_launcher.sh: line 88: 3965 Segmentation fault $run_prefix $* ./test_malloc_lib_unload.exe: exited with error 139 make[1]: Leaving directory '/builddir/build/BUILD/tbb-2018_U2/build/obj_debug' make[1]: *** [../../build/Makefile.tbbmalloc:222: malloc_test_no_depends] Error 139 make[1]: Target 'malloc_test' not remade because of errors. make: [Makefile:44: test] Error 2 (ignored) make -C "./build/obj_debug" -r -f ../../build/Makefile.test cfg=debug make[1]: Entering directory '/builddir/build/BUILD/tbb-2018_U2/build/obj_debug' g++ -o test_assembly.o -c -MMD -O2 -g -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -fexceptions -fstack-protector-strong -grecord-gcc-switches -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -mcpu=power8 -mtune=power8 -funwind-tables -fstack-clash-protection -DTBB_USE_DEBUG -g -O0 -DUSE_PTHREAD -DTEST_USES_TBB=1 -Wall -Wshadow -Wcast-qual -Woverloaded-virtual -Wnon-virtual-dtor -Wextra -O2 -g -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -fexceptions -fstack-protector-strong -grecord-gcc-switches -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -mcpu=power8 -mtune=power8 -funwind-tables -fstack-clash-protection -std=c++14 -I../../src -I../../src/rml/include -I../../include -I. -include ../../src/test/harness_preload.h ../../src/test/test_assembly.cpp In file included from ../../include/tbb/tbb_machine.h:243, from ../../include/tbb/task.h:25, from ../../src/test/test_assembly.cpp:34: ../../include/tbb/machine/mac_ppc.h: In function 'int32_t __TBB_machine_cmpswp4(volatile void*, int32_t, int32_t)': ../../include/tbb/machine/mac_ppc.h:91:46: warning: cast from type 'volatile void*' to type 'int32_t*' {aka 'int*'} casts away qualifiers [-Wcast-qual] , "+m"(* (int32_t*) ptr) /* redundant with "memory" */ ^~~ ../../include/tbb/machine/mac_ppc.h: In function 'int64_t __TBB_machine_cmpswp8(volatile void*, int64_t, int64_t)': ../../include/tbb/machine/mac_ppc.h:116:46: warning: cast from type 'volatile void*' to type 'int64_t*' {aka 'long int*'} casts away qualifiers [-Wcast-qual] , "+m"(* (int64_t*) ptr) /* redundant with "memory" */ ^~~ g++ -o test_assembly.exe -O2 -g -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -fexceptions -fstack-protector-strong -grecord-gcc-switches -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -mcpu=power8 -mtune=power8 -funwind-tables -fstack-clash-protection -DTBB_USE_DEBUG -g -O0 -DUSE_PTHREAD -DTEST_USES_TBB=1 -Wall -Wshadow -Wcast-qual -Woverloaded-virtual -Wnon-virtual-dtor -Wextra -O2 -g -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -fexceptions -fstack-protector-strong -grecord-gcc-switches -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -mcpu=power8 -mtune=power8 -funwind-tables -fstack-clash-protection test_assembly.o libtbb_debug.so -lpthread -lrt -Wl,-rpath-link=. -rdynamic g++ -o test_global_control.o -c -MMD -O2 -g -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -fexceptions -fstack-protector-strong -grecord-gcc-switches -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -mcpu=power8 -mtune=power8 -funwind-tables -fstack-clash-protection -DTBB_USE_DEBUG -g -O0 -DUSE_PTHREAD -DTEST_USES_TBB=1 -Wall -Wshadow -Wcast-qual -Woverloaded-virtual -Wnon-virtual-dtor -Wextra -O2 -g -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -fexceptions -fstack-protector-strong -grecord-gcc-switches -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -mcpu=power8 -mtune=power8 -funwind-tables -fstack-clash-protection -std=c++14 -I../../src -I../../src/rml/include -I../../include -I. -include ../../src/test/harness_preload.h ../../src/test/test_global_control.cpp In file included from ../../include/tbb/tbb_machine.h:243, from ../../include/tbb/atomic.h:32, from ../../include/tbb/task_scheduler_observer.h:24, from ../../src/test/test_global_control.cpp:26: ../../include/tbb/machine/mac_ppc.h: In function 'int32_t __TBB_machine_cmpswp4(volatile void*, int32_t, int32_t)': ../../include/tbb/machine/mac_ppc.h:91:46: warning: cast from type 'volatile void*' to type 'int32_t*' {aka 'int*'} casts away qualifiers [-Wcast-qual] , "+m"(* (int32_t*) ptr) /* redundant with "memory" */ ^~~ ../../include/tbb/machine/mac_ppc.h: In function 'int64_t __TBB_machine_cmpswp8(volatile void*, int64_t, int64_t)': ../../include/tbb/machine/mac_ppc.h:116:46: warning: cast from type 'volatile void*' to type 'int64_t*' {aka 'long int*'} casts away qualifiers [-Wcast-qual] , "+m"(* (int64_t*) ptr) /* redundant with "memory" */ ^~~ In file included from ../../include/tbb/enumerable_thread_specific.h:25, from ../../include/tbb/combinable.h:24, from ../../src/test/harness_concurrency_tracker.h:33, from ../../src/test/test_global_control.cpp:45: ../../include/tbb/concurrent_vector.h: In static member function 'static void tbb::concurrent_vector::copy_range(void*, const void*, tbb::concurrent_vector::size_type)': ../../include/tbb/concurrent_vector.h:1296:18: warning: declaration of 'iterator' shadows a previous local [-Wshadow] I & iterator ((*const_cast(static_cast(p_type_erased_iterator)))); ^ ../../include/tbb/concurrent_vector.h:578:60: note: shadowed declaration is here typedef internal::vector_iterator iterator; ^~~~~~~~ In file included from ../../include/tbb/enumerable_thread_specific.h:25, from ../../include/tbb/combinable.h:24, from ../../src/test/harness_concurrency_tracker.h:33, from ../../src/test/test_global_control.cpp:45: ../../include/tbb/concurrent_vector.h: In instantiation of 'void tbb::internal::handle_unconstructed_elements(T*, std::size_t) [with T = tbb::internal::padded, 128>; std::size_t = long unsigned int]': ../../include/tbb/concurrent_vector.h:1123:56: required from 'tbb::concurrent_vector::internal_loop_guide::~internal_loop_guide() [with T = tbb::internal::padded, 128>; A = tbb::cache_aligned_allocator, 128> >]' ../../include/tbb/concurrent_vector.h:1262:25: required from 'static void tbb::concurrent_vector::initialize_array(void*, const void*, tbb::concurrent_vector::size_type) [with T = tbb::internal::padded, 128>; A = tbb::cache_aligned_allocator, 128> >; tbb::concurrent_vector::size_type = long unsigned int]' ../../include/tbb/concurrent_vector.h:780:76: required from 'tbb::concurrent_vector::iterator tbb::concurrent_vector::grow_by(tbb::concurrent_vector::size_type) [with T = tbb::internal::padded, 128>; A = tbb::cache_aligned_allocator, 128> >; tbb::concurrent_vector::iterator = tbb::internal::vector_iterator, 128>, tbb::cache_aligned_allocator, 128> > >, tbb::internal::padded, 128> >; tbb::concurrent_vector::size_type = long unsigned int]' ../../include/tbb/enumerable_thread_specific.h:797:36: required from 'void* tbb::interface6::enumerable_thread_specific::create_local() [with T = long unsigned int; Allocator = tbb::cache_aligned_allocator; tbb::ets_key_usage_type ETS_key_type = (tbb::ets_key_usage_type)1]' ../../include/tbb/enumerable_thread_specific.h:796:15: required from here ../../include/tbb/concurrent_vector.h:77:20: warning: 'void* memset(void*, int, size_t)' clearing an object of non-trivial type 'struct tbb::internal::padded, 128>'; use assignment or value-initialization instead [-Wclass-memaccess] std::memset( array, 0, n_of_elements * sizeof( T ) ); ~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ In file included from ../../include/tbb/global_control.h:28, from ../../src/test/test_global_control.cpp:23: ../../include/tbb/tbb_stddef.h:257:8: note: 'struct tbb::internal::padded, 128>' declared here struct padded : padded_base {}; ^~~~~~ g++ -o test_global_control.exe -O2 -g -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -fexceptions -fstack-protector-strong -grecord-gcc-switches -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -mcpu=power8 -mtune=power8 -funwind-tables -fstack-clash-protection -DTBB_USE_DEBUG -g -O0 -DUSE_PTHREAD -DTEST_USES_TBB=1 -Wall -Wshadow -Wcast-qual -Woverloaded-virtual -Wnon-virtual-dtor -Wextra -O2 -g -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -fexceptions -fstack-protector-strong -grecord-gcc-switches -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -mcpu=power8 -mtune=power8 -funwind-tables -fstack-clash-protection test_global_control.o libtbb_debug.so -lpthread -lrt -Wl,-rpath-link=. -rdynamic g++ -o test_tbb_fork.o -c -MMD -O2 -g -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -fexceptions -fstack-protector-strong -grecord-gcc-switches -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -mcpu=power8 -mtune=power8 -funwind-tables -fstack-clash-protection -DTBB_USE_DEBUG -g -O0 -DUSE_PTHREAD -DTEST_USES_TBB=1 -Wall -Wshadow -Wcast-qual -Woverloaded-virtual -Wnon-virtual-dtor -Wextra -O2 -g -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -fexceptions -fstack-protector-strong -grecord-gcc-switches -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -mcpu=power8 -mtune=power8 -funwind-tables -fstack-clash-protection -std=c++14 -I../../src -I../../src/rml/include -I../../include -I. -include ../../src/test/harness_preload.h ../../src/test/test_tbb_fork.cpp In file included from ../../include/tbb/tbb_machine.h:243, from ../../include/tbb/task.h:25, from ../../include/tbb/parallel_for.h:25, from ../../src/test/test_tbb_fork.cpp:25: ../../include/tbb/machine/mac_ppc.h: In function 'int32_t __TBB_machine_cmpswp4(volatile void*, int32_t, int32_t)': ../../include/tbb/machine/mac_ppc.h:91:46: warning: cast from type 'volatile void*' to type 'int32_t*' {aka 'int*'} casts away qualifiers [-Wcast-qual] , "+m"(* (int32_t*) ptr) /* redundant with "memory" */ ^~~ ../../include/tbb/machine/mac_ppc.h: In function 'int64_t __TBB_machine_cmpswp8(volatile void*, int64_t, int64_t)': ../../include/tbb/machine/mac_ppc.h:116:46: warning: cast from type 'volatile void*' to type 'int64_t*' {aka 'long int*'} casts away qualifiers [-Wcast-qual] , "+m"(* (int64_t*) ptr) /* redundant with "memory" */ ^~~ g++ -o test_tbb_fork.exe -O2 -g -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -fexceptions -fstack-protector-strong -grecord-gcc-switches -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -mcpu=power8 -mtune=power8 -funwind-tables -fstack-clash-protection -DTBB_USE_DEBUG -g -O0 -DUSE_PTHREAD -DTEST_USES_TBB=1 -Wall -Wshadow -Wcast-qual -Woverloaded-virtual -Wnon-virtual-dtor -Wextra -O2 -g -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -fexceptions -fstack-protector-strong -grecord-gcc-switches -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -mcpu=power8 -mtune=power8 -funwind-tables -fstack-clash-protection test_tbb_fork.o libtbb_debug.so -lpthread -lrt -Wl,-rpath-link=. -rdynamic g++ -o test_assembly_compiler_builtins.o -c -MMD -O2 -g -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -fexceptions -fstack-protector-strong -grecord-gcc-switches -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -mcpu=power8 -mtune=power8 -funwind-tables -fstack-clash-protection -DTBB_USE_DEBUG -g -O0 -DUSE_PTHREAD -Wall -Wshadow -Wcast-qual -Woverloaded-virtual -Wnon-virtual-dtor -Wextra -O2 -g -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -fexceptions -fstack-protector-strong -grecord-gcc-switches -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -mcpu=power8 -mtune=power8 -funwind-tables -fstack-clash-protection -D__TBB_TEST_BUILTINS=1 -DTBB_USE_ASSERT=0 -std=c++14 -I../../src -I../../src/rml/include -I../../include -I. -include ../../src/test/harness_preload.h ../../src/test/test_assembly.cpp g++ -o test_assembly_compiler_builtins.exe -O2 -g -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -fexceptions -fstack-protector-strong -grecord-gcc-switches -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -mcpu=power8 -mtune=power8 -funwind-tables -fstack-clash-protection -DTBB_USE_DEBUG -g -O0 -DUSE_PTHREAD -Wall -Wshadow -Wcast-qual -Woverloaded-virtual -Wnon-virtual-dtor -Wextra -O2 -g -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -fexceptions -fstack-protector-strong -grecord-gcc-switches -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -mcpu=power8 -mtune=power8 -funwind-tables -fstack-clash-protection test_assembly_compiler_builtins.o -lpthread -lrt -Wl,-rpath-link=. -rdynamic g++ -o test_aligned_space.o -c -MMD -O2 -g -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -fexceptions -fstack-protector-strong -grecord-gcc-switches -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -mcpu=power8 -mtune=power8 -funwind-tables -fstack-clash-protection -DTBB_USE_DEBUG -g -O0 -DUSE_PTHREAD -DTEST_USES_TBB=1 -Wall -Wshadow -Wcast-qual -Woverloaded-virtual -Wnon-virtual-dtor -Wextra -O2 -g -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -fexceptions -fstack-protector-strong -grecord-gcc-switches -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -mcpu=power8 -mtune=power8 -funwind-tables -fstack-clash-protection -std=c++14 -I../../src -I../../src/rml/include -I../../include -I. -include ../../src/test/harness_preload.h ../../src/test/test_aligned_space.cpp In file included from ../../include/tbb/tbb_machine.h:243, from ../../include/tbb/aligned_space.h:25, from ../../src/test/test_aligned_space.cpp:45: ../../include/tbb/machine/mac_ppc.h: In function 'int32_t __TBB_machine_cmpswp4(volatile void*, int32_t, int32_t)': ../../include/tbb/machine/mac_ppc.h:91:46: warning: cast from type 'volatile void*' to type 'int32_t*' {aka 'int*'} casts away qualifiers [-Wcast-qual] , "+m"(* (int32_t*) ptr) /* redundant with "memory" */ ^~~ ../../include/tbb/machine/mac_ppc.h: In function 'int64_t __TBB_machine_cmpswp8(volatile void*, int64_t, int64_t)': ../../include/tbb/machine/mac_ppc.h:116:46: warning: cast from type 'volatile void*' to type 'int64_t*' {aka 'long int*'} casts away qualifiers [-Wcast-qual] , "+m"(* (int64_t*) ptr) /* redundant with "memory" */ ^~~ g++ -o test_aligned_space.exe -O2 -g -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -fexceptions -fstack-protector-strong -grecord-gcc-switches -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -mcpu=power8 -mtune=power8 -funwind-tables -fstack-clash-protection -DTBB_USE_DEBUG -g -O0 -DUSE_PTHREAD -DTEST_USES_TBB=1 -Wall -Wshadow -Wcast-qual -Woverloaded-virtual -Wnon-virtual-dtor -Wextra -O2 -g -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -fexceptions -fstack-protector-strong -grecord-gcc-switches -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -mcpu=power8 -mtune=power8 -funwind-tables -fstack-clash-protection test_aligned_space.o libtbb_debug.so -lpthread -lrt -Wl,-rpath-link=. -rdynamic g++ -o test_atomic.o -c -MMD -O2 -g -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -fexceptions -fstack-protector-strong -grecord-gcc-switches -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -mcpu=power8 -mtune=power8 -funwind-tables -fstack-clash-protection -DTBB_USE_DEBUG -g -O0 -DUSE_PTHREAD -DTEST_USES_TBB=1 -Wall -Wshadow -Wcast-qual -Woverloaded-virtual -Wnon-virtual-dtor -Wextra -O2 -g -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -fexceptions -fstack-protector-strong -grecord-gcc-switches -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -mcpu=power8 -mtune=power8 -funwind-tables -fstack-clash-protection -std=c++14 -I../../src -I../../src/rml/include -I../../include -I. -include ../../src/test/harness_preload.h ../../src/test/test_atomic.cpp In file included from ../../include/tbb/tbb_machine.h:243, from ../../include/tbb/atomic.h:32, from ../../src/test/test_atomic.cpp:35: ../../include/tbb/machine/mac_ppc.h: In function 'int32_t __TBB_machine_cmpswp4(volatile void*, int32_t, int32_t)': ../../include/tbb/machine/mac_ppc.h:91:46: warning: cast from type 'volatile void*' to type 'int32_t*' {aka 'int*'} casts away qualifiers [-Wcast-qual] , "+m"(* (int32_t*) ptr) /* redundant with "memory" */ ^~~ ../../include/tbb/machine/mac_ppc.h: In function 'int64_t __TBB_machine_cmpswp8(volatile void*, int64_t, int64_t)': ../../include/tbb/machine/mac_ppc.h:116:46: warning: cast from type 'volatile void*' to type 'int64_t*' {aka 'long int*'} casts away qualifiers [-Wcast-qual] , "+m"(* (int64_t*) ptr) /* redundant with "memory" */ ^~~ ../../src/test/test_atomic.cpp: In instantiation of 'initialization_tests::test_initialization_fixture::test_initialization_fixture() [with T = bool]': ../../src/test/test_atomic.cpp:312:12: required from 'void TestValueInitialization() [with T = bool]' ../../src/test/test_atomic.cpp:537:31: required from 'void TestOperations(T, T, T) [with T = bool]' ../../src/test/test_atomic.cpp:691:41: required from here ../../src/test/test_atomic.cpp:301:19: warning: 'void* memset(void*, int, size_t)' writing to an object of type 'struct tbb::atomic' with no trivial copy-assignment [-Wclass-memaccess] memset(non_zeroed_storage.begin(),fill_value,sizeof(non_zeroed_storage)); ~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ In file included from ../../src/test/test_atomic.cpp:35: ../../include/tbb/atomic.h:407:8: note: 'struct tbb::atomic' declared here struct atomic: internal::atomic_impl { ^~~~~~ ../../src/test/test_atomic.cpp: In instantiation of 'initialization_tests::test_initialization_fixture::test_initialization_fixture() [with T = Color]': ../../src/test/test_atomic.cpp:312:12: required from 'void TestValueInitialization() [with T = Color]' ../../src/test/test_atomic.cpp:537:31: required from 'void TestOperations(T, T, T) [with T = Color]' ../../src/test/test_atomic.cpp:712:41: required from here ../../src/test/test_atomic.cpp:301:19: warning: 'void* memset(void*, int, size_t)' writing to an object of type 'struct tbb::atomic' with no trivial copy-assignment [-Wclass-memaccess] memset(non_zeroed_storage.begin(),fill_value,sizeof(non_zeroed_storage)); ~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ In file included from ../../src/test/test_atomic.cpp:35: ../../include/tbb/atomic.h:407:8: note: 'struct tbb::atomic' declared here struct atomic: internal::atomic_impl { ^~~~~~ ../../src/test/test_atomic.cpp: In instantiation of 'initialization_tests::test_initialization_fixture::test_initialization_fixture() [with T = ScopedColor1]': ../../src/test/test_atomic.cpp:312:12: required from 'void TestValueInitialization() [with T = ScopedColor1]' ../../src/test/test_atomic.cpp:537:31: required from 'void TestOperations(T, T, T) [with T = ScopedColor1]' ../../src/test/test_atomic.cpp:740:108: required from here ../../src/test/test_atomic.cpp:301:19: warning: 'void* memset(void*, int, size_t)' writing to an object of type 'struct tbb::atomic' with no trivial copy-assignment [-Wclass-memaccess] memset(non_zeroed_storage.begin(),fill_value,sizeof(non_zeroed_storage)); ~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ In file included from ../../src/test/test_atomic.cpp:35: ../../include/tbb/atomic.h:407:8: note: 'struct tbb::atomic' declared here struct atomic: internal::atomic_impl { ^~~~~~ ../../src/test/test_atomic.cpp: In instantiation of 'initialization_tests::test_initialization_fixture::test_initialization_fixture() [with T = ScopedColor2]': ../../src/test/test_atomic.cpp:312:12: required from 'void TestValueInitialization() [with T = ScopedColor2]' ../../src/test/test_atomic.cpp:537:31: required from 'void TestOperations(T, T, T) [with T = ScopedColor2]' ../../src/test/test_atomic.cpp:745:108: required from here ../../src/test/test_atomic.cpp:301:19: warning: 'void* memset(void*, int, size_t)' writing to an object of type 'struct tbb::atomic' with no trivial copy-assignment [-Wclass-memaccess] memset(non_zeroed_storage.begin(),fill_value,sizeof(non_zeroed_storage)); ~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ In file included from ../../src/test/test_atomic.cpp:35: ../../include/tbb/atomic.h:407:8: note: 'struct tbb::atomic' declared here struct atomic: internal::atomic_impl { ^~~~~~ ../../src/test/test_atomic.cpp: In instantiation of 'initialization_tests::test_initialization_fixture::test_initialization_fixture() [with T = long long unsigned int]': ../../src/test/test_atomic.cpp:312:12: required from 'void TestValueInitialization() [with T = long long unsigned int]' ../../src/test/test_atomic.cpp:537:31: required from 'void TestOperations(T, T, T) [with T = long long unsigned int]' ../../src/test/test_atomic.cpp:625:22: required from 'void TestAtomicInteger(const char*) [with T = long long unsigned int]' ../../src/test/test_atomic.cpp:1052:68: required from here ../../src/test/test_atomic.cpp:301:19: warning: 'void* memset(void*, int, size_t)' writing to an object of type 'struct tbb::atomic' with no trivial copy-assignment [-Wclass-memaccess] memset(non_zeroed_storage.begin(),fill_value,sizeof(non_zeroed_storage)); ~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ In file included from ../../src/test/test_atomic.cpp:35: ../../include/tbb/atomic.h:421:27: note: 'struct tbb::atomic' declared here template<> struct atomic: internal::atomic_impl_with_arithmetic { \ ^~~~~~~~~ ../../include/tbb/atomic.h:439:1: note: in expansion of macro '__TBB_DECL_ATOMIC' __TBB_DECL_ATOMIC(unsigned __TBB_LONG_LONG) ^~~~~~~~~~~~~~~~~ ../../src/test/test_atomic.cpp: In instantiation of 'initialization_tests::test_initialization_fixture::test_initialization_fixture() [with T = long long int]': ../../src/test/test_atomic.cpp:312:12: required from 'void TestValueInitialization() [with T = long long int]' ../../src/test/test_atomic.cpp:537:31: required from 'void TestOperations(T, T, T) [with T = long long int]' ../../src/test/test_atomic.cpp:625:22: required from 'void TestAtomicInteger(const char*) [with T = long long int]' ../../src/test/test_atomic.cpp:1053:50: required from here ../../src/test/test_atomic.cpp:301:19: warning: 'void* memset(void*, int, size_t)' writing to an object of type 'struct tbb::atomic' with no trivial copy-assignment [-Wclass-memaccess] memset(non_zeroed_storage.begin(),fill_value,sizeof(non_zeroed_storage)); ~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ In file included from ../../src/test/test_atomic.cpp:35: ../../include/tbb/atomic.h:421:27: note: 'struct tbb::atomic' declared here template<> struct atomic: internal::atomic_impl_with_arithmetic { \ ^~~~~~~~~ ../../include/tbb/atomic.h:438:1: note: in expansion of macro '__TBB_DECL_ATOMIC' __TBB_DECL_ATOMIC(__TBB_LONG_LONG) ^~~~~~~~~~~~~~~~~ ../../src/test/test_atomic.cpp: In instantiation of 'initialization_tests::test_initialization_fixture::test_initialization_fixture() [with T = long unsigned int]': ../../src/test/test_atomic.cpp:312:12: required from 'void TestValueInitialization() [with T = long unsigned int]' ../../src/test/test_atomic.cpp:537:31: required from 'void TestOperations(T, T, T) [with T = long unsigned int]' ../../src/test/test_atomic.cpp:625:22: required from 'void TestAtomicInteger(const char*) [with T = long unsigned int]' ../../src/test/test_atomic.cpp:1060:53: required from here ../../src/test/test_atomic.cpp:301:19: warning: 'void* memset(void*, int, size_t)' writing to an object of type 'struct tbb::atomic' with no trivial copy-assignment [-Wclass-memaccess] memset(non_zeroed_storage.begin(),fill_value,sizeof(non_zeroed_storage)); ~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ In file included from ../../src/test/test_atomic.cpp:35: ../../include/tbb/atomic.h:421:27: note: 'struct tbb::atomic' declared here template<> struct atomic: internal::atomic_impl_with_arithmetic { \ ^~~~~~~~~ ../../include/tbb/atomic.h:444:1: note: in expansion of macro '__TBB_DECL_ATOMIC' __TBB_DECL_ATOMIC(unsigned long) ^~~~~~~~~~~~~~~~~ ../../src/test/test_atomic.cpp: In instantiation of 'initialization_tests::test_initialization_fixture::test_initialization_fixture() [with T = long int]': ../../src/test/test_atomic.cpp:312:12: required from 'void TestValueInitialization() [with T = long int]' ../../src/test/test_atomic.cpp:537:31: required from 'void TestOperations(T, T, T) [with T = long int]' ../../src/test/test_atomic.cpp:625:22: required from 'void TestAtomicInteger(const char*) [with T = long int]' ../../src/test/test_atomic.cpp:1061:35: required from here ../../src/test/test_atomic.cpp:301:19: warning: 'void* memset(void*, int, size_t)' writing to an object of type 'struct tbb::atomic' with no trivial copy-assignment [-Wclass-memaccess] memset(non_zeroed_storage.begin(),fill_value,sizeof(non_zeroed_storage)); ~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ In file included from ../../src/test/test_atomic.cpp:35: ../../include/tbb/atomic.h:421:27: note: 'struct tbb::atomic' declared here template<> struct atomic: internal::atomic_impl_with_arithmetic { \ ^~~~~~~~~ ../../include/tbb/atomic.h:443:1: note: in expansion of macro '__TBB_DECL_ATOMIC' __TBB_DECL_ATOMIC(long) ^~~~~~~~~~~~~~~~~ ../../src/test/test_atomic.cpp: In instantiation of 'initialization_tests::test_initialization_fixture::test_initialization_fixture() [with T = unsigned int]': ../../src/test/test_atomic.cpp:312:12: required from 'void TestValueInitialization() [with T = unsigned int]' ../../src/test/test_atomic.cpp:537:31: required from 'void TestOperations(T, T, T) [with T = unsigned int]' ../../src/test/test_atomic.cpp:625:22: required from 'void TestAtomicInteger(const char*) [with T = unsigned int]' ../../src/test/test_atomic.cpp:1062:51: required from here ../../src/test/test_atomic.cpp:301:19: warning: 'void* memset(void*, int, size_t)' writing to an object of type 'struct tbb::atomic' with no trivial copy-assignment [-Wclass-memaccess] memset(non_zeroed_storage.begin(),fill_value,sizeof(non_zeroed_storage)); ~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ In file included from ../../src/test/test_atomic.cpp:35: ../../include/tbb/atomic.h:421:27: note: 'struct tbb::atomic' declared here template<> struct atomic: internal::atomic_impl_with_arithmetic { \ ^~~~~~~~~ ../../include/tbb/atomic.h:470:1: note: in expansion of macro '__TBB_DECL_ATOMIC' __TBB_DECL_ATOMIC(unsigned) ^~~~~~~~~~~~~~~~~ ../../src/test/test_atomic.cpp: In instantiation of 'initialization_tests::test_initialization_fixture::test_initialization_fixture() [with T = int]': ../../src/test/test_atomic.cpp:312:12: required from 'void TestValueInitialization() [with T = int]' ../../src/test/test_atomic.cpp:537:31: required from 'void TestOperations(T, T, T) [with T = int]' ../../src/test/test_atomic.cpp:625:22: required from 'void TestAtomicInteger(const char*) [with T = int]' ../../src/test/test_atomic.cpp:1063:33: required from here ../../src/test/test_atomic.cpp:301:19: warning: 'void* memset(void*, int, size_t)' writing to an object of type 'struct tbb::atomic' with no trivial copy-assignment [-Wclass-memaccess] memset(non_zeroed_storage.begin(),fill_value,sizeof(non_zeroed_storage)); ~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ In file included from ../../src/test/test_atomic.cpp:35: ../../include/tbb/atomic.h:421:27: note: 'struct tbb::atomic' declared here template<> struct atomic: internal::atomic_impl_with_arithmetic { \ ^~~~~~~~~ ../../include/tbb/atomic.h:471:1: note: in expansion of macro '__TBB_DECL_ATOMIC' __TBB_DECL_ATOMIC(int) ^~~~~~~~~~~~~~~~~ ../../src/test/test_atomic.cpp: In instantiation of 'initialization_tests::test_initialization_fixture::test_initialization_fixture() [with T = short unsigned int]': ../../src/test/test_atomic.cpp:312:12: required from 'void TestValueInitialization() [with T = short unsigned int]' ../../src/test/test_atomic.cpp:537:31: required from 'void TestOperations(T, T, T) [with T = short unsigned int]' ../../src/test/test_atomic.cpp:625:22: required from 'void TestAtomicInteger(const char*) [with T = short unsigned int]' ../../src/test/test_atomic.cpp:1064:55: required from here ../../src/test/test_atomic.cpp:301:19: warning: 'void* memset(void*, int, size_t)' writing to an object of type 'struct tbb::atomic' with no trivial copy-assignment [-Wclass-memaccess] memset(non_zeroed_storage.begin(),fill_value,sizeof(non_zeroed_storage)); ~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ In file included from ../../src/test/test_atomic.cpp:35: ../../include/tbb/atomic.h:421:27: note: 'struct tbb::atomic' declared here template<> struct atomic: internal::atomic_impl_with_arithmetic { \ ^~~~~~~~~ ../../include/tbb/atomic.h:474:1: note: in expansion of macro '__TBB_DECL_ATOMIC' __TBB_DECL_ATOMIC(unsigned short) ^~~~~~~~~~~~~~~~~ ../../src/test/test_atomic.cpp: In instantiation of 'initialization_tests::test_initialization_fixture::test_initialization_fixture() [with T = short int]': ../../src/test/test_atomic.cpp:312:12: required from 'void TestValueInitialization() [with T = short int]' ../../src/test/test_atomic.cpp:537:31: required from 'void TestOperations(T, T, T) [with T = short int]' ../../src/test/test_atomic.cpp:625:22: required from 'void TestAtomicInteger(const char*) [with T = short int]' ../../src/test/test_atomic.cpp:1065:37: required from here ../../src/test/test_atomic.cpp:301:19: warning: 'void* memset(void*, int, size_t)' writing to an object of type 'struct tbb::atomic' with no trivial copy-assignment [-Wclass-memaccess] memset(non_zeroed_storage.begin(),fill_value,sizeof(non_zeroed_storage)); ~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ In file included from ../../src/test/test_atomic.cpp:35: ../../include/tbb/atomic.h:421:27: note: 'struct tbb::atomic' declared here template<> struct atomic: internal::atomic_impl_with_arithmetic { \ ^~~~~~~~~ ../../include/tbb/atomic.h:475:1: note: in expansion of macro '__TBB_DECL_ATOMIC' __TBB_DECL_ATOMIC(short) ^~~~~~~~~~~~~~~~~ ../../src/test/test_atomic.cpp: In instantiation of 'initialization_tests::test_initialization_fixture::test_initialization_fixture() [with T = signed char]': ../../src/test/test_atomic.cpp:312:12: required from 'void TestValueInitialization() [with T = signed char]' ../../src/test/test_atomic.cpp:537:31: required from 'void TestOperations(T, T, T) [with T = signed char]' ../../src/test/test_atomic.cpp:625:22: required from 'void TestAtomicInteger(const char*) [with T = signed char]' ../../src/test/test_atomic.cpp:1066:49: required from here ../../src/test/test_atomic.cpp:301:19: warning: 'void* memset(void*, int, size_t)' writing to an object of type 'struct tbb::atomic' with no trivial copy-assignment [-Wclass-memaccess] memset(non_zeroed_storage.begin(),fill_value,sizeof(non_zeroed_storage)); ~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ In file included from ../../src/test/test_atomic.cpp:35: ../../include/tbb/atomic.h:421:27: note: 'struct tbb::atomic' declared here template<> struct atomic: internal::atomic_impl_with_arithmetic { \ ^~~~~~~~~ ../../include/tbb/atomic.h:477:1: note: in expansion of macro '__TBB_DECL_ATOMIC' __TBB_DECL_ATOMIC(signed char) ^~~~~~~~~~~~~~~~~ ../../src/test/test_atomic.cpp: In instantiation of 'initialization_tests::test_initialization_fixture::test_initialization_fixture() [with T = unsigned char]': ../../src/test/test_atomic.cpp:312:12: required from 'void TestValueInitialization() [with T = unsigned char]' ../../src/test/test_atomic.cpp:537:31: required from 'void TestOperations(T, T, T) [with T = unsigned char]' ../../src/test/test_atomic.cpp:625:22: required from 'void TestAtomicInteger(const char*) [with T = unsigned char]' ../../src/test/test_atomic.cpp:1067:53: required from here ../../src/test/test_atomic.cpp:301:19: warning: 'void* memset(void*, int, size_t)' writing to an object of type 'struct tbb::atomic' with no trivial copy-assignment [-Wclass-memaccess] memset(non_zeroed_storage.begin(),fill_value,sizeof(non_zeroed_storage)); ~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ In file included from ../../src/test/test_atomic.cpp:35: ../../include/tbb/atomic.h:421:27: note: 'struct tbb::atomic' declared here template<> struct atomic: internal::atomic_impl_with_arithmetic { \ ^~~~~~~~~ ../../include/tbb/atomic.h:478:1: note: in expansion of macro '__TBB_DECL_ATOMIC' __TBB_DECL_ATOMIC(unsigned char) ^~~~~~~~~~~~~~~~~ ../../src/test/test_atomic.cpp: In instantiation of 'initialization_tests::test_initialization_fixture::test_initialization_fixture() [with T = char]': ../../src/test/test_atomic.cpp:312:12: required from 'void TestValueInitialization() [with T = char]' ../../src/test/test_atomic.cpp:537:31: required from 'void TestOperations(T, T, T) [with T = char]' ../../src/test/test_atomic.cpp:625:22: required from 'void TestAtomicInteger(const char*) [with T = char]' ../../src/test/test_atomic.cpp:1068:35: required from here ../../src/test/test_atomic.cpp:301:19: warning: 'void* memset(void*, int, size_t)' writing to an object of type 'struct tbb::atomic' with no trivial copy-assignment [-Wclass-memaccess] memset(non_zeroed_storage.begin(),fill_value,sizeof(non_zeroed_storage)); ~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ In file included from ../../src/test/test_atomic.cpp:35: ../../include/tbb/atomic.h:421:27: note: 'struct tbb::atomic' declared here template<> struct atomic: internal::atomic_impl_with_arithmetic { \ ^~~~~~~~~ ../../include/tbb/atomic.h:476:1: note: in expansion of macro '__TBB_DECL_ATOMIC' __TBB_DECL_ATOMIC(char) ^~~~~~~~~~~~~~~~~ ../../src/test/test_atomic.cpp: In instantiation of 'initialization_tests::test_initialization_fixture::test_initialization_fixture() [with T = wchar_t]': ../../src/test/test_atomic.cpp:312:12: required from 'void TestValueInitialization() [with T = wchar_t]' ../../src/test/test_atomic.cpp:537:31: required from 'void TestOperations(T, T, T) [with T = wchar_t]' ../../src/test/test_atomic.cpp:625:22: required from 'void TestAtomicInteger(const char*) [with T = wchar_t]' ../../src/test/test_atomic.cpp:1069:41: required from here ../../src/test/test_atomic.cpp:301:19: warning: 'void* memset(void*, int, size_t)' writing to an object of type 'struct tbb::atomic' with no trivial copy-assignment [-Wclass-memaccess] memset(non_zeroed_storage.begin(),fill_value,sizeof(non_zeroed_storage)); ~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ In file included from ../../src/test/test_atomic.cpp:35: ../../include/tbb/atomic.h:421:27: note: 'struct tbb::atomic' declared here template<> struct atomic: internal::atomic_impl_with_arithmetic { \ ^~~~~~~~~ ../../include/tbb/atomic.h:481:1: note: in expansion of macro '__TBB_DECL_ATOMIC' __TBB_DECL_ATOMIC(wchar_t) ^~~~~~~~~~~~~~~~~ ../../src/test/test_atomic.cpp: In instantiation of 'initialization_tests::test_initialization_fixture::test_initialization_fixture() [with T = ArrayElement<1>*]': ../../src/test/test_atomic.cpp:312:12: required from 'void TestValueInitialization() [with T = ArrayElement<1>*]' ../../src/test/test_atomic.cpp:537:31: required from 'void TestOperations(T, T, T) [with T = ArrayElement<1>*]' ../../src/test/test_atomic.cpp:673:23: required from 'void TestAtomicPointer() [with T = ArrayElement<1>]' ../../src/test/test_atomic.cpp:1072:41: required from here ../../src/test/test_atomic.cpp:301:19: warning: 'void* memset(void*, int, size_t)' writing to an object of type 'struct tbb::atomic*>' with no trivial copy-assignment [-Wclass-memaccess] memset(non_zeroed_storage.begin(),fill_value,sizeof(non_zeroed_storage)); ~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ In file included from ../../src/test/test_atomic.cpp:35: ../../include/tbb/atomic.h:485:29: note: 'struct tbb::atomic*>' declared here template struct atomic: internal::atomic_impl_with_arithmetic { ^~~~~~~~~~ ../../src/test/test_atomic.cpp: In instantiation of 'initialization_tests::test_initialization_fixture::test_initialization_fixture() [with T = ArrayElement<2>*]': ../../src/test/test_atomic.cpp:312:12: required from 'void TestValueInitialization() [with T = ArrayElement<2>*]' ../../src/test/test_atomic.cpp:537:31: required from 'void TestOperations(T, T, T) [with T = ArrayElement<2>*]' ../../src/test/test_atomic.cpp:673:23: required from 'void TestAtomicPointer() [with T = ArrayElement<2>]' ../../src/test/test_atomic.cpp:1073:41: required from here ../../src/test/test_atomic.cpp:301:19: warning: 'void* memset(void*, int, size_t)' writing to an object of type 'struct tbb::atomic*>' with no trivial copy-assignment [-Wclass-memaccess] memset(non_zeroed_storage.begin(),fill_value,sizeof(non_zeroed_storage)); ~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ In file included from ../../src/test/test_atomic.cpp:35: ../../include/tbb/atomic.h:485:29: note: 'struct tbb::atomic*>' declared here template struct atomic: internal::atomic_impl_with_arithmetic { ^~~~~~~~~~ ../../src/test/test_atomic.cpp: In instantiation of 'initialization_tests::test_initialization_fixture::test_initialization_fixture() [with T = ArrayElement<3>*]': ../../src/test/test_atomic.cpp:312:12: required from 'void TestValueInitialization() [with T = ArrayElement<3>*]' ../../src/test/test_atomic.cpp:537:31: required from 'void TestOperations(T, T, T) [with T = ArrayElement<3>*]' ../../src/test/test_atomic.cpp:673:23: required from 'void TestAtomicPointer() [with T = ArrayElement<3>]' ../../src/test/test_atomic.cpp:1074:41: required from here ../../src/test/test_atomic.cpp:301:19: warning: 'void* memset(void*, int, size_t)' writing to an object of type 'struct tbb::atomic*>' with no trivial copy-assignment [-Wclass-memaccess] memset(non_zeroed_storage.begin(),fill_value,sizeof(non_zeroed_storage)); ~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ In file included from ../../src/test/test_atomic.cpp:35: ../../include/tbb/atomic.h:485:29: note: 'struct tbb::atomic*>' declared here template struct atomic: internal::atomic_impl_with_arithmetic { ^~~~~~~~~~ ../../src/test/test_atomic.cpp: In instantiation of 'initialization_tests::test_initialization_fixture::test_initialization_fixture() [with T = ArrayElement<4>*]': ../../src/test/test_atomic.cpp:312:12: required from 'void TestValueInitialization() [with T = ArrayElement<4>*]' ../../src/test/test_atomic.cpp:537:31: required from 'void TestOperations(T, T, T) [with T = ArrayElement<4>*]' ../../src/test/test_atomic.cpp:673:23: required from 'void TestAtomicPointer() [with T = ArrayElement<4>]' ../../src/test/test_atomic.cpp:1075:41: required from here ../../src/test/test_atomic.cpp:301:19: warning: 'void* memset(void*, int, size_t)' writing to an object of type 'struct tbb::atomic*>' with no trivial copy-assignment [-Wclass-memaccess] memset(non_zeroed_storage.begin(),fill_value,sizeof(non_zeroed_storage)); ~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ In file included from ../../src/test/test_atomic.cpp:35: ../../include/tbb/atomic.h:485:29: note: 'struct tbb::atomic*>' declared here template struct atomic: internal::atomic_impl_with_arithmetic { ^~~~~~~~~~ ../../src/test/test_atomic.cpp: In instantiation of 'initialization_tests::test_initialization_fixture::test_initialization_fixture() [with T = ArrayElement<5>*]': ../../src/test/test_atomic.cpp:312:12: required from 'void TestValueInitialization() [with T = ArrayElement<5>*]' ../../src/test/test_atomic.cpp:537:31: required from 'void TestOperations(T, T, T) [with T = ArrayElement<5>*]' ../../src/test/test_atomic.cpp:673:23: required from 'void TestAtomicPointer() [with T = ArrayElement<5>]' ../../src/test/test_atomic.cpp:1076:41: required from here ../../src/test/test_atomic.cpp:301:19: warning: 'void* memset(void*, int, size_t)' writing to an object of type 'struct tbb::atomic*>' with no trivial copy-assignment [-Wclass-memaccess] memset(non_zeroed_storage.begin(),fill_value,sizeof(non_zeroed_storage)); ~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ In file included from ../../src/test/test_atomic.cpp:35: ../../include/tbb/atomic.h:485:29: note: 'struct tbb::atomic*>' declared here template struct atomic: internal::atomic_impl_with_arithmetic { ^~~~~~~~~~ ../../src/test/test_atomic.cpp: In instantiation of 'initialization_tests::test_initialization_fixture::test_initialization_fixture() [with T = ArrayElement<6>*]': ../../src/test/test_atomic.cpp:312:12: required from 'void TestValueInitialization() [with T = ArrayElement<6>*]' ../../src/test/test_atomic.cpp:537:31: required from 'void TestOperations(T, T, T) [with T = ArrayElement<6>*]' ../../src/test/test_atomic.cpp:673:23: required from 'void TestAtomicPointer() [with T = ArrayElement<6>]' ../../src/test/test_atomic.cpp:1077:41: required from here ../../src/test/test_atomic.cpp:301:19: warning: 'void* memset(void*, int, size_t)' writing to an object of type 'struct tbb::atomic*>' with no trivial copy-assignment [-Wclass-memaccess] memset(non_zeroed_storage.begin(),fill_value,sizeof(non_zeroed_storage)); ~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ In file included from ../../src/test/test_atomic.cpp:35: ../../include/tbb/atomic.h:485:29: note: 'struct tbb::atomic*>' declared here template struct atomic: internal::atomic_impl_with_arithmetic { ^~~~~~~~~~ ../../src/test/test_atomic.cpp: In instantiation of 'initialization_tests::test_initialization_fixture::test_initialization_fixture() [with T = ArrayElement<7>*]': ../../src/test/test_atomic.cpp:312:12: required from 'void TestValueInitialization() [with T = ArrayElement<7>*]' ../../src/test/test_atomic.cpp:537:31: required from 'void TestOperations(T, T, T) [with T = ArrayElement<7>*]' ../../src/test/test_atomic.cpp:673:23: required from 'void TestAtomicPointer() [with T = ArrayElement<7>]' ../../src/test/test_atomic.cpp:1078:41: required from here ../../src/test/test_atomic.cpp:301:19: warning: 'void* memset(void*, int, size_t)' writing to an object of type 'struct tbb::atomic*>' with no trivial copy-assignment [-Wclass-memaccess] memset(non_zeroed_storage.begin(),fill_value,sizeof(non_zeroed_storage)); ~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ In file included from ../../src/test/test_atomic.cpp:35: ../../include/tbb/atomic.h:485:29: note: 'struct tbb::atomic*>' declared here template struct atomic: internal::atomic_impl_with_arithmetic { ^~~~~~~~~~ ../../src/test/test_atomic.cpp: In instantiation of 'initialization_tests::test_initialization_fixture::test_initialization_fixture() [with T = ArrayElement<8>*]': ../../src/test/test_atomic.cpp:312:12: required from 'void TestValueInitialization() [with T = ArrayElement<8>*]' ../../src/test/test_atomic.cpp:537:31: required from 'void TestOperations(T, T, T) [with T = ArrayElement<8>*]' ../../src/test/test_atomic.cpp:673:23: required from 'void TestAtomicPointer() [with T = ArrayElement<8>]' ../../src/test/test_atomic.cpp:1079:41: required from here ../../src/test/test_atomic.cpp:301:19: warning: 'void* memset(void*, int, size_t)' writing to an object of type 'struct tbb::atomic*>' with no trivial copy-assignment [-Wclass-memaccess] memset(non_zeroed_storage.begin(),fill_value,sizeof(non_zeroed_storage)); ~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ In file included from ../../src/test/test_atomic.cpp:35: ../../include/tbb/atomic.h:485:29: note: 'struct tbb::atomic*>' declared here template struct atomic: internal::atomic_impl_with_arithmetic { ^~~~~~~~~~ ../../src/test/test_atomic.cpp: In instantiation of 'initialization_tests::test_initialization_fixture::test_initialization_fixture() [with T = IncompleteType*]': ../../src/test/test_atomic.cpp:312:12: required from 'void TestValueInitialization() [with T = IncompleteType*]' ../../src/test/test_atomic.cpp:537:31: required from 'void TestOperations(T, T, T) [with T = IncompleteType*]' ../../src/test/test_atomic.cpp:685:24: required from 'void TestAtomicPointerToTypeOfUnknownSize(const char*) [with Ptr = IncompleteType*]' ../../src/test/test_atomic.cpp:1080:78: required from here ../../src/test/test_atomic.cpp:301:19: warning: 'void* memset(void*, int, size_t)' writing to an object of type 'struct tbb::atomic' with no trivial copy-assignment [-Wclass-memaccess] memset(non_zeroed_storage.begin(),fill_value,sizeof(non_zeroed_storage)); ~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ In file included from ../../src/test/test_atomic.cpp:35: ../../include/tbb/atomic.h:485:29: note: 'struct tbb::atomic' declared here template struct atomic: internal::atomic_impl_with_arithmetic { ^~~~~~~~~~ ../../src/test/test_atomic.cpp: In instantiation of 'initialization_tests::test_initialization_fixture::test_initialization_fixture() [with T = void*]': ../../src/test/test_atomic.cpp:312:12: required from 'void TestValueInitialization() [with T = void*]' ../../src/test/test_atomic.cpp:537:31: required from 'void TestOperations(T, T, T) [with T = void*]' ../../src/test/test_atomic.cpp:685:24: required from 'void TestAtomicPointerToTypeOfUnknownSize(const char*) [with Ptr = void*]' ../../src/test/test_atomic.cpp:1081:58: required from here ../../src/test/test_atomic.cpp:301:19: warning: 'void* memset(void*, int, size_t)' writing to an object of type 'struct tbb::atomic' with no trivial copy-assignment [-Wclass-memaccess] memset(non_zeroed_storage.begin(),fill_value,sizeof(non_zeroed_storage)); ~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ In file included from ../../src/test/test_atomic.cpp:35: ../../include/tbb/atomic.h:503:19: note: 'struct tbb::atomic' declared here template<> struct atomic: internal::atomic_impl { ^~~~~~~~~~~~~ ../../src/test/test_atomic.cpp: In instantiation of 'initialization_tests::test_initialization_fixture::test_initialization_fixture() [with T = float]': ../../src/test/test_atomic.cpp:312:12: required from 'void TestValueInitialization() [with T = float]' ../../src/test/test_atomic.cpp:537:31: required from 'void TestOperations(T, T, T) [with T = float]' ../../src/test/test_atomic.cpp:759:22: required from 'void TestAtomicFloat(const char*) [with T = float]' ../../src/test/test_atomic.cpp:1087:35: required from here ../../src/test/test_atomic.cpp:301:19: warning: 'void* memset(void*, int, size_t)' writing to an object of type 'struct tbb::atomic' with no trivial copy-assignment [-Wclass-memaccess] memset(non_zeroed_storage.begin(),fill_value,sizeof(non_zeroed_storage)); ~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ In file included from ../../src/test/test_atomic.cpp:35: ../../include/tbb/atomic.h:407:8: note: 'struct tbb::atomic' declared here struct atomic: internal::atomic_impl { ^~~~~~ ../../src/test/test_atomic.cpp: In instantiation of 'initialization_tests::test_initialization_fixture::test_initialization_fixture() [with T = double]': ../../src/test/test_atomic.cpp:312:12: required from 'void TestValueInitialization() [with T = double]' ../../src/test/test_atomic.cpp:537:31: required from 'void TestOperations(T, T, T) [with T = double]' ../../src/test/test_atomic.cpp:759:22: required from 'void TestAtomicFloat(const char*) [with T = double]' ../../src/test/test_atomic.cpp:1089:41: required from here ../../src/test/test_atomic.cpp:301:19: warning: 'void* memset(void*, int, size_t)' writing to an object of type 'struct tbb::atomic' with no trivial copy-assignment [-Wclass-memaccess] memset(non_zeroed_storage.begin(),fill_value,sizeof(non_zeroed_storage)); ~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ In file included from ../../src/test/test_atomic.cpp:35: ../../include/tbb/atomic.h:407:8: note: 'struct tbb::atomic' declared here struct atomic: internal::atomic_impl { ^~~~~~ g++ -o test_atomic.exe -O2 -g -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -fexceptions -fstack-protector-strong -grecord-gcc-switches -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -mcpu=power8 -mtune=power8 -funwind-tables -fstack-clash-protection -DTBB_USE_DEBUG -g -O0 -DUSE_PTHREAD -DTEST_USES_TBB=1 -Wall -Wshadow -Wcast-qual -Woverloaded-virtual -Wnon-virtual-dtor -Wextra -O2 -g -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -fexceptions -fstack-protector-strong -grecord-gcc-switches -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -mcpu=power8 -mtune=power8 -funwind-tables -fstack-clash-protection test_atomic.o libtbb_debug.so -lpthread -lrt -Wl,-rpath-link=. -rdynamic g++ -o test_atomic_pic.o -c -MMD -O2 -g -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -fexceptions -fstack-protector-strong -grecord-gcc-switches -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -mcpu=power8 -mtune=power8 -funwind-tables -fstack-clash-protection -DTBB_USE_DEBUG -g -O0 -DUSE_PTHREAD -DTEST_USES_TBB=1 -Wall -Wshadow -Wcast-qual -Woverloaded-virtual -Wnon-virtual-dtor -Wextra -O2 -g -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -fexceptions -fstack-protector-strong -grecord-gcc-switches -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -mcpu=power8 -mtune=power8 -funwind-tables -fstack-clash-protection -fPIC -D__TBB_TEST_PIC=1 -std=c++14 -I../../src -I../../src/rml/include -I../../include -I. -include ../../src/test/harness_preload.h ../../src/test/test_atomic.cpp In file included from ../../include/tbb/tbb_machine.h:243, from ../../include/tbb/atomic.h:32, from ../../src/test/test_atomic.cpp:35: ../../include/tbb/machine/mac_ppc.h: In function 'int32_t __TBB_machine_cmpswp4(volatile void*, int32_t, int32_t)': ../../include/tbb/machine/mac_ppc.h:91:46: warning: cast from type 'volatile void*' to type 'int32_t*' {aka 'int*'} casts away qualifiers [-Wcast-qual] , "+m"(* (int32_t*) ptr) /* redundant with "memory" */ ^~~ ../../include/tbb/machine/mac_ppc.h: In function 'int64_t __TBB_machine_cmpswp8(volatile void*, int64_t, int64_t)': ../../include/tbb/machine/mac_ppc.h:116:46: warning: cast from type 'volatile void*' to type 'int64_t*' {aka 'long int*'} casts away qualifiers [-Wcast-qual] , "+m"(* (int64_t*) ptr) /* redundant with "memory" */ ^~~ ../../src/test/test_atomic.cpp: In instantiation of 'initialization_tests::test_initialization_fixture::test_initialization_fixture() [with T = bool]': ../../src/test/test_atomic.cpp:312:12: required from 'void TestValueInitialization() [with T = bool]' ../../src/test/test_atomic.cpp:537:31: required from 'void TestOperations(T, T, T) [with T = bool]' ../../src/test/test_atomic.cpp:691:41: required from here ../../src/test/test_atomic.cpp:301:19: warning: 'void* memset(void*, int, size_t)' writing to an object of type 'struct tbb::atomic' with no trivial copy-assignment [-Wclass-memaccess] memset(non_zeroed_storage.begin(),fill_value,sizeof(non_zeroed_storage)); ~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ In file included from ../../src/test/test_atomic.cpp:35: ../../include/tbb/atomic.h:407:8: note: 'struct tbb::atomic' declared here struct atomic: internal::atomic_impl { ^~~~~~ ../../src/test/test_atomic.cpp: In instantiation of 'initialization_tests::test_initialization_fixture::test_initialization_fixture() [with T = Color]': ../../src/test/test_atomic.cpp:312:12: required from 'void TestValueInitialization() [with T = Color]' ../../src/test/test_atomic.cpp:537:31: required from 'void TestOperations(T, T, T) [with T = Color]' ../../src/test/test_atomic.cpp:712:41: required from here ../../src/test/test_atomic.cpp:301:19: warning: 'void* memset(void*, int, size_t)' writing to an object of type 'struct tbb::atomic' with no trivial copy-assignment [-Wclass-memaccess] memset(non_zeroed_storage.begin(),fill_value,sizeof(non_zeroed_storage)); ~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ In file included from ../../src/test/test_atomic.cpp:35: ../../include/tbb/atomic.h:407:8: note: 'struct tbb::atomic' declared here struct atomic: internal::atomic_impl { ^~~~~~ ../../src/test/test_atomic.cpp: In instantiation of 'initialization_tests::test_initialization_fixture::test_initialization_fixture() [with T = ScopedColor1]': ../../src/test/test_atomic.cpp:312:12: required from 'void TestValueInitialization() [with T = ScopedColor1]' ../../src/test/test_atomic.cpp:537:31: required from 'void TestOperations(T, T, T) [with T = ScopedColor1]' ../../src/test/test_atomic.cpp:740:108: required from here ../../src/test/test_atomic.cpp:301:19: warning: 'void* memset(void*, int, size_t)' writing to an object of type 'struct tbb::atomic' with no trivial copy-assignment [-Wclass-memaccess] memset(non_zeroed_storage.begin(),fill_value,sizeof(non_zeroed_storage)); ~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ In file included from ../../src/test/test_atomic.cpp:35: ../../include/tbb/atomic.h:407:8: note: 'struct tbb::atomic' declared here struct atomic: internal::atomic_impl { ^~~~~~ ../../src/test/test_atomic.cpp: In instantiation of 'initialization_tests::test_initialization_fixture::test_initialization_fixture() [with T = ScopedColor2]': ../../src/test/test_atomic.cpp:312:12: required from 'void TestValueInitialization() [with T = ScopedColor2]' ../../src/test/test_atomic.cpp:537:31: required from 'void TestOperations(T, T, T) [with T = ScopedColor2]' ../../src/test/test_atomic.cpp:745:108: required from here ../../src/test/test_atomic.cpp:301:19: warning: 'void* memset(void*, int, size_t)' writing to an object of type 'struct tbb::atomic' with no trivial copy-assignment [-Wclass-memaccess] memset(non_zeroed_storage.begin(),fill_value,sizeof(non_zeroed_storage)); ~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ In file included from ../../src/test/test_atomic.cpp:35: ../../include/tbb/atomic.h:407:8: note: 'struct tbb::atomic' declared here struct atomic: internal::atomic_impl { ^~~~~~ ../../src/test/test_atomic.cpp: In instantiation of 'initialization_tests::test_initialization_fixture::test_initialization_fixture() [with T = long long unsigned int]': ../../src/test/test_atomic.cpp:312:12: required from 'void TestValueInitialization() [with T = long long unsigned int]' ../../src/test/test_atomic.cpp:537:31: required from 'void TestOperations(T, T, T) [with T = long long unsigned int]' ../../src/test/test_atomic.cpp:625:22: required from 'void TestAtomicInteger(const char*) [with T = long long unsigned int]' ../../src/test/test_atomic.cpp:1052:68: required from here ../../src/test/test_atomic.cpp:301:19: warning: 'void* memset(void*, int, size_t)' writing to an object of type 'struct tbb::atomic' with no trivial copy-assignment [-Wclass-memaccess] memset(non_zeroed_storage.begin(),fill_value,sizeof(non_zeroed_storage)); ~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ In file included from ../../src/test/test_atomic.cpp:35: ../../include/tbb/atomic.h:421:27: note: 'struct tbb::atomic' declared here template<> struct atomic: internal::atomic_impl_with_arithmetic { \ ^~~~~~~~~ ../../include/tbb/atomic.h:439:1: note: in expansion of macro '__TBB_DECL_ATOMIC' __TBB_DECL_ATOMIC(unsigned __TBB_LONG_LONG) ^~~~~~~~~~~~~~~~~ ../../src/test/test_atomic.cpp: In instantiation of 'initialization_tests::test_initialization_fixture::test_initialization_fixture() [with T = long long int]': ../../src/test/test_atomic.cpp:312:12: required from 'void TestValueInitialization() [with T = long long int]' ../../src/test/test_atomic.cpp:537:31: required from 'void TestOperations(T, T, T) [with T = long long int]' ../../src/test/test_atomic.cpp:625:22: required from 'void TestAtomicInteger(const char*) [with T = long long int]' ../../src/test/test_atomic.cpp:1053:50: required from here ../../src/test/test_atomic.cpp:301:19: warning: 'void* memset(void*, int, size_t)' writing to an object of type 'struct tbb::atomic' with no trivial copy-assignment [-Wclass-memaccess] memset(non_zeroed_storage.begin(),fill_value,sizeof(non_zeroed_storage)); ~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ In file included from ../../src/test/test_atomic.cpp:35: ../../include/tbb/atomic.h:421:27: note: 'struct tbb::atomic' declared here template<> struct atomic: internal::atomic_impl_with_arithmetic { \ ^~~~~~~~~ ../../include/tbb/atomic.h:438:1: note: in expansion of macro '__TBB_DECL_ATOMIC' __TBB_DECL_ATOMIC(__TBB_LONG_LONG) ^~~~~~~~~~~~~~~~~ ../../src/test/test_atomic.cpp: In instantiation of 'initialization_tests::test_initialization_fixture::test_initialization_fixture() [with T = long unsigned int]': ../../src/test/test_atomic.cpp:312:12: required from 'void TestValueInitialization() [with T = long unsigned int]' ../../src/test/test_atomic.cpp:537:31: required from 'void TestOperations(T, T, T) [with T = long unsigned int]' ../../src/test/test_atomic.cpp:625:22: required from 'void TestAtomicInteger(const char*) [with T = long unsigned int]' ../../src/test/test_atomic.cpp:1060:53: required from here ../../src/test/test_atomic.cpp:301:19: warning: 'void* memset(void*, int, size_t)' writing to an object of type 'struct tbb::atomic' with no trivial copy-assignment [-Wclass-memaccess] memset(non_zeroed_storage.begin(),fill_value,sizeof(non_zeroed_storage)); ~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ In file included from ../../src/test/test_atomic.cpp:35: ../../include/tbb/atomic.h:421:27: note: 'struct tbb::atomic' declared here template<> struct atomic: internal::atomic_impl_with_arithmetic { \ ^~~~~~~~~ ../../include/tbb/atomic.h:444:1: note: in expansion of macro '__TBB_DECL_ATOMIC' __TBB_DECL_ATOMIC(unsigned long) ^~~~~~~~~~~~~~~~~ ../../src/test/test_atomic.cpp: In instantiation of 'initialization_tests::test_initialization_fixture::test_initialization_fixture() [with T = long int]': ../../src/test/test_atomic.cpp:312:12: required from 'void TestValueInitialization() [with T = long int]' ../../src/test/test_atomic.cpp:537:31: required from 'void TestOperations(T, T, T) [with T = long int]' ../../src/test/test_atomic.cpp:625:22: required from 'void TestAtomicInteger(const char*) [with T = long int]' ../../src/test/test_atomic.cpp:1061:35: required from here ../../src/test/test_atomic.cpp:301:19: warning: 'void* memset(void*, int, size_t)' writing to an object of type 'struct tbb::atomic' with no trivial copy-assignment [-Wclass-memaccess] memset(non_zeroed_storage.begin(),fill_value,sizeof(non_zeroed_storage)); ~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ In file included from ../../src/test/test_atomic.cpp:35: ../../include/tbb/atomic.h:421:27: note: 'struct tbb::atomic' declared here template<> struct atomic: internal::atomic_impl_with_arithmetic { \ ^~~~~~~~~ ../../include/tbb/atomic.h:443:1: note: in expansion of macro '__TBB_DECL_ATOMIC' __TBB_DECL_ATOMIC(long) ^~~~~~~~~~~~~~~~~ ../../src/test/test_atomic.cpp: In instantiation of 'initialization_tests::test_initialization_fixture::test_initialization_fixture() [with T = unsigned int]': ../../src/test/test_atomic.cpp:312:12: required from 'void TestValueInitialization() [with T = unsigned int]' ../../src/test/test_atomic.cpp:537:31: required from 'void TestOperations(T, T, T) [with T = unsigned int]' ../../src/test/test_atomic.cpp:625:22: required from 'void TestAtomicInteger(const char*) [with T = unsigned int]' ../../src/test/test_atomic.cpp:1062:51: required from here ../../src/test/test_atomic.cpp:301:19: warning: 'void* memset(void*, int, size_t)' writing to an object of type 'struct tbb::atomic' with no trivial copy-assignment [-Wclass-memaccess] memset(non_zeroed_storage.begin(),fill_value,sizeof(non_zeroed_storage)); ~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ In file included from ../../src/test/test_atomic.cpp:35: ../../include/tbb/atomic.h:421:27: note: 'struct tbb::atomic' declared here template<> struct atomic: internal::atomic_impl_with_arithmetic { \ ^~~~~~~~~ ../../include/tbb/atomic.h:470:1: note: in expansion of macro '__TBB_DECL_ATOMIC' __TBB_DECL_ATOMIC(unsigned) ^~~~~~~~~~~~~~~~~ ../../src/test/test_atomic.cpp: In instantiation of 'initialization_tests::test_initialization_fixture::test_initialization_fixture() [with T = int]': ../../src/test/test_atomic.cpp:312:12: required from 'void TestValueInitialization() [with T = int]' ../../src/test/test_atomic.cpp:537:31: required from 'void TestOperations(T, T, T) [with T = int]' ../../src/test/test_atomic.cpp:625:22: required from 'void TestAtomicInteger(const char*) [with T = int]' ../../src/test/test_atomic.cpp:1063:33: required from here ../../src/test/test_atomic.cpp:301:19: warning: 'void* memset(void*, int, size_t)' writing to an object of type 'struct tbb::atomic' with no trivial copy-assignment [-Wclass-memaccess] memset(non_zeroed_storage.begin(),fill_value,sizeof(non_zeroed_storage)); ~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ In file included from ../../src/test/test_atomic.cpp:35: ../../include/tbb/atomic.h:421:27: note: 'struct tbb::atomic' declared here template<> struct atomic: internal::atomic_impl_with_arithmetic { \ ^~~~~~~~~ ../../include/tbb/atomic.h:471:1: note: in expansion of macro '__TBB_DECL_ATOMIC' __TBB_DECL_ATOMIC(int) ^~~~~~~~~~~~~~~~~ ../../src/test/test_atomic.cpp: In instantiation of 'initialization_tests::test_initialization_fixture::test_initialization_fixture() [with T = short unsigned int]': ../../src/test/test_atomic.cpp:312:12: required from 'void TestValueInitialization() [with T = short unsigned int]' ../../src/test/test_atomic.cpp:537:31: required from 'void TestOperations(T, T, T) [with T = short unsigned int]' ../../src/test/test_atomic.cpp:625:22: required from 'void TestAtomicInteger(const char*) [with T = short unsigned int]' ../../src/test/test_atomic.cpp:1064:55: required from here ../../src/test/test_atomic.cpp:301:19: warning: 'void* memset(void*, int, size_t)' writing to an object of type 'struct tbb::atomic' with no trivial copy-assignment [-Wclass-memaccess] memset(non_zeroed_storage.begin(),fill_value,sizeof(non_zeroed_storage)); ~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ In file included from ../../src/test/test_atomic.cpp:35: ../../include/tbb/atomic.h:421:27: note: 'struct tbb::atomic' declared here template<> struct atomic: internal::atomic_impl_with_arithmetic { \ ^~~~~~~~~ ../../include/tbb/atomic.h:474:1: note: in expansion of macro '__TBB_DECL_ATOMIC' __TBB_DECL_ATOMIC(unsigned short) ^~~~~~~~~~~~~~~~~ ../../src/test/test_atomic.cpp: In instantiation of 'initialization_tests::test_initialization_fixture::test_initialization_fixture() [with T = short int]': ../../src/test/test_atomic.cpp:312:12: required from 'void TestValueInitialization() [with T = short int]' ../../src/test/test_atomic.cpp:537:31: required from 'void TestOperations(T, T, T) [with T = short int]' ../../src/test/test_atomic.cpp:625:22: required from 'void TestAtomicInteger(const char*) [with T = short int]' ../../src/test/test_atomic.cpp:1065:37: required from here ../../src/test/test_atomic.cpp:301:19: warning: 'void* memset(void*, int, size_t)' writing to an object of type 'struct tbb::atomic' with no trivial copy-assignment [-Wclass-memaccess] memset(non_zeroed_storage.begin(),fill_value,sizeof(non_zeroed_storage)); ~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ In file included from ../../src/test/test_atomic.cpp:35: ../../include/tbb/atomic.h:421:27: note: 'struct tbb::atomic' declared here template<> struct atomic: internal::atomic_impl_with_arithmetic { \ ^~~~~~~~~ ../../include/tbb/atomic.h:475:1: note: in expansion of macro '__TBB_DECL_ATOMIC' __TBB_DECL_ATOMIC(short) ^~~~~~~~~~~~~~~~~ ../../src/test/test_atomic.cpp: In instantiation of 'initialization_tests::test_initialization_fixture::test_initialization_fixture() [with T = signed char]': ../../src/test/test_atomic.cpp:312:12: required from 'void TestValueInitialization() [with T = signed char]' ../../src/test/test_atomic.cpp:537:31: required from 'void TestOperations(T, T, T) [with T = signed char]' ../../src/test/test_atomic.cpp:625:22: required from 'void TestAtomicInteger(const char*) [with T = signed char]' ../../src/test/test_atomic.cpp:1066:49: required from here ../../src/test/test_atomic.cpp:301:19: warning: 'void* memset(void*, int, size_t)' writing to an object of type 'struct tbb::atomic' with no trivial copy-assignment [-Wclass-memaccess] memset(non_zeroed_storage.begin(),fill_value,sizeof(non_zeroed_storage)); ~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ In file included from ../../src/test/test_atomic.cpp:35: ../../include/tbb/atomic.h:421:27: note: 'struct tbb::atomic' declared here template<> struct atomic: internal::atomic_impl_with_arithmetic { \ ^~~~~~~~~ ../../include/tbb/atomic.h:477:1: note: in expansion of macro '__TBB_DECL_ATOMIC' __TBB_DECL_ATOMIC(signed char) ^~~~~~~~~~~~~~~~~ ../../src/test/test_atomic.cpp: In instantiation of 'initialization_tests::test_initialization_fixture::test_initialization_fixture() [with T = unsigned char]': ../../src/test/test_atomic.cpp:312:12: required from 'void TestValueInitialization() [with T = unsigned char]' ../../src/test/test_atomic.cpp:537:31: required from 'void TestOperations(T, T, T) [with T = unsigned char]' ../../src/test/test_atomic.cpp:625:22: required from 'void TestAtomicInteger(const char*) [with T = unsigned char]' ../../src/test/test_atomic.cpp:1067:53: required from here ../../src/test/test_atomic.cpp:301:19: warning: 'void* memset(void*, int, size_t)' writing to an object of type 'struct tbb::atomic' with no trivial copy-assignment [-Wclass-memaccess] memset(non_zeroed_storage.begin(),fill_value,sizeof(non_zeroed_storage)); ~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ In file included from ../../src/test/test_atomic.cpp:35: ../../include/tbb/atomic.h:421:27: note: 'struct tbb::atomic' declared here template<> struct atomic: internal::atomic_impl_with_arithmetic { \ ^~~~~~~~~ ../../include/tbb/atomic.h:478:1: note: in expansion of macro '__TBB_DECL_ATOMIC' __TBB_DECL_ATOMIC(unsigned char) ^~~~~~~~~~~~~~~~~ ../../src/test/test_atomic.cpp: In instantiation of 'initialization_tests::test_initialization_fixture::test_initialization_fixture() [with T = char]': ../../src/test/test_atomic.cpp:312:12: required from 'void TestValueInitialization() [with T = char]' ../../src/test/test_atomic.cpp:537:31: required from 'void TestOperations(T, T, T) [with T = char]' ../../src/test/test_atomic.cpp:625:22: required from 'void TestAtomicInteger(const char*) [with T = char]' ../../src/test/test_atomic.cpp:1068:35: required from here ../../src/test/test_atomic.cpp:301:19: warning: 'void* memset(void*, int, size_t)' writing to an object of type 'struct tbb::atomic' with no trivial copy-assignment [-Wclass-memaccess] memset(non_zeroed_storage.begin(),fill_value,sizeof(non_zeroed_storage)); ~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ In file included from ../../src/test/test_atomic.cpp:35: ../../include/tbb/atomic.h:421:27: note: 'struct tbb::atomic' declared here template<> struct atomic: internal::atomic_impl_with_arithmetic { \ ^~~~~~~~~ ../../include/tbb/atomic.h:476:1: note: in expansion of macro '__TBB_DECL_ATOMIC' __TBB_DECL_ATOMIC(char) ^~~~~~~~~~~~~~~~~ ../../src/test/test_atomic.cpp: In instantiation of 'initialization_tests::test_initialization_fixture::test_initialization_fixture() [with T = wchar_t]': ../../src/test/test_atomic.cpp:312:12: required from 'void TestValueInitialization() [with T = wchar_t]' ../../src/test/test_atomic.cpp:537:31: required from 'void TestOperations(T, T, T) [with T = wchar_t]' ../../src/test/test_atomic.cpp:625:22: required from 'void TestAtomicInteger(const char*) [with T = wchar_t]' ../../src/test/test_atomic.cpp:1069:41: required from here ../../src/test/test_atomic.cpp:301:19: warning: 'void* memset(void*, int, size_t)' writing to an object of type 'struct tbb::atomic' with no trivial copy-assignment [-Wclass-memaccess] memset(non_zeroed_storage.begin(),fill_value,sizeof(non_zeroed_storage)); ~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ In file included from ../../src/test/test_atomic.cpp:35: ../../include/tbb/atomic.h:421:27: note: 'struct tbb::atomic' declared here template<> struct atomic: internal::atomic_impl_with_arithmetic { \ ^~~~~~~~~ ../../include/tbb/atomic.h:481:1: note: in expansion of macro '__TBB_DECL_ATOMIC' __TBB_DECL_ATOMIC(wchar_t) ^~~~~~~~~~~~~~~~~ ../../src/test/test_atomic.cpp: In instantiation of 'initialization_tests::test_initialization_fixture::test_initialization_fixture() [with T = ArrayElement<1>*]': ../../src/test/test_atomic.cpp:312:12: required from 'void TestValueInitialization() [with T = ArrayElement<1>*]' ../../src/test/test_atomic.cpp:537:31: required from 'void TestOperations(T, T, T) [with T = ArrayElement<1>*]' ../../src/test/test_atomic.cpp:673:23: required from 'void TestAtomicPointer() [with T = ArrayElement<1>]' ../../src/test/test_atomic.cpp:1072:41: required from here ../../src/test/test_atomic.cpp:301:19: warning: 'void* memset(void*, int, size_t)' writing to an object of type 'struct tbb::atomic*>' with no trivial copy-assignment [-Wclass-memaccess] memset(non_zeroed_storage.begin(),fill_value,sizeof(non_zeroed_storage)); ~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ In file included from ../../src/test/test_atomic.cpp:35: ../../include/tbb/atomic.h:485:29: note: 'struct tbb::atomic*>' declared here template struct atomic: internal::atomic_impl_with_arithmetic { ^~~~~~~~~~ ../../src/test/test_atomic.cpp: In instantiation of 'initialization_tests::test_initialization_fixture::test_initialization_fixture() [with T = ArrayElement<2>*]': ../../src/test/test_atomic.cpp:312:12: required from 'void TestValueInitialization() [with T = ArrayElement<2>*]' ../../src/test/test_atomic.cpp:537:31: required from 'void TestOperations(T, T, T) [with T = ArrayElement<2>*]' ../../src/test/test_atomic.cpp:673:23: required from 'void TestAtomicPointer() [with T = ArrayElement<2>]' ../../src/test/test_atomic.cpp:1073:41: required from here ../../src/test/test_atomic.cpp:301:19: warning: 'void* memset(void*, int, size_t)' writing to an object of type 'struct tbb::atomic*>' with no trivial copy-assignment [-Wclass-memaccess] memset(non_zeroed_storage.begin(),fill_value,sizeof(non_zeroed_storage)); ~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ In file included from ../../src/test/test_atomic.cpp:35: ../../include/tbb/atomic.h:485:29: note: 'struct tbb::atomic*>' declared here template struct atomic: internal::atomic_impl_with_arithmetic { ^~~~~~~~~~ ../../src/test/test_atomic.cpp: In instantiation of 'initialization_tests::test_initialization_fixture::test_initialization_fixture() [with T = ArrayElement<3>*]': ../../src/test/test_atomic.cpp:312:12: required from 'void TestValueInitialization() [with T = ArrayElement<3>*]' ../../src/test/test_atomic.cpp:537:31: required from 'void TestOperations(T, T, T) [with T = ArrayElement<3>*]' ../../src/test/test_atomic.cpp:673:23: required from 'void TestAtomicPointer() [with T = ArrayElement<3>]' ../../src/test/test_atomic.cpp:1074:41: required from here ../../src/test/test_atomic.cpp:301:19: warning: 'void* memset(void*, int, size_t)' writing to an object of type 'struct tbb::atomic*>' with no trivial copy-assignment [-Wclass-memaccess] memset(non_zeroed_storage.begin(),fill_value,sizeof(non_zeroed_storage)); ~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ In file included from ../../src/test/test_atomic.cpp:35: ../../include/tbb/atomic.h:485:29: note: 'struct tbb::atomic*>' declared here template struct atomic: internal::atomic_impl_with_arithmetic { ^~~~~~~~~~ ../../src/test/test_atomic.cpp: In instantiation of 'initialization_tests::test_initialization_fixture::test_initialization_fixture() [with T = ArrayElement<4>*]': ../../src/test/test_atomic.cpp:312:12: required from 'void TestValueInitialization() [with T = ArrayElement<4>*]' ../../src/test/test_atomic.cpp:537:31: required from 'void TestOperations(T, T, T) [with T = ArrayElement<4>*]' ../../src/test/test_atomic.cpp:673:23: required from 'void TestAtomicPointer() [with T = ArrayElement<4>]' ../../src/test/test_atomic.cpp:1075:41: required from here ../../src/test/test_atomic.cpp:301:19: warning: 'void* memset(void*, int, size_t)' writing to an object of type 'struct tbb::atomic*>' with no trivial copy-assignment [-Wclass-memaccess] memset(non_zeroed_storage.begin(),fill_value,sizeof(non_zeroed_storage)); ~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ In file included from ../../src/test/test_atomic.cpp:35: ../../include/tbb/atomic.h:485:29: note: 'struct tbb::atomic*>' declared here template struct atomic: internal::atomic_impl_with_arithmetic { ^~~~~~~~~~ ../../src/test/test_atomic.cpp: In instantiation of 'initialization_tests::test_initialization_fixture::test_initialization_fixture() [with T = ArrayElement<5>*]': ../../src/test/test_atomic.cpp:312:12: required from 'void TestValueInitialization() [with T = ArrayElement<5>*]' ../../src/test/test_atomic.cpp:537:31: required from 'void TestOperations(T, T, T) [with T = ArrayElement<5>*]' ../../src/test/test_atomic.cpp:673:23: required from 'void TestAtomicPointer() [with T = ArrayElement<5>]' ../../src/test/test_atomic.cpp:1076:41: required from here ../../src/test/test_atomic.cpp:301:19: warning: 'void* memset(void*, int, size_t)' writing to an object of type 'struct tbb::atomic*>' with no trivial copy-assignment [-Wclass-memaccess] memset(non_zeroed_storage.begin(),fill_value,sizeof(non_zeroed_storage)); ~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ In file included from ../../src/test/test_atomic.cpp:35: ../../include/tbb/atomic.h:485:29: note: 'struct tbb::atomic*>' declared here template struct atomic: internal::atomic_impl_with_arithmetic { ^~~~~~~~~~ ../../src/test/test_atomic.cpp: In instantiation of 'initialization_tests::test_initialization_fixture::test_initialization_fixture() [with T = ArrayElement<6>*]': ../../src/test/test_atomic.cpp:312:12: required from 'void TestValueInitialization() [with T = ArrayElement<6>*]' ../../src/test/test_atomic.cpp:537:31: required from 'void TestOperations(T, T, T) [with T = ArrayElement<6>*]' ../../src/test/test_atomic.cpp:673:23: required from 'void TestAtomicPointer() [with T = ArrayElement<6>]' ../../src/test/test_atomic.cpp:1077:41: required from here ../../src/test/test_atomic.cpp:301:19: warning: 'void* memset(void*, int, size_t)' writing to an object of type 'struct tbb::atomic*>' with no trivial copy-assignment [-Wclass-memaccess] memset(non_zeroed_storage.begin(),fill_value,sizeof(non_zeroed_storage)); ~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ In file included from ../../src/test/test_atomic.cpp:35: ../../include/tbb/atomic.h:485:29: note: 'struct tbb::atomic*>' declared here template struct atomic: internal::atomic_impl_with_arithmetic { ^~~~~~~~~~ ../../src/test/test_atomic.cpp: In instantiation of 'initialization_tests::test_initialization_fixture::test_initialization_fixture() [with T = ArrayElement<7>*]': ../../src/test/test_atomic.cpp:312:12: required from 'void TestValueInitialization() [with T = ArrayElement<7>*]' ../../src/test/test_atomic.cpp:537:31: required from 'void TestOperations(T, T, T) [with T = ArrayElement<7>*]' ../../src/test/test_atomic.cpp:673:23: required from 'void TestAtomicPointer() [with T = ArrayElement<7>]' ../../src/test/test_atomic.cpp:1078:41: required from here ../../src/test/test_atomic.cpp:301:19: warning: 'void* memset(void*, int, size_t)' writing to an object of type 'struct tbb::atomic*>' with no trivial copy-assignment [-Wclass-memaccess] memset(non_zeroed_storage.begin(),fill_value,sizeof(non_zeroed_storage)); ~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ In file included from ../../src/test/test_atomic.cpp:35: ../../include/tbb/atomic.h:485:29: note: 'struct tbb::atomic*>' declared here template struct atomic: internal::atomic_impl_with_arithmetic { ^~~~~~~~~~ ../../src/test/test_atomic.cpp: In instantiation of 'initialization_tests::test_initialization_fixture::test_initialization_fixture() [with T = ArrayElement<8>*]': ../../src/test/test_atomic.cpp:312:12: required from 'void TestValueInitialization() [with T = ArrayElement<8>*]' ../../src/test/test_atomic.cpp:537:31: required from 'void TestOperations(T, T, T) [with T = ArrayElement<8>*]' ../../src/test/test_atomic.cpp:673:23: required from 'void TestAtomicPointer() [with T = ArrayElement<8>]' ../../src/test/test_atomic.cpp:1079:41: required from here ../../src/test/test_atomic.cpp:301:19: warning: 'void* memset(void*, int, size_t)' writing to an object of type 'struct tbb::atomic*>' with no trivial copy-assignment [-Wclass-memaccess] memset(non_zeroed_storage.begin(),fill_value,sizeof(non_zeroed_storage)); ~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ In file included from ../../src/test/test_atomic.cpp:35: ../../include/tbb/atomic.h:485:29: note: 'struct tbb::atomic*>' declared here template struct atomic: internal::atomic_impl_with_arithmetic { ^~~~~~~~~~ ../../src/test/test_atomic.cpp: In instantiation of 'initialization_tests::test_initialization_fixture::test_initialization_fixture() [with T = IncompleteType*]': ../../src/test/test_atomic.cpp:312:12: required from 'void TestValueInitialization() [with T = IncompleteType*]' ../../src/test/test_atomic.cpp:537:31: required from 'void TestOperations(T, T, T) [with T = IncompleteType*]' ../../src/test/test_atomic.cpp:685:24: required from 'void TestAtomicPointerToTypeOfUnknownSize(const char*) [with Ptr = IncompleteType*]' ../../src/test/test_atomic.cpp:1080:78: required from here ../../src/test/test_atomic.cpp:301:19: warning: 'void* memset(void*, int, size_t)' writing to an object of type 'struct tbb::atomic' with no trivial copy-assignment [-Wclass-memaccess] memset(non_zeroed_storage.begin(),fill_value,sizeof(non_zeroed_storage)); ~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ In file included from ../../src/test/test_atomic.cpp:35: ../../include/tbb/atomic.h:485:29: note: 'struct tbb::atomic' declared here template struct atomic: internal::atomic_impl_with_arithmetic { ^~~~~~~~~~ ../../src/test/test_atomic.cpp: In instantiation of 'initialization_tests::test_initialization_fixture::test_initialization_fixture() [with T = void*]': ../../src/test/test_atomic.cpp:312:12: required from 'void TestValueInitialization() [with T = void*]' ../../src/test/test_atomic.cpp:537:31: required from 'void TestOperations(T, T, T) [with T = void*]' ../../src/test/test_atomic.cpp:685:24: required from 'void TestAtomicPointerToTypeOfUnknownSize(const char*) [with Ptr = void*]' ../../src/test/test_atomic.cpp:1081:58: required from here ../../src/test/test_atomic.cpp:301:19: warning: 'void* memset(void*, int, size_t)' writing to an object of type 'struct tbb::atomic' with no trivial copy-assignment [-Wclass-memaccess] memset(non_zeroed_storage.begin(),fill_value,sizeof(non_zeroed_storage)); ~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ In file included from ../../src/test/test_atomic.cpp:35: ../../include/tbb/atomic.h:503:19: note: 'struct tbb::atomic' declared here template<> struct atomic: internal::atomic_impl { ^~~~~~~~~~~~~ ../../src/test/test_atomic.cpp: In instantiation of 'initialization_tests::test_initialization_fixture::test_initialization_fixture() [with T = float]': ../../src/test/test_atomic.cpp:312:12: required from 'void TestValueInitialization() [with T = float]' ../../src/test/test_atomic.cpp:537:31: required from 'void TestOperations(T, T, T) [with T = float]' ../../src/test/test_atomic.cpp:759:22: required from 'void TestAtomicFloat(const char*) [with T = float]' ../../src/test/test_atomic.cpp:1087:35: required from here ../../src/test/test_atomic.cpp:301:19: warning: 'void* memset(void*, int, size_t)' writing to an object of type 'struct tbb::atomic' with no trivial copy-assignment [-Wclass-memaccess] memset(non_zeroed_storage.begin(),fill_value,sizeof(non_zeroed_storage)); ~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ In file included from ../../src/test/test_atomic.cpp:35: ../../include/tbb/atomic.h:407:8: note: 'struct tbb::atomic' declared here struct atomic: internal::atomic_impl { ^~~~~~ ../../src/test/test_atomic.cpp: In instantiation of 'initialization_tests::test_initialization_fixture::test_initialization_fixture() [with T = double]': ../../src/test/test_atomic.cpp:312:12: required from 'void TestValueInitialization() [with T = double]' ../../src/test/test_atomic.cpp:537:31: required from 'void TestOperations(T, T, T) [with T = double]' ../../src/test/test_atomic.cpp:759:22: required from 'void TestAtomicFloat(const char*) [with T = double]' ../../src/test/test_atomic.cpp:1089:41: required from here ../../src/test/test_atomic.cpp:301:19: warning: 'void* memset(void*, int, size_t)' writing to an object of type 'struct tbb::atomic' with no trivial copy-assignment [-Wclass-memaccess] memset(non_zeroed_storage.begin(),fill_value,sizeof(non_zeroed_storage)); ~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ In file included from ../../src/test/test_atomic.cpp:35: ../../include/tbb/atomic.h:407:8: note: 'struct tbb::atomic' declared here struct atomic: internal::atomic_impl { ^~~~~~ g++ -o test_atomic_pic.exe -O2 -g -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -fexceptions -fstack-protector-strong -grecord-gcc-switches -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -mcpu=power8 -mtune=power8 -funwind-tables -fstack-clash-protection -DTBB_USE_DEBUG -g -O0 -DUSE_PTHREAD -DTEST_USES_TBB=1 -Wall -Wshadow -Wcast-qual -Woverloaded-virtual -Wnon-virtual-dtor -Wextra -O2 -g -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -fexceptions -fstack-protector-strong -grecord-gcc-switches -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -mcpu=power8 -mtune=power8 -funwind-tables -fstack-clash-protection test_atomic_pic.o libtbb_debug.so -lpthread -lrt -Wl,-rpath-link=. -rdynamic g++ -o test_atomic_compiler_builtins.o -c -MMD -O2 -g -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -fexceptions -fstack-protector-strong -grecord-gcc-switches -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -mcpu=power8 -mtune=power8 -funwind-tables -fstack-clash-protection -DTBB_USE_DEBUG -g -O0 -DUSE_PTHREAD -Wall -Wshadow -Wcast-qual -Woverloaded-virtual -Wnon-virtual-dtor -Wextra -O2 -g -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -fexceptions -fstack-protector-strong -grecord-gcc-switches -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -mcpu=power8 -mtune=power8 -funwind-tables -fstack-clash-protection -D__TBB_TEST_BUILTINS=1 -DTBB_USE_ASSERT=0 -std=c++14 -I../../src -I../../src/rml/include -I../../include -I. -include ../../src/test/harness_preload.h ../../src/test/test_atomic.cpp ../../src/test/test_atomic.cpp: In instantiation of 'initialization_tests::test_initialization_fixture::test_initialization_fixture() [with T = bool]': ../../src/test/test_atomic.cpp:312:12: required from 'void TestValueInitialization() [with T = bool]' ../../src/test/test_atomic.cpp:537:31: required from 'void TestOperations(T, T, T) [with T = bool]' ../../src/test/test_atomic.cpp:691:41: required from here ../../src/test/test_atomic.cpp:301:19: warning: 'void* memset(void*, int, size_t)' writing to an object of type 'struct tbb::atomic' with no trivial copy-assignment [-Wclass-memaccess] memset(non_zeroed_storage.begin(),fill_value,sizeof(non_zeroed_storage)); ~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ In file included from ../../src/test/test_atomic.cpp:35: ../../include/tbb/atomic.h:407:8: note: 'struct tbb::atomic' declared here struct atomic: internal::atomic_impl { ^~~~~~ ../../src/test/test_atomic.cpp: In instantiation of 'initialization_tests::test_initialization_fixture::test_initialization_fixture() [with T = Color]': ../../src/test/test_atomic.cpp:312:12: required from 'void TestValueInitialization() [with T = Color]' ../../src/test/test_atomic.cpp:537:31: required from 'void TestOperations(T, T, T) [with T = Color]' ../../src/test/test_atomic.cpp:712:41: required from here ../../src/test/test_atomic.cpp:301:19: warning: 'void* memset(void*, int, size_t)' writing to an object of type 'struct tbb::atomic' with no trivial copy-assignment [-Wclass-memaccess] memset(non_zeroed_storage.begin(),fill_value,sizeof(non_zeroed_storage)); ~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ In file included from ../../src/test/test_atomic.cpp:35: ../../include/tbb/atomic.h:407:8: note: 'struct tbb::atomic' declared here struct atomic: internal::atomic_impl { ^~~~~~ ../../src/test/test_atomic.cpp: In instantiation of 'initialization_tests::test_initialization_fixture::test_initialization_fixture() [with T = ScopedColor1]': ../../src/test/test_atomic.cpp:312:12: required from 'void TestValueInitialization() [with T = ScopedColor1]' ../../src/test/test_atomic.cpp:537:31: required from 'void TestOperations(T, T, T) [with T = ScopedColor1]' ../../src/test/test_atomic.cpp:740:108: required from here ../../src/test/test_atomic.cpp:301:19: warning: 'void* memset(void*, int, size_t)' writing to an object of type 'struct tbb::atomic' with no trivial copy-assignment [-Wclass-memaccess] memset(non_zeroed_storage.begin(),fill_value,sizeof(non_zeroed_storage)); ~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ In file included from ../../src/test/test_atomic.cpp:35: ../../include/tbb/atomic.h:407:8: note: 'struct tbb::atomic' declared here struct atomic: internal::atomic_impl { ^~~~~~ ../../src/test/test_atomic.cpp: In instantiation of 'initialization_tests::test_initialization_fixture::test_initialization_fixture() [with T = ScopedColor2]': ../../src/test/test_atomic.cpp:312:12: required from 'void TestValueInitialization() [with T = ScopedColor2]' ../../src/test/test_atomic.cpp:537:31: required from 'void TestOperations(T, T, T) [with T = ScopedColor2]' ../../src/test/test_atomic.cpp:745:108: required from here ../../src/test/test_atomic.cpp:301:19: warning: 'void* memset(void*, int, size_t)' writing to an object of type 'struct tbb::atomic' with no trivial copy-assignment [-Wclass-memaccess] memset(non_zeroed_storage.begin(),fill_value,sizeof(non_zeroed_storage)); ~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ In file included from ../../src/test/test_atomic.cpp:35: ../../include/tbb/atomic.h:407:8: note: 'struct tbb::atomic' declared here struct atomic: internal::atomic_impl { ^~~~~~ ../../src/test/test_atomic.cpp: In instantiation of 'initialization_tests::test_initialization_fixture::test_initialization_fixture() [with T = long long unsigned int]': ../../src/test/test_atomic.cpp:312:12: required from 'void TestValueInitialization() [with T = long long unsigned int]' ../../src/test/test_atomic.cpp:537:31: required from 'void TestOperations(T, T, T) [with T = long long unsigned int]' ../../src/test/test_atomic.cpp:625:22: required from 'void TestAtomicInteger(const char*) [with T = long long unsigned int]' ../../src/test/test_atomic.cpp:1052:68: required from here ../../src/test/test_atomic.cpp:301:19: warning: 'void* memset(void*, int, size_t)' writing to an object of type 'struct tbb::atomic' with no trivial copy-assignment [-Wclass-memaccess] memset(non_zeroed_storage.begin(),fill_value,sizeof(non_zeroed_storage)); ~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ In file included from ../../src/test/test_atomic.cpp:35: ../../include/tbb/atomic.h:421:27: note: 'struct tbb::atomic' declared here template<> struct atomic: internal::atomic_impl_with_arithmetic { \ ^~~~~~~~~ ../../include/tbb/atomic.h:439:1: note: in expansion of macro '__TBB_DECL_ATOMIC' __TBB_DECL_ATOMIC(unsigned __TBB_LONG_LONG) ^~~~~~~~~~~~~~~~~ ../../src/test/test_atomic.cpp: In instantiation of 'initialization_tests::test_initialization_fixture::test_initialization_fixture() [with T = long long int]': ../../src/test/test_atomic.cpp:312:12: required from 'void TestValueInitialization() [with T = long long int]' ../../src/test/test_atomic.cpp:537:31: required from 'void TestOperations(T, T, T) [with T = long long int]' ../../src/test/test_atomic.cpp:625:22: required from 'void TestAtomicInteger(const char*) [with T = long long int]' ../../src/test/test_atomic.cpp:1053:50: required from here ../../src/test/test_atomic.cpp:301:19: warning: 'void* memset(void*, int, size_t)' writing to an object of type 'struct tbb::atomic' with no trivial copy-assignment [-Wclass-memaccess] memset(non_zeroed_storage.begin(),fill_value,sizeof(non_zeroed_storage)); ~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ In file included from ../../src/test/test_atomic.cpp:35: ../../include/tbb/atomic.h:421:27: note: 'struct tbb::atomic' declared here template<> struct atomic: internal::atomic_impl_with_arithmetic { \ ^~~~~~~~~ ../../include/tbb/atomic.h:438:1: note: in expansion of macro '__TBB_DECL_ATOMIC' __TBB_DECL_ATOMIC(__TBB_LONG_LONG) ^~~~~~~~~~~~~~~~~ ../../src/test/test_atomic.cpp: In instantiation of 'initialization_tests::test_initialization_fixture::test_initialization_fixture() [with T = long unsigned int]': ../../src/test/test_atomic.cpp:312:12: required from 'void TestValueInitialization() [with T = long unsigned int]' ../../src/test/test_atomic.cpp:537:31: required from 'void TestOperations(T, T, T) [with T = long unsigned int]' ../../src/test/test_atomic.cpp:625:22: required from 'void TestAtomicInteger(const char*) [with T = long unsigned int]' ../../src/test/test_atomic.cpp:1060:53: required from here ../../src/test/test_atomic.cpp:301:19: warning: 'void* memset(void*, int, size_t)' writing to an object of type 'struct tbb::atomic' with no trivial copy-assignment [-Wclass-memaccess] memset(non_zeroed_storage.begin(),fill_value,sizeof(non_zeroed_storage)); ~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ In file included from ../../src/test/test_atomic.cpp:35: ../../include/tbb/atomic.h:421:27: note: 'struct tbb::atomic' declared here template<> struct atomic: internal::atomic_impl_with_arithmetic { \ ^~~~~~~~~ ../../include/tbb/atomic.h:444:1: note: in expansion of macro '__TBB_DECL_ATOMIC' __TBB_DECL_ATOMIC(unsigned long) ^~~~~~~~~~~~~~~~~ ../../src/test/test_atomic.cpp: In instantiation of 'initialization_tests::test_initialization_fixture::test_initialization_fixture() [with T = long int]': ../../src/test/test_atomic.cpp:312:12: required from 'void TestValueInitialization() [with T = long int]' ../../src/test/test_atomic.cpp:537:31: required from 'void TestOperations(T, T, T) [with T = long int]' ../../src/test/test_atomic.cpp:625:22: required from 'void TestAtomicInteger(const char*) [with T = long int]' ../../src/test/test_atomic.cpp:1061:35: required from here ../../src/test/test_atomic.cpp:301:19: warning: 'void* memset(void*, int, size_t)' writing to an object of type 'struct tbb::atomic' with no trivial copy-assignment [-Wclass-memaccess] memset(non_zeroed_storage.begin(),fill_value,sizeof(non_zeroed_storage)); ~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ In file included from ../../src/test/test_atomic.cpp:35: ../../include/tbb/atomic.h:421:27: note: 'struct tbb::atomic' declared here template<> struct atomic: internal::atomic_impl_with_arithmetic { \ ^~~~~~~~~ ../../include/tbb/atomic.h:443:1: note: in expansion of macro '__TBB_DECL_ATOMIC' __TBB_DECL_ATOMIC(long) ^~~~~~~~~~~~~~~~~ ../../src/test/test_atomic.cpp: In instantiation of 'initialization_tests::test_initialization_fixture::test_initialization_fixture() [with T = unsigned int]': ../../src/test/test_atomic.cpp:312:12: required from 'void TestValueInitialization() [with T = unsigned int]' ../../src/test/test_atomic.cpp:537:31: required from 'void TestOperations(T, T, T) [with T = unsigned int]' ../../src/test/test_atomic.cpp:625:22: required from 'void TestAtomicInteger(const char*) [with T = unsigned int]' ../../src/test/test_atomic.cpp:1062:51: required from here ../../src/test/test_atomic.cpp:301:19: warning: 'void* memset(void*, int, size_t)' writing to an object of type 'struct tbb::atomic' with no trivial copy-assignment [-Wclass-memaccess] memset(non_zeroed_storage.begin(),fill_value,sizeof(non_zeroed_storage)); ~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ In file included from ../../src/test/test_atomic.cpp:35: ../../include/tbb/atomic.h:421:27: note: 'struct tbb::atomic' declared here template<> struct atomic: internal::atomic_impl_with_arithmetic { \ ^~~~~~~~~ ../../include/tbb/atomic.h:470:1: note: in expansion of macro '__TBB_DECL_ATOMIC' __TBB_DECL_ATOMIC(unsigned) ^~~~~~~~~~~~~~~~~ ../../src/test/test_atomic.cpp: In instantiation of 'initialization_tests::test_initialization_fixture::test_initialization_fixture() [with T = int]': ../../src/test/test_atomic.cpp:312:12: required from 'void TestValueInitialization() [with T = int]' ../../src/test/test_atomic.cpp:537:31: required from 'void TestOperations(T, T, T) [with T = int]' ../../src/test/test_atomic.cpp:625:22: required from 'void TestAtomicInteger(const char*) [with T = int]' ../../src/test/test_atomic.cpp:1063:33: required from here ../../src/test/test_atomic.cpp:301:19: warning: 'void* memset(void*, int, size_t)' writing to an object of type 'struct tbb::atomic' with no trivial copy-assignment [-Wclass-memaccess] memset(non_zeroed_storage.begin(),fill_value,sizeof(non_zeroed_storage)); ~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ In file included from ../../src/test/test_atomic.cpp:35: ../../include/tbb/atomic.h:421:27: note: 'struct tbb::atomic' declared here template<> struct atomic: internal::atomic_impl_with_arithmetic { \ ^~~~~~~~~ ../../include/tbb/atomic.h:471:1: note: in expansion of macro '__TBB_DECL_ATOMIC' __TBB_DECL_ATOMIC(int) ^~~~~~~~~~~~~~~~~ ../../src/test/test_atomic.cpp: In instantiation of 'initialization_tests::test_initialization_fixture::test_initialization_fixture() [with T = short unsigned int]': ../../src/test/test_atomic.cpp:312:12: required from 'void TestValueInitialization() [with T = short unsigned int]' ../../src/test/test_atomic.cpp:537:31: required from 'void TestOperations(T, T, T) [with T = short unsigned int]' ../../src/test/test_atomic.cpp:625:22: required from 'void TestAtomicInteger(const char*) [with T = short unsigned int]' ../../src/test/test_atomic.cpp:1064:55: required from here ../../src/test/test_atomic.cpp:301:19: warning: 'void* memset(void*, int, size_t)' writing to an object of type 'struct tbb::atomic' with no trivial copy-assignment [-Wclass-memaccess] memset(non_zeroed_storage.begin(),fill_value,sizeof(non_zeroed_storage)); ~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ In file included from ../../src/test/test_atomic.cpp:35: ../../include/tbb/atomic.h:421:27: note: 'struct tbb::atomic' declared here template<> struct atomic: internal::atomic_impl_with_arithmetic { \ ^~~~~~~~~ ../../include/tbb/atomic.h:474:1: note: in expansion of macro '__TBB_DECL_ATOMIC' __TBB_DECL_ATOMIC(unsigned short) ^~~~~~~~~~~~~~~~~ ../../src/test/test_atomic.cpp: In instantiation of 'initialization_tests::test_initialization_fixture::test_initialization_fixture() [with T = short int]': ../../src/test/test_atomic.cpp:312:12: required from 'void TestValueInitialization() [with T = short int]' ../../src/test/test_atomic.cpp:537:31: required from 'void TestOperations(T, T, T) [with T = short int]' ../../src/test/test_atomic.cpp:625:22: required from 'void TestAtomicInteger(const char*) [with T = short int]' ../../src/test/test_atomic.cpp:1065:37: required from here ../../src/test/test_atomic.cpp:301:19: warning: 'void* memset(void*, int, size_t)' writing to an object of type 'struct tbb::atomic' with no trivial copy-assignment [-Wclass-memaccess] memset(non_zeroed_storage.begin(),fill_value,sizeof(non_zeroed_storage)); ~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ In file included from ../../src/test/test_atomic.cpp:35: ../../include/tbb/atomic.h:421:27: note: 'struct tbb::atomic' declared here template<> struct atomic: internal::atomic_impl_with_arithmetic { \ ^~~~~~~~~ ../../include/tbb/atomic.h:475:1: note: in expansion of macro '__TBB_DECL_ATOMIC' __TBB_DECL_ATOMIC(short) ^~~~~~~~~~~~~~~~~ ../../src/test/test_atomic.cpp: In instantiation of 'initialization_tests::test_initialization_fixture::test_initialization_fixture() [with T = signed char]': ../../src/test/test_atomic.cpp:312:12: required from 'void TestValueInitialization() [with T = signed char]' ../../src/test/test_atomic.cpp:537:31: required from 'void TestOperations(T, T, T) [with T = signed char]' ../../src/test/test_atomic.cpp:625:22: required from 'void TestAtomicInteger(const char*) [with T = signed char]' ../../src/test/test_atomic.cpp:1066:49: required from here ../../src/test/test_atomic.cpp:301:19: warning: 'void* memset(void*, int, size_t)' writing to an object of type 'struct tbb::atomic' with no trivial copy-assignment [-Wclass-memaccess] memset(non_zeroed_storage.begin(),fill_value,sizeof(non_zeroed_storage)); ~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ In file included from ../../src/test/test_atomic.cpp:35: ../../include/tbb/atomic.h:421:27: note: 'struct tbb::atomic' declared here template<> struct atomic: internal::atomic_impl_with_arithmetic { \ ^~~~~~~~~ ../../include/tbb/atomic.h:477:1: note: in expansion of macro '__TBB_DECL_ATOMIC' __TBB_DECL_ATOMIC(signed char) ^~~~~~~~~~~~~~~~~ ../../src/test/test_atomic.cpp: In instantiation of 'initialization_tests::test_initialization_fixture::test_initialization_fixture() [with T = unsigned char]': ../../src/test/test_atomic.cpp:312:12: required from 'void TestValueInitialization() [with T = unsigned char]' ../../src/test/test_atomic.cpp:537:31: required from 'void TestOperations(T, T, T) [with T = unsigned char]' ../../src/test/test_atomic.cpp:625:22: required from 'void TestAtomicInteger(const char*) [with T = unsigned char]' ../../src/test/test_atomic.cpp:1067:53: required from here ../../src/test/test_atomic.cpp:301:19: warning: 'void* memset(void*, int, size_t)' writing to an object of type 'struct tbb::atomic' with no trivial copy-assignment [-Wclass-memaccess] memset(non_zeroed_storage.begin(),fill_value,sizeof(non_zeroed_storage)); ~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ In file included from ../../src/test/test_atomic.cpp:35: ../../include/tbb/atomic.h:421:27: note: 'struct tbb::atomic' declared here template<> struct atomic: internal::atomic_impl_with_arithmetic { \ ^~~~~~~~~ ../../include/tbb/atomic.h:478:1: note: in expansion of macro '__TBB_DECL_ATOMIC' __TBB_DECL_ATOMIC(unsigned char) ^~~~~~~~~~~~~~~~~ ../../src/test/test_atomic.cpp: In instantiation of 'initialization_tests::test_initialization_fixture::test_initialization_fixture() [with T = char]': ../../src/test/test_atomic.cpp:312:12: required from 'void TestValueInitialization() [with T = char]' ../../src/test/test_atomic.cpp:537:31: required from 'void TestOperations(T, T, T) [with T = char]' ../../src/test/test_atomic.cpp:625:22: required from 'void TestAtomicInteger(const char*) [with T = char]' ../../src/test/test_atomic.cpp:1068:35: required from here ../../src/test/test_atomic.cpp:301:19: warning: 'void* memset(void*, int, size_t)' writing to an object of type 'struct tbb::atomic' with no trivial copy-assignment [-Wclass-memaccess] memset(non_zeroed_storage.begin(),fill_value,sizeof(non_zeroed_storage)); ~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ In file included from ../../src/test/test_atomic.cpp:35: ../../include/tbb/atomic.h:421:27: note: 'struct tbb::atomic' declared here template<> struct atomic: internal::atomic_impl_with_arithmetic { \ ^~~~~~~~~ ../../include/tbb/atomic.h:476:1: note: in expansion of macro '__TBB_DECL_ATOMIC' __TBB_DECL_ATOMIC(char) ^~~~~~~~~~~~~~~~~ ../../src/test/test_atomic.cpp: In instantiation of 'initialization_tests::test_initialization_fixture::test_initialization_fixture() [with T = wchar_t]': ../../src/test/test_atomic.cpp:312:12: required from 'void TestValueInitialization() [with T = wchar_t]' ../../src/test/test_atomic.cpp:537:31: required from 'void TestOperations(T, T, T) [with T = wchar_t]' ../../src/test/test_atomic.cpp:625:22: required from 'void TestAtomicInteger(const char*) [with T = wchar_t]' ../../src/test/test_atomic.cpp:1069:41: required from here ../../src/test/test_atomic.cpp:301:19: warning: 'void* memset(void*, int, size_t)' writing to an object of type 'struct tbb::atomic' with no trivial copy-assignment [-Wclass-memaccess] memset(non_zeroed_storage.begin(),fill_value,sizeof(non_zeroed_storage)); ~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ In file included from ../../src/test/test_atomic.cpp:35: ../../include/tbb/atomic.h:421:27: note: 'struct tbb::atomic' declared here template<> struct atomic: internal::atomic_impl_with_arithmetic { \ ^~~~~~~~~ ../../include/tbb/atomic.h:481:1: note: in expansion of macro '__TBB_DECL_ATOMIC' __TBB_DECL_ATOMIC(wchar_t) ^~~~~~~~~~~~~~~~~ ../../src/test/test_atomic.cpp: In instantiation of 'initialization_tests::test_initialization_fixture::test_initialization_fixture() [with T = ArrayElement<1>*]': ../../src/test/test_atomic.cpp:312:12: required from 'void TestValueInitialization() [with T = ArrayElement<1>*]' ../../src/test/test_atomic.cpp:537:31: required from 'void TestOperations(T, T, T) [with T = ArrayElement<1>*]' ../../src/test/test_atomic.cpp:673:23: required from 'void TestAtomicPointer() [with T = ArrayElement<1>]' ../../src/test/test_atomic.cpp:1072:41: required from here ../../src/test/test_atomic.cpp:301:19: warning: 'void* memset(void*, int, size_t)' writing to an object of type 'struct tbb::atomic*>' with no trivial copy-assignment [-Wclass-memaccess] memset(non_zeroed_storage.begin(),fill_value,sizeof(non_zeroed_storage)); ~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ In file included from ../../src/test/test_atomic.cpp:35: ../../include/tbb/atomic.h:485:29: note: 'struct tbb::atomic*>' declared here template struct atomic: internal::atomic_impl_with_arithmetic { ^~~~~~~~~~ ../../src/test/test_atomic.cpp: In instantiation of 'initialization_tests::test_initialization_fixture::test_initialization_fixture() [with T = ArrayElement<2>*]': ../../src/test/test_atomic.cpp:312:12: required from 'void TestValueInitialization() [with T = ArrayElement<2>*]' ../../src/test/test_atomic.cpp:537:31: required from 'void TestOperations(T, T, T) [with T = ArrayElement<2>*]' ../../src/test/test_atomic.cpp:673:23: required from 'void TestAtomicPointer() [with T = ArrayElement<2>]' ../../src/test/test_atomic.cpp:1073:41: required from here ../../src/test/test_atomic.cpp:301:19: warning: 'void* memset(void*, int, size_t)' writing to an object of type 'struct tbb::atomic*>' with no trivial copy-assignment [-Wclass-memaccess] memset(non_zeroed_storage.begin(),fill_value,sizeof(non_zeroed_storage)); ~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ In file included from ../../src/test/test_atomic.cpp:35: ../../include/tbb/atomic.h:485:29: note: 'struct tbb::atomic*>' declared here template struct atomic: internal::atomic_impl_with_arithmetic { ^~~~~~~~~~ ../../src/test/test_atomic.cpp: In instantiation of 'initialization_tests::test_initialization_fixture::test_initialization_fixture() [with T = ArrayElement<3>*]': ../../src/test/test_atomic.cpp:312:12: required from 'void TestValueInitialization() [with T = ArrayElement<3>*]' ../../src/test/test_atomic.cpp:537:31: required from 'void TestOperations(T, T, T) [with T = ArrayElement<3>*]' ../../src/test/test_atomic.cpp:673:23: required from 'void TestAtomicPointer() [with T = ArrayElement<3>]' ../../src/test/test_atomic.cpp:1074:41: required from here ../../src/test/test_atomic.cpp:301:19: warning: 'void* memset(void*, int, size_t)' writing to an object of type 'struct tbb::atomic*>' with no trivial copy-assignment [-Wclass-memaccess] memset(non_zeroed_storage.begin(),fill_value,sizeof(non_zeroed_storage)); ~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ In file included from ../../src/test/test_atomic.cpp:35: ../../include/tbb/atomic.h:485:29: note: 'struct tbb::atomic*>' declared here template struct atomic: internal::atomic_impl_with_arithmetic { ^~~~~~~~~~ ../../src/test/test_atomic.cpp: In instantiation of 'initialization_tests::test_initialization_fixture::test_initialization_fixture() [with T = ArrayElement<4>*]': ../../src/test/test_atomic.cpp:312:12: required from 'void TestValueInitialization() [with T = ArrayElement<4>*]' ../../src/test/test_atomic.cpp:537:31: required from 'void TestOperations(T, T, T) [with T = ArrayElement<4>*]' ../../src/test/test_atomic.cpp:673:23: required from 'void TestAtomicPointer() [with T = ArrayElement<4>]' ../../src/test/test_atomic.cpp:1075:41: required from here ../../src/test/test_atomic.cpp:301:19: warning: 'void* memset(void*, int, size_t)' writing to an object of type 'struct tbb::atomic*>' with no trivial copy-assignment [-Wclass-memaccess] memset(non_zeroed_storage.begin(),fill_value,sizeof(non_zeroed_storage)); ~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ In file included from ../../src/test/test_atomic.cpp:35: ../../include/tbb/atomic.h:485:29: note: 'struct tbb::atomic*>' declared here template struct atomic: internal::atomic_impl_with_arithmetic { ^~~~~~~~~~ ../../src/test/test_atomic.cpp: In instantiation of 'initialization_tests::test_initialization_fixture::test_initialization_fixture() [with T = ArrayElement<5>*]': ../../src/test/test_atomic.cpp:312:12: required from 'void TestValueInitialization() [with T = ArrayElement<5>*]' ../../src/test/test_atomic.cpp:537:31: required from 'void TestOperations(T, T, T) [with T = ArrayElement<5>*]' ../../src/test/test_atomic.cpp:673:23: required from 'void TestAtomicPointer() [with T = ArrayElement<5>]' ../../src/test/test_atomic.cpp:1076:41: required from here ../../src/test/test_atomic.cpp:301:19: warning: 'void* memset(void*, int, size_t)' writing to an object of type 'struct tbb::atomic*>' with no trivial copy-assignment [-Wclass-memaccess] memset(non_zeroed_storage.begin(),fill_value,sizeof(non_zeroed_storage)); ~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ In file included from ../../src/test/test_atomic.cpp:35: ../../include/tbb/atomic.h:485:29: note: 'struct tbb::atomic*>' declared here template struct atomic: internal::atomic_impl_with_arithmetic { ^~~~~~~~~~ ../../src/test/test_atomic.cpp: In instantiation of 'initialization_tests::test_initialization_fixture::test_initialization_fixture() [with T = ArrayElement<6>*]': ../../src/test/test_atomic.cpp:312:12: required from 'void TestValueInitialization() [with T = ArrayElement<6>*]' ../../src/test/test_atomic.cpp:537:31: required from 'void TestOperations(T, T, T) [with T = ArrayElement<6>*]' ../../src/test/test_atomic.cpp:673:23: required from 'void TestAtomicPointer() [with T = ArrayElement<6>]' ../../src/test/test_atomic.cpp:1077:41: required from here ../../src/test/test_atomic.cpp:301:19: warning: 'void* memset(void*, int, size_t)' writing to an object of type 'struct tbb::atomic*>' with no trivial copy-assignment [-Wclass-memaccess] memset(non_zeroed_storage.begin(),fill_value,sizeof(non_zeroed_storage)); ~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ In file included from ../../src/test/test_atomic.cpp:35: ../../include/tbb/atomic.h:485:29: note: 'struct tbb::atomic*>' declared here template struct atomic: internal::atomic_impl_with_arithmetic { ^~~~~~~~~~ ../../src/test/test_atomic.cpp: In instantiation of 'initialization_tests::test_initialization_fixture::test_initialization_fixture() [with T = ArrayElement<7>*]': ../../src/test/test_atomic.cpp:312:12: required from 'void TestValueInitialization() [with T = ArrayElement<7>*]' ../../src/test/test_atomic.cpp:537:31: required from 'void TestOperations(T, T, T) [with T = ArrayElement<7>*]' ../../src/test/test_atomic.cpp:673:23: required from 'void TestAtomicPointer() [with T = ArrayElement<7>]' ../../src/test/test_atomic.cpp:1078:41: required from here ../../src/test/test_atomic.cpp:301:19: warning: 'void* memset(void*, int, size_t)' writing to an object of type 'struct tbb::atomic*>' with no trivial copy-assignment [-Wclass-memaccess] memset(non_zeroed_storage.begin(),fill_value,sizeof(non_zeroed_storage)); ~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ In file included from ../../src/test/test_atomic.cpp:35: ../../include/tbb/atomic.h:485:29: note: 'struct tbb::atomic*>' declared here template struct atomic: internal::atomic_impl_with_arithmetic { ^~~~~~~~~~ ../../src/test/test_atomic.cpp: In instantiation of 'initialization_tests::test_initialization_fixture::test_initialization_fixture() [with T = ArrayElement<8>*]': ../../src/test/test_atomic.cpp:312:12: required from 'void TestValueInitialization() [with T = ArrayElement<8>*]' ../../src/test/test_atomic.cpp:537:31: required from 'void TestOperations(T, T, T) [with T = ArrayElement<8>*]' ../../src/test/test_atomic.cpp:673:23: required from 'void TestAtomicPointer() [with T = ArrayElement<8>]' ../../src/test/test_atomic.cpp:1079:41: required from here ../../src/test/test_atomic.cpp:301:19: warning: 'void* memset(void*, int, size_t)' writing to an object of type 'struct tbb::atomic*>' with no trivial copy-assignment [-Wclass-memaccess] memset(non_zeroed_storage.begin(),fill_value,sizeof(non_zeroed_storage)); ~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ In file included from ../../src/test/test_atomic.cpp:35: ../../include/tbb/atomic.h:485:29: note: 'struct tbb::atomic*>' declared here template struct atomic: internal::atomic_impl_with_arithmetic { ^~~~~~~~~~ ../../src/test/test_atomic.cpp: In instantiation of 'initialization_tests::test_initialization_fixture::test_initialization_fixture() [with T = IncompleteType*]': ../../src/test/test_atomic.cpp:312:12: required from 'void TestValueInitialization() [with T = IncompleteType*]' ../../src/test/test_atomic.cpp:537:31: required from 'void TestOperations(T, T, T) [with T = IncompleteType*]' ../../src/test/test_atomic.cpp:685:24: required from 'void TestAtomicPointerToTypeOfUnknownSize(const char*) [with Ptr = IncompleteType*]' ../../src/test/test_atomic.cpp:1080:78: required from here ../../src/test/test_atomic.cpp:301:19: warning: 'void* memset(void*, int, size_t)' writing to an object of type 'struct tbb::atomic' with no trivial copy-assignment [-Wclass-memaccess] memset(non_zeroed_storage.begin(),fill_value,sizeof(non_zeroed_storage)); ~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ In file included from ../../src/test/test_atomic.cpp:35: ../../include/tbb/atomic.h:485:29: note: 'struct tbb::atomic' declared here template struct atomic: internal::atomic_impl_with_arithmetic { ^~~~~~~~~~ ../../src/test/test_atomic.cpp: In instantiation of 'initialization_tests::test_initialization_fixture::test_initialization_fixture() [with T = void*]': ../../src/test/test_atomic.cpp:312:12: required from 'void TestValueInitialization() [with T = void*]' ../../src/test/test_atomic.cpp:537:31: required from 'void TestOperations(T, T, T) [with T = void*]' ../../src/test/test_atomic.cpp:685:24: required from 'void TestAtomicPointerToTypeOfUnknownSize(const char*) [with Ptr = void*]' ../../src/test/test_atomic.cpp:1081:58: required from here ../../src/test/test_atomic.cpp:301:19: warning: 'void* memset(void*, int, size_t)' writing to an object of type 'struct tbb::atomic' with no trivial copy-assignment [-Wclass-memaccess] memset(non_zeroed_storage.begin(),fill_value,sizeof(non_zeroed_storage)); ~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ In file included from ../../src/test/test_atomic.cpp:35: ../../include/tbb/atomic.h:503:19: note: 'struct tbb::atomic' declared here template<> struct atomic: internal::atomic_impl { ^~~~~~~~~~~~~ ../../src/test/test_atomic.cpp: In instantiation of 'initialization_tests::test_initialization_fixture::test_initialization_fixture() [with T = float]': ../../src/test/test_atomic.cpp:312:12: required from 'void TestValueInitialization() [with T = float]' ../../src/test/test_atomic.cpp:537:31: required from 'void TestOperations(T, T, T) [with T = float]' ../../src/test/test_atomic.cpp:759:22: required from 'void TestAtomicFloat(const char*) [with T = float]' ../../src/test/test_atomic.cpp:1087:35: required from here ../../src/test/test_atomic.cpp:301:19: warning: 'void* memset(void*, int, size_t)' writing to an object of type 'struct tbb::atomic' with no trivial copy-assignment [-Wclass-memaccess] memset(non_zeroed_storage.begin(),fill_value,sizeof(non_zeroed_storage)); ~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ In file included from ../../src/test/test_atomic.cpp:35: ../../include/tbb/atomic.h:407:8: note: 'struct tbb::atomic' declared here struct atomic: internal::atomic_impl { ^~~~~~ ../../src/test/test_atomic.cpp: In instantiation of 'initialization_tests::test_initialization_fixture::test_initialization_fixture() [with T = double]': ../../src/test/test_atomic.cpp:312:12: required from 'void TestValueInitialization() [with T = double]' ../../src/test/test_atomic.cpp:537:31: required from 'void TestOperations(T, T, T) [with T = double]' ../../src/test/test_atomic.cpp:759:22: required from 'void TestAtomicFloat(const char*) [with T = double]' ../../src/test/test_atomic.cpp:1089:41: required from here ../../src/test/test_atomic.cpp:301:19: warning: 'void* memset(void*, int, size_t)' writing to an object of type 'struct tbb::atomic' with no trivial copy-assignment [-Wclass-memaccess] memset(non_zeroed_storage.begin(),fill_value,sizeof(non_zeroed_storage)); ~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ In file included from ../../src/test/test_atomic.cpp:35: ../../include/tbb/atomic.h:407:8: note: 'struct tbb::atomic' declared here struct atomic: internal::atomic_impl { ^~~~~~ g++ -o test_atomic_compiler_builtins.exe -O2 -g -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -fexceptions -fstack-protector-strong -grecord-gcc-switches -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -mcpu=power8 -mtune=power8 -funwind-tables -fstack-clash-protection -DTBB_USE_DEBUG -g -O0 -DUSE_PTHREAD -Wall -Wshadow -Wcast-qual -Woverloaded-virtual -Wnon-virtual-dtor -Wextra -O2 -g -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -fexceptions -fstack-protector-strong -grecord-gcc-switches -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -mcpu=power8 -mtune=power8 -funwind-tables -fstack-clash-protection test_atomic_compiler_builtins.o -lpthread -lrt -Wl,-rpath-link=. -rdynamic g++ -o test_blocked_range.o -c -MMD -O2 -g -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -fexceptions -fstack-protector-strong -grecord-gcc-switches -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -mcpu=power8 -mtune=power8 -funwind-tables -fstack-clash-protection -DTBB_USE_DEBUG -g -O0 -DUSE_PTHREAD -DTEST_USES_TBB=1 -Wall -Wshadow -Wcast-qual -Woverloaded-virtual -Wnon-virtual-dtor -Wextra -O2 -g -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -fexceptions -fstack-protector-strong -grecord-gcc-switches -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -mcpu=power8 -mtune=power8 -funwind-tables -fstack-clash-protection -std=c++14 -I../../src -I../../src/rml/include -I../../include -I. -include ../../src/test/harness_preload.h ../../src/test/test_blocked_range.cpp In file included from ../../include/tbb/tbb_machine.h:243, from ../../include/tbb/task.h:25, from ../../include/tbb/parallel_for.h:25, from ../../src/test/test_blocked_range.cpp:85: ../../include/tbb/machine/mac_ppc.h: In function 'int32_t __TBB_machine_cmpswp4(volatile void*, int32_t, int32_t)': ../../include/tbb/machine/mac_ppc.h:91:46: warning: cast from type 'volatile void*' to type 'int32_t*' {aka 'int*'} casts away qualifiers [-Wcast-qual] , "+m"(* (int32_t*) ptr) /* redundant with "memory" */ ^~~ ../../include/tbb/machine/mac_ppc.h: In function 'int64_t __TBB_machine_cmpswp8(volatile void*, int64_t, int64_t)': ../../include/tbb/machine/mac_ppc.h:116:46: warning: cast from type 'volatile void*' to type 'int64_t*' {aka 'long int*'} casts away qualifiers [-Wcast-qual] , "+m"(* (int64_t*) ptr) /* redundant with "memory" */ ^~~ g++ -o test_blocked_range.exe -O2 -g -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -fexceptions -fstack-protector-strong -grecord-gcc-switches -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -mcpu=power8 -mtune=power8 -funwind-tables -fstack-clash-protection -DTBB_USE_DEBUG -g -O0 -DUSE_PTHREAD -DTEST_USES_TBB=1 -Wall -Wshadow -Wcast-qual -Woverloaded-virtual -Wnon-virtual-dtor -Wextra -O2 -g -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -fexceptions -fstack-protector-strong -grecord-gcc-switches -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -mcpu=power8 -mtune=power8 -funwind-tables -fstack-clash-protection test_blocked_range.o libtbb_debug.so -lpthread -lrt -Wl,-rpath-link=. -rdynamic g++ -o test_blocked_range2d.o -c -MMD -O2 -g -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -fexceptions -fstack-protector-strong -grecord-gcc-switches -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -mcpu=power8 -mtune=power8 -funwind-tables -fstack-clash-protection -DTBB_USE_DEBUG -g -O0 -DUSE_PTHREAD -DTEST_USES_TBB=1 -Wall -Wshadow -Wcast-qual -Woverloaded-virtual -Wnon-virtual-dtor -Wextra -O2 -g -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -fexceptions -fstack-protector-strong -grecord-gcc-switches -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -mcpu=power8 -mtune=power8 -funwind-tables -fstack-clash-protection -std=c++14 -I../../src -I../../src/rml/include -I../../include -I. -include ../../src/test/harness_preload.h ../../src/test/test_blocked_range2d.cpp In file included from ../../include/tbb/tbb_machine.h:243, from ../../include/tbb/task.h:25, from ../../include/tbb/parallel_for.h:25, from ../../src/test/test_blocked_range2d.cpp:108: ../../include/tbb/machine/mac_ppc.h: In function 'int32_t __TBB_machine_cmpswp4(volatile void*, int32_t, int32_t)': ../../include/tbb/machine/mac_ppc.h:91:46: warning: cast from type 'volatile void*' to type 'int32_t*' {aka 'int*'} casts away qualifiers [-Wcast-qual] , "+m"(* (int32_t*) ptr) /* redundant with "memory" */ ^~~ ../../include/tbb/machine/mac_ppc.h: In function 'int64_t __TBB_machine_cmpswp8(volatile void*, int64_t, int64_t)': ../../include/tbb/machine/mac_ppc.h:116:46: warning: cast from type 'volatile void*' to type 'int64_t*' {aka 'long int*'} casts away qualifiers [-Wcast-qual] , "+m"(* (int64_t*) ptr) /* redundant with "memory" */ ^~~ g++ -o test_blocked_range2d.exe -O2 -g -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -fexceptions -fstack-protector-strong -grecord-gcc-switches -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -mcpu=power8 -mtune=power8 -funwind-tables -fstack-clash-protection -DTBB_USE_DEBUG -g -O0 -DUSE_PTHREAD -DTEST_USES_TBB=1 -Wall -Wshadow -Wcast-qual -Woverloaded-virtual -Wnon-virtual-dtor -Wextra -O2 -g -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -fexceptions -fstack-protector-strong -grecord-gcc-switches -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -mcpu=power8 -mtune=power8 -funwind-tables -fstack-clash-protection test_blocked_range2d.o libtbb_debug.so -lpthread -lrt -Wl,-rpath-link=. -rdynamic g++ -o test_blocked_range3d.o -c -MMD -O2 -g -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -fexceptions -fstack-protector-strong -grecord-gcc-switches -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -mcpu=power8 -mtune=power8 -funwind-tables -fstack-clash-protection -DTBB_USE_DEBUG -g -O0 -DUSE_PTHREAD -DTEST_USES_TBB=1 -Wall -Wshadow -Wcast-qual -Woverloaded-virtual -Wnon-virtual-dtor -Wextra -O2 -g -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -fexceptions -fstack-protector-strong -grecord-gcc-switches -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -mcpu=power8 -mtune=power8 -funwind-tables -fstack-clash-protection -std=c++14 -I../../src -I../../src/rml/include -I../../include -I. -include ../../src/test/harness_preload.h ../../src/test/test_blocked_range3d.cpp In file included from ../../include/tbb/tbb_machine.h:243, from ../../include/tbb/task.h:25, from ../../include/tbb/parallel_for.h:25, from ../../src/test/test_blocked_range3d.cpp:134: ../../include/tbb/machine/mac_ppc.h: In function 'int32_t __TBB_machine_cmpswp4(volatile void*, int32_t, int32_t)': ../../include/tbb/machine/mac_ppc.h:91:46: warning: cast from type 'volatile void*' to type 'int32_t*' {aka 'int*'} casts away qualifiers [-Wcast-qual] , "+m"(* (int32_t*) ptr) /* redundant with "memory" */ ^~~ ../../include/tbb/machine/mac_ppc.h: In function 'int64_t __TBB_machine_cmpswp8(volatile void*, int64_t, int64_t)': ../../include/tbb/machine/mac_ppc.h:116:46: warning: cast from type 'volatile void*' to type 'int64_t*' {aka 'long int*'} casts away qualifiers [-Wcast-qual] , "+m"(* (int64_t*) ptr) /* redundant with "memory" */ ^~~ g++ -o test_blocked_range3d.exe -O2 -g -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -fexceptions -fstack-protector-strong -grecord-gcc-switches -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -mcpu=power8 -mtune=power8 -funwind-tables -fstack-clash-protection -DTBB_USE_DEBUG -g -O0 -DUSE_PTHREAD -DTEST_USES_TBB=1 -Wall -Wshadow -Wcast-qual -Woverloaded-virtual -Wnon-virtual-dtor -Wextra -O2 -g -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -fexceptions -fstack-protector-strong -grecord-gcc-switches -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -mcpu=power8 -mtune=power8 -funwind-tables -fstack-clash-protection test_blocked_range3d.o libtbb_debug.so -lpthread -lrt -Wl,-rpath-link=. -rdynamic g++ -o test_concurrent_queue.o -c -MMD -O2 -g -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -fexceptions -fstack-protector-strong -grecord-gcc-switches -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -mcpu=power8 -mtune=power8 -funwind-tables -fstack-clash-protection -DTBB_USE_DEBUG -g -O0 -DUSE_PTHREAD -DTEST_USES_TBB=1 -Wall -Wshadow -Wcast-qual -Woverloaded-virtual -Wnon-virtual-dtor -Wextra -O2 -g -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -fexceptions -fstack-protector-strong -grecord-gcc-switches -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -mcpu=power8 -mtune=power8 -funwind-tables -fstack-clash-protection -std=c++14 -I../../src -I../../src/rml/include -I../../include -I. -include ../../src/test/harness_preload.h ../../src/test/test_concurrent_queue.cpp In file included from ../../include/tbb/internal/../tbb_machine.h:243, from ../../include/tbb/internal/_concurrent_queue_impl.h:29, from ../../include/tbb/concurrent_queue.h:24, from ../../src/test/test_concurrent_queue.cpp:23: ../../include/tbb/internal/../machine/mac_ppc.h: In function 'int32_t __TBB_machine_cmpswp4(volatile void*, int32_t, int32_t)': ../../include/tbb/internal/../machine/mac_ppc.h:91:46: warning: cast from type 'volatile void*' to type 'int32_t*' {aka 'int*'} casts away qualifiers [-Wcast-qual] , "+m"(* (int32_t*) ptr) /* redundant with "memory" */ ^~~ ../../include/tbb/internal/../machine/mac_ppc.h: In function 'int64_t __TBB_machine_cmpswp8(volatile void*, int64_t, int64_t)': ../../include/tbb/internal/../machine/mac_ppc.h:116:46: warning: cast from type 'volatile void*' to type 'int64_t*' {aka 'long int*'} casts away qualifiers [-Wcast-qual] , "+m"(* (int64_t*) ptr) /* redundant with "memory" */ ^~~ In file included from ../../include/tbb/concurrent_queue.h:24, from ../../src/test/test_concurrent_queue.cpp:23: ../../include/tbb/internal/_concurrent_queue_impl.h: In instantiation of 'tbb::strict_ppl::internal::concurrent_queue_base_v3::concurrent_queue_base_v3() [with T = Foo]': ../../include/tbb/concurrent_queue.h:85:25: required from 'tbb::strict_ppl::concurrent_queue::concurrent_queue(const allocator_type&) [with T = Foo; A = tbb::cache_aligned_allocator; tbb::strict_ppl::concurrent_queue::allocator_type = tbb::cache_aligned_allocator]' ../../src/test/test_concurrent_queue.cpp:902:8: required from 'void TestIterator() [with CQ = tbb::strict_ppl::concurrent_queue]' ../../src/test/test_concurrent_queue.cpp:1258:47: required from here ../../include/tbb/internal/_concurrent_queue_impl.h:517:11: warning: 'void* memset(void*, int, size_t)' clearing an object of type 'struct tbb::strict_ppl::internal::concurrent_queue_rep' with no trivial copy-assignment; use value-initialization instead [-Wclass-memaccess] memset(my_rep,0,sizeof(concurrent_queue_rep)); ~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ../../include/tbb/internal/_concurrent_queue_impl.h:405:8: note: 'struct tbb::strict_ppl::internal::concurrent_queue_rep' declared here struct concurrent_queue_rep : public concurrent_queue_rep_base { ^~~~~~~~~~~~~~~~~~~~ ../../include/tbb/internal/_concurrent_queue_impl.h: In instantiation of 'tbb::strict_ppl::internal::concurrent_queue_base_v3::concurrent_queue_base_v3() [with T = char]': ../../include/tbb/concurrent_queue.h:85:25: required from 'tbb::strict_ppl::concurrent_queue::concurrent_queue(const allocator_type&) [with T = char; A = tbb::cache_aligned_allocator; tbb::strict_ppl::concurrent_queue::allocator_type = tbb::cache_aligned_allocator]' ../../src/test/test_concurrent_queue.cpp:1183:8: required from 'void TestPrimitiveTypes(int, T) [with CQ = tbb::strict_ppl::concurrent_queue; T = char]' ../../src/test/test_concurrent_queue.cpp:1279:79: required from here ../../include/tbb/internal/_concurrent_queue_impl.h:517:11: warning: 'void* memset(void*, int, size_t)' clearing an object of type 'struct tbb::strict_ppl::internal::concurrent_queue_rep' with no trivial copy-assignment; use value-initialization instead [-Wclass-memaccess] memset(my_rep,0,sizeof(concurrent_queue_rep)); ~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ../../include/tbb/internal/_concurrent_queue_impl.h:405:8: note: 'struct tbb::strict_ppl::internal::concurrent_queue_rep' declared here struct concurrent_queue_rep : public concurrent_queue_rep_base { ^~~~~~~~~~~~~~~~~~~~ ../../include/tbb/internal/_concurrent_queue_impl.h: In instantiation of 'tbb::strict_ppl::internal::concurrent_queue_base_v3::concurrent_queue_base_v3() [with T = int]': ../../include/tbb/concurrent_queue.h:85:25: required from 'tbb::strict_ppl::concurrent_queue::concurrent_queue(const allocator_type&) [with T = int; A = tbb::cache_aligned_allocator; tbb::strict_ppl::concurrent_queue::allocator_type = tbb::cache_aligned_allocator]' ../../src/test/test_concurrent_queue.cpp:1183:8: required from 'void TestPrimitiveTypes(int, T) [with CQ = tbb::strict_ppl::concurrent_queue; T = int]' ../../src/test/test_concurrent_queue.cpp:1280:78: required from here ../../include/tbb/internal/_concurrent_queue_impl.h:517:11: warning: 'void* memset(void*, int, size_t)' clearing an object of type 'struct tbb::strict_ppl::internal::concurrent_queue_rep' with no trivial copy-assignment; use value-initialization instead [-Wclass-memaccess] memset(my_rep,0,sizeof(concurrent_queue_rep)); ~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ../../include/tbb/internal/_concurrent_queue_impl.h:405:8: note: 'struct tbb::strict_ppl::internal::concurrent_queue_rep' declared here struct concurrent_queue_rep : public concurrent_queue_rep_base { ^~~~~~~~~~~~~~~~~~~~ ../../include/tbb/internal/_concurrent_queue_impl.h: In instantiation of 'tbb::strict_ppl::internal::concurrent_queue_base_v3::concurrent_queue_base_v3() [with T = float]': ../../include/tbb/concurrent_queue.h:85:25: required from 'tbb::strict_ppl::concurrent_queue::concurrent_queue(const allocator_type&) [with T = float; A = tbb::cache_aligned_allocator; tbb::strict_ppl::concurrent_queue::allocator_type = tbb::cache_aligned_allocator]' ../../src/test/test_concurrent_queue.cpp:1183:8: required from 'void TestPrimitiveTypes(int, T) [with CQ = tbb::strict_ppl::concurrent_queue; T = float]' ../../src/test/test_concurrent_queue.cpp:1281:86: required from here ../../include/tbb/internal/_concurrent_queue_impl.h:517:11: warning: 'void* memset(void*, int, size_t)' clearing an object of type 'struct tbb::strict_ppl::internal::concurrent_queue_rep' with no trivial copy-assignment; use value-initialization instead [-Wclass-memaccess] memset(my_rep,0,sizeof(concurrent_queue_rep)); ~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ../../include/tbb/internal/_concurrent_queue_impl.h:405:8: note: 'struct tbb::strict_ppl::internal::concurrent_queue_rep' declared here struct concurrent_queue_rep : public concurrent_queue_rep_base { ^~~~~~~~~~~~~~~~~~~~ ../../include/tbb/internal/_concurrent_queue_impl.h: In instantiation of 'tbb::strict_ppl::internal::concurrent_queue_base_v3::concurrent_queue_base_v3() [with T = double]': ../../include/tbb/concurrent_queue.h:85:25: required from 'tbb::strict_ppl::concurrent_queue::concurrent_queue(const allocator_type&) [with T = double; A = tbb::cache_aligned_allocator; tbb::strict_ppl::concurrent_queue::allocator_type = tbb::cache_aligned_allocator]' ../../src/test/test_concurrent_queue.cpp:1183:8: required from 'void TestPrimitiveTypes(int, T) [with CQ = tbb::strict_ppl::concurrent_queue; T = double]' ../../src/test/test_concurrent_queue.cpp:1282:88: required from here ../../include/tbb/internal/_concurrent_queue_impl.h:517:11: warning: 'void* memset(void*, int, size_t)' clearing an object of type 'struct tbb::strict_ppl::internal::concurrent_queue_rep' with no trivial copy-assignment; use value-initialization instead [-Wclass-memaccess] memset(my_rep,0,sizeof(concurrent_queue_rep)); ~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ../../include/tbb/internal/_concurrent_queue_impl.h:405:8: note: 'struct tbb::strict_ppl::internal::concurrent_queue_rep' declared here struct concurrent_queue_rep : public concurrent_queue_rep_base { ^~~~~~~~~~~~~~~~~~~~ ../../include/tbb/internal/_concurrent_queue_impl.h: In instantiation of 'tbb::strict_ppl::internal::concurrent_queue_base_v3::concurrent_queue_base_v3() [with T = MoveOperationTracker]': ../../include/tbb/concurrent_queue.h:85:25: required from 'tbb::strict_ppl::concurrent_queue::concurrent_queue(const allocator_type&) [with T = MoveOperationTracker; A = tbb::cache_aligned_allocator; tbb::strict_ppl::concurrent_queue::allocator_type = tbb::cache_aligned_allocator]' ../../src/test/test_concurrent_queue.cpp:1500:8: required from 'void TestMoveSupport() [with CQ = tbb::strict_ppl::concurrent_queue; push_t push_op = (push_t)0; pop_t pop_op = (pop_t)1]' ../../src/test/test_concurrent_queue.cpp:1524:89: required from here ../../include/tbb/internal/_concurrent_queue_impl.h:517:11: warning: 'void* memset(void*, int, size_t)' clearing an object of type 'struct tbb::strict_ppl::internal::concurrent_queue_rep' with no trivial copy-assignment; use value-initialization instead [-Wclass-memaccess] memset(my_rep,0,sizeof(concurrent_queue_rep)); ~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ../../include/tbb/internal/_concurrent_queue_impl.h:405:8: note: 'struct tbb::strict_ppl::internal::concurrent_queue_rep' declared here struct concurrent_queue_rep : public concurrent_queue_rep_base { ^~~~~~~~~~~~~~~~~~~~ ../../include/tbb/internal/_concurrent_queue_impl.h: In instantiation of 'tbb::strict_ppl::internal::concurrent_queue_base_v3::concurrent_queue_base_v3() [with T = Bar]': ../../include/tbb/concurrent_queue.h:85:25: required from 'tbb::strict_ppl::concurrent_queue::concurrent_queue(const allocator_type&) [with T = Bar; A = allocator; tbb::strict_ppl::concurrent_queue::allocator_type = allocator]' ../../src/test/test_concurrent_queue.cpp:208:71: required from 'ConcQWithSizeWrapper::ConcQWithSizeWrapper(const A&) [with T = Bar; A = allocator]' ../../src/test/test_concurrent_queue.cpp:789:8: required from 'void TestMoveConstructors() [with CQ = ConcQWithSizeWrapper >; T = Bar]' ../../src/test/test_concurrent_queue.cpp:841:78: required from here ../../include/tbb/internal/_concurrent_queue_impl.h:517:11: warning: 'void* memset(void*, int, size_t)' clearing an object of type 'struct tbb::strict_ppl::internal::concurrent_queue_rep' with no trivial copy-assignment; use value-initialization instead [-Wclass-memaccess] memset(my_rep,0,sizeof(concurrent_queue_rep)); ~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ../../include/tbb/internal/_concurrent_queue_impl.h:405:8: note: 'struct tbb::strict_ppl::internal::concurrent_queue_rep' declared here struct concurrent_queue_rep : public concurrent_queue_rep_base { ^~~~~~~~~~~~~~~~~~~~ ../../include/tbb/internal/_concurrent_queue_impl.h: In instantiation of 'tbb::strict_ppl::internal::concurrent_queue_base_v3::concurrent_queue_base_v3() [with T = FooEx]': ../../include/tbb/concurrent_queue.h:85:25: required from 'tbb::strict_ppl::concurrent_queue::concurrent_queue(const allocator_type&) [with T = FooEx; A = static_counting_allocator, long unsigned int>; tbb::strict_ppl::concurrent_queue::allocator_type = static_counting_allocator, long unsigned int>]' ../../src/test/test_concurrent_queue.cpp:206:28: required from 'ConcQWithSizeWrapper::ConcQWithSizeWrapper() [with T = FooEx; A = static_counting_allocator, long unsigned int>]' ../../src/test/test_concurrent_queue.cpp:1044:18: required from 'void TestExceptionBody() [with CQ = ConcQWithSizeWrapper; A1 = static_counting_allocator, long unsigned int>; A2 = static_counting_allocator, long unsigned int>; T = FooEx]' ../../src/test/test_concurrent_queue.cpp:1154:80: required from here ../../include/tbb/internal/_concurrent_queue_impl.h:517:11: warning: 'void* memset(void*, int, size_t)' clearing an object of type 'struct tbb::strict_ppl::internal::concurrent_queue_rep' with no trivial copy-assignment; use value-initialization instead [-Wclass-memaccess] memset(my_rep,0,sizeof(concurrent_queue_rep)); ~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ../../include/tbb/internal/_concurrent_queue_impl.h:405:8: note: 'struct tbb::strict_ppl::internal::concurrent_queue_rep' declared here struct concurrent_queue_rep : public concurrent_queue_rep_base { ^~~~~~~~~~~~~~~~~~~~ ../../include/tbb/internal/_concurrent_queue_impl.h: In instantiation of 'tbb::strict_ppl::internal::concurrent_queue_base_v3::concurrent_queue_base_v3() [with T = BarEx]': ../../include/tbb/concurrent_queue.h:85:25: required from 'tbb::strict_ppl::concurrent_queue::concurrent_queue(const allocator_type&) [with T = BarEx; A = tbb::cache_aligned_allocator; tbb::strict_ppl::concurrent_queue::allocator_type = tbb::cache_aligned_allocator]' ../../src/test/test_concurrent_queue.cpp:206:28: required from 'ConcQWithSizeWrapper::ConcQWithSizeWrapper() [with T = BarEx; A = tbb::cache_aligned_allocator]' ../../src/test/test_concurrent_queue.cpp:681:11: required from 'void TestConstructors() [with CQ = ConcQWithSizeWrapper; T = Bar; TIter = BarIterator; CQ_EX = ConcQWithSizeWrapper; T_EX = BarEx]' ../../src/test/test_concurrent_queue.cpp:1272:101: required from here ../../include/tbb/internal/_concurrent_queue_impl.h:517:11: warning: 'void* memset(void*, int, size_t)' clearing an object of type 'struct tbb::strict_ppl::internal::concurrent_queue_rep' with no trivial copy-assignment; use value-initialization instead [-Wclass-memaccess] memset(my_rep,0,sizeof(concurrent_queue_rep)); ~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ../../include/tbb/internal/_concurrent_queue_impl.h:405:8: note: 'struct tbb::strict_ppl::internal::concurrent_queue_rep' declared here struct concurrent_queue_rep : public concurrent_queue_rep_base { ^~~~~~~~~~~~~~~~~~~~ ../../include/tbb/internal/_concurrent_queue_impl.h: In instantiation of 'tbb::strict_ppl::internal::concurrent_queue_base_v3::concurrent_queue_base_v3() [with T = NonTrivialConstructorType]': ../../include/tbb/concurrent_queue.h:85:25: required from 'tbb::strict_ppl::concurrent_queue::concurrent_queue(const allocator_type&) [with T = NonTrivialConstructorType; A = tbb::cache_aligned_allocator; tbb::strict_ppl::concurrent_queue::allocator_type = tbb::cache_aligned_allocator]' ../../src/test/test_concurrent_queue.cpp:206:28: required from 'ConcQWithSizeWrapper::ConcQWithSizeWrapper() [with T = NonTrivialConstructorType; A = tbb::cache_aligned_allocator]' ../../src/test/test_concurrent_queue.cpp:1562:8: required from 'void TestEmplaceInQueue() [with CQ = ConcQWithSizeWrapper; emplace_t emplace_op = (emplace_t)0]' ../../src/test/test_concurrent_queue.cpp:1598:87: required from here ../../include/tbb/internal/_concurrent_queue_impl.h:517:11: warning: 'void* memset(void*, int, size_t)' clearing an object of type 'struct tbb::strict_ppl::internal::concurrent_queue_rep' with no trivial copy-assignment; use value-initialization instead [-Wclass-memaccess] memset(my_rep,0,sizeof(concurrent_queue_rep)); ~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ../../include/tbb/internal/_concurrent_queue_impl.h:405:8: note: 'struct tbb::strict_ppl::internal::concurrent_queue_rep' declared here struct concurrent_queue_rep : public concurrent_queue_rep_base { ^~~~~~~~~~~~~~~~~~~~ In file included from ../../src/test/test_concurrent_queue.cpp:26: ../../src/test/harness_allocator.h: In instantiation of 'debug_allocator::pointer debug_allocator::allocate(debug_allocator::size_type, const void*) [with T = tbb::atomic; Allocator = std::allocator; debug_allocator::pointer = tbb::atomic*; debug_allocator::size_type = long unsigned int]': ../../src/test/test_concurrent_queue.cpp:1624:17: required from 'void Examine(Queue, const std::vector&) [with Queue = ConcQWithSizeWrapper, debug_allocator, std::allocator> >; typename Queue::value_type = tbb::atomic]' ../../src/test/test_concurrent_queue.cpp:1643:12: required from 'void TypeTester(const std::vector&) [with Queue = ConcQWithSizeWrapper, tbb::cache_aligned_allocator > >; QueueDebugAlloc = ConcQWithSizeWrapper, debug_allocator, std::allocator> >; typename Queue::value_type = tbb::atomic]' ../../src/test/test_concurrent_queue.cpp:1659:115: required from 'void TestTypes(const std::vector&) [with value_type = tbb::atomic]' ../../src/test/test_concurrent_queue.cpp:1675:21: required from here ../../src/test/harness_allocator.h:518:20: warning: 'void* memset(void*, int, size_t)' writing to an object of type 'struct tbb::atomic' with no trivial copy-assignment [-Wclass-memaccess] std::memset( ptr, 0xE3E3E3E3, n * sizeof(value_type) ); ~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ In file included from ../../include/tbb/internal/_concurrent_queue_impl.h:30, from ../../include/tbb/concurrent_queue.h:24, from ../../src/test/test_concurrent_queue.cpp:23: ../../include/tbb/internal/../atomic.h:421:27: note: 'struct tbb::atomic' declared here template<> struct atomic: internal::atomic_impl_with_arithmetic { \ ^~~~~~~~~ ../../include/tbb/internal/../atomic.h:471:1: note: in expansion of macro '__TBB_DECL_ATOMIC' __TBB_DECL_ATOMIC(int) ^~~~~~~~~~~~~~~~~ In file included from ../../src/test/test_concurrent_queue.cpp:26: ../../src/test/harness_allocator.h: In instantiation of 'debug_allocator::pointer debug_allocator::allocate(debug_allocator::size_type, const void*) [with T = std::shared_ptr; Allocator = std::allocator; debug_allocator::pointer = std::shared_ptr*; debug_allocator::size_type = long unsigned int]': ../../src/test/test_concurrent_queue.cpp:1624:17: required from 'void Examine(Queue, const std::vector&) [with Queue = ConcQWithSizeWrapper, debug_allocator, std::allocator> >; typename Queue::value_type = std::shared_ptr]' ../../src/test/test_concurrent_queue.cpp:1643:12: required from 'void TypeTester(const std::vector&) [with Queue = ConcQWithSizeWrapper, tbb::cache_aligned_allocator > >; QueueDebugAlloc = ConcQWithSizeWrapper, debug_allocator, std::allocator> >; typename Queue::value_type = std::shared_ptr]' ../../src/test/test_concurrent_queue.cpp:1659:115: required from 'void TestTypes(const std::vector&) [with value_type = std::shared_ptr]' ../../src/test/test_concurrent_queue.cpp:1682:21: required from here ../../src/test/harness_allocator.h:518:20: warning: 'void* memset(void*, int, size_t)' writing to an object of type 'class std::shared_ptr' with no trivial copy-assignment [-Wclass-memaccess] std::memset( ptr, 0xE3E3E3E3, n * sizeof(value_type) ); ~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ In file included from /usr/include/c++/8/memory:81, from ../../include/tbb/internal/../tbb_stddef.h:427, from ../../include/tbb/internal/_concurrent_queue_impl.h:28, from ../../include/tbb/concurrent_queue.h:24, from ../../src/test/test_concurrent_queue.cpp:23: /usr/include/c++/8/bits/shared_ptr.h:103:11: note: 'class std::shared_ptr' declared here class shared_ptr : public __shared_ptr<_Tp> ^~~~~~~~~~ In file included from ../../src/test/test_concurrent_queue.cpp:26: ../../src/test/harness_allocator.h: In instantiation of 'debug_allocator::pointer debug_allocator::allocate(debug_allocator::size_type, const void*) [with T = std::weak_ptr; Allocator = std::allocator; debug_allocator::pointer = std::weak_ptr*; debug_allocator::size_type = long unsigned int]': ../../src/test/test_concurrent_queue.cpp:1624:17: required from 'void Examine(Queue, const std::vector&) [with Queue = ConcQWithSizeWrapper, debug_allocator, std::allocator> >; typename Queue::value_type = std::weak_ptr]' ../../src/test/test_concurrent_queue.cpp:1643:12: required from 'void TypeTester(const std::vector&) [with Queue = ConcQWithSizeWrapper, tbb::cache_aligned_allocator > >; QueueDebugAlloc = ConcQWithSizeWrapper, debug_allocator, std::allocator> >; typename Queue::value_type = std::weak_ptr]' ../../src/test/test_concurrent_queue.cpp:1659:115: required from 'void TestTypes(const std::vector&) [with value_type = std::weak_ptr]' ../../src/test/test_concurrent_queue.cpp:1683:20: required from here ../../src/test/harness_allocator.h:518:20: warning: 'void* memset(void*, int, size_t)' writing to an object of type 'class std::weak_ptr' with no trivial copy-assignment [-Wclass-memaccess] std::memset( ptr, 0xE3E3E3E3, n * sizeof(value_type) ); ~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ In file included from /usr/include/c++/8/memory:81, from ../../include/tbb/internal/../tbb_stddef.h:427, from ../../include/tbb/internal/_concurrent_queue_impl.h:28, from ../../include/tbb/concurrent_queue.h:24, from ../../src/test/test_concurrent_queue.cpp:23: /usr/include/c++/8/bits/shared_ptr.h:536:11: note: 'class std::weak_ptr' declared here class weak_ptr : public __weak_ptr<_Tp> ^~~~~~~~ In file included from ../../include/tbb/concurrent_queue.h:24, from ../../src/test/test_concurrent_queue.cpp:23: ../../include/tbb/internal/_concurrent_queue_impl.h: In instantiation of 'tbb::strict_ppl::internal::concurrent_queue_base_v3::concurrent_queue_base_v3() [with T = tbb::atomic]': ../../include/tbb/concurrent_queue.h:85:25: required from 'tbb::strict_ppl::concurrent_queue::concurrent_queue(const allocator_type&) [with T = tbb::atomic; A = tbb::cache_aligned_allocator >; tbb::strict_ppl::concurrent_queue::allocator_type = tbb::cache_aligned_allocator >]' ../../src/test/test_concurrent_queue.cpp:206:28: required from 'ConcQWithSizeWrapper::ConcQWithSizeWrapper() [with T = tbb::atomic; A = tbb::cache_aligned_allocator >]' ../../src/test/test_concurrent_queue.cpp:1634:11: required from 'void TypeTester(const std::vector&) [with Queue = ConcQWithSizeWrapper, tbb::cache_aligned_allocator > >; QueueDebugAlloc = ConcQWithSizeWrapper, debug_allocator, std::allocator> >; typename Queue::value_type = tbb::atomic]' ../../src/test/test_concurrent_queue.cpp:1659:115: required from 'void TestTypes(const std::vector&) [with value_type = tbb::atomic]' ../../src/test/test_concurrent_queue.cpp:1675:21: required from here ../../include/tbb/internal/_concurrent_queue_impl.h:517:11: warning: 'void* memset(void*, int, size_t)' clearing an object of type 'struct tbb::strict_ppl::internal::concurrent_queue_rep >' with no trivial copy-assignment; use value-initialization instead [-Wclass-memaccess] memset(my_rep,0,sizeof(concurrent_queue_rep)); ~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ../../include/tbb/internal/_concurrent_queue_impl.h:405:8: note: 'struct tbb::strict_ppl::internal::concurrent_queue_rep >' declared here struct concurrent_queue_rep : public concurrent_queue_rep_base { ^~~~~~~~~~~~~~~~~~~~ ../../include/tbb/internal/_concurrent_queue_impl.h: In instantiation of 'tbb::strict_ppl::internal::concurrent_queue_base_v3::concurrent_queue_base_v3() [with T = std::shared_ptr]': ../../include/tbb/concurrent_queue.h:85:25: required from 'tbb::strict_ppl::concurrent_queue::concurrent_queue(const allocator_type&) [with T = std::shared_ptr; A = tbb::cache_aligned_allocator >; tbb::strict_ppl::concurrent_queue::allocator_type = tbb::cache_aligned_allocator >]' ../../src/test/test_concurrent_queue.cpp:206:28: required from 'ConcQWithSizeWrapper::ConcQWithSizeWrapper() [with T = std::shared_ptr; A = tbb::cache_aligned_allocator >]' ../../src/test/test_concurrent_queue.cpp:1634:11: required from 'void TypeTester(const std::vector&) [with Queue = ConcQWithSizeWrapper, tbb::cache_aligned_allocator > >; QueueDebugAlloc = ConcQWithSizeWrapper, debug_allocator, std::allocator> >; typename Queue::value_type = std::shared_ptr]' ../../src/test/test_concurrent_queue.cpp:1659:115: required from 'void TestTypes(const std::vector&) [with value_type = std::shared_ptr]' ../../src/test/test_concurrent_queue.cpp:1682:21: required from here ../../include/tbb/internal/_concurrent_queue_impl.h:517:11: warning: 'void* memset(void*, int, size_t)' clearing an object of type 'struct tbb::strict_ppl::internal::concurrent_queue_rep >' with no trivial copy-assignment; use value-initialization instead [-Wclass-memaccess] memset(my_rep,0,sizeof(concurrent_queue_rep)); ~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ../../include/tbb/internal/_concurrent_queue_impl.h:405:8: note: 'struct tbb::strict_ppl::internal::concurrent_queue_rep >' declared here struct concurrent_queue_rep : public concurrent_queue_rep_base { ^~~~~~~~~~~~~~~~~~~~ ../../include/tbb/internal/_concurrent_queue_impl.h: In instantiation of 'tbb::strict_ppl::internal::concurrent_queue_base_v3::concurrent_queue_base_v3() [with T = std::weak_ptr]': ../../include/tbb/concurrent_queue.h:85:25: required from 'tbb::strict_ppl::concurrent_queue::concurrent_queue(const allocator_type&) [with T = std::weak_ptr; A = tbb::cache_aligned_allocator >; tbb::strict_ppl::concurrent_queue::allocator_type = tbb::cache_aligned_allocator >]' ../../src/test/test_concurrent_queue.cpp:206:28: required from 'ConcQWithSizeWrapper::ConcQWithSizeWrapper() [with T = std::weak_ptr; A = tbb::cache_aligned_allocator >]' ../../src/test/test_concurrent_queue.cpp:1634:11: required from 'void TypeTester(const std::vector&) [with Queue = ConcQWithSizeWrapper, tbb::cache_aligned_allocator > >; QueueDebugAlloc = ConcQWithSizeWrapper, debug_allocator, std::allocator> >; typename Queue::value_type = std::weak_ptr]' ../../src/test/test_concurrent_queue.cpp:1659:115: required from 'void TestTypes(const std::vector&) [with value_type = std::weak_ptr]' ../../src/test/test_concurrent_queue.cpp:1683:20: required from here ../../include/tbb/internal/_concurrent_queue_impl.h:517:11: warning: 'void* memset(void*, int, size_t)' clearing an object of type 'struct tbb::strict_ppl::internal::concurrent_queue_rep >' with no trivial copy-assignment; use value-initialization instead [-Wclass-memaccess] memset(my_rep,0,sizeof(concurrent_queue_rep)); ~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ../../include/tbb/internal/_concurrent_queue_impl.h:405:8: note: 'struct tbb::strict_ppl::internal::concurrent_queue_rep >' declared here struct concurrent_queue_rep : public concurrent_queue_rep_base { ^~~~~~~~~~~~~~~~~~~~ g++ -o test_concurrent_queue.exe -O2 -g -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -fexceptions -fstack-protector-strong -grecord-gcc-switches -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -mcpu=power8 -mtune=power8 -funwind-tables -fstack-clash-protection -DTBB_USE_DEBUG -g -O0 -DUSE_PTHREAD -DTEST_USES_TBB=1 -Wall -Wshadow -Wcast-qual -Woverloaded-virtual -Wnon-virtual-dtor -Wextra -O2 -g -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -fexceptions -fstack-protector-strong -grecord-gcc-switches -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -mcpu=power8 -mtune=power8 -funwind-tables -fstack-clash-protection test_concurrent_queue.o libtbb_debug.so -lpthread -lrt -Wl,-rpath-link=. -rdynamic g++ -o test_concurrent_vector.o -c -MMD -O2 -g -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -fexceptions -fstack-protector-strong -grecord-gcc-switches -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -mcpu=power8 -mtune=power8 -funwind-tables -fstack-clash-protection -DTBB_USE_DEBUG -g -O0 -DUSE_PTHREAD -DTEST_USES_TBB=1 -Wall -Wshadow -Wcast-qual -Woverloaded-virtual -Wnon-virtual-dtor -Wextra -O2 -g -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -fexceptions -fstack-protector-strong -grecord-gcc-switches -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -mcpu=power8 -mtune=power8 -funwind-tables -fstack-clash-protection -std=c++14 -I../../src -I../../src/rml/include -I../../include -I. -include ../../src/test/harness_preload.h ../../src/test/test_concurrent_vector.cpp In file included from ../../include/tbb/tbb_machine.h:243, from ../../include/tbb/atomic.h:32, from ../../include/tbb/concurrent_vector.h:26, from ../../src/test/test_concurrent_vector.cpp:25: ../../include/tbb/machine/mac_ppc.h: In function 'int32_t __TBB_machine_cmpswp4(volatile void*, int32_t, int32_t)': ../../include/tbb/machine/mac_ppc.h:91:46: warning: cast from type 'volatile void*' to type 'int32_t*' {aka 'int*'} casts away qualifiers [-Wcast-qual] , "+m"(* (int32_t*) ptr) /* redundant with "memory" */ ^~~ ../../include/tbb/machine/mac_ppc.h: In function 'int64_t __TBB_machine_cmpswp8(volatile void*, int64_t, int64_t)': ../../include/tbb/machine/mac_ppc.h:116:46: warning: cast from type 'volatile void*' to type 'int64_t*' {aka 'long int*'} casts away qualifiers [-Wcast-qual] , "+m"(* (int64_t*) ptr) /* redundant with "memory" */ ^~~ In file included from ../../src/test/test_concurrent_vector.cpp:25: ../../include/tbb/concurrent_vector.h: In static member function 'static void tbb::concurrent_vector::copy_range(void*, const void*, tbb::concurrent_vector::size_type)': ../../include/tbb/concurrent_vector.h:1296:18: warning: declaration of 'iterator' shadows a previous local [-Wshadow] I & iterator ((*const_cast(static_cast(p_type_erased_iterator)))); ^ ../../include/tbb/concurrent_vector.h:578:60: note: shadowed declaration is here typedef internal::vector_iterator iterator; ^~~~~~~~ ../../include/tbb/concurrent_vector.h: In instantiation of 'static void tbb::concurrent_vector::copy_range(void*, const void*, tbb::concurrent_vector::size_type) [with Iterator = int*; T = int; A = tbb::cache_aligned_allocator; tbb::concurrent_vector::size_type = long unsigned int]': ../../include/tbb/concurrent_vector.h:795:38: required from 'tbb::concurrent_vector::iterator tbb::concurrent_vector::grow_by(I, I) [with I = int*; T = int; A = tbb::cache_aligned_allocator; tbb::concurrent_vector::iterator = tbb::internal::vector_iterator, int>]' ../../src/test/test_concurrent_vector.cpp:762:5: required from here ../../include/tbb/concurrent_vector.h:1296:9: warning: declaration of 'iterator' shadows a previous local [-Wshadow] I & iterator ((*const_cast(static_cast(p_type_erased_iterator)))); ^~~~~~~~ ../../include/tbb/concurrent_vector.h:578:60: note: shadowed declaration is here typedef internal::vector_iterator iterator; ^~~~~~~~ ../../include/tbb/concurrent_vector.h: In instantiation of 'static void tbb::concurrent_vector::copy_range(void*, const void*, tbb::concurrent_vector::size_type) [with Iterator = std::move_iterator, arena, long unsigned int>, long unsigned int> >, FooWithAssign> >; T = FooWithAssign; A = static_shared_counting_allocator, arena, long unsigned int>, long unsigned int>; tbb::concurrent_vector::size_type = long unsigned int]': ../../include/tbb/concurrent_vector.h:795:38: required from 'tbb::concurrent_vector::iterator tbb::concurrent_vector::grow_by(I, I) [with I = std::move_iterator, arena, long unsigned int>, long unsigned int> >, FooWithAssign> >; T = FooWithAssign; A = static_shared_counting_allocator, arena, long unsigned int>, long unsigned int>; tbb::concurrent_vector::iterator = tbb::internal::vector_iterator, arena, long unsigned int>, long unsigned int> >, FooWithAssign>]' ../../src/test/test_concurrent_vector.cpp:921:111: required from here ../../include/tbb/concurrent_vector.h:1296:9: warning: declaration of 'iterator' shadows a previous local [-Wshadow] I & iterator ((*const_cast(static_cast(p_type_erased_iterator)))); ^~~~~~~~ ../../include/tbb/concurrent_vector.h:578:60: note: shadowed declaration is here typedef internal::vector_iterator iterator; ^~~~~~~~ In file included from ../../src/test/test_concurrent_vector.cpp:25: ../../include/tbb/concurrent_vector.h: In instantiation of 'void tbb::internal::handle_unconstructed_elements(T*, std::size_t) [with T = move_semantics_helpers::move_only_type; std::size_t = long unsigned int]': ../../include/tbb/concurrent_vector.h:1136:60: required from 'tbb::concurrent_vector::push_back_helper::element_construction_guard::~element_construction_guard() [with T = move_semantics_helpers::move_only_type; A = tbb::cache_aligned_allocator]' ../../include/tbb/concurrent_vector.h:1128:12: required from 'tbb::concurrent_vector::iterator tbb::concurrent_vector::push_back(T&&) [with T = move_semantics_helpers::move_only_type; A = tbb::cache_aligned_allocator; tbb::concurrent_vector::iterator = tbb::internal::vector_iterator, move_semantics_helpers::move_only_type>]' ../../src/test/test_concurrent_vector.cpp:831:31: required from here ../../include/tbb/concurrent_vector.h:77:20: warning: 'void* memset(void*, int, size_t)' clearing an object of type 'struct move_semantics_helpers::move_only_type' with no trivial copy-assignment [-Wclass-memaccess] std::memset( array, 0, n_of_elements * sizeof( T ) ); ~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ../../src/test/test_concurrent_vector.cpp:818:12: note: 'struct move_semantics_helpers::move_only_type' declared here struct move_only_type:NoCopy{ ^~~~~~~~~~~~~~ In file included from ../../src/test/test_concurrent_vector.cpp:25: ../../include/tbb/concurrent_vector.h: In instantiation of 'void tbb::internal::handle_unconstructed_elements(T*, std::size_t) [with T = emplace_helpers::wrapper_type; std::size_t = long unsigned int]': ../../include/tbb/concurrent_vector.h:1136:60: required from 'tbb::concurrent_vector::push_back_helper::element_construction_guard::~element_construction_guard() [with T = emplace_helpers::wrapper_type; A = tbb::cache_aligned_allocator]' ../../include/tbb/concurrent_vector.h:1128:12: required from 'tbb::concurrent_vector::iterator tbb::concurrent_vector::emplace_back(Args&& ...) [with Args = {int, int}; T = emplace_helpers::wrapper_type; A = tbb::cache_aligned_allocator; tbb::concurrent_vector::iterator = tbb::internal::vector_iterator, emplace_helpers::wrapper_type>]' ../../src/test/test_concurrent_vector.cpp:852:23: required from here ../../include/tbb/concurrent_vector.h:77:20: warning: 'void* memset(void*, int, size_t)' clearing an object of type 'struct emplace_helpers::wrapper_type' with no trivial copy-assignment [-Wclass-memaccess] std::memset( array, 0, n_of_elements * sizeof( T ) ); ~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ../../src/test/test_concurrent_vector.cpp:837:12: note: 'struct emplace_helpers::wrapper_type' declared here struct wrapper_type:NoCopy{ ^~~~~~~~~~~~ In file included from ../../src/test/test_concurrent_vector.cpp:36: ../../src/test/harness_allocator.h: In instantiation of 'debug_allocator::pointer debug_allocator::allocate(debug_allocator::size_type, const void*) [with T = Foo; Allocator = std::allocator; debug_allocator::pointer = Foo*; debug_allocator::size_type = long unsigned int]': ../../include/tbb/concurrent_vector.h:1029:81: required from 'static void* tbb::concurrent_vector::internal_allocator(tbb::internal::concurrent_vector_base_v3&, std::size_t) [with T = Foo; A = debug_allocator; std::size_t = long unsigned int]' ../../include/tbb/concurrent_vector.h:605:32: required from 'tbb::concurrent_vector::concurrent_vector(const allocator_type&) [with T = Foo; A = debug_allocator; tbb::concurrent_vector::allocator_type = debug_allocator]' ../../src/test/test_concurrent_vector.cpp:1421:12: required from here ../../src/test/harness_allocator.h:518:20: warning: 'void* memset(void*, int, size_t)' writing to an object of type 'struct Foo' with no trivial copy-assignment [-Wclass-memaccess] std::memset( ptr, 0xE3E3E3E3, n * sizeof(value_type) ); ~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ In file included from ../../src/test/test_concurrent_vector.cpp:38: ../../src/test/test_container_move_support.h:54:8: note: 'struct Foo' declared here struct Foo : FooLimit, Harness::StateTrackable{ ^~~ In file included from ../../src/test/test_concurrent_vector.cpp:25: ../../include/tbb/concurrent_vector.h: In instantiation of 'void tbb::internal::handle_unconstructed_elements(T*, std::size_t) [with T = Foo; std::size_t = long unsigned int]': ../../include/tbb/concurrent_vector.h:1136:60: required from 'tbb::concurrent_vector::push_back_helper::element_construction_guard::~element_construction_guard() [with T = Foo; A = debug_allocator]' ../../include/tbb/concurrent_vector.h:1128:12: required from 'tbb::concurrent_vector::iterator tbb::concurrent_vector::push_back(T&&) [with T = Foo; A = debug_allocator; tbb::concurrent_vector::iterator = tbb::internal::vector_iterator >, Foo>]' ../../src/test/test_concurrent_vector.cpp:1444:37: required from here ../../include/tbb/concurrent_vector.h:77:20: warning: 'void* memset(void*, int, size_t)' clearing an object of type 'struct Foo' with no trivial copy-assignment; use value-initialization instead [-Wclass-memaccess] std::memset( array, 0, n_of_elements * sizeof( T ) ); ~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ In file included from ../../src/test/test_concurrent_vector.cpp:38: ../../src/test/test_container_move_support.h:54:8: note: 'struct Foo' declared here struct Foo : FooLimit, Harness::StateTrackable{ ^~~ In file included from ../../src/test/test_concurrent_vector.cpp:36: ../../src/test/harness_allocator.h: In instantiation of 'debug_allocator::pointer debug_allocator::allocate(debug_allocator::size_type, const void*) [with T = push_back_exception_safety_helpers::throwing_foo; Allocator = std::allocator; debug_allocator::pointer = push_back_exception_safety_helpers::throwing_foo*; debug_allocator::size_type = long unsigned int]': ../../include/tbb/concurrent_vector.h:1029:81: required from 'static void* tbb::concurrent_vector::internal_allocator(tbb::internal::concurrent_vector_base_v3&, std::size_t) [with T = push_back_exception_safety_helpers::throwing_foo; A = debug_allocator; std::size_t = long unsigned int]' ../../include/tbb/concurrent_vector.h:605:32: required from 'tbb::concurrent_vector::concurrent_vector(const allocator_type&) [with T = push_back_exception_safety_helpers::throwing_foo; A = debug_allocator; tbb::concurrent_vector::allocator_type = debug_allocator]' ../../src/test/test_concurrent_vector.cpp:1421:12: required from here ../../src/test/harness_allocator.h:518:20: warning: 'void* memset(void*, int, size_t)' writing to an object of type 'struct push_back_exception_safety_helpers::throwing_foo' with no trivial copy-assignment [-Wclass-memaccess] std::memset( ptr, 0xE3E3E3E3, n * sizeof(value_type) ); ~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ../../src/test/test_concurrent_vector.cpp:1414:12: note: 'struct push_back_exception_safety_helpers::throwing_foo' declared here struct throwing_foo:Foo{ ^~~~~~~~~~~~ In file included from ../../src/test/test_concurrent_vector.cpp:25: ../../include/tbb/concurrent_vector.h: In instantiation of 'void tbb::internal::handle_unconstructed_elements(T*, std::size_t) [with T = push_back_exception_safety_helpers::throwing_foo; std::size_t = long unsigned int]': ../../include/tbb/concurrent_vector.h:1136:60: required from 'tbb::concurrent_vector::push_back_helper::element_construction_guard::~element_construction_guard() [with T = push_back_exception_safety_helpers::throwing_foo; A = debug_allocator]' ../../include/tbb/concurrent_vector.h:1128:12: required from 'tbb::concurrent_vector::iterator tbb::concurrent_vector::emplace_back(Args&& ...) [with Args = {int, int}; T = push_back_exception_safety_helpers::throwing_foo; A = debug_allocator; tbb::concurrent_vector::iterator = tbb::internal::vector_iterator >, push_back_exception_safety_helpers::throwing_foo>]' ../../src/test/test_concurrent_vector.cpp:1461:31: required from here ../../include/tbb/concurrent_vector.h:77:20: warning: 'void* memset(void*, int, size_t)' clearing an object of type 'struct push_back_exception_safety_helpers::throwing_foo' with no trivial copy-assignment; use assignment instead [-Wclass-memaccess] std::memset( array, 0, n_of_elements * sizeof( T ) ); ~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ../../src/test/test_concurrent_vector.cpp:1414:12: note: 'struct push_back_exception_safety_helpers::throwing_foo' declared here struct throwing_foo:Foo{ ^~~~~~~~~~~~ In file included from ../../src/test/test_concurrent_vector.cpp:36: ../../src/test/harness_allocator.h: In instantiation of 'debug_allocator::pointer debug_allocator::allocate(debug_allocator::size_type, const void*) [with T = std::reference_wrapper; Allocator = std::allocator; debug_allocator::pointer = std::reference_wrapper*; debug_allocator::size_type = long unsigned int]': ../../src/test/test_concurrent_vector.cpp:1613:5: required from 'void Examine(tbb::concurrent_vector, const std::vector&) [with bool default_construction_present = false; Type = std::reference_wrapper; Allocator = debug_allocator, std::allocator>]' ../../src/test/test_concurrent_vector.cpp:1651:42: required from 'void TypeTester(const std::vector&) [with bool default_construction_present = false; Type = std::reference_wrapper]' ../../src/test/test_concurrent_vector.cpp:1681:66: required from here ../../src/test/harness_allocator.h:518:20: warning: 'void* memset(void*, int, size_t)' writing to an object of non-trivial type 'class std::reference_wrapper'; use assignment instead [-Wclass-memaccess] std::memset( ptr, 0xE3E3E3E3, n * sizeof(value_type) ); ~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ In file included from /usr/include/c++/8/bits/shared_ptr_base.h:54, from /usr/include/c++/8/bits/shared_ptr.h:52, from /usr/include/c++/8/memory:81, from ../../include/tbb/tbb_stddef.h:427, from ../../include/tbb/concurrent_vector.h:24, from ../../src/test/test_concurrent_vector.cpp:25: /usr/include/c++/8/bits/refwrap.h:289:11: note: 'class std::reference_wrapper' declared here class reference_wrapper ^~~~~~~~~~~~~~~~~ In file included from ../../src/test/test_concurrent_vector.cpp:36: ../../src/test/harness_allocator.h: In instantiation of 'debug_allocator::pointer debug_allocator::allocate(debug_allocator::size_type, const void*) [with T = tbb::atomic; Allocator = std::allocator; debug_allocator::pointer = tbb::atomic*; debug_allocator::size_type = long unsigned int]': ../../src/test/test_concurrent_vector.cpp:1613:5: required from 'void Examine(tbb::concurrent_vector, const std::vector&) [with bool default_construction_present = true; Type = tbb::atomic; Allocator = debug_allocator, std::allocator>]' ../../src/test/test_concurrent_vector.cpp:1651:42: required from 'void TypeTester(const std::vector&) [with bool default_construction_present = true; Type = tbb::atomic]' ../../src/test/test_concurrent_vector.cpp:1688:68: required from here ../../src/test/harness_allocator.h:518:20: warning: 'void* memset(void*, int, size_t)' writing to an object of type 'struct tbb::atomic' with no trivial copy-assignment [-Wclass-memaccess] std::memset( ptr, 0xE3E3E3E3, n * sizeof(value_type) ); ~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ In file included from ../../include/tbb/concurrent_vector.h:26, from ../../src/test/test_concurrent_vector.cpp:25: ../../include/tbb/atomic.h:421:27: note: 'struct tbb::atomic' declared here template<> struct atomic: internal::atomic_impl_with_arithmetic { \ ^~~~~~~~~ ../../include/tbb/atomic.h:471:1: note: in expansion of macro '__TBB_DECL_ATOMIC' __TBB_DECL_ATOMIC(int) ^~~~~~~~~~~~~~~~~ In file included from ../../src/test/test_concurrent_vector.cpp:36: ../../src/test/harness_allocator.h: In instantiation of 'debug_allocator::pointer debug_allocator::allocate(debug_allocator::size_type, const void*) [with T = std::shared_ptr; Allocator = std::allocator; debug_allocator::pointer = std::shared_ptr*; debug_allocator::size_type = long unsigned int]': ../../src/test/test_concurrent_vector.cpp:1613:5: required from 'void Examine(tbb::concurrent_vector, const std::vector&) [with bool default_construction_present = true; Type = std::shared_ptr; Allocator = debug_allocator, std::allocator>]' ../../src/test/test_concurrent_vector.cpp:1651:42: required from 'void TypeTester(const std::vector&) [with bool default_construction_present = true; Type = std::shared_ptr]' ../../src/test/test_concurrent_vector.cpp:1693:68: required from here ../../src/test/harness_allocator.h:518:20: warning: 'void* memset(void*, int, size_t)' writing to an object of type 'class std::shared_ptr' with no trivial copy-assignment [-Wclass-memaccess] std::memset( ptr, 0xE3E3E3E3, n * sizeof(value_type) ); ~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ In file included from /usr/include/c++/8/memory:81, from ../../include/tbb/tbb_stddef.h:427, from ../../include/tbb/concurrent_vector.h:24, from ../../src/test/test_concurrent_vector.cpp:25: /usr/include/c++/8/bits/shared_ptr.h:103:11: note: 'class std::shared_ptr' declared here class shared_ptr : public __shared_ptr<_Tp> ^~~~~~~~~~ In file included from ../../src/test/test_concurrent_vector.cpp:36: ../../src/test/harness_allocator.h: In instantiation of 'debug_allocator::pointer debug_allocator::allocate(debug_allocator::size_type, const void*) [with T = std::weak_ptr; Allocator = std::allocator; debug_allocator::pointer = std::weak_ptr*; debug_allocator::size_type = long unsigned int]': ../../src/test/test_concurrent_vector.cpp:1613:5: required from 'void Examine(tbb::concurrent_vector, const std::vector&) [with bool default_construction_present = true; Type = std::weak_ptr; Allocator = debug_allocator, std::allocator>]' ../../src/test/test_concurrent_vector.cpp:1651:42: required from 'void TypeTester(const std::vector&) [with bool default_construction_present = true; Type = std::weak_ptr]' ../../src/test/test_concurrent_vector.cpp:1697:67: required from here ../../src/test/harness_allocator.h:518:20: warning: 'void* memset(void*, int, size_t)' writing to an object of type 'class std::weak_ptr' with no trivial copy-assignment [-Wclass-memaccess] std::memset( ptr, 0xE3E3E3E3, n * sizeof(value_type) ); ~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ In file included from /usr/include/c++/8/memory:81, from ../../include/tbb/tbb_stddef.h:427, from ../../include/tbb/concurrent_vector.h:24, from ../../src/test/test_concurrent_vector.cpp:25: /usr/include/c++/8/bits/shared_ptr.h:536:11: note: 'class std::weak_ptr' declared here class weak_ptr : public __weak_ptr<_Tp> ^~~~~~~~ In file included from ../../src/test/test_concurrent_vector.cpp:36: ../../src/test/harness_allocator.h: In instantiation of 'debug_allocator::pointer debug_allocator::allocate(debug_allocator::size_type, const void*) [with T = Foo; Allocator = tbb::cache_aligned_allocator; debug_allocator::pointer = Foo*; debug_allocator::size_type = long unsigned int]': ../../src/test/harness_allocator.h:237:43: required from 'static_counting_allocator::pointer static_counting_allocator::allocate(static_counting_allocator::size_type) [with base_alloc_t = debug_allocator; count_t = long unsigned int; static_counting_allocator::pointer = Foo*; static_counting_allocator::size_type = long unsigned int]' ../../include/tbb/concurrent_vector.h:1029:81: required from 'static void* tbb::concurrent_vector::internal_allocator(tbb::internal::concurrent_vector_base_v3&, std::size_t) [with T = Foo; A = static_counting_allocator, long unsigned int>; std::size_t = long unsigned int]' ../../include/tbb/concurrent_vector.h:605:32: required from 'tbb::concurrent_vector::concurrent_vector(const allocator_type&) [with T = Foo; A = static_counting_allocator, long unsigned int>; tbb::concurrent_vector::allocator_type = static_counting_allocator, long unsigned int>]' ../../src/test/test_concurrent_vector.cpp:119:26: required from here ../../src/test/harness_allocator.h:518:20: warning: 'void* memset(void*, int, size_t)' writing to an object of type 'tbb::cache_aligned_allocator::value_type' {aka 'struct Foo'} with no trivial copy-assignment [-Wclass-memaccess] std::memset( ptr, 0xE3E3E3E3, n * sizeof(value_type) ); ~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ In file included from ../../src/test/test_concurrent_vector.cpp:38: ../../src/test/test_container_move_support.h:54:8: note: 'tbb::cache_aligned_allocator::value_type' {aka 'struct Foo'} declared here struct Foo : FooLimit, Harness::StateTrackable{ ^~~ In file included from ../../src/test/test_concurrent_vector.cpp:25: ../../include/tbb/concurrent_vector.h: In instantiation of 'void tbb::internal::handle_unconstructed_elements(T*, std::size_t) [with T = FooWithAssign; std::size_t = long unsigned int]': ../../include/tbb/concurrent_vector.h:1123:56: required from 'tbb::concurrent_vector::internal_loop_guide::~internal_loop_guide() [with T = FooWithAssign; A = local_counting_allocator, long unsigned int>]' ../../include/tbb/concurrent_vector.h:1267:25: required from 'static void tbb::concurrent_vector::initialize_array_by(void*, const void*, tbb::concurrent_vector::size_type) [with T = FooWithAssign; A = local_counting_allocator, long unsigned int>; tbb::concurrent_vector::size_type = long unsigned int]' ../../include/tbb/concurrent_vector.h:706:102: required from 'tbb::concurrent_vector::concurrent_vector(tbb::concurrent_vector::size_type, tbb::concurrent_vector::const_reference, const allocator_type&) [with T = FooWithAssign; A = local_counting_allocator, long unsigned int>; tbb::concurrent_vector::size_type = long unsigned int; tbb::concurrent_vector::const_reference = const FooWithAssign&; tbb::concurrent_vector::allocator_type = local_counting_allocator, long unsigned int>]' ../../src/test/test_concurrent_vector.cpp:868:61: required from here ../../include/tbb/concurrent_vector.h:77:20: warning: 'void* memset(void*, int, size_t)' clearing an object of type 'struct FooWithAssign' with no trivial copy-assignment; use assignment or value-initialization instead [-Wclass-memaccess] std::memset( array, 0, n_of_elements * sizeof( T ) ); ~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ In file included from ../../src/test/test_concurrent_vector.cpp:38: ../../src/test/test_container_move_support.h:143:8: note: 'struct FooWithAssign' declared here struct FooWithAssign: public Foo { ^~~~~~~~~~~~~ In file included from ../../src/test/test_concurrent_vector.cpp:25: ../../include/tbb/concurrent_vector.h: In instantiation of 'void tbb::internal::handle_unconstructed_elements(T*, std::size_t) [with T = test_move_in_shrink_to_fit_helpers::dummy; std::size_t = long unsigned int]': ../../include/tbb/concurrent_vector.h:1123:56: required from 'tbb::concurrent_vector::internal_loop_guide::~internal_loop_guide() [with T = test_move_in_shrink_to_fit_helpers::dummy; A = tbb::cache_aligned_allocator]' ../../include/tbb/concurrent_vector.h:1289:25: required from 'static void tbb::concurrent_vector::move_array_if_noexcept(void*, const void*, tbb::concurrent_vector::size_type) [with T = test_move_in_shrink_to_fit_helpers::dummy; A = tbb::cache_aligned_allocator; tbb::concurrent_vector::size_type = long unsigned int]' ../../include/tbb/concurrent_vector.h:1169:17: required from 'void tbb::concurrent_vector::shrink_to_fit() [with T = test_move_in_shrink_to_fit_helpers::dummy; A = tbb::cache_aligned_allocator]' ../../src/test/test_concurrent_vector.cpp:967:28: required from here ../../include/tbb/concurrent_vector.h:77:20: warning: 'void* memset(void*, int, size_t)' clearing an object of type 'struct test_move_in_shrink_to_fit_helpers::dummy' with no trivial copy-assignment; use assignment instead [-Wclass-memaccess] std::memset( array, 0, n_of_elements * sizeof( T ) ); ~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ../../src/test/test_concurrent_vector.cpp:928:12: note: 'struct test_move_in_shrink_to_fit_helpers::dummy' declared here struct dummy : Harness::StateTrackable<>{ ^~~~~ In file included from ../../src/test/test_concurrent_vector.cpp:36: ../../src/test/harness_allocator.h: In instantiation of 'debug_allocator::pointer debug_allocator::allocate(debug_allocator::size_type, const void*) [with T = FooWithAssign; Allocator = std::allocator; debug_allocator::pointer = FooWithAssign*; debug_allocator::size_type = long unsigned int]': ../../src/test/harness_allocator.h:237:43: required from 'static_counting_allocator::pointer static_counting_allocator::allocate(static_counting_allocator::size_type) [with base_alloc_t = debug_allocator; count_t = long unsigned int; static_counting_allocator::pointer = FooWithAssign*; static_counting_allocator::size_type = long unsigned int]' ../../include/tbb/concurrent_vector.h:1029:81: required from 'static void* tbb::concurrent_vector::internal_allocator(tbb::internal::concurrent_vector_base_v3&, std::size_t) [with T = FooWithAssign; A = static_counting_allocator, long unsigned int>; std::size_t = long unsigned int]' ../../include/tbb/concurrent_vector.h:719:32: required from 'tbb::concurrent_vector::concurrent_vector(I, I, const allocator_type&) [with I = FooIterator; T = FooWithAssign; A = static_counting_allocator, long unsigned int>; tbb::concurrent_vector::allocator_type = static_counting_allocator, long unsigned int>]' ../../src/test/test_concurrent_vector.cpp:1149:52: required from here ../../src/test/harness_allocator.h:518:20: warning: 'void* memset(void*, int, size_t)' writing to an object of type 'struct FooWithAssign' with no trivial copy-assignment [-Wclass-memaccess] std::memset( ptr, 0xE3E3E3E3, n * sizeof(value_type) ); ~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ In file included from ../../src/test/test_concurrent_vector.cpp:38: ../../src/test/test_container_move_support.h:143:8: note: 'struct FooWithAssign' declared here struct FooWithAssign: public Foo { ^~~~~~~~~~~~~ In file included from ../../src/test/test_concurrent_vector.cpp:25: ../../include/tbb/concurrent_vector.h: In instantiation of 'static void tbb::concurrent_vector::copy_range(void*, const void*, tbb::concurrent_vector::size_type) [with Iterator = tbb::internal::vector_iterator, int>; T = int; A = tbb::cache_aligned_allocator; tbb::concurrent_vector::size_type = long unsigned int]': ../../include/tbb/concurrent_vector.h:795:38: required from 'tbb::concurrent_vector::iterator tbb::concurrent_vector::grow_by(I, I) [with I = tbb::internal::vector_iterator, int>; T = int; A = tbb::cache_aligned_allocator; tbb::concurrent_vector::iterator = tbb::internal::vector_iterator, int>]' ../../src/test/test_concurrent_vector.cpp:1599:5: required from 'void Examine(tbb::concurrent_vector, const std::vector&) [with bool default_construction_present = true; Type = int; Allocator = tbb::cache_aligned_allocator]' ../../src/test/test_concurrent_vector.cpp:1638:42: required from 'void TypeTester(const std::vector&) [with bool default_construction_present = true; Type = int]' ../../src/test/test_concurrent_vector.cpp:1675:65: required from here ../../include/tbb/concurrent_vector.h:1296:9: warning: declaration of 'iterator' shadows a previous local [-Wshadow] I & iterator ((*const_cast(static_cast(p_type_erased_iterator)))); ^~~~~~~~ ../../include/tbb/concurrent_vector.h:578:60: note: shadowed declaration is here typedef internal::vector_iterator iterator; ^~~~~~~~ ../../include/tbb/concurrent_vector.h: In instantiation of 'static void tbb::concurrent_vector::copy_range(void*, const void*, tbb::concurrent_vector::size_type) [with Iterator = tbb::internal::vector_iterator >, int>; T = int; A = debug_allocator; tbb::concurrent_vector::size_type = long unsigned int]': ../../include/tbb/concurrent_vector.h:795:38: required from 'tbb::concurrent_vector::iterator tbb::concurrent_vector::grow_by(I, I) [with I = tbb::internal::vector_iterator >, int>; T = int; A = debug_allocator; tbb::concurrent_vector::iterator = tbb::internal::vector_iterator >, int>]' ../../src/test/test_concurrent_vector.cpp:1599:5: required from 'void Examine(tbb::concurrent_vector, const std::vector&) [with bool default_construction_present = true; Type = int; Allocator = debug_allocator]' ../../src/test/test_concurrent_vector.cpp:1651:42: required from 'void TypeTester(const std::vector&) [with bool default_construction_present = true; Type = int]' ../../src/test/test_concurrent_vector.cpp:1675:65: required from here ../../include/tbb/concurrent_vector.h:1296:9: warning: declaration of 'iterator' shadows a previous local [-Wshadow] I & iterator ((*const_cast(static_cast(p_type_erased_iterator)))); ^~~~~~~~ ../../include/tbb/concurrent_vector.h:578:60: note: shadowed declaration is here typedef internal::vector_iterator iterator; ^~~~~~~~ ../../include/tbb/concurrent_vector.h: In instantiation of 'static void tbb::concurrent_vector::copy_range(void*, const void*, tbb::concurrent_vector::size_type) [with Iterator = tbb::internal::vector_iterator, tbb::cache_aligned_allocator > >, std::reference_wrapper >; T = std::reference_wrapper; A = tbb::cache_aligned_allocator >; tbb::concurrent_vector::size_type = long unsigned int]': ../../include/tbb/concurrent_vector.h:795:38: required from 'tbb::concurrent_vector::iterator tbb::concurrent_vector::grow_by(I, I) [with I = tbb::internal::vector_iterator, tbb::cache_aligned_allocator > >, std::reference_wrapper >; T = std::reference_wrapper; A = tbb::cache_aligned_allocator >; tbb::concurrent_vector::iterator = tbb::internal::vector_iterator, tbb::cache_aligned_allocator > >, std::reference_wrapper >]' ../../src/test/test_concurrent_vector.cpp:1599:5: required from 'void Examine(tbb::concurrent_vector, const std::vector&) [with bool default_construction_present = false; Type = std::reference_wrapper; Allocator = tbb::cache_aligned_allocator >]' ../../src/test/test_concurrent_vector.cpp:1638:42: required from 'void TypeTester(const std::vector&) [with bool default_construction_present = false; Type = std::reference_wrapper]' ../../src/test/test_concurrent_vector.cpp:1681:66: required from here ../../include/tbb/concurrent_vector.h:1296:9: warning: declaration of 'iterator' shadows a previous local [-Wshadow] I & iterator ((*const_cast(static_cast(p_type_erased_iterator)))); ^~~~~~~~ ../../include/tbb/concurrent_vector.h:578:60: note: shadowed declaration is here typedef internal::vector_iterator iterator; ^~~~~~~~ ../../include/tbb/concurrent_vector.h: In instantiation of 'static void tbb::concurrent_vector::copy_range(void*, const void*, tbb::concurrent_vector::size_type) [with Iterator = tbb::internal::vector_iterator, debug_allocator, std::allocator> >, std::reference_wrapper >; T = std::reference_wrapper; A = debug_allocator, std::allocator>; tbb::concurrent_vector::size_type = long unsigned int]': ../../include/tbb/concurrent_vector.h:795:38: required from 'tbb::concurrent_vector::iterator tbb::concurrent_vector::grow_by(I, I) [with I = tbb::internal::vector_iterator, debug_allocator, std::allocator> >, std::reference_wrapper >; T = std::reference_wrapper; A = debug_allocator, std::allocator>; tbb::concurrent_vector::iterator = tbb::internal::vector_iterator, debug_allocator, std::allocator> >, std::reference_wrapper >]' ../../src/test/test_concurrent_vector.cpp:1599:5: required from 'void Examine(tbb::concurrent_vector, const std::vector&) [with bool default_construction_present = false; Type = std::reference_wrapper; Allocator = debug_allocator, std::allocator>]' ../../src/test/test_concurrent_vector.cpp:1651:42: required from 'void TypeTester(const std::vector&) [with bool default_construction_present = false; Type = std::reference_wrapper]' ../../src/test/test_concurrent_vector.cpp:1681:66: required from here ../../include/tbb/concurrent_vector.h:1296:9: warning: declaration of 'iterator' shadows a previous local [-Wshadow] I & iterator ((*const_cast(static_cast(p_type_erased_iterator)))); ^~~~~~~~ ../../include/tbb/concurrent_vector.h:578:60: note: shadowed declaration is here typedef internal::vector_iterator iterator; ^~~~~~~~ ../../include/tbb/concurrent_vector.h: In instantiation of 'static void tbb::concurrent_vector::copy_range(void*, const void*, tbb::concurrent_vector::size_type) [with Iterator = tbb::internal::vector_iterator, tbb::cache_aligned_allocator > >, tbb::atomic >; T = tbb::atomic; A = tbb::cache_aligned_allocator >; tbb::concurrent_vector::size_type = long unsigned int]': ../../include/tbb/concurrent_vector.h:795:38: required from 'tbb::concurrent_vector::iterator tbb::concurrent_vector::grow_by(I, I) [with I = tbb::internal::vector_iterator, tbb::cache_aligned_allocator > >, tbb::atomic >; T = tbb::atomic; A = tbb::cache_aligned_allocator >; tbb::concurrent_vector::iterator = tbb::internal::vector_iterator, tbb::cache_aligned_allocator > >, tbb::atomic >]' ../../src/test/test_concurrent_vector.cpp:1599:5: required from 'void Examine(tbb::concurrent_vector, const std::vector&) [with bool default_construction_present = true; Type = tbb::atomic; Allocator = tbb::cache_aligned_allocator >]' ../../src/test/test_concurrent_vector.cpp:1638:42: required from 'void TypeTester(const std::vector&) [with bool default_construction_present = true; Type = tbb::atomic]' ../../src/test/test_concurrent_vector.cpp:1688:68: required from here ../../include/tbb/concurrent_vector.h:1296:9: warning: declaration of 'iterator' shadows a previous local [-Wshadow] I & iterator ((*const_cast(static_cast(p_type_erased_iterator)))); ^~~~~~~~ ../../include/tbb/concurrent_vector.h:578:60: note: shadowed declaration is here typedef internal::vector_iterator iterator; ^~~~~~~~ ../../include/tbb/concurrent_vector.h: In instantiation of 'static void tbb::concurrent_vector::copy_range(void*, const void*, tbb::concurrent_vector::size_type) [with Iterator = tbb::internal::vector_iterator, debug_allocator, std::allocator> >, tbb::atomic >; T = tbb::atomic; A = debug_allocator, std::allocator>; tbb::concurrent_vector::size_type = long unsigned int]': ../../include/tbb/concurrent_vector.h:795:38: required from 'tbb::concurrent_vector::iterator tbb::concurrent_vector::grow_by(I, I) [with I = tbb::internal::vector_iterator, debug_allocator, std::allocator> >, tbb::atomic >; T = tbb::atomic; A = debug_allocator, std::allocator>; tbb::concurrent_vector::iterator = tbb::internal::vector_iterator, debug_allocator, std::allocator> >, tbb::atomic >]' ../../src/test/test_concurrent_vector.cpp:1599:5: required from 'void Examine(tbb::concurrent_vector, const std::vector&) [with bool default_construction_present = true; Type = tbb::atomic; Allocator = debug_allocator, std::allocator>]' ../../src/test/test_concurrent_vector.cpp:1651:42: required from 'void TypeTester(const std::vector&) [with bool default_construction_present = true; Type = tbb::atomic]' ../../src/test/test_concurrent_vector.cpp:1688:68: required from here ../../include/tbb/concurrent_vector.h:1296:9: warning: declaration of 'iterator' shadows a previous local [-Wshadow] I & iterator ((*const_cast(static_cast(p_type_erased_iterator)))); ^~~~~~~~ ../../include/tbb/concurrent_vector.h:578:60: note: shadowed declaration is here typedef internal::vector_iterator iterator; ^~~~~~~~ ../../include/tbb/concurrent_vector.h: In instantiation of 'static void tbb::concurrent_vector::copy_range(void*, const void*, tbb::concurrent_vector::size_type) [with Iterator = tbb::internal::vector_iterator, tbb::cache_aligned_allocator > >, std::shared_ptr >; T = std::shared_ptr; A = tbb::cache_aligned_allocator >; tbb::concurrent_vector::size_type = long unsigned int]': ../../include/tbb/concurrent_vector.h:795:38: required from 'tbb::concurrent_vector::iterator tbb::concurrent_vector::grow_by(I, I) [with I = tbb::internal::vector_iterator, tbb::cache_aligned_allocator > >, std::shared_ptr >; T = std::shared_ptr; A = tbb::cache_aligned_allocator >; tbb::concurrent_vector::iterator = tbb::internal::vector_iterator, tbb::cache_aligned_allocator > >, std::shared_ptr >]' ../../src/test/test_concurrent_vector.cpp:1599:5: required from 'void Examine(tbb::concurrent_vector, const std::vector&) [with bool default_construction_present = true; Type = std::shared_ptr; Allocator = tbb::cache_aligned_allocator >]' ../../src/test/test_concurrent_vector.cpp:1638:42: required from 'void TypeTester(const std::vector&) [with bool default_construction_present = true; Type = std::shared_ptr]' ../../src/test/test_concurrent_vector.cpp:1693:68: required from here ../../include/tbb/concurrent_vector.h:1296:9: warning: declaration of 'iterator' shadows a previous local [-Wshadow] I & iterator ((*const_cast(static_cast(p_type_erased_iterator)))); ^~~~~~~~ ../../include/tbb/concurrent_vector.h:578:60: note: shadowed declaration is here typedef internal::vector_iterator iterator; ^~~~~~~~ ../../include/tbb/concurrent_vector.h: In instantiation of 'static void tbb::concurrent_vector::copy_range(void*, const void*, tbb::concurrent_vector::size_type) [with Iterator = tbb::internal::vector_iterator, debug_allocator, std::allocator> >, std::shared_ptr >; T = std::shared_ptr; A = debug_allocator, std::allocator>; tbb::concurrent_vector::size_type = long unsigned int]': ../../include/tbb/concurrent_vector.h:795:38: required from 'tbb::concurrent_vector::iterator tbb::concurrent_vector::grow_by(I, I) [with I = tbb::internal::vector_iterator, debug_allocator, std::allocator> >, std::shared_ptr >; T = std::shared_ptr; A = debug_allocator, std::allocator>; tbb::concurrent_vector::iterator = tbb::internal::vector_iterator, debug_allocator, std::allocator> >, std::shared_ptr >]' ../../src/test/test_concurrent_vector.cpp:1599:5: required from 'void Examine(tbb::concurrent_vector, const std::vector&) [with bool default_construction_present = true; Type = std::shared_ptr; Allocator = debug_allocator, std::allocator>]' ../../src/test/test_concurrent_vector.cpp:1651:42: required from 'void TypeTester(const std::vector&) [with bool default_construction_present = true; Type = std::shared_ptr]' ../../src/test/test_concurrent_vector.cpp:1693:68: required from here ../../include/tbb/concurrent_vector.h:1296:9: warning: declaration of 'iterator' shadows a previous local [-Wshadow] I & iterator ((*const_cast(static_cast(p_type_erased_iterator)))); ^~~~~~~~ ../../include/tbb/concurrent_vector.h:578:60: note: shadowed declaration is here typedef internal::vector_iterator iterator; ^~~~~~~~ ../../include/tbb/concurrent_vector.h: In instantiation of 'static void tbb::concurrent_vector::copy_range(void*, const void*, tbb::concurrent_vector::size_type) [with Iterator = tbb::internal::vector_iterator, tbb::cache_aligned_allocator > >, std::weak_ptr >; T = std::weak_ptr; A = tbb::cache_aligned_allocator >; tbb::concurrent_vector::size_type = long unsigned int]': ../../include/tbb/concurrent_vector.h:795:38: required from 'tbb::concurrent_vector::iterator tbb::concurrent_vector::grow_by(I, I) [with I = tbb::internal::vector_iterator, tbb::cache_aligned_allocator > >, std::weak_ptr >; T = std::weak_ptr; A = tbb::cache_aligned_allocator >; tbb::concurrent_vector::iterator = tbb::internal::vector_iterator, tbb::cache_aligned_allocator > >, std::weak_ptr >]' ../../src/test/test_concurrent_vector.cpp:1599:5: required from 'void Examine(tbb::concurrent_vector, const std::vector&) [with bool default_construction_present = true; Type = std::weak_ptr; Allocator = tbb::cache_aligned_allocator >]' ../../src/test/test_concurrent_vector.cpp:1638:42: required from 'void TypeTester(const std::vector&) [with bool default_construction_present = true; Type = std::weak_ptr]' ../../src/test/test_concurrent_vector.cpp:1697:67: required from here ../../include/tbb/concurrent_vector.h:1296:9: warning: declaration of 'iterator' shadows a previous local [-Wshadow] I & iterator ((*const_cast(static_cast(p_type_erased_iterator)))); ^~~~~~~~ ../../include/tbb/concurrent_vector.h:578:60: note: shadowed declaration is here typedef internal::vector_iterator iterator; ^~~~~~~~ ../../include/tbb/concurrent_vector.h: In instantiation of 'static void tbb::concurrent_vector::copy_range(void*, const void*, tbb::concurrent_vector::size_type) [with Iterator = tbb::internal::vector_iterator, debug_allocator, std::allocator> >, std::weak_ptr >; T = std::weak_ptr; A = debug_allocator, std::allocator>; tbb::concurrent_vector::size_type = long unsigned int]': ../../include/tbb/concurrent_vector.h:795:38: required from 'tbb::concurrent_vector::iterator tbb::concurrent_vector::grow_by(I, I) [with I = tbb::internal::vector_iterator, debug_allocator, std::allocator> >, std::weak_ptr >; T = std::weak_ptr; A = debug_allocator, std::allocator>; tbb::concurrent_vector::iterator = tbb::internal::vector_iterator, debug_allocator, std::allocator> >, std::weak_ptr >]' ../../src/test/test_concurrent_vector.cpp:1599:5: required from 'void Examine(tbb::concurrent_vector, const std::vector&) [with bool default_construction_present = true; Type = std::weak_ptr; Allocator = debug_allocator, std::allocator>]' ../../src/test/test_concurrent_vector.cpp:1651:42: required from 'void TypeTester(const std::vector&) [with bool default_construction_present = true; Type = std::weak_ptr]' ../../src/test/test_concurrent_vector.cpp:1697:67: required from here ../../include/tbb/concurrent_vector.h:1296:9: warning: declaration of 'iterator' shadows a previous local [-Wshadow] I & iterator ((*const_cast(static_cast(p_type_erased_iterator)))); ^~~~~~~~ ../../include/tbb/concurrent_vector.h:578:60: note: shadowed declaration is here typedef internal::vector_iterator iterator; ^~~~~~~~ In file included from ../../include/tbb/tbb_exception.h:112, from ../../include/tbb/concurrent_vector.h:25, from ../../src/test/test_concurrent_vector.cpp:25: ../../include/tbb/tbb_allocator.h: In instantiation of 'tbb::zero_allocator::pointer tbb::zero_allocator::allocate(tbb::zero_allocator::size_type, const void*) [with T = Foo; Allocator = tbb::tbb_allocator; tbb::zero_allocator::pointer = Foo*; tbb::zero_allocator::size_type = long unsigned int]': ../../src/test/harness_allocator.h:237:43: required from 'static_counting_allocator::pointer static_counting_allocator::allocate(static_counting_allocator::size_type) [with base_alloc_t = tbb::zero_allocator; count_t = tbb::atomic; static_counting_allocator::pointer = Foo*; static_counting_allocator::size_type = long unsigned int]' ../../include/tbb/concurrent_vector.h:1029:81: required from 'static void* tbb::concurrent_vector::internal_allocator(tbb::internal::concurrent_vector_base_v3&, std::size_t) [with T = Foo; A = static_counting_allocator >; std::size_t = long unsigned int]' ../../include/tbb/concurrent_vector.h:704:32: required from 'tbb::concurrent_vector::concurrent_vector(tbb::concurrent_vector::size_type, tbb::concurrent_vector::const_reference, const allocator_type&) [with T = Foo; A = static_counting_allocator >; tbb::concurrent_vector::size_type = long unsigned int; tbb::concurrent_vector::const_reference = const Foo&; tbb::concurrent_vector::allocator_type = static_counting_allocator >]' ../../src/test/test_concurrent_vector.cpp:461:14: required from 'void TestConcurrentGrowToAtLeastImpl() [with bool use_two_arg_form = false]' ../../src/test/test_concurrent_vector.cpp:477:44: required from here ../../include/tbb/tbb_allocator.h:177:20: warning: 'void* memset(void*, int, size_t)' clearing an object of type 'tbb::tbb_allocator::value_type' {aka 'struct Foo'} with no trivial copy-assignment; use value-initialization instead [-Wclass-memaccess] std::memset( ptr, 0, n * sizeof(value_type) ); ~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ In file included from ../../src/test/test_concurrent_vector.cpp:38: ../../src/test/test_container_move_support.h:54:8: note: 'tbb::tbb_allocator::value_type' {aka 'struct Foo'} declared here struct Foo : FooLimit, Harness::StateTrackable{ ^~~ In file included from ../../src/test/test_concurrent_vector.cpp:25: ../../include/tbb/concurrent_vector.h: In instantiation of 'void tbb::internal::handle_unconstructed_elements(T*, std::size_t) [with T = std::reference_wrapper; std::size_t = long unsigned int]': ../../include/tbb/concurrent_vector.h:1123:56: required from 'tbb::concurrent_vector::internal_loop_guide::~internal_loop_guide() [with T = std::reference_wrapper; A = tbb::cache_aligned_allocator >]' ../../include/tbb/concurrent_vector.h:1272:25: required from 'static void tbb::concurrent_vector::copy_array(void*, const void*, tbb::concurrent_vector::size_type) [with T = std::reference_wrapper; A = tbb::cache_aligned_allocator >; tbb::concurrent_vector::size_type = long unsigned int]' ../../include/tbb/concurrent_vector.h:633:46: required from 'tbb::concurrent_vector::concurrent_vector(const tbb::concurrent_vector&, const allocator_type&) [with T = std::reference_wrapper; A = tbb::cache_aligned_allocator >; tbb::concurrent_vector::allocator_type = tbb::cache_aligned_allocator >]' ../../src/test/test_concurrent_vector.cpp:1638:42: required from 'void TypeTester(const std::vector&) [with bool default_construction_present = false; Type = std::reference_wrapper]' ../../src/test/test_concurrent_vector.cpp:1681:66: required from here ../../include/tbb/concurrent_vector.h:77:20: warning: 'void* memset(void*, int, size_t)' clearing an object of non-trivial type 'class std::reference_wrapper'; use assignment instead [-Wclass-memaccess] std::memset( array, 0, n_of_elements * sizeof( T ) ); ~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ In file included from /usr/include/c++/8/bits/shared_ptr_base.h:54, from /usr/include/c++/8/bits/shared_ptr.h:52, from /usr/include/c++/8/memory:81, from ../../include/tbb/tbb_stddef.h:427, from ../../include/tbb/concurrent_vector.h:24, from ../../src/test/test_concurrent_vector.cpp:25: /usr/include/c++/8/bits/refwrap.h:289:11: note: 'class std::reference_wrapper' declared here class reference_wrapper ^~~~~~~~~~~~~~~~~ In file included from ../../src/test/test_concurrent_vector.cpp:25: ../../include/tbb/concurrent_vector.h: In instantiation of 'void tbb::internal::handle_unconstructed_elements(T*, std::size_t) [with T = tbb::atomic; std::size_t = long unsigned int]': ../../include/tbb/concurrent_vector.h:1123:56: required from 'tbb::concurrent_vector::internal_loop_guide::~internal_loop_guide() [with T = tbb::atomic; A = tbb::cache_aligned_allocator >]' ../../include/tbb/concurrent_vector.h:1272:25: required from 'static void tbb::concurrent_vector::copy_array(void*, const void*, tbb::concurrent_vector::size_type) [with T = tbb::atomic; A = tbb::cache_aligned_allocator >; tbb::concurrent_vector::size_type = long unsigned int]' ../../include/tbb/concurrent_vector.h:633:46: required from 'tbb::concurrent_vector::concurrent_vector(const tbb::concurrent_vector&, const allocator_type&) [with T = tbb::atomic; A = tbb::cache_aligned_allocator >; tbb::concurrent_vector::allocator_type = tbb::cache_aligned_allocator >]' ../../src/test/test_concurrent_vector.cpp:1638:42: required from 'void TypeTester(const std::vector&) [with bool default_construction_present = true; Type = tbb::atomic]' ../../src/test/test_concurrent_vector.cpp:1688:68: required from here ../../include/tbb/concurrent_vector.h:77:20: warning: 'void* memset(void*, int, size_t)' clearing an object of type 'struct tbb::atomic' with no trivial copy-assignment; use assignment or value-initialization instead [-Wclass-memaccess] std::memset( array, 0, n_of_elements * sizeof( T ) ); ~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ In file included from ../../include/tbb/concurrent_vector.h:26, from ../../src/test/test_concurrent_vector.cpp:25: ../../include/tbb/atomic.h:421:27: note: 'struct tbb::atomic' declared here template<> struct atomic: internal::atomic_impl_with_arithmetic { \ ^~~~~~~~~ ../../include/tbb/atomic.h:471:1: note: in expansion of macro '__TBB_DECL_ATOMIC' __TBB_DECL_ATOMIC(int) ^~~~~~~~~~~~~~~~~ In file included from ../../src/test/test_concurrent_vector.cpp:25: ../../include/tbb/concurrent_vector.h: In instantiation of 'void tbb::internal::handle_unconstructed_elements(T*, std::size_t) [with T = std::shared_ptr; std::size_t = long unsigned int]': ../../include/tbb/concurrent_vector.h:1123:56: required from 'tbb::concurrent_vector::internal_loop_guide::~internal_loop_guide() [with T = std::shared_ptr; A = tbb::cache_aligned_allocator >]' ../../include/tbb/concurrent_vector.h:1272:25: required from 'static void tbb::concurrent_vector::copy_array(void*, const void*, tbb::concurrent_vector::size_type) [with T = std::shared_ptr; A = tbb::cache_aligned_allocator >; tbb::concurrent_vector::size_type = long unsigned int]' ../../include/tbb/concurrent_vector.h:633:46: required from 'tbb::concurrent_vector::concurrent_vector(const tbb::concurrent_vector&, const allocator_type&) [with T = std::shared_ptr; A = tbb::cache_aligned_allocator >; tbb::concurrent_vector::allocator_type = tbb::cache_aligned_allocator >]' ../../src/test/test_concurrent_vector.cpp:1638:42: required from 'void TypeTester(const std::vector&) [with bool default_construction_present = true; Type = std::shared_ptr]' ../../src/test/test_concurrent_vector.cpp:1693:68: required from here ../../include/tbb/concurrent_vector.h:77:20: warning: 'void* memset(void*, int, size_t)' clearing an object of type 'class std::shared_ptr' with no trivial copy-assignment; use assignment or value-initialization instead [-Wclass-memaccess] std::memset( array, 0, n_of_elements * sizeof( T ) ); ~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ In file included from /usr/include/c++/8/memory:81, from ../../include/tbb/tbb_stddef.h:427, from ../../include/tbb/concurrent_vector.h:24, from ../../src/test/test_concurrent_vector.cpp:25: /usr/include/c++/8/bits/shared_ptr.h:103:11: note: 'class std::shared_ptr' declared here class shared_ptr : public __shared_ptr<_Tp> ^~~~~~~~~~ In file included from ../../src/test/test_concurrent_vector.cpp:25: ../../include/tbb/concurrent_vector.h: In instantiation of 'void tbb::internal::handle_unconstructed_elements(T*, std::size_t) [with T = std::weak_ptr; std::size_t = long unsigned int]': ../../include/tbb/concurrent_vector.h:1123:56: required from 'tbb::concurrent_vector::internal_loop_guide::~internal_loop_guide() [with T = std::weak_ptr; A = tbb::cache_aligned_allocator >]' ../../include/tbb/concurrent_vector.h:1272:25: required from 'static void tbb::concurrent_vector::copy_array(void*, const void*, tbb::concurrent_vector::size_type) [with T = std::weak_ptr; A = tbb::cache_aligned_allocator >; tbb::concurrent_vector::size_type = long unsigned int]' ../../include/tbb/concurrent_vector.h:633:46: required from 'tbb::concurrent_vector::concurrent_vector(const tbb::concurrent_vector&, const allocator_type&) [with T = std::weak_ptr; A = tbb::cache_aligned_allocator >; tbb::concurrent_vector::allocator_type = tbb::cache_aligned_allocator >]' ../../src/test/test_concurrent_vector.cpp:1638:42: required from 'void TypeTester(const std::vector&) [with bool default_construction_present = true; Type = std::weak_ptr]' ../../src/test/test_concurrent_vector.cpp:1697:67: required from here ../../include/tbb/concurrent_vector.h:77:20: warning: 'void* memset(void*, int, size_t)' clearing an object of type 'class std::weak_ptr' with no trivial copy-assignment; use assignment or value-initialization instead [-Wclass-memaccess] std::memset( array, 0, n_of_elements * sizeof( T ) ); ~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ In file included from /usr/include/c++/8/memory:81, from ../../include/tbb/tbb_stddef.h:427, from ../../include/tbb/concurrent_vector.h:24, from ../../src/test/test_concurrent_vector.cpp:25: /usr/include/c++/8/bits/shared_ptr.h:536:11: note: 'class std::weak_ptr' declared here class weak_ptr : public __weak_ptr<_Tp> ^~~~~~~~ In file included from ../../src/test/test_concurrent_vector.cpp:25: ../../include/tbb/concurrent_vector.h: In instantiation of 'static void tbb::concurrent_vector::copy_range(void*, const void*, tbb::concurrent_vector::size_type) [with Iterator = const char*; T = char; A = tbb::cache_aligned_allocator; tbb::concurrent_vector::size_type = long unsigned int]': ../../include/tbb/concurrent_vector.h:795:38: required from 'tbb::concurrent_vector::iterator tbb::concurrent_vector::grow_by(I, I) [with I = const char*; T = char; A = tbb::cache_aligned_allocator; tbb::concurrent_vector::iterator = tbb::internal::vector_iterator, char>]' ../../include/tbb/concurrent_vector.h:801:60: required from 'tbb::concurrent_vector::iterator tbb::concurrent_vector::grow_by(std::initializer_list<_Tp>) [with T = char; A = tbb::cache_aligned_allocator; tbb::concurrent_vector::iterator = tbb::internal::vector_iterator, char>]' ../../src/test/test_concurrent_vector.cpp:781:9: required from 'static void test_grow_by::do_test(const std::initializer_list&, const container_type&) [with container_type = tbb::concurrent_vector; element_type = char]' ../../src/test/test_initializer_list.h:77:30: required from 'void initializer_list_support_tests::TestInitListSupport(std::initializer_list) [with container_type = tbb::concurrent_vector; test_assign = initializer_list_support_tests::test_assign; test_special = test_grow_by; typename container_type::value_type = char]' ../../src/test/test_initializer_list.h:82:71: required from 'void initializer_list_support_tests::TestInitListSupport(std::initializer_list) [with container_type = tbb::concurrent_vector; test_special = test_grow_by; typename container_type::value_type = char]' ../../src/test/test_concurrent_vector.cpp:789:88: required from here ../../include/tbb/concurrent_vector.h:1296:9: warning: declaration of 'iterator' shadows a previous local [-Wshadow] I & iterator ((*const_cast(static_cast(p_type_erased_iterator)))); ^~~~~~~~ ../../include/tbb/concurrent_vector.h:578:60: note: shadowed declaration is here typedef internal::vector_iterator iterator; ^~~~~~~~ ../../include/tbb/concurrent_vector.h: In instantiation of 'static void tbb::concurrent_vector::copy_range(void*, const void*, tbb::concurrent_vector::size_type) [with Iterator = const int*; T = int; A = tbb::cache_aligned_allocator; tbb::concurrent_vector::size_type = long unsigned int]': ../../include/tbb/concurrent_vector.h:795:38: required from 'tbb::concurrent_vector::iterator tbb::concurrent_vector::grow_by(I, I) [with I = const int*; T = int; A = tbb::cache_aligned_allocator; tbb::concurrent_vector::iterator = tbb::internal::vector_iterator, int>]' ../../include/tbb/concurrent_vector.h:801:60: required from 'tbb::concurrent_vector::iterator tbb::concurrent_vector::grow_by(std::initializer_list<_Tp>) [with T = int; A = tbb::cache_aligned_allocator; tbb::concurrent_vector::iterator = tbb::internal::vector_iterator, int>]' ../../src/test/test_concurrent_vector.cpp:781:9: required from 'static void test_grow_by::do_test(const std::initializer_list&, const container_type&) [with container_type = tbb::concurrent_vector; element_type = int]' ../../src/test/test_initializer_list.h:77:30: required from 'void initializer_list_support_tests::TestInitListSupport(std::initializer_list) [with container_type = tbb::concurrent_vector; test_assign = initializer_list_support_tests::test_assign; test_special = test_grow_by; typename container_type::value_type = int]' ../../src/test/test_initializer_list.h:82:71: required from 'void initializer_list_support_tests::TestInitListSupport(std::initializer_list) [with container_type = tbb::concurrent_vector; test_special = test_grow_by; typename container_type::value_type = int]' ../../src/test/test_concurrent_vector.cpp:790:72: required from here ../../include/tbb/concurrent_vector.h:1296:9: warning: declaration of 'iterator' shadows a previous local [-Wshadow] I & iterator ((*const_cast(static_cast(p_type_erased_iterator)))); ^~~~~~~~ ../../include/tbb/concurrent_vector.h:578:60: note: shadowed declaration is here typedef internal::vector_iterator iterator; ^~~~~~~~ ../../include/tbb/concurrent_vector.h: In instantiation of 'static void tbb::concurrent_vector::copy_range(void*, const void*, tbb::concurrent_vector::size_type) [with Iterator = FooIterator; T = Foo; A = static_counting_allocator >; tbb::concurrent_vector::size_type = long unsigned int]': ../../include/tbb/concurrent_vector.h:795:38: required from 'tbb::concurrent_vector::iterator tbb::concurrent_vector::grow_by(I, I) [with I = FooIterator; T = Foo; A = static_counting_allocator >; tbb::concurrent_vector::iterator = tbb::internal::vector_iterator > >, Foo>]' ../../src/test/test_concurrent_vector.cpp:550:21: required from 'void GrowBy::operator()(const tbb::blocked_range&) const [with MyVector = tbb::concurrent_vector > >]' ../../include/tbb/parallel_for.h:116:13: required from 'void tbb::interface9::internal::start_for::run_body(Range&) [with Range = tbb::blocked_range; Body = GrowBy > > >; Partitioner = const tbb::simple_partitioner]' ../../include/tbb/partitioner.h:526:9: required from 'void tbb::interface9::internal::simple_partition_type::execute(StartType&, Range&) [with StartType = tbb::interface9::internal::start_for, GrowBy > > >, const tbb::simple_partitioner>; Range = tbb::blocked_range]' ../../include/tbb/parallel_for.h:143:9: required from 'tbb::task* tbb::interface9::internal::start_for::execute() [with Range = tbb::blocked_range; Body = GrowBy > > >; Partitioner = const tbb::simple_partitioner]' ../../include/tbb/parallel_for.h:141:11: required from here ../../include/tbb/concurrent_vector.h:1296:9: warning: declaration of 'iterator' shadows a previous local [-Wshadow] I & iterator ((*const_cast(static_cast(p_type_erased_iterator)))); ^~~~~~~~ ../../include/tbb/concurrent_vector.h:578:60: note: shadowed declaration is here typedef internal::vector_iterator iterator; ^~~~~~~~ ../../include/tbb/concurrent_vector.h: In instantiation of 'static void tbb::concurrent_vector::copy_range(void*, const void*, tbb::concurrent_vector::size_type) [with Iterator = FooIterator; T = FooWithAssign; A = static_counting_allocator, long unsigned int>; tbb::concurrent_vector::size_type = long unsigned int]': ../../include/tbb/concurrent_vector.h:795:38: required from 'tbb::concurrent_vector::iterator tbb::concurrent_vector::grow_by(I, I) [with I = FooIterator; T = FooWithAssign; A = static_counting_allocator, long unsigned int>; tbb::concurrent_vector::iterator = tbb::internal::vector_iterator, long unsigned int> >, FooWithAssign>]' ../../src/test/test_concurrent_vector.cpp:550:21: required from 'void GrowBy::operator()(const tbb::blocked_range&) const [with MyVector = tbb::concurrent_vector, long unsigned int> >]' ../../include/tbb/parallel_for.h:116:13: required from 'void tbb::interface9::internal::start_for::run_body(Range&) [with Range = tbb::blocked_range; Body = GrowBy, long unsigned int> > >; Partitioner = const tbb::auto_partitioner]' ../../include/tbb/partitioner.h:439:13: required from 'void tbb::interface9::internal::dynamic_grainsize_mode::work_balance(StartType&, Range&) [with StartType = tbb::interface9::internal::start_for, GrowBy, long unsigned int> > >, const tbb::auto_partitioner>; Range = tbb::blocked_range; Mode = tbb::interface9::internal::adaptive_mode]' ../../include/tbb/partitioner.h:257:9: required from 'void tbb::interface9::internal::partition_type_base::execute(StartType&, Range&) [with StartType = tbb::interface9::internal::start_for, GrowBy, long unsigned int> > >, const tbb::auto_partitioner>; Range = tbb::blocked_range; Partition = tbb::interface9::internal::auto_partition_type]' ../../include/tbb/parallel_for.h:143:9: required from 'tbb::task* tbb::interface9::internal::start_for::execute() [with Range = tbb::blocked_range; Body = GrowBy, long unsigned int> > >; Partitioner = const tbb::auto_partitioner]' ../../include/tbb/parallel_for.h:141:11: required from here ../../include/tbb/concurrent_vector.h:1296:9: warning: declaration of 'iterator' shadows a previous local [-Wshadow] I & iterator ((*const_cast(static_cast(p_type_erased_iterator)))); ^~~~~~~~ ../../include/tbb/concurrent_vector.h:578:60: note: shadowed declaration is here typedef internal::vector_iterator iterator; ^~~~~~~~ ../../include/tbb/concurrent_vector.h: In instantiation of 'static void tbb::concurrent_vector::copy_range(void*, const void*, tbb::concurrent_vector::size_type) [with Iterator = const Foo*; T = Foo; A = static_counting_allocator >; tbb::concurrent_vector::size_type = long unsigned int]': ../../include/tbb/concurrent_vector.h:795:38: required from 'tbb::concurrent_vector::iterator tbb::concurrent_vector::grow_by(I, I) [with I = const Foo*; T = Foo; A = static_counting_allocator >; tbb::concurrent_vector::iterator = tbb::internal::vector_iterator > >, Foo>]' ../../include/tbb/concurrent_vector.h:801:60: required from 'tbb::concurrent_vector::iterator tbb::concurrent_vector::grow_by(std::initializer_list<_Tp>) [with T = Foo; A = static_counting_allocator >; tbb::concurrent_vector::iterator = tbb::internal::vector_iterator > >, Foo>]' ../../src/test/test_concurrent_vector.cpp:562:29: required from 'void GrowBy::operator()(const tbb::blocked_range&) const [with MyVector = tbb::concurrent_vector > >]' ../../include/tbb/parallel_for.h:116:13: required from 'void tbb::interface9::internal::start_for::run_body(Range&) [with Range = tbb::blocked_range; Body = GrowBy > > >; Partitioner = const tbb::simple_partitioner]' ../../include/tbb/partitioner.h:526:9: required from 'void tbb::interface9::internal::simple_partition_type::execute(StartType&, Range&) [with StartType = tbb::interface9::internal::start_for, GrowBy > > >, const tbb::simple_partitioner>; Range = tbb::blocked_range]' ../../include/tbb/parallel_for.h:143:9: required from 'tbb::task* tbb::interface9::internal::start_for::execute() [with Range = tbb::blocked_range; Body = GrowBy > > >; Partitioner = const tbb::simple_partitioner]' ../../include/tbb/parallel_for.h:141:11: required from here ../../include/tbb/concurrent_vector.h:1296:9: warning: declaration of 'iterator' shadows a previous local [-Wshadow] I & iterator ((*const_cast(static_cast(p_type_erased_iterator)))); ^~~~~~~~ ../../include/tbb/concurrent_vector.h:578:60: note: shadowed declaration is here typedef internal::vector_iterator iterator; ^~~~~~~~ ../../include/tbb/concurrent_vector.h: In instantiation of 'static void tbb::concurrent_vector::copy_range(void*, const void*, tbb::concurrent_vector::size_type) [with Iterator = const FooWithAssign*; T = FooWithAssign; A = static_counting_allocator, long unsigned int>; tbb::concurrent_vector::size_type = long unsigned int]': ../../include/tbb/concurrent_vector.h:795:38: required from 'tbb::concurrent_vector::iterator tbb::concurrent_vector::grow_by(I, I) [with I = const FooWithAssign*; T = FooWithAssign; A = static_counting_allocator, long unsigned int>; tbb::concurrent_vector::iterator = tbb::internal::vector_iterator, long unsigned int> >, FooWithAssign>]' ../../include/tbb/concurrent_vector.h:801:60: required from 'tbb::concurrent_vector::iterator tbb::concurrent_vector::grow_by(std::initializer_list<_Tp>) [with T = FooWithAssign; A = static_counting_allocator, long unsigned int>; tbb::concurrent_vector::iterator = tbb::internal::vector_iterator, long unsigned int> >, FooWithAssign>]' ../../src/test/test_concurrent_vector.cpp:562:29: required from 'void GrowBy::operator()(const tbb::blocked_range&) const [with MyVector = tbb::concurrent_vector, long unsigned int> >]' ../../include/tbb/parallel_for.h:116:13: required from 'void tbb::interface9::internal::start_for::run_body(Range&) [with Range = tbb::blocked_range; Body = GrowBy, long unsigned int> > >; Partitioner = const tbb::auto_partitioner]' ../../include/tbb/partitioner.h:439:13: required from 'void tbb::interface9::internal::dynamic_grainsize_mode::work_balance(StartType&, Range&) [with StartType = tbb::interface9::internal::start_for, GrowBy, long unsigned int> > >, const tbb::auto_partitioner>; Range = tbb::blocked_range; Mode = tbb::interface9::internal::adaptive_mode]' ../../include/tbb/partitioner.h:257:9: required from 'void tbb::interface9::internal::partition_type_base::execute(StartType&, Range&) [with StartType = tbb::interface9::internal::start_for, GrowBy, long unsigned int> > >, const tbb::auto_partitioner>; Range = tbb::blocked_range; Partition = tbb::interface9::internal::auto_partition_type]' ../../include/tbb/parallel_for.h:143:9: required from 'tbb::task* tbb::interface9::internal::start_for::execute() [with Range = tbb::blocked_range; Body = GrowBy, long unsigned int> > >; Partitioner = const tbb::auto_partitioner]' ../../include/tbb/parallel_for.h:141:11: required from here ../../include/tbb/concurrent_vector.h:1296:9: warning: declaration of 'iterator' shadows a previous local [-Wshadow] I & iterator ((*const_cast(static_cast(p_type_erased_iterator)))); ^~~~~~~~ ../../include/tbb/concurrent_vector.h:578:60: note: shadowed declaration is here typedef internal::vector_iterator iterator; ^~~~~~~~ ../../src/test/test_concurrent_vector.cpp: In function 'void TestExceptions()': ../../src/test/test_concurrent_vector.cpp:1204:21: warning: this statement may fall through [-Wimplicit-fallthrough=] if(t) ASSERT(false, NULL); ^~ ../../src/test/test_concurrent_vector.cpp:1205:17: note: here case assign_nt: ^~~~ g++ -o test_concurrent_vector.exe -O2 -g -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -fexceptions -fstack-protector-strong -grecord-gcc-switches -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -mcpu=power8 -mtune=power8 -funwind-tables -fstack-clash-protection -DTBB_USE_DEBUG -g -O0 -DUSE_PTHREAD -DTEST_USES_TBB=1 -Wall -Wshadow -Wcast-qual -Woverloaded-virtual -Wnon-virtual-dtor -Wextra -O2 -g -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -fexceptions -fstack-protector-strong -grecord-gcc-switches -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -mcpu=power8 -mtune=power8 -funwind-tables -fstack-clash-protection test_concurrent_vector.o libtbb_debug.so -lpthread -lrt -Wl,-rpath-link=. -rdynamic g++ -o test_concurrent_unordered_set.o -c -MMD -O2 -g -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -fexceptions -fstack-protector-strong -grecord-gcc-switches -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -mcpu=power8 -mtune=power8 -funwind-tables -fstack-clash-protection -DTBB_USE_DEBUG -g -O0 -DUSE_PTHREAD -DTEST_USES_TBB=1 -Wall -Wshadow -Wcast-qual -Woverloaded-virtual -Wnon-virtual-dtor -Wextra -O2 -g -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -fexceptions -fstack-protector-strong -grecord-gcc-switches -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -mcpu=power8 -mtune=power8 -funwind-tables -fstack-clash-protection -std=c++14 -I../../src -I../../src/rml/include -I../../include -I. -include ../../src/test/harness_preload.h ../../src/test/test_concurrent_unordered_set.cpp In file included from ../../include/tbb/internal/../tbb_machine.h:243, from ../../include/tbb/internal/../atomic.h:32, from ../../include/tbb/internal/_concurrent_unordered_impl.h:39, from ../../include/tbb/concurrent_unordered_set.h:27, from ../../src/test/test_concurrent_unordered_set.cpp:29: ../../include/tbb/internal/../machine/mac_ppc.h: In function 'int32_t __TBB_machine_cmpswp4(volatile void*, int32_t, int32_t)': ../../include/tbb/internal/../machine/mac_ppc.h:91:46: warning: cast from type 'volatile void*' to type 'int32_t*' {aka 'int*'} casts away qualifiers [-Wcast-qual] , "+m"(* (int32_t*) ptr) /* redundant with "memory" */ ^~~ ../../include/tbb/internal/../machine/mac_ppc.h: In function 'int64_t __TBB_machine_cmpswp8(volatile void*, int64_t, int64_t)': ../../include/tbb/internal/../machine/mac_ppc.h:116:46: warning: cast from type 'volatile void*' to type 'int64_t*' {aka 'long int*'} casts away qualifiers [-Wcast-qual] , "+m"(* (int64_t*) ptr) /* redundant with "memory" */ ^~~ In file included from ../../src/test/test_concurrent_unordered_set.cpp:53: ../../src/test/test_concurrent_unordered_common.h: In instantiation of 'void test_concurrent(const char*, bool) [with T = tbb::interface5::concurrent_unordered_set, std::equal_to, local_counting_allocator, std::allocator> > >]': ../../src/test/test_concurrent_unordered_set.cpp:165:54: required from here ../../src/test/test_concurrent_unordered_common.h:638:15: warning: 'void* memset(void*, int, size_t)' clearing an object of type 'AtomicByte' {aka 'struct tbb::atomic'} with no trivial copy-assignment; use assignment or value-initialization instead [-Wclass-memaccess] memset( array, 0, items*sizeof(AtomicByte) ); ~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ In file included from ../../include/tbb/internal/_concurrent_unordered_impl.h:39, from ../../include/tbb/concurrent_unordered_set.h:27, from ../../src/test/test_concurrent_unordered_set.cpp:29: ../../include/tbb/internal/../atomic.h:421:27: note: 'AtomicByte' {aka 'struct tbb::atomic'} declared here template<> struct atomic: internal::atomic_impl_with_arithmetic { \ ^~~~~~~~~ ../../include/tbb/internal/../atomic.h:478:1: note: in expansion of macro '__TBB_DECL_ATOMIC' __TBB_DECL_ATOMIC(unsigned char) ^~~~~~~~~~~~~~~~~ In file included from ../../src/test/test_concurrent_unordered_set.cpp:53: ../../src/test/test_concurrent_unordered_common.h:647:15: warning: 'void* memset(void*, int, size_t)' clearing an object of type 'AtomicByte' {aka 'struct tbb::atomic'} with no trivial copy-assignment; use assignment or value-initialization instead [-Wclass-memaccess] memset( array, 0, items*sizeof(AtomicByte) ); ~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ In file included from ../../include/tbb/internal/_concurrent_unordered_impl.h:39, from ../../include/tbb/concurrent_unordered_set.h:27, from ../../src/test/test_concurrent_unordered_set.cpp:29: ../../include/tbb/internal/../atomic.h:421:27: note: 'AtomicByte' {aka 'struct tbb::atomic'} declared here template<> struct atomic: internal::atomic_impl_with_arithmetic { \ ^~~~~~~~~ ../../include/tbb/internal/../atomic.h:478:1: note: in expansion of macro '__TBB_DECL_ATOMIC' __TBB_DECL_ATOMIC(unsigned char) ^~~~~~~~~~~~~~~~~ In file included from ../../src/test/test_concurrent_unordered_set.cpp:53: ../../src/test/test_concurrent_unordered_common.h: In instantiation of 'void test_concurrent(const char*, bool) [with T = tbb::interface5::concurrent_unordered_set, std::equal_to, local_counting_allocator, std::allocator> > >]': ../../src/test/test_concurrent_unordered_set.cpp:166:77: required from here ../../src/test/test_concurrent_unordered_common.h:638:15: warning: 'void* memset(void*, int, size_t)' clearing an object of type 'AtomicByte' {aka 'struct tbb::atomic'} with no trivial copy-assignment; use assignment or value-initialization instead [-Wclass-memaccess] memset( array, 0, items*sizeof(AtomicByte) ); ~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ In file included from ../../include/tbb/internal/_concurrent_unordered_impl.h:39, from ../../include/tbb/concurrent_unordered_set.h:27, from ../../src/test/test_concurrent_unordered_set.cpp:29: ../../include/tbb/internal/../atomic.h:421:27: note: 'AtomicByte' {aka 'struct tbb::atomic'} declared here template<> struct atomic: internal::atomic_impl_with_arithmetic { \ ^~~~~~~~~ ../../include/tbb/internal/../atomic.h:478:1: note: in expansion of macro '__TBB_DECL_ATOMIC' __TBB_DECL_ATOMIC(unsigned char) ^~~~~~~~~~~~~~~~~ In file included from ../../src/test/test_concurrent_unordered_set.cpp:53: ../../src/test/test_concurrent_unordered_common.h:647:15: warning: 'void* memset(void*, int, size_t)' clearing an object of type 'AtomicByte' {aka 'struct tbb::atomic'} with no trivial copy-assignment; use assignment or value-initialization instead [-Wclass-memaccess] memset( array, 0, items*sizeof(AtomicByte) ); ~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ In file included from ../../include/tbb/internal/_concurrent_unordered_impl.h:39, from ../../include/tbb/concurrent_unordered_set.h:27, from ../../src/test/test_concurrent_unordered_set.cpp:29: ../../include/tbb/internal/../atomic.h:421:27: note: 'AtomicByte' {aka 'struct tbb::atomic'} declared here template<> struct atomic: internal::atomic_impl_with_arithmetic { \ ^~~~~~~~~ ../../include/tbb/internal/../atomic.h:478:1: note: in expansion of macro '__TBB_DECL_ATOMIC' __TBB_DECL_ATOMIC(unsigned char) ^~~~~~~~~~~~~~~~~ In file included from ../../src/test/test_concurrent_unordered_set.cpp:53: ../../src/test/test_concurrent_unordered_common.h: In instantiation of 'void test_concurrent(const char*, bool) [with T = tbb::interface5::concurrent_unordered_multiset, std::equal_to, local_counting_allocator, std::allocator> > >]': ../../src/test/test_concurrent_unordered_set.cpp:169:66: required from here ../../src/test/test_concurrent_unordered_common.h:638:15: warning: 'void* memset(void*, int, size_t)' clearing an object of type 'AtomicByte' {aka 'struct tbb::atomic'} with no trivial copy-assignment; use assignment or value-initialization instead [-Wclass-memaccess] memset( array, 0, items*sizeof(AtomicByte) ); ~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ In file included from ../../include/tbb/internal/_concurrent_unordered_impl.h:39, from ../../include/tbb/concurrent_unordered_set.h:27, from ../../src/test/test_concurrent_unordered_set.cpp:29: ../../include/tbb/internal/../atomic.h:421:27: note: 'AtomicByte' {aka 'struct tbb::atomic'} declared here template<> struct atomic: internal::atomic_impl_with_arithmetic { \ ^~~~~~~~~ ../../include/tbb/internal/../atomic.h:478:1: note: in expansion of macro '__TBB_DECL_ATOMIC' __TBB_DECL_ATOMIC(unsigned char) ^~~~~~~~~~~~~~~~~ In file included from ../../src/test/test_concurrent_unordered_set.cpp:53: ../../src/test/test_concurrent_unordered_common.h:647:15: warning: 'void* memset(void*, int, size_t)' clearing an object of type 'AtomicByte' {aka 'struct tbb::atomic'} with no trivial copy-assignment; use assignment or value-initialization instead [-Wclass-memaccess] memset( array, 0, items*sizeof(AtomicByte) ); ~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ In file included from ../../include/tbb/internal/_concurrent_unordered_impl.h:39, from ../../include/tbb/concurrent_unordered_set.h:27, from ../../src/test/test_concurrent_unordered_set.cpp:29: ../../include/tbb/internal/../atomic.h:421:27: note: 'AtomicByte' {aka 'struct tbb::atomic'} declared here template<> struct atomic: internal::atomic_impl_with_arithmetic { \ ^~~~~~~~~ ../../include/tbb/internal/../atomic.h:478:1: note: in expansion of macro '__TBB_DECL_ATOMIC' __TBB_DECL_ATOMIC(unsigned char) ^~~~~~~~~~~~~~~~~ In file included from ../../src/test/test_concurrent_unordered_set.cpp:53: ../../src/test/test_concurrent_unordered_common.h: In instantiation of 'void test_concurrent(const char*, bool) [with T = tbb::interface5::concurrent_unordered_multiset, std::equal_to, local_counting_allocator, std::allocator> > >]': ../../src/test/test_concurrent_unordered_set.cpp:170:85: required from here ../../src/test/test_concurrent_unordered_common.h:638:15: warning: 'void* memset(void*, int, size_t)' clearing an object of type 'AtomicByte' {aka 'struct tbb::atomic'} with no trivial copy-assignment; use assignment or value-initialization instead [-Wclass-memaccess] memset( array, 0, items*sizeof(AtomicByte) ); ~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ In file included from ../../include/tbb/internal/_concurrent_unordered_impl.h:39, from ../../include/tbb/concurrent_unordered_set.h:27, from ../../src/test/test_concurrent_unordered_set.cpp:29: ../../include/tbb/internal/../atomic.h:421:27: note: 'AtomicByte' {aka 'struct tbb::atomic'} declared here template<> struct atomic: internal::atomic_impl_with_arithmetic { \ ^~~~~~~~~ ../../include/tbb/internal/../atomic.h:478:1: note: in expansion of macro '__TBB_DECL_ATOMIC' __TBB_DECL_ATOMIC(unsigned char) ^~~~~~~~~~~~~~~~~ In file included from ../../src/test/test_concurrent_unordered_set.cpp:53: ../../src/test/test_concurrent_unordered_common.h:647:15: warning: 'void* memset(void*, int, size_t)' clearing an object of type 'AtomicByte' {aka 'struct tbb::atomic'} with no trivial copy-assignment; use assignment or value-initialization instead [-Wclass-memaccess] memset( array, 0, items*sizeof(AtomicByte) ); ~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ In file included from ../../include/tbb/internal/_concurrent_unordered_impl.h:39, from ../../include/tbb/concurrent_unordered_set.h:27, from ../../src/test/test_concurrent_unordered_set.cpp:29: ../../include/tbb/internal/../atomic.h:421:27: note: 'AtomicByte' {aka 'struct tbb::atomic'} declared here template<> struct atomic: internal::atomic_impl_with_arithmetic { \ ^~~~~~~~~ ../../include/tbb/internal/../atomic.h:478:1: note: in expansion of macro '__TBB_DECL_ATOMIC' __TBB_DECL_ATOMIC(unsigned char) ^~~~~~~~~~~~~~~~~ In file included from ../../src/test/test_concurrent_unordered_set.cpp:53: ../../src/test/test_concurrent_unordered_common.h: In instantiation of 'void test_concurrent(const char*, bool) [with T = tbb::interface5::concurrent_unordered_set, tbb::tbb_hash >, std::equal_to >, local_counting_allocator, std::allocator> > >]': ../../src/test/test_concurrent_unordered_set.cpp:174:116: required from here ../../src/test/test_concurrent_unordered_common.h:638:15: warning: 'void* memset(void*, int, size_t)' clearing an object of type 'AtomicByte' {aka 'struct tbb::atomic'} with no trivial copy-assignment; use assignment or value-initialization instead [-Wclass-memaccess] memset( array, 0, items*sizeof(AtomicByte) ); ~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ In file included from ../../include/tbb/internal/_concurrent_unordered_impl.h:39, from ../../include/tbb/concurrent_unordered_set.h:27, from ../../src/test/test_concurrent_unordered_set.cpp:29: ../../include/tbb/internal/../atomic.h:421:27: note: 'AtomicByte' {aka 'struct tbb::atomic'} declared here template<> struct atomic: internal::atomic_impl_with_arithmetic { \ ^~~~~~~~~ ../../include/tbb/internal/../atomic.h:478:1: note: in expansion of macro '__TBB_DECL_ATOMIC' __TBB_DECL_ATOMIC(unsigned char) ^~~~~~~~~~~~~~~~~ In file included from ../../src/test/test_concurrent_unordered_set.cpp:53: ../../src/test/test_concurrent_unordered_common.h:647:15: warning: 'void* memset(void*, int, size_t)' clearing an object of type 'AtomicByte' {aka 'struct tbb::atomic'} with no trivial copy-assignment; use assignment or value-initialization instead [-Wclass-memaccess] memset( array, 0, items*sizeof(AtomicByte) ); ~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ In file included from ../../include/tbb/internal/_concurrent_unordered_impl.h:39, from ../../include/tbb/concurrent_unordered_set.h:27, from ../../src/test/test_concurrent_unordered_set.cpp:29: ../../include/tbb/internal/../atomic.h:421:27: note: 'AtomicByte' {aka 'struct tbb::atomic'} declared here template<> struct atomic: internal::atomic_impl_with_arithmetic { \ ^~~~~~~~~ ../../include/tbb/internal/../atomic.h:478:1: note: in expansion of macro '__TBB_DECL_ATOMIC' __TBB_DECL_ATOMIC(unsigned char) ^~~~~~~~~~~~~~~~~ In file included from ../../src/test/test_concurrent_unordered_set.cpp:53: ../../src/test/test_concurrent_unordered_common.h: In instantiation of 'void test_concurrent(const char*, bool) [with T = tbb::interface5::concurrent_unordered_set, std::equal_to, local_counting_allocator, std::allocator> > >]': ../../src/test/test_concurrent_unordered_set.cpp:176:90: required from here ../../src/test/test_concurrent_unordered_common.h:638:15: warning: 'void* memset(void*, int, size_t)' clearing an object of type 'AtomicByte' {aka 'struct tbb::atomic'} with no trivial copy-assignment; use assignment or value-initialization instead [-Wclass-memaccess] memset( array, 0, items*sizeof(AtomicByte) ); ~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ In file included from ../../include/tbb/internal/_concurrent_unordered_impl.h:39, from ../../include/tbb/concurrent_unordered_set.h:27, from ../../src/test/test_concurrent_unordered_set.cpp:29: ../../include/tbb/internal/../atomic.h:421:27: note: 'AtomicByte' {aka 'struct tbb::atomic'} declared here template<> struct atomic: internal::atomic_impl_with_arithmetic { \ ^~~~~~~~~ ../../include/tbb/internal/../atomic.h:478:1: note: in expansion of macro '__TBB_DECL_ATOMIC' __TBB_DECL_ATOMIC(unsigned char) ^~~~~~~~~~~~~~~~~ In file included from ../../src/test/test_concurrent_unordered_set.cpp:53: ../../src/test/test_concurrent_unordered_common.h:647:15: warning: 'void* memset(void*, int, size_t)' clearing an object of type 'AtomicByte' {aka 'struct tbb::atomic'} with no trivial copy-assignment; use assignment or value-initialization instead [-Wclass-memaccess] memset( array, 0, items*sizeof(AtomicByte) ); ~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ In file included from ../../include/tbb/internal/_concurrent_unordered_impl.h:39, from ../../include/tbb/concurrent_unordered_set.h:27, from ../../src/test/test_concurrent_unordered_set.cpp:29: ../../include/tbb/internal/../atomic.h:421:27: note: 'AtomicByte' {aka 'struct tbb::atomic'} declared here template<> struct atomic: internal::atomic_impl_with_arithmetic { \ ^~~~~~~~~ ../../include/tbb/internal/../atomic.h:478:1: note: in expansion of macro '__TBB_DECL_ATOMIC' __TBB_DECL_ATOMIC(unsigned char) ^~~~~~~~~~~~~~~~~ In file included from ../../src/test/test_concurrent_unordered_set.cpp:53: ../../src/test/test_concurrent_unordered_common.h: In instantiation of 'void test_concurrent(const char*, bool) [with T = tbb::interface5::concurrent_unordered_multiset, tbb::tbb_hash >, std::equal_to >, local_counting_allocator, std::allocator> > >]': ../../src/test/test_concurrent_unordered_set.cpp:179:131: required from here ../../src/test/test_concurrent_unordered_common.h:638:15: warning: 'void* memset(void*, int, size_t)' clearing an object of type 'AtomicByte' {aka 'struct tbb::atomic'} with no trivial copy-assignment; use assignment or value-initialization instead [-Wclass-memaccess] memset( array, 0, items*sizeof(AtomicByte) ); ~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ In file included from ../../include/tbb/internal/_concurrent_unordered_impl.h:39, from ../../include/tbb/concurrent_unordered_set.h:27, from ../../src/test/test_concurrent_unordered_set.cpp:29: ../../include/tbb/internal/../atomic.h:421:27: note: 'AtomicByte' {aka 'struct tbb::atomic'} declared here template<> struct atomic: internal::atomic_impl_with_arithmetic { \ ^~~~~~~~~ ../../include/tbb/internal/../atomic.h:478:1: note: in expansion of macro '__TBB_DECL_ATOMIC' __TBB_DECL_ATOMIC(unsigned char) ^~~~~~~~~~~~~~~~~ In file included from ../../src/test/test_concurrent_unordered_set.cpp:53: ../../src/test/test_concurrent_unordered_common.h:647:15: warning: 'void* memset(void*, int, size_t)' clearing an object of type 'AtomicByte' {aka 'struct tbb::atomic'} with no trivial copy-assignment; use assignment or value-initialization instead [-Wclass-memaccess] memset( array, 0, items*sizeof(AtomicByte) ); ~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ In file included from ../../include/tbb/internal/_concurrent_unordered_impl.h:39, from ../../include/tbb/concurrent_unordered_set.h:27, from ../../src/test/test_concurrent_unordered_set.cpp:29: ../../include/tbb/internal/../atomic.h:421:27: note: 'AtomicByte' {aka 'struct tbb::atomic'} declared here template<> struct atomic: internal::atomic_impl_with_arithmetic { \ ^~~~~~~~~ ../../include/tbb/internal/../atomic.h:478:1: note: in expansion of macro '__TBB_DECL_ATOMIC' __TBB_DECL_ATOMIC(unsigned char) ^~~~~~~~~~~~~~~~~ In file included from ../../include/tbb/concurrent_unordered_set.h:27, from ../../src/test/test_concurrent_unordered_set.cpp:29: ../../include/tbb/internal/_concurrent_unordered_impl.h: In instantiation of 'void tbb::interface5::internal::concurrent_unordered_base::set_bucket(tbb::interface5::internal::concurrent_unordered_base::size_type, tbb::interface5::internal::concurrent_unordered_base::raw_iterator) [with Traits = tbb::interface5::concurrent_unordered_set_traits, std::equal_to >, local_counting_allocator, std::allocator> >, false>; tbb::interface5::internal::concurrent_unordered_base::size_type = long unsigned int; tbb::interface5::internal::concurrent_unordered_base::raw_iterator = tbb::interface5::internal::flist_iterator, tbb::atomic > >, int>]': ../../include/tbb/internal/_concurrent_unordered_impl.h:1056:9: required from 'void tbb::interface5::internal::concurrent_unordered_base::clear() [with Traits = tbb::interface5::concurrent_unordered_set_traits, std::equal_to >, local_counting_allocator, std::allocator> >, false>]' ../../src/test/test_concurrent_unordered_common.h:657:5: required from 'void test_concurrent(const char*, bool) [with T = tbb::interface5::concurrent_unordered_set, std::equal_to, local_counting_allocator, std::allocator> > >]' ../../src/test/test_concurrent_unordered_set.cpp:165:54: required from here ../../include/tbb/internal/_concurrent_unordered_impl.h:1471:24: warning: 'void* memset(void*, int, size_t)' clearing an object of non-trivial type 'tbb::interface5::internal::concurrent_unordered_base, std::equal_to >, local_counting_allocator, std::allocator> >, false> >::raw_iterator' {aka 'class tbb::interface5::internal::flist_iterator, tbb::atomic > >, int>'}; use assignment or value-initialization instead [-Wclass-memaccess] std::memset(new_segment, 0, sz*sizeof(raw_iterator)); ~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ In file included from ../../include/tbb/concurrent_unordered_set.h:27, from ../../src/test/test_concurrent_unordered_set.cpp:29: ../../include/tbb/internal/_concurrent_unordered_impl.h:61:7: note: 'tbb::interface5::internal::concurrent_unordered_base, std::equal_to >, local_counting_allocator, std::allocator> >, false> >::raw_iterator' {aka 'class tbb::interface5::internal::flist_iterator, tbb::atomic > >, int>'} declared here class flist_iterator : public std::iterator ^~~~~~~~~~~~~~ In file included from ../../include/tbb/concurrent_unordered_set.h:27, from ../../src/test/test_concurrent_unordered_set.cpp:29: ../../include/tbb/internal/_concurrent_unordered_impl.h: In instantiation of 'void tbb::interface5::internal::concurrent_unordered_base::set_bucket(tbb::interface5::internal::concurrent_unordered_base::size_type, tbb::interface5::internal::concurrent_unordered_base::raw_iterator) [with Traits = tbb::interface5::concurrent_unordered_set_traits, std::equal_to >, local_counting_allocator, std::allocator> >, false>; tbb::interface5::internal::concurrent_unordered_base::size_type = long unsigned int; tbb::interface5::internal::concurrent_unordered_base::raw_iterator = tbb::interface5::internal::flist_iterator, tbb::atomic > >, int>]': ../../include/tbb/internal/_concurrent_unordered_impl.h:1056:9: required from 'void tbb::interface5::internal::concurrent_unordered_base::clear() [with Traits = tbb::interface5::concurrent_unordered_set_traits, std::equal_to >, local_counting_allocator, std::allocator> >, false>]' ../../src/test/test_concurrent_unordered_common.h:657:5: required from 'void test_concurrent(const char*, bool) [with T = tbb::interface5::concurrent_unordered_set, std::equal_to, local_counting_allocator, std::allocator> > >]' ../../src/test/test_concurrent_unordered_set.cpp:166:77: required from here ../../include/tbb/internal/_concurrent_unordered_impl.h:1471:24: warning: 'void* memset(void*, int, size_t)' clearing an object of non-trivial type 'tbb::interface5::internal::concurrent_unordered_base, std::equal_to >, local_counting_allocator, std::allocator> >, false> >::raw_iterator' {aka 'class tbb::interface5::internal::flist_iterator, tbb::atomic > >, int>'}; use assignment or value-initialization instead [-Wclass-memaccess] std::memset(new_segment, 0, sz*sizeof(raw_iterator)); ~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ In file included from ../../include/tbb/concurrent_unordered_set.h:27, from ../../src/test/test_concurrent_unordered_set.cpp:29: ../../include/tbb/internal/_concurrent_unordered_impl.h:61:7: note: 'tbb::interface5::internal::concurrent_unordered_base, std::equal_to >, local_counting_allocator, std::allocator> >, false> >::raw_iterator' {aka 'class tbb::interface5::internal::flist_iterator, tbb::atomic > >, int>'} declared here class flist_iterator : public std::iterator ^~~~~~~~~~~~~~ In file included from ../../include/tbb/concurrent_unordered_set.h:27, from ../../src/test/test_concurrent_unordered_set.cpp:29: ../../include/tbb/internal/_concurrent_unordered_impl.h: In instantiation of 'void tbb::interface5::internal::concurrent_unordered_base::set_bucket(tbb::interface5::internal::concurrent_unordered_base::size_type, tbb::interface5::internal::concurrent_unordered_base::raw_iterator) [with Traits = tbb::interface5::concurrent_unordered_set_traits, std::equal_to >, local_counting_allocator, std::allocator> >, true>; tbb::interface5::internal::concurrent_unordered_base::size_type = long unsigned int; tbb::interface5::internal::concurrent_unordered_base::raw_iterator = tbb::interface5::internal::flist_iterator, tbb::atomic > >, int>]': ../../include/tbb/internal/_concurrent_unordered_impl.h:1056:9: required from 'void tbb::interface5::internal::concurrent_unordered_base::clear() [with Traits = tbb::interface5::concurrent_unordered_set_traits, std::equal_to >, local_counting_allocator, std::allocator> >, true>]' ../../src/test/test_concurrent_unordered_common.h:657:5: required from 'void test_concurrent(const char*, bool) [with T = tbb::interface5::concurrent_unordered_multiset, std::equal_to, local_counting_allocator, std::allocator> > >]' ../../src/test/test_concurrent_unordered_set.cpp:169:66: required from here ../../include/tbb/internal/_concurrent_unordered_impl.h:1471:24: warning: 'void* memset(void*, int, size_t)' clearing an object of non-trivial type 'tbb::interface5::internal::concurrent_unordered_base, std::equal_to >, local_counting_allocator, std::allocator> >, true> >::raw_iterator' {aka 'class tbb::interface5::internal::flist_iterator, tbb::atomic > >, int>'}; use assignment or value-initialization instead [-Wclass-memaccess] std::memset(new_segment, 0, sz*sizeof(raw_iterator)); ~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ In file included from ../../include/tbb/concurrent_unordered_set.h:27, from ../../src/test/test_concurrent_unordered_set.cpp:29: ../../include/tbb/internal/_concurrent_unordered_impl.h:61:7: note: 'tbb::interface5::internal::concurrent_unordered_base, std::equal_to >, local_counting_allocator, std::allocator> >, true> >::raw_iterator' {aka 'class tbb::interface5::internal::flist_iterator, tbb::atomic > >, int>'} declared here class flist_iterator : public std::iterator ^~~~~~~~~~~~~~ In file included from ../../include/tbb/concurrent_unordered_set.h:27, from ../../src/test/test_concurrent_unordered_set.cpp:29: ../../include/tbb/internal/_concurrent_unordered_impl.h: In instantiation of 'void tbb::interface5::internal::concurrent_unordered_base::set_bucket(tbb::interface5::internal::concurrent_unordered_base::size_type, tbb::interface5::internal::concurrent_unordered_base::raw_iterator) [with Traits = tbb::interface5::concurrent_unordered_set_traits, std::equal_to >, local_counting_allocator, std::allocator> >, true>; tbb::interface5::internal::concurrent_unordered_base::size_type = long unsigned int; tbb::interface5::internal::concurrent_unordered_base::raw_iterator = tbb::interface5::internal::flist_iterator, tbb::atomic > >, int>]': ../../include/tbb/internal/_concurrent_unordered_impl.h:1056:9: required from 'void tbb::interface5::internal::concurrent_unordered_base::clear() [with Traits = tbb::interface5::concurrent_unordered_set_traits, std::equal_to >, local_counting_allocator, std::allocator> >, true>]' ../../src/test/test_concurrent_unordered_common.h:657:5: required from 'void test_concurrent(const char*, bool) [with T = tbb::interface5::concurrent_unordered_multiset, std::equal_to, local_counting_allocator, std::allocator> > >]' ../../src/test/test_concurrent_unordered_set.cpp:170:85: required from here ../../include/tbb/internal/_concurrent_unordered_impl.h:1471:24: warning: 'void* memset(void*, int, size_t)' clearing an object of non-trivial type 'tbb::interface5::internal::concurrent_unordered_base, std::equal_to >, local_counting_allocator, std::allocator> >, true> >::raw_iterator' {aka 'class tbb::interface5::internal::flist_iterator, tbb::atomic > >, int>'}; use assignment or value-initialization instead [-Wclass-memaccess] std::memset(new_segment, 0, sz*sizeof(raw_iterator)); ~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ In file included from ../../include/tbb/concurrent_unordered_set.h:27, from ../../src/test/test_concurrent_unordered_set.cpp:29: ../../include/tbb/internal/_concurrent_unordered_impl.h:61:7: note: 'tbb::interface5::internal::concurrent_unordered_base, std::equal_to >, local_counting_allocator, std::allocator> >, true> >::raw_iterator' {aka 'class tbb::interface5::internal::flist_iterator, tbb::atomic > >, int>'} declared here class flist_iterator : public std::iterator ^~~~~~~~~~~~~~ In file included from ../../include/tbb/concurrent_unordered_set.h:27, from ../../src/test/test_concurrent_unordered_set.cpp:29: ../../include/tbb/internal/_concurrent_unordered_impl.h: In instantiation of 'void tbb::interface5::internal::concurrent_unordered_base::set_bucket(tbb::interface5::internal::concurrent_unordered_base::size_type, tbb::interface5::internal::concurrent_unordered_base::raw_iterator) [with Traits = tbb::interface5::concurrent_unordered_set_traits, tbb::interface5::internal::hash_compare, tbb::tbb_hash >, std::equal_to > >, local_counting_allocator, std::allocator> >, false>; tbb::interface5::internal::concurrent_unordered_base::size_type = long unsigned int; tbb::interface5::internal::concurrent_unordered_base::raw_iterator = tbb::interface5::internal::flist_iterator, local_counting_allocator, std::allocator>, tbb::atomic > >, check_type >]': ../../include/tbb/internal/_concurrent_unordered_impl.h:1056:9: required from 'void tbb::interface5::internal::concurrent_unordered_base::clear() [with Traits = tbb::interface5::concurrent_unordered_set_traits, tbb::interface5::internal::hash_compare, tbb::tbb_hash >, std::equal_to > >, local_counting_allocator, std::allocator> >, false>]' ../../src/test/test_concurrent_unordered_common.h:657:5: required from 'void test_concurrent(const char*, bool) [with T = tbb::interface5::concurrent_unordered_set, tbb::tbb_hash >, std::equal_to >, local_counting_allocator, std::allocator> > >]' ../../src/test/test_concurrent_unordered_set.cpp:174:116: required from here ../../include/tbb/internal/_concurrent_unordered_impl.h:1471:24: warning: 'void* memset(void*, int, size_t)' clearing an object of non-trivial type 'tbb::interface5::internal::concurrent_unordered_base, tbb::interface5::internal::hash_compare, tbb::tbb_hash >, std::equal_to > >, local_counting_allocator, std::allocator> >, false> >::raw_iterator' {aka 'class tbb::interface5::internal::flist_iterator, local_counting_allocator, std::allocator>, tbb::atomic > >, check_type >'}; use assignment or value-initialization instead [-Wclass-memaccess] std::memset(new_segment, 0, sz*sizeof(raw_iterator)); ~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ In file included from ../../include/tbb/concurrent_unordered_set.h:27, from ../../src/test/test_concurrent_unordered_set.cpp:29: ../../include/tbb/internal/_concurrent_unordered_impl.h:61:7: note: 'tbb::interface5::internal::concurrent_unordered_base, tbb::interface5::internal::hash_compare, tbb::tbb_hash >, std::equal_to > >, local_counting_allocator, std::allocator> >, false> >::raw_iterator' {aka 'class tbb::interface5::internal::flist_iterator, local_counting_allocator, std::allocator>, tbb::atomic > >, check_type >'} declared here class flist_iterator : public std::iterator ^~~~~~~~~~~~~~ In file included from ../../include/tbb/concurrent_unordered_set.h:27, from ../../src/test/test_concurrent_unordered_set.cpp:29: ../../include/tbb/internal/_concurrent_unordered_impl.h: In instantiation of 'void tbb::interface5::internal::concurrent_unordered_base::set_bucket(tbb::interface5::internal::concurrent_unordered_base::size_type, tbb::interface5::internal::concurrent_unordered_base::raw_iterator) [with Traits = tbb::interface5::concurrent_unordered_set_traits, std::equal_to >, local_counting_allocator, std::allocator> >, false>; tbb::interface5::internal::concurrent_unordered_base::size_type = long unsigned int; tbb::interface5::internal::concurrent_unordered_base::raw_iterator = tbb::interface5::internal::flist_iterator, tbb::atomic > >, FooWithAssign>]': ../../include/tbb/internal/_concurrent_unordered_impl.h:1056:9: required from 'void tbb::interface5::internal::concurrent_unordered_base::clear() [with Traits = tbb::interface5::concurrent_unordered_set_traits, std::equal_to >, local_counting_allocator, std::allocator> >, false>]' ../../src/test/test_concurrent_unordered_common.h:347:5: required from 'void test_basic(const char*, do_check_element_state) [with T = tbb::interface5::concurrent_unordered_set, std::equal_to, local_counting_allocator, std::allocator> > >; do_check_element_state = tbb::internal::bool_constant]' ../../src/test/test_concurrent_unordered_set.cpp:175:113: required from here ../../include/tbb/internal/_concurrent_unordered_impl.h:1471:24: warning: 'void* memset(void*, int, size_t)' clearing an object of non-trivial type 'tbb::interface5::internal::concurrent_unordered_base, std::equal_to >, local_counting_allocator, std::allocator> >, false> >::raw_iterator' {aka 'class tbb::interface5::internal::flist_iterator, tbb::atomic > >, FooWithAssign>'}; use assignment or value-initialization instead [-Wclass-memaccess] std::memset(new_segment, 0, sz*sizeof(raw_iterator)); ~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ In file included from ../../include/tbb/concurrent_unordered_set.h:27, from ../../src/test/test_concurrent_unordered_set.cpp:29: ../../include/tbb/internal/_concurrent_unordered_impl.h:61:7: note: 'tbb::interface5::internal::concurrent_unordered_base, std::equal_to >, local_counting_allocator, std::allocator> >, false> >::raw_iterator' {aka 'class tbb::interface5::internal::flist_iterator, tbb::atomic > >, FooWithAssign>'} declared here class flist_iterator : public std::iterator ^~~~~~~~~~~~~~ In file included from ../../include/tbb/concurrent_unordered_set.h:27, from ../../src/test/test_concurrent_unordered_set.cpp:29: ../../include/tbb/internal/_concurrent_unordered_impl.h: In instantiation of 'void tbb::interface5::internal::concurrent_unordered_base::set_bucket(tbb::interface5::internal::concurrent_unordered_base::size_type, tbb::interface5::internal::concurrent_unordered_base::raw_iterator) [with Traits = tbb::interface5::concurrent_unordered_set_traits, tbb::interface5::internal::hash_compare, tbb::tbb_hash >, std::equal_to > >, local_counting_allocator, std::allocator> >, true>; tbb::interface5::internal::concurrent_unordered_base::size_type = long unsigned int; tbb::interface5::internal::concurrent_unordered_base::raw_iterator = tbb::interface5::internal::flist_iterator, local_counting_allocator, std::allocator>, tbb::atomic > >, check_type >]': ../../include/tbb/internal/_concurrent_unordered_impl.h:1056:9: required from 'void tbb::interface5::internal::concurrent_unordered_base::clear() [with Traits = tbb::interface5::concurrent_unordered_set_traits, tbb::interface5::internal::hash_compare, tbb::tbb_hash >, std::equal_to > >, local_counting_allocator, std::allocator> >, true>]' ../../src/test/test_concurrent_unordered_common.h:657:5: required from 'void test_concurrent(const char*, bool) [with T = tbb::interface5::concurrent_unordered_multiset, tbb::tbb_hash >, std::equal_to >, local_counting_allocator, std::allocator> > >]' ../../src/test/test_concurrent_unordered_set.cpp:179:131: required from here ../../include/tbb/internal/_concurrent_unordered_impl.h:1471:24: warning: 'void* memset(void*, int, size_t)' clearing an object of non-trivial type 'tbb::interface5::internal::concurrent_unordered_base, tbb::interface5::internal::hash_compare, tbb::tbb_hash >, std::equal_to > >, local_counting_allocator, std::allocator> >, true> >::raw_iterator' {aka 'class tbb::interface5::internal::flist_iterator, local_counting_allocator, std::allocator>, tbb::atomic > >, check_type >'}; use assignment or value-initialization instead [-Wclass-memaccess] std::memset(new_segment, 0, sz*sizeof(raw_iterator)); ~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ In file included from ../../include/tbb/concurrent_unordered_set.h:27, from ../../src/test/test_concurrent_unordered_set.cpp:29: ../../include/tbb/internal/_concurrent_unordered_impl.h:61:7: note: 'tbb::interface5::internal::concurrent_unordered_base, tbb::interface5::internal::hash_compare, tbb::tbb_hash >, std::equal_to > >, local_counting_allocator, std::allocator> >, true> >::raw_iterator' {aka 'class tbb::interface5::internal::flist_iterator, local_counting_allocator, std::allocator>, tbb::atomic > >, check_type >'} declared here class flist_iterator : public std::iterator ^~~~~~~~~~~~~~ In file included from ../../src/test/test_container_move_support.h:26, from ../../src/test/test_concurrent_unordered_common.h:25, from ../../src/test/test_concurrent_unordered_set.cpp:53: ../../src/test/harness_allocator.h: In instantiation of 'debug_allocator::pointer debug_allocator::allocate(debug_allocator::size_type, const void*) [with T = tbb::atomic; Allocator = std::allocator; debug_allocator::pointer = tbb::atomic*; debug_allocator::size_type = long unsigned int]': ../../src/test/test_concurrent_unordered_common.h:896:17: required from 'void Examine(Table, const std::__cxx11::list&) [with bool defCtorPresent = true; Table = tbb::interface5::concurrent_unordered_set, tbb::tbb_hash >, Harness::IsEqual, debug_allocator, std::allocator> >; typename Table::value_type = tbb::atomic]' ../../src/test/test_concurrent_unordered_common.h:925:28: required from 'void TypeTester(const std::__cxx11::list&) [with bool defCtorPresent = true; Table = tbb::interface5::concurrent_unordered_set, tbb::tbb_hash >, Harness::IsEqual, tbb::tbb_allocator > >; TableDebugAlloc = tbb::interface5::concurrent_unordered_set, tbb::tbb_hash >, Harness::IsEqual, debug_allocator, std::allocator> >; typename Table::value_type = tbb::atomic]' ../../src/test/test_concurrent_unordered_set.cpp:86:128: required from 'void TestTypesSet(const std::__cxx11::list&) [with bool defCtorPresent = true; value_type = tbb::atomic]' ../../src/test/test_concurrent_unordered_set.cpp:101:53: required from here ../../src/test/harness_allocator.h:518:20: warning: 'void* memset(void*, int, size_t)' writing to an object of type 'struct tbb::atomic' with no trivial copy-assignment [-Wclass-memaccess] std::memset( ptr, 0xE3E3E3E3, n * sizeof(value_type) ); ~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ In file included from ../../include/tbb/internal/_concurrent_unordered_impl.h:39, from ../../include/tbb/concurrent_unordered_set.h:27, from ../../src/test/test_concurrent_unordered_set.cpp:29: ../../include/tbb/internal/../atomic.h:421:27: note: 'struct tbb::atomic' declared here template<> struct atomic: internal::atomic_impl_with_arithmetic { \ ^~~~~~~~~ ../../include/tbb/internal/../atomic.h:471:1: note: in expansion of macro '__TBB_DECL_ATOMIC' __TBB_DECL_ATOMIC(int) ^~~~~~~~~~~~~~~~~ In file included from ../../src/test/test_container_move_support.h:26, from ../../src/test/test_concurrent_unordered_common.h:25, from ../../src/test/test_concurrent_unordered_set.cpp:53: ../../src/test/harness_allocator.h: In instantiation of 'debug_allocator::pointer debug_allocator::allocate(debug_allocator::size_type, const void*) [with T = std::reference_wrapper; Allocator = std::allocator; debug_allocator::pointer = std::reference_wrapper*; debug_allocator::size_type = long unsigned int]': ../../src/test/test_concurrent_unordered_common.h:896:17: required from 'void Examine(Table, const std::__cxx11::list&) [with bool defCtorPresent = false; Table = tbb::interface5::concurrent_unordered_set, tbb::tbb_hash >, Harness::IsEqual, debug_allocator, std::allocator> >; typename Table::value_type = std::reference_wrapper]' ../../src/test/test_concurrent_unordered_common.h:925:28: required from 'void TypeTester(const std::__cxx11::list&) [with bool defCtorPresent = false; Table = tbb::interface5::concurrent_unordered_set, tbb::tbb_hash >, Harness::IsEqual, tbb::tbb_allocator > >; TableDebugAlloc = tbb::interface5::concurrent_unordered_set, tbb::tbb_hash >, Harness::IsEqual, debug_allocator, std::allocator> >; typename Table::value_type = std::reference_wrapper]' ../../src/test/test_concurrent_unordered_set.cpp:86:128: required from 'void TestTypesSet(const std::__cxx11::list&) [with bool defCtorPresent = false; value_type = std::reference_wrapper]' ../../src/test/test_concurrent_unordered_set.cpp:107:54: required from here ../../src/test/harness_allocator.h:518:20: warning: 'void* memset(void*, int, size_t)' writing to an object of non-trivial type 'class std::reference_wrapper'; use assignment instead [-Wclass-memaccess] std::memset( ptr, 0xE3E3E3E3, n * sizeof(value_type) ); ~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ In file included from /usr/include/c++/8/bits/shared_ptr_base.h:54, from /usr/include/c++/8/bits/shared_ptr.h:52, from /usr/include/c++/8/memory:81, from ../../include/tbb/internal/../tbb_stddef.h:427, from ../../include/tbb/internal/_concurrent_unordered_impl.h:30, from ../../include/tbb/concurrent_unordered_set.h:27, from ../../src/test/test_concurrent_unordered_set.cpp:29: /usr/include/c++/8/bits/refwrap.h:289:11: note: 'class std::reference_wrapper' declared here class reference_wrapper ^~~~~~~~~~~~~~~~~ In file included from ../../src/test/test_container_move_support.h:26, from ../../src/test/test_concurrent_unordered_common.h:25, from ../../src/test/test_concurrent_unordered_set.cpp:53: ../../src/test/harness_allocator.h: In instantiation of 'debug_allocator::pointer debug_allocator::allocate(debug_allocator::size_type, const void*) [with T = std::shared_ptr; Allocator = std::allocator; debug_allocator::pointer = std::shared_ptr*; debug_allocator::size_type = long unsigned int]': ../../src/test/test_concurrent_unordered_common.h:896:17: required from 'void Examine(Table, const std::__cxx11::list&) [with bool defCtorPresent = true; Table = tbb::interface5::concurrent_unordered_set, tbb::tbb_hash >, Harness::IsEqual, debug_allocator, std::allocator> >; typename Table::value_type = std::shared_ptr]' ../../src/test/test_concurrent_unordered_common.h:925:28: required from 'void TypeTester(const std::__cxx11::list&) [with bool defCtorPresent = true; Table = tbb::interface5::concurrent_unordered_set, tbb::tbb_hash >, Harness::IsEqual, tbb::tbb_allocator > >; TableDebugAlloc = tbb::interface5::concurrent_unordered_set, tbb::tbb_hash >, Harness::IsEqual, debug_allocator, std::allocator> >; typename Table::value_type = std::shared_ptr]' ../../src/test/test_concurrent_unordered_set.cpp:86:128: required from 'void TestTypesSet(const std::__cxx11::list&) [with bool defCtorPresent = true; value_type = std::shared_ptr]' ../../src/test/test_concurrent_unordered_set.cpp:113:53: required from here ../../src/test/harness_allocator.h:518:20: warning: 'void* memset(void*, int, size_t)' writing to an object of type 'class std::shared_ptr' with no trivial copy-assignment [-Wclass-memaccess] std::memset( ptr, 0xE3E3E3E3, n * sizeof(value_type) ); ~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ In file included from /usr/include/c++/8/memory:81, from ../../include/tbb/internal/../tbb_stddef.h:427, from ../../include/tbb/internal/_concurrent_unordered_impl.h:30, from ../../include/tbb/concurrent_unordered_set.h:27, from ../../src/test/test_concurrent_unordered_set.cpp:29: /usr/include/c++/8/bits/shared_ptr.h:103:11: note: 'class std::shared_ptr' declared here class shared_ptr : public __shared_ptr<_Tp> ^~~~~~~~~~ In file included from ../../src/test/test_container_move_support.h:26, from ../../src/test/test_concurrent_unordered_common.h:25, from ../../src/test/test_concurrent_unordered_set.cpp:53: ../../src/test/harness_allocator.h: In instantiation of 'debug_allocator::pointer debug_allocator::allocate(debug_allocator::size_type, const void*) [with T = std::weak_ptr; Allocator = std::allocator; debug_allocator::pointer = std::weak_ptr*; debug_allocator::size_type = long unsigned int]': ../../src/test/test_concurrent_unordered_common.h:896:17: required from 'void Examine(Table, const std::__cxx11::list&) [with bool defCtorPresent = true; Table = tbb::interface5::concurrent_unordered_set, tbb::tbb_hash >, Harness::IsEqual, debug_allocator, std::allocator> >; typename Table::value_type = std::weak_ptr]' ../../src/test/test_concurrent_unordered_common.h:925:28: required from 'void TypeTester(const std::__cxx11::list&) [with bool defCtorPresent = true; Table = tbb::interface5::concurrent_unordered_set, tbb::tbb_hash >, Harness::IsEqual, tbb::tbb_allocator > >; TableDebugAlloc = tbb::interface5::concurrent_unordered_set, tbb::tbb_hash >, Harness::IsEqual, debug_allocator, std::allocator> >; typename Table::value_type = std::weak_ptr]' ../../src/test/test_concurrent_unordered_set.cpp:86:128: required from 'void TestTypesSet(const std::__cxx11::list&) [with bool defCtorPresent = true; value_type = std::weak_ptr]' ../../src/test/test_concurrent_unordered_set.cpp:117:52: required from here ../../src/test/harness_allocator.h:518:20: warning: 'void* memset(void*, int, size_t)' writing to an object of type 'class std::weak_ptr' with no trivial copy-assignment [-Wclass-memaccess] std::memset( ptr, 0xE3E3E3E3, n * sizeof(value_type) ); ~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ In file included from /usr/include/c++/8/memory:81, from ../../include/tbb/internal/../tbb_stddef.h:427, from ../../include/tbb/internal/_concurrent_unordered_impl.h:30, from ../../include/tbb/concurrent_unordered_set.h:27, from ../../src/test/test_concurrent_unordered_set.cpp:29: /usr/include/c++/8/bits/shared_ptr.h:536:11: note: 'class std::weak_ptr' declared here class weak_ptr : public __weak_ptr<_Tp> ^~~~~~~~ In file included from ../../include/tbb/concurrent_unordered_set.h:27, from ../../src/test/test_concurrent_unordered_set.cpp:29: ../../include/tbb/internal/_concurrent_unordered_impl.h: In instantiation of 'void tbb::interface5::internal::concurrent_unordered_base::set_bucket(tbb::interface5::internal::concurrent_unordered_base::size_type, tbb::interface5::internal::concurrent_unordered_base::raw_iterator) [with Traits = tbb::interface5::concurrent_unordered_set_traits, std::equal_to >, tbb::tbb_allocator, false>; tbb::interface5::internal::concurrent_unordered_base::size_type = long unsigned int; tbb::interface5::internal::concurrent_unordered_base::raw_iterator = tbb::interface5::internal::flist_iterator >, int>]': ../../include/tbb/internal/_concurrent_unordered_impl.h:1207:9: required from 'void tbb::interface5::internal::concurrent_unordered_base::internal_init() [with Traits = tbb::interface5::concurrent_unordered_set_traits, std::equal_to >, tbb::tbb_allocator, false>]' ../../include/tbb/internal/_concurrent_unordered_impl.h:710:9: required from 'tbb::interface5::internal::concurrent_unordered_base::concurrent_unordered_base(tbb::interface5::internal::concurrent_unordered_base::size_type, const hash_compare&, const allocator_type&) [with Traits = tbb::interface5::concurrent_unordered_set_traits, std::equal_to >, tbb::tbb_allocator, false>; tbb::interface5::internal::concurrent_unordered_base::size_type = long unsigned int; tbb::interface5::internal::concurrent_unordered_base::hash_compare = tbb::interface5::internal::hash_compare, std::equal_to >; tbb::interface5::internal::concurrent_unordered_base::allocator_type = tbb::tbb_allocator]' ../../include/tbb/concurrent_unordered_set.h:94:68: required from 'tbb::interface5::concurrent_unordered_set::concurrent_unordered_set(tbb::interface5::concurrent_unordered_set::size_type, const hasher&, const key_equal&, const allocator_type&) [with Key = int; Hasher = tbb::tbb_hash; Key_equality = std::equal_to; Allocator = tbb::tbb_allocator; tbb::interface5::concurrent_unordered_set::size_type = long unsigned int; tbb::interface5::concurrent_unordered_set::hasher = tbb::tbb_hash; tbb::interface5::concurrent_unordered_set::key_equal = std::equal_to; tbb::interface5::concurrent_unordered_set::allocator_type = tbb::tbb_allocator]' ../../src/test/test_concurrent_unordered_set.cpp:143:40: required from here ../../include/tbb/internal/_concurrent_unordered_impl.h:1471:24: warning: 'void* memset(void*, int, size_t)' clearing an object of non-trivial type 'tbb::interface5::internal::concurrent_unordered_base, std::equal_to >, tbb::tbb_allocator, false> >::raw_iterator' {aka 'class tbb::interface5::internal::flist_iterator >, int>'}; use assignment or value-initialization instead [-Wclass-memaccess] std::memset(new_segment, 0, sz*sizeof(raw_iterator)); ~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ In file included from ../../include/tbb/concurrent_unordered_set.h:27, from ../../src/test/test_concurrent_unordered_set.cpp:29: ../../include/tbb/internal/_concurrent_unordered_impl.h:61:7: note: 'tbb::interface5::internal::concurrent_unordered_base, std::equal_to >, tbb::tbb_allocator, false> >::raw_iterator' {aka 'class tbb::interface5::internal::flist_iterator >, int>'} declared here class flist_iterator : public std::iterator ^~~~~~~~~~~~~~ In file included from ../../include/tbb/concurrent_unordered_set.h:27, from ../../src/test/test_concurrent_unordered_set.cpp:29: ../../include/tbb/internal/_concurrent_unordered_impl.h: In instantiation of 'void tbb::interface5::internal::concurrent_unordered_base::set_bucket(tbb::interface5::internal::concurrent_unordered_base::size_type, tbb::interface5::internal::concurrent_unordered_base::raw_iterator) [with Traits = tbb::interface5::concurrent_unordered_set_traits, Harness::IsEqual>, tbb::tbb_allocator, false>; tbb::interface5::internal::concurrent_unordered_base::size_type = long unsigned int; tbb::interface5::internal::concurrent_unordered_base::raw_iterator = tbb::interface5::internal::flist_iterator >, int>]': ../../include/tbb/internal/_concurrent_unordered_impl.h:1207:9: required from 'void tbb::interface5::internal::concurrent_unordered_base::internal_init() [with Traits = tbb::interface5::concurrent_unordered_set_traits, Harness::IsEqual>, tbb::tbb_allocator, false>]' ../../include/tbb/internal/_concurrent_unordered_impl.h:724:9: required from 'tbb::interface5::internal::concurrent_unordered_base::concurrent_unordered_base(const tbb::interface5::internal::concurrent_unordered_base&) [with Traits = tbb::interface5::concurrent_unordered_set_traits, Harness::IsEqual>, tbb::tbb_allocator, false>]' ../../include/tbb/concurrent_unordered_set.h:56:7: required from 'void TypeTester(const std::__cxx11::list&) [with bool defCtorPresent = true; Table = tbb::interface5::concurrent_unordered_set, Harness::IsEqual, tbb::tbb_allocator >; TableDebugAlloc = tbb::interface5::concurrent_unordered_set, Harness::IsEqual, debug_allocator >; typename Table::value_type = int]' ../../src/test/test_concurrent_unordered_set.cpp:86:128: required from 'void TestTypesSet(const std::__cxx11::list&) [with bool defCtorPresent = true; value_type = int]' ../../src/test/test_concurrent_unordered_set.cpp:96:53: required from here ../../include/tbb/internal/_concurrent_unordered_impl.h:1471:24: warning: 'void* memset(void*, int, size_t)' clearing an object of non-trivial type 'tbb::interface5::internal::concurrent_unordered_base, Harness::IsEqual>, tbb::tbb_allocator, false> >::raw_iterator' {aka 'class tbb::interface5::internal::flist_iterator >, int>'}; use assignment or value-initialization instead [-Wclass-memaccess] std::memset(new_segment, 0, sz*sizeof(raw_iterator)); ~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ In file included from ../../include/tbb/concurrent_unordered_set.h:27, from ../../src/test/test_concurrent_unordered_set.cpp:29: ../../include/tbb/internal/_concurrent_unordered_impl.h:61:7: note: 'tbb::interface5::internal::concurrent_unordered_base, Harness::IsEqual>, tbb::tbb_allocator, false> >::raw_iterator' {aka 'class tbb::interface5::internal::flist_iterator >, int>'} declared here class flist_iterator : public std::iterator ^~~~~~~~~~~~~~ In file included from ../../include/tbb/concurrent_unordered_set.h:27, from ../../src/test/test_concurrent_unordered_set.cpp:29: ../../include/tbb/internal/_concurrent_unordered_impl.h: In instantiation of 'void tbb::interface5::internal::concurrent_unordered_base::set_bucket(tbb::interface5::internal::concurrent_unordered_base::size_type, tbb::interface5::internal::concurrent_unordered_base::raw_iterator) [with Traits = tbb::interface5::concurrent_unordered_set_traits, Harness::IsEqual>, debug_allocator, false>; tbb::interface5::internal::concurrent_unordered_base::size_type = long unsigned int; tbb::interface5::internal::concurrent_unordered_base::raw_iterator = tbb::interface5::internal::flist_iterator >, int>]': ../../include/tbb/internal/_concurrent_unordered_impl.h:1207:9: required from 'void tbb::interface5::internal::concurrent_unordered_base::internal_init() [with Traits = tbb::interface5::concurrent_unordered_set_traits, Harness::IsEqual>, debug_allocator, false>]' ../../include/tbb/internal/_concurrent_unordered_impl.h:724:9: required from 'tbb::interface5::internal::concurrent_unordered_base::concurrent_unordered_base(const tbb::interface5::internal::concurrent_unordered_base&) [with Traits = tbb::interface5::concurrent_unordered_set_traits, Harness::IsEqual>, debug_allocator, false>]' ../../include/tbb/concurrent_unordered_set.h:56:7: required from 'void TypeTester(const std::__cxx11::list&) [with bool defCtorPresent = true; Table = tbb::interface5::concurrent_unordered_set, Harness::IsEqual, tbb::tbb_allocator >; TableDebugAlloc = tbb::interface5::concurrent_unordered_set, Harness::IsEqual, debug_allocator >; typename Table::value_type = int]' ../../src/test/test_concurrent_unordered_set.cpp:86:128: required from 'void TestTypesSet(const std::__cxx11::list&) [with bool defCtorPresent = true; value_type = int]' ../../src/test/test_concurrent_unordered_set.cpp:96:53: required from here ../../include/tbb/internal/_concurrent_unordered_impl.h:1471:24: warning: 'void* memset(void*, int, size_t)' clearing an object of non-trivial type 'tbb::interface5::internal::concurrent_unordered_base, Harness::IsEqual>, debug_allocator, false> >::raw_iterator' {aka 'class tbb::interface5::internal::flist_iterator >, int>'}; use assignment or value-initialization instead [-Wclass-memaccess] std::memset(new_segment, 0, sz*sizeof(raw_iterator)); ~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ In file included from ../../include/tbb/concurrent_unordered_set.h:27, from ../../src/test/test_concurrent_unordered_set.cpp:29: ../../include/tbb/internal/_concurrent_unordered_impl.h:61:7: note: 'tbb::interface5::internal::concurrent_unordered_base, Harness::IsEqual>, debug_allocator, false> >::raw_iterator' {aka 'class tbb::interface5::internal::flist_iterator >, int>'} declared here class flist_iterator : public std::iterator ^~~~~~~~~~~~~~ In file included from ../../include/tbb/concurrent_unordered_set.h:27, from ../../src/test/test_concurrent_unordered_set.cpp:29: ../../include/tbb/internal/_concurrent_unordered_impl.h: In instantiation of 'void tbb::interface5::internal::concurrent_unordered_base::set_bucket(tbb::interface5::internal::concurrent_unordered_base::size_type, tbb::interface5::internal::concurrent_unordered_base::raw_iterator) [with Traits = tbb::interface5::concurrent_unordered_set_traits, Harness::IsEqual>, tbb::tbb_allocator, true>; tbb::interface5::internal::concurrent_unordered_base::size_type = long unsigned int; tbb::interface5::internal::concurrent_unordered_base::raw_iterator = tbb::interface5::internal::flist_iterator >, int>]': ../../include/tbb/internal/_concurrent_unordered_impl.h:1207:9: required from 'void tbb::interface5::internal::concurrent_unordered_base::internal_init() [with Traits = tbb::interface5::concurrent_unordered_set_traits, Harness::IsEqual>, tbb::tbb_allocator, true>]' ../../include/tbb/internal/_concurrent_unordered_impl.h:724:9: required from 'tbb::interface5::internal::concurrent_unordered_base::concurrent_unordered_base(const tbb::interface5::internal::concurrent_unordered_base&) [with Traits = tbb::interface5::concurrent_unordered_set_traits, Harness::IsEqual>, tbb::tbb_allocator, true>]' ../../include/tbb/concurrent_unordered_set.h:152:7: required from 'void TypeTester(const std::__cxx11::list&) [with bool defCtorPresent = true; Table = tbb::interface5::concurrent_unordered_multiset, Harness::IsEqual, tbb::tbb_allocator >; TableDebugAlloc = tbb::interface5::concurrent_unordered_multiset, Harness::IsEqual, debug_allocator >; typename Table::value_type = int]' ../../src/test/test_concurrent_unordered_set.cpp:88:133: required from 'void TestTypesSet(const std::__cxx11::list&) [with bool defCtorPresent = true; value_type = int]' ../../src/test/test_concurrent_unordered_set.cpp:96:53: required from here ../../include/tbb/internal/_concurrent_unordered_impl.h:1471:24: warning: 'void* memset(void*, int, size_t)' clearing an object of non-trivial type 'tbb::interface5::internal::concurrent_unordered_base, Harness::IsEqual>, tbb::tbb_allocator, true> >::raw_iterator' {aka 'class tbb::interface5::internal::flist_iterator >, int>'}; use assignment or value-initialization instead [-Wclass-memaccess] std::memset(new_segment, 0, sz*sizeof(raw_iterator)); ~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ In file included from ../../include/tbb/concurrent_unordered_set.h:27, from ../../src/test/test_concurrent_unordered_set.cpp:29: ../../include/tbb/internal/_concurrent_unordered_impl.h:61:7: note: 'tbb::interface5::internal::concurrent_unordered_base, Harness::IsEqual>, tbb::tbb_allocator, true> >::raw_iterator' {aka 'class tbb::interface5::internal::flist_iterator >, int>'} declared here class flist_iterator : public std::iterator ^~~~~~~~~~~~~~ In file included from ../../include/tbb/concurrent_unordered_set.h:27, from ../../src/test/test_concurrent_unordered_set.cpp:29: ../../include/tbb/internal/_concurrent_unordered_impl.h: In instantiation of 'void tbb::interface5::internal::concurrent_unordered_base::set_bucket(tbb::interface5::internal::concurrent_unordered_base::size_type, tbb::interface5::internal::concurrent_unordered_base::raw_iterator) [with Traits = tbb::interface5::concurrent_unordered_set_traits, Harness::IsEqual>, debug_allocator, true>; tbb::interface5::internal::concurrent_unordered_base::size_type = long unsigned int; tbb::interface5::internal::concurrent_unordered_base::raw_iterator = tbb::interface5::internal::flist_iterator >, int>]': ../../include/tbb/internal/_concurrent_unordered_impl.h:1207:9: required from 'void tbb::interface5::internal::concurrent_unordered_base::internal_init() [with Traits = tbb::interface5::concurrent_unordered_set_traits, Harness::IsEqual>, debug_allocator, true>]' ../../include/tbb/internal/_concurrent_unordered_impl.h:724:9: required from 'tbb::interface5::internal::concurrent_unordered_base::concurrent_unordered_base(const tbb::interface5::internal::concurrent_unordered_base&) [with Traits = tbb::interface5::concurrent_unordered_set_traits, Harness::IsEqual>, debug_allocator, true>]' ../../include/tbb/concurrent_unordered_set.h:152:7: required from 'void TypeTester(const std::__cxx11::list&) [with bool defCtorPresent = true; Table = tbb::interface5::concurrent_unordered_multiset, Harness::IsEqual, tbb::tbb_allocator >; TableDebugAlloc = tbb::interface5::concurrent_unordered_multiset, Harness::IsEqual, debug_allocator >; typename Table::value_type = int]' ../../src/test/test_concurrent_unordered_set.cpp:88:133: required from 'void TestTypesSet(const std::__cxx11::list&) [with bool defCtorPresent = true; value_type = int]' ../../src/test/test_concurrent_unordered_set.cpp:96:53: required from here ../../include/tbb/internal/_concurrent_unordered_impl.h:1471:24: warning: 'void* memset(void*, int, size_t)' clearing an object of non-trivial type 'tbb::interface5::internal::concurrent_unordered_base, Harness::IsEqual>, debug_allocator, true> >::raw_iterator' {aka 'class tbb::interface5::internal::flist_iterator >, int>'}; use assignment or value-initialization instead [-Wclass-memaccess] std::memset(new_segment, 0, sz*sizeof(raw_iterator)); ~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ In file included from ../../include/tbb/concurrent_unordered_set.h:27, from ../../src/test/test_concurrent_unordered_set.cpp:29: ../../include/tbb/internal/_concurrent_unordered_impl.h:61:7: note: 'tbb::interface5::internal::concurrent_unordered_base, Harness::IsEqual>, debug_allocator, true> >::raw_iterator' {aka 'class tbb::interface5::internal::flist_iterator >, int>'} declared here class flist_iterator : public std::iterator ^~~~~~~~~~~~~~ In file included from ../../include/tbb/concurrent_unordered_set.h:27, from ../../src/test/test_concurrent_unordered_set.cpp:29: ../../include/tbb/internal/_concurrent_unordered_impl.h: In instantiation of 'void tbb::interface5::internal::concurrent_unordered_base::set_bucket(tbb::interface5::internal::concurrent_unordered_base::size_type, tbb::interface5::internal::concurrent_unordered_base::raw_iterator) [with Traits = tbb::interface5::concurrent_unordered_set_traits, tbb::interface5::internal::hash_compare, tbb::tbb_hash >, Harness::IsEqual>, tbb::tbb_allocator >, false>; tbb::interface5::internal::concurrent_unordered_base::size_type = long unsigned int; tbb::interface5::internal::concurrent_unordered_base::raw_iterator = tbb::interface5::internal::flist_iterator, tbb::tbb_allocator > >, tbb::atomic >]': ../../include/tbb/internal/_concurrent_unordered_impl.h:1207:9: required from 'void tbb::interface5::internal::concurrent_unordered_base::internal_init() [with Traits = tbb::interface5::concurrent_unordered_set_traits, tbb::interface5::internal::hash_compare, tbb::tbb_hash >, Harness::IsEqual>, tbb::tbb_allocator >, false>]' ../../include/tbb/internal/_concurrent_unordered_impl.h:724:9: required from 'tbb::interface5::internal::concurrent_unordered_base::concurrent_unordered_base(const tbb::interface5::internal::concurrent_unordered_base&) [with Traits = tbb::interface5::concurrent_unordered_set_traits, tbb::interface5::internal::hash_compare, tbb::tbb_hash >, Harness::IsEqual>, tbb::tbb_allocator >, false>]' ../../include/tbb/concurrent_unordered_set.h:56:7: required from 'void TypeTester(const std::__cxx11::list&) [with bool defCtorPresent = true; Table = tbb::interface5::concurrent_unordered_set, tbb::tbb_hash >, Harness::IsEqual, tbb::tbb_allocator > >; TableDebugAlloc = tbb::interface5::concurrent_unordered_set, tbb::tbb_hash >, Harness::IsEqual, debug_allocator, std::allocator> >; typename Table::value_type = tbb::atomic]' ../../src/test/test_concurrent_unordered_set.cpp:86:128: required from 'void TestTypesSet(const std::__cxx11::list&) [with bool defCtorPresent = true; value_type = tbb::atomic]' ../../src/test/test_concurrent_unordered_set.cpp:101:53: required from here ../../include/tbb/internal/_concurrent_unordered_impl.h:1471:24: warning: 'void* memset(void*, int, size_t)' clearing an object of non-trivial type 'tbb::interface5::internal::concurrent_unordered_base, tbb::interface5::internal::hash_compare, tbb::tbb_hash >, Harness::IsEqual>, tbb::tbb_allocator >, false> >::raw_iterator' {aka 'class tbb::interface5::internal::flist_iterator, tbb::tbb_allocator > >, tbb::atomic >'}; use assignment or value-initialization instead [-Wclass-memaccess] std::memset(new_segment, 0, sz*sizeof(raw_iterator)); ~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ In file included from ../../include/tbb/concurrent_unordered_set.h:27, from ../../src/test/test_concurrent_unordered_set.cpp:29: ../../include/tbb/internal/_concurrent_unordered_impl.h:61:7: note: 'tbb::interface5::internal::concurrent_unordered_base, tbb::interface5::internal::hash_compare, tbb::tbb_hash >, Harness::IsEqual>, tbb::tbb_allocator >, false> >::raw_iterator' {aka 'class tbb::interface5::internal::flist_iterator, tbb::tbb_allocator > >, tbb::atomic >'} declared here class flist_iterator : public std::iterator ^~~~~~~~~~~~~~ In file included from ../../include/tbb/concurrent_unordered_set.h:27, from ../../src/test/test_concurrent_unordered_set.cpp:29: ../../include/tbb/internal/_concurrent_unordered_impl.h: In instantiation of 'void tbb::interface5::internal::concurrent_unordered_base::set_bucket(tbb::interface5::internal::concurrent_unordered_base::size_type, tbb::interface5::internal::concurrent_unordered_base::raw_iterator) [with Traits = tbb::interface5::concurrent_unordered_set_traits, tbb::interface5::internal::hash_compare, tbb::tbb_hash >, Harness::IsEqual>, debug_allocator, std::allocator>, false>; tbb::interface5::internal::concurrent_unordered_base::size_type = long unsigned int; tbb::interface5::internal::concurrent_unordered_base::raw_iterator = tbb::interface5::internal::flist_iterator, debug_allocator, std::allocator> >, tbb::atomic >]': ../../include/tbb/internal/_concurrent_unordered_impl.h:1207:9: required from 'void tbb::interface5::internal::concurrent_unordered_base::internal_init() [with Traits = tbb::interface5::concurrent_unordered_set_traits, tbb::interface5::internal::hash_compare, tbb::tbb_hash >, Harness::IsEqual>, debug_allocator, std::allocator>, false>]' ../../include/tbb/internal/_concurrent_unordered_impl.h:724:9: required from 'tbb::interface5::internal::concurrent_unordered_base::concurrent_unordered_base(const tbb::interface5::internal::concurrent_unordered_base&) [with Traits = tbb::interface5::concurrent_unordered_set_traits, tbb::interface5::internal::hash_compare, tbb::tbb_hash >, Harness::IsEqual>, debug_allocator, std::allocator>, false>]' ../../include/tbb/concurrent_unordered_set.h:56:7: required from 'void TypeTester(const std::__cxx11::list&) [with bool defCtorPresent = true; Table = tbb::interface5::concurrent_unordered_set, tbb::tbb_hash >, Harness::IsEqual, tbb::tbb_allocator > >; TableDebugAlloc = tbb::interface5::concurrent_unordered_set, tbb::tbb_hash >, Harness::IsEqual, debug_allocator, std::allocator> >; typename Table::value_type = tbb::atomic]' ../../src/test/test_concurrent_unordered_set.cpp:86:128: required from 'void TestTypesSet(const std::__cxx11::list&) [with bool defCtorPresent = true; value_type = tbb::atomic]' ../../src/test/test_concurrent_unordered_set.cpp:101:53: required from here ../../include/tbb/internal/_concurrent_unordered_impl.h:1471:24: warning: 'void* memset(void*, int, size_t)' clearing an object of non-trivial type 'tbb::interface5::internal::concurrent_unordered_base, tbb::interface5::internal::hash_compare, tbb::tbb_hash >, Harness::IsEqual>, debug_allocator, std::allocator>, false> >::raw_iterator' {aka 'class tbb::interface5::internal::flist_iterator, debug_allocator, std::allocator> >, tbb::atomic >'}; use assignment or value-initialization instead [-Wclass-memaccess] std::memset(new_segment, 0, sz*sizeof(raw_iterator)); ~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ In file included from ../../include/tbb/concurrent_unordered_set.h:27, from ../../src/test/test_concurrent_unordered_set.cpp:29: ../../include/tbb/internal/_concurrent_unordered_impl.h:61:7: note: 'tbb::interface5::internal::concurrent_unordered_base, tbb::interface5::internal::hash_compare, tbb::tbb_hash >, Harness::IsEqual>, debug_allocator, std::allocator>, false> >::raw_iterator' {aka 'class tbb::interface5::internal::flist_iterator, debug_allocator, std::allocator> >, tbb::atomic >'} declared here class flist_iterator : public std::iterator ^~~~~~~~~~~~~~ In file included from ../../include/tbb/concurrent_unordered_set.h:27, from ../../src/test/test_concurrent_unordered_set.cpp:29: ../../include/tbb/internal/_concurrent_unordered_impl.h: In instantiation of 'void tbb::interface5::internal::concurrent_unordered_base::set_bucket(tbb::interface5::internal::concurrent_unordered_base::size_type, tbb::interface5::internal::concurrent_unordered_base::raw_iterator) [with Traits = tbb::interface5::concurrent_unordered_set_traits, tbb::interface5::internal::hash_compare, tbb::tbb_hash >, Harness::IsEqual>, tbb::tbb_allocator >, true>; tbb::interface5::internal::concurrent_unordered_base::size_type = long unsigned int; tbb::interface5::internal::concurrent_unordered_base::raw_iterator = tbb::interface5::internal::flist_iterator, tbb::tbb_allocator > >, tbb::atomic >]': ../../include/tbb/internal/_concurrent_unordered_impl.h:1207:9: required from 'void tbb::interface5::internal::concurrent_unordered_base::internal_init() [with Traits = tbb::interface5::concurrent_unordered_set_traits, tbb::interface5::internal::hash_compare, tbb::tbb_hash >, Harness::IsEqual>, tbb::tbb_allocator >, true>]' ../../include/tbb/internal/_concurrent_unordered_impl.h:724:9: required from 'tbb::interface5::internal::concurrent_unordered_base::concurrent_unordered_base(const tbb::interface5::internal::concurrent_unordered_base&) [with Traits = tbb::interface5::concurrent_unordered_set_traits, tbb::interface5::internal::hash_compare, tbb::tbb_hash >, Harness::IsEqual>, tbb::tbb_allocator >, true>]' ../../include/tbb/concurrent_unordered_set.h:152:7: required from 'void TypeTester(const std::__cxx11::list&) [with bool defCtorPresent = true; Table = tbb::interface5::concurrent_unordered_multiset, tbb::tbb_hash >, Harness::IsEqual, tbb::tbb_allocator > >; TableDebugAlloc = tbb::interface5::concurrent_unordered_multiset, tbb::tbb_hash >, Harness::IsEqual, debug_allocator, std::allocator> >; typename Table::value_type = tbb::atomic]' ../../src/test/test_concurrent_unordered_set.cpp:88:133: required from 'void TestTypesSet(const std::__cxx11::list&) [with bool defCtorPresent = true; value_type = tbb::atomic]' ../../src/test/test_concurrent_unordered_set.cpp:101:53: required from here ../../include/tbb/internal/_concurrent_unordered_impl.h:1471:24: warning: 'void* memset(void*, int, size_t)' clearing an object of non-trivial type 'tbb::interface5::internal::concurrent_unordered_base, tbb::interface5::internal::hash_compare, tbb::tbb_hash >, Harness::IsEqual>, tbb::tbb_allocator >, true> >::raw_iterator' {aka 'class tbb::interface5::internal::flist_iterator, tbb::tbb_allocator > >, tbb::atomic >'}; use assignment or value-initialization instead [-Wclass-memaccess] std::memset(new_segment, 0, sz*sizeof(raw_iterator)); ~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ In file included from ../../include/tbb/concurrent_unordered_set.h:27, from ../../src/test/test_concurrent_unordered_set.cpp:29: ../../include/tbb/internal/_concurrent_unordered_impl.h:61:7: note: 'tbb::interface5::internal::concurrent_unordered_base, tbb::interface5::internal::hash_compare, tbb::tbb_hash >, Harness::IsEqual>, tbb::tbb_allocator >, true> >::raw_iterator' {aka 'class tbb::interface5::internal::flist_iterator, tbb::tbb_allocator > >, tbb::atomic >'} declared here class flist_iterator : public std::iterator ^~~~~~~~~~~~~~ In file included from ../../include/tbb/concurrent_unordered_set.h:27, from ../../src/test/test_concurrent_unordered_set.cpp:29: ../../include/tbb/internal/_concurrent_unordered_impl.h: In instantiation of 'void tbb::interface5::internal::concurrent_unordered_base::set_bucket(tbb::interface5::internal::concurrent_unordered_base::size_type, tbb::interface5::internal::concurrent_unordered_base::raw_iterator) [with Traits = tbb::interface5::concurrent_unordered_set_traits, tbb::interface5::internal::hash_compare, tbb::tbb_hash >, Harness::IsEqual>, debug_allocator, std::allocator>, true>; tbb::interface5::internal::concurrent_unordered_base::size_type = long unsigned int; tbb::interface5::internal::concurrent_unordered_base::raw_iterator = tbb::interface5::internal::flist_iterator, debug_allocator, std::allocator> >, tbb::atomic >]': ../../include/tbb/internal/_concurrent_unordered_impl.h:1207:9: required from 'void tbb::interface5::internal::concurrent_unordered_base::internal_init() [with Traits = tbb::interface5::concurrent_unordered_set_traits, tbb::interface5::internal::hash_compare, tbb::tbb_hash >, Harness::IsEqual>, debug_allocator, std::allocator>, true>]' ../../include/tbb/internal/_concurrent_unordered_impl.h:724:9: required from 'tbb::interface5::internal::concurrent_unordered_base::concurrent_unordered_base(const tbb::interface5::internal::concurrent_unordered_base&) [with Traits = tbb::interface5::concurrent_unordered_set_traits, tbb::interface5::internal::hash_compare, tbb::tbb_hash >, Harness::IsEqual>, debug_allocator, std::allocator>, true>]' ../../include/tbb/concurrent_unordered_set.h:152:7: required from 'void TypeTester(const std::__cxx11::list&) [with bool defCtorPresent = true; Table = tbb::interface5::concurrent_unordered_multiset, tbb::tbb_hash >, Harness::IsEqual, tbb::tbb_allocator > >; TableDebugAlloc = tbb::interface5::concurrent_unordered_multiset, tbb::tbb_hash >, Harness::IsEqual, debug_allocator, std::allocator> >; typename Table::value_type = tbb::atomic]' ../../src/test/test_concurrent_unordered_set.cpp:88:133: required from 'void TestTypesSet(const std::__cxx11::list&) [with bool defCtorPresent = true; value_type = tbb::atomic]' ../../src/test/test_concurrent_unordered_set.cpp:101:53: required from here ../../include/tbb/internal/_concurrent_unordered_impl.h:1471:24: warning: 'void* memset(void*, int, size_t)' clearing an object of non-trivial type 'tbb::interface5::internal::concurrent_unordered_base, tbb::interface5::internal::hash_compare, tbb::tbb_hash >, Harness::IsEqual>, debug_allocator, std::allocator>, true> >::raw_iterator' {aka 'class tbb::interface5::internal::flist_iterator, debug_allocator, std::allocator> >, tbb::atomic >'}; use assignment or value-initialization instead [-Wclass-memaccess] std::memset(new_segment, 0, sz*sizeof(raw_iterator)); ~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ In file included from ../../include/tbb/concurrent_unordered_set.h:27, from ../../src/test/test_concurrent_unordered_set.cpp:29: ../../include/tbb/internal/_concurrent_unordered_impl.h:61:7: note: 'tbb::interface5::internal::concurrent_unordered_base, tbb::interface5::internal::hash_compare, tbb::tbb_hash >, Harness::IsEqual>, debug_allocator, std::allocator>, true> >::raw_iterator' {aka 'class tbb::interface5::internal::flist_iterator, debug_allocator, std::allocator> >, tbb::atomic >'} declared here class flist_iterator : public std::iterator ^~~~~~~~~~~~~~ In file included from ../../include/tbb/concurrent_unordered_set.h:27, from ../../src/test/test_concurrent_unordered_set.cpp:29: ../../include/tbb/internal/_concurrent_unordered_impl.h: In instantiation of 'void tbb::interface5::internal::concurrent_unordered_base::set_bucket(tbb::interface5::internal::concurrent_unordered_base::size_type, tbb::interface5::internal::concurrent_unordered_base::raw_iterator) [with Traits = tbb::interface5::concurrent_unordered_set_traits, tbb::interface5::internal::hash_compare, tbb::tbb_hash >, Harness::IsEqual>, tbb::tbb_allocator >, false>; tbb::interface5::internal::concurrent_unordered_base::size_type = long unsigned int; tbb::interface5::internal::concurrent_unordered_base::raw_iterator = tbb::interface5::internal::flist_iterator, tbb::tbb_allocator > >, std::reference_wrapper >]': ../../include/tbb/internal/_concurrent_unordered_impl.h:1207:9: required from 'void tbb::interface5::internal::concurrent_unordered_base::internal_init() [with Traits = tbb::interface5::concurrent_unordered_set_traits, tbb::interface5::internal::hash_compare, tbb::tbb_hash >, Harness::IsEqual>, tbb::tbb_allocator >, false>]' ../../include/tbb/internal/_concurrent_unordered_impl.h:724:9: required from 'tbb::interface5::internal::concurrent_unordered_base::concurrent_unordered_base(const tbb::interface5::internal::concurrent_unordered_base&) [with Traits = tbb::interface5::concurrent_unordered_set_traits, tbb::interface5::internal::hash_compare, tbb::tbb_hash >, Harness::IsEqual>, tbb::tbb_allocator >, false>]' ../../include/tbb/concurrent_unordered_set.h:56:7: required from 'void TypeTester(const std::__cxx11::list&) [with bool defCtorPresent = false; Table = tbb::interface5::concurrent_unordered_set, tbb::tbb_hash >, Harness::IsEqual, tbb::tbb_allocator > >; TableDebugAlloc = tbb::interface5::concurrent_unordered_set, tbb::tbb_hash >, Harness::IsEqual, debug_allocator, std::allocator> >; typename Table::value_type = std::reference_wrapper]' ../../src/test/test_concurrent_unordered_set.cpp:86:128: required from 'void TestTypesSet(const std::__cxx11::list&) [with bool defCtorPresent = false; value_type = std::reference_wrapper]' ../../src/test/test_concurrent_unordered_set.cpp:107:54: required from here ../../include/tbb/internal/_concurrent_unordered_impl.h:1471:24: warning: 'void* memset(void*, int, size_t)' clearing an object of non-trivial type 'tbb::interface5::internal::concurrent_unordered_base, tbb::interface5::internal::hash_compare, tbb::tbb_hash >, Harness::IsEqual>, tbb::tbb_allocator >, false> >::raw_iterator' {aka 'class tbb::interface5::internal::flist_iterator, tbb::tbb_allocator > >, std::reference_wrapper >'}; use assignment or value-initialization instead [-Wclass-memaccess] std::memset(new_segment, 0, sz*sizeof(raw_iterator)); ~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ In file included from ../../include/tbb/concurrent_unordered_set.h:27, from ../../src/test/test_concurrent_unordered_set.cpp:29: ../../include/tbb/internal/_concurrent_unordered_impl.h:61:7: note: 'tbb::interface5::internal::concurrent_unordered_base, tbb::interface5::internal::hash_compare, tbb::tbb_hash >, Harness::IsEqual>, tbb::tbb_allocator >, false> >::raw_iterator' {aka 'class tbb::interface5::internal::flist_iterator, tbb::tbb_allocator > >, std::reference_wrapper >'} declared here class flist_iterator : public std::iterator ^~~~~~~~~~~~~~ In file included from ../../include/tbb/concurrent_unordered_set.h:27, from ../../src/test/test_concurrent_unordered_set.cpp:29: ../../include/tbb/internal/_concurrent_unordered_impl.h: In instantiation of 'void tbb::interface5::internal::concurrent_unordered_base::set_bucket(tbb::interface5::internal::concurrent_unordered_base::size_type, tbb::interface5::internal::concurrent_unordered_base::raw_iterator) [with Traits = tbb::interface5::concurrent_unordered_set_traits, tbb::interface5::internal::hash_compare, tbb::tbb_hash >, Harness::IsEqual>, debug_allocator, std::allocator>, false>; tbb::interface5::internal::concurrent_unordered_base::size_type = long unsigned int; tbb::interface5::internal::concurrent_unordered_base::raw_iterator = tbb::interface5::internal::flist_iterator, debug_allocator, std::allocator> >, std::reference_wrapper >]': ../../include/tbb/internal/_concurrent_unordered_impl.h:1207:9: required from 'void tbb::interface5::internal::concurrent_unordered_base::internal_init() [with Traits = tbb::interface5::concurrent_unordered_set_traits, tbb::interface5::internal::hash_compare, tbb::tbb_hash >, Harness::IsEqual>, debug_allocator, std::allocator>, false>]' ../../include/tbb/internal/_concurrent_unordered_impl.h:724:9: required from 'tbb::interface5::internal::concurrent_unordered_base::concurrent_unordered_base(const tbb::interface5::internal::concurrent_unordered_base&) [with Traits = tbb::interface5::concurrent_unordered_set_traits, tbb::interface5::internal::hash_compare, tbb::tbb_hash >, Harness::IsEqual>, debug_allocator, std::allocator>, false>]' ../../include/tbb/concurrent_unordered_set.h:56:7: required from 'void TypeTester(const std::__cxx11::list&) [with bool defCtorPresent = false; Table = tbb::interface5::concurrent_unordered_set, tbb::tbb_hash >, Harness::IsEqual, tbb::tbb_allocator > >; TableDebugAlloc = tbb::interface5::concurrent_unordered_set, tbb::tbb_hash >, Harness::IsEqual, debug_allocator, std::allocator> >; typename Table::value_type = std::reference_wrapper]' ../../src/test/test_concurrent_unordered_set.cpp:86:128: required from 'void TestTypesSet(const std::__cxx11::list&) [with bool defCtorPresent = false; value_type = std::reference_wrapper]' ../../src/test/test_concurrent_unordered_set.cpp:107:54: required from here ../../include/tbb/internal/_concurrent_unordered_impl.h:1471:24: warning: 'void* memset(void*, int, size_t)' clearing an object of non-trivial type 'tbb::interface5::internal::concurrent_unordered_base, tbb::interface5::internal::hash_compare, tbb::tbb_hash >, Harness::IsEqual>, debug_allocator, std::allocator>, false> >::raw_iterator' {aka 'class tbb::interface5::internal::flist_iterator, debug_allocator, std::allocator> >, std::reference_wrapper >'}; use assignment or value-initialization instead [-Wclass-memaccess] std::memset(new_segment, 0, sz*sizeof(raw_iterator)); ~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ In file included from ../../include/tbb/concurrent_unordered_set.h:27, from ../../src/test/test_concurrent_unordered_set.cpp:29: ../../include/tbb/internal/_concurrent_unordered_impl.h:61:7: note: 'tbb::interface5::internal::concurrent_unordered_base, tbb::interface5::internal::hash_compare, tbb::tbb_hash >, Harness::IsEqual>, debug_allocator, std::allocator>, false> >::raw_iterator' {aka 'class tbb::interface5::internal::flist_iterator, debug_allocator, std::allocator> >, std::reference_wrapper >'} declared here class flist_iterator : public std::iterator ^~~~~~~~~~~~~~ In file included from ../../include/tbb/concurrent_unordered_set.h:27, from ../../src/test/test_concurrent_unordered_set.cpp:29: ../../include/tbb/internal/_concurrent_unordered_impl.h: In instantiation of 'void tbb::interface5::internal::concurrent_unordered_base::set_bucket(tbb::interface5::internal::concurrent_unordered_base::size_type, tbb::interface5::internal::concurrent_unordered_base::raw_iterator) [with Traits = tbb::interface5::concurrent_unordered_set_traits, tbb::interface5::internal::hash_compare, tbb::tbb_hash >, Harness::IsEqual>, tbb::tbb_allocator >, true>; tbb::interface5::internal::concurrent_unordered_base::size_type = long unsigned int; tbb::interface5::internal::concurrent_unordered_base::raw_iterator = tbb::interface5::internal::flist_iterator, tbb::tbb_allocator > >, std::reference_wrapper >]': ../../include/tbb/internal/_concurrent_unordered_impl.h:1207:9: required from 'void tbb::interface5::internal::concurrent_unordered_base::internal_init() [with Traits = tbb::interface5::concurrent_unordered_set_traits, tbb::interface5::internal::hash_compare, tbb::tbb_hash >, Harness::IsEqual>, tbb::tbb_allocator >, true>]' ../../include/tbb/internal/_concurrent_unordered_impl.h:724:9: required from 'tbb::interface5::internal::concurrent_unordered_base::concurrent_unordered_base(const tbb::interface5::internal::concurrent_unordered_base&) [with Traits = tbb::interface5::concurrent_unordered_set_traits, tbb::interface5::internal::hash_compare, tbb::tbb_hash >, Harness::IsEqual>, tbb::tbb_allocator >, true>]' ../../include/tbb/concurrent_unordered_set.h:152:7: required from 'void TypeTester(const std::__cxx11::list&) [with bool defCtorPresent = false; Table = tbb::interface5::concurrent_unordered_multiset, tbb::tbb_hash >, Harness::IsEqual, tbb::tbb_allocator > >; TableDebugAlloc = tbb::interface5::concurrent_unordered_multiset, tbb::tbb_hash >, Harness::IsEqual, debug_allocator, std::allocator> >; typename Table::value_type = std::reference_wrapper]' ../../src/test/test_concurrent_unordered_set.cpp:88:133: required from 'void TestTypesSet(const std::__cxx11::list&) [with bool defCtorPresent = false; value_type = std::reference_wrapper]' ../../src/test/test_concurrent_unordered_set.cpp:107:54: required from here ../../include/tbb/internal/_concurrent_unordered_impl.h:1471:24: warning: 'void* memset(void*, int, size_t)' clearing an object of non-trivial type 'tbb::interface5::internal::concurrent_unordered_base, tbb::interface5::internal::hash_compare, tbb::tbb_hash >, Harness::IsEqual>, tbb::tbb_allocator >, true> >::raw_iterator' {aka 'class tbb::interface5::internal::flist_iterator, tbb::tbb_allocator > >, std::reference_wrapper >'}; use assignment or value-initialization instead [-Wclass-memaccess] std::memset(new_segment, 0, sz*sizeof(raw_iterator)); ~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ In file included from ../../include/tbb/concurrent_unordered_set.h:27, from ../../src/test/test_concurrent_unordered_set.cpp:29: ../../include/tbb/internal/_concurrent_unordered_impl.h:61:7: note: 'tbb::interface5::internal::concurrent_unordered_base, tbb::interface5::internal::hash_compare, tbb::tbb_hash >, Harness::IsEqual>, tbb::tbb_allocator >, true> >::raw_iterator' {aka 'class tbb::interface5::internal::flist_iterator, tbb::tbb_allocator > >, std::reference_wrapper >'} declared here class flist_iterator : public std::iterator ^~~~~~~~~~~~~~ In file included from ../../include/tbb/concurrent_unordered_set.h:27, from ../../src/test/test_concurrent_unordered_set.cpp:29: ../../include/tbb/internal/_concurrent_unordered_impl.h: In instantiation of 'void tbb::interface5::internal::concurrent_unordered_base::set_bucket(tbb::interface5::internal::concurrent_unordered_base::size_type, tbb::interface5::internal::concurrent_unordered_base::raw_iterator) [with Traits = tbb::interface5::concurrent_unordered_set_traits, tbb::interface5::internal::hash_compare, tbb::tbb_hash >, Harness::IsEqual>, debug_allocator, std::allocator>, true>; tbb::interface5::internal::concurrent_unordered_base::size_type = long unsigned int; tbb::interface5::internal::concurrent_unordered_base::raw_iterator = tbb::interface5::internal::flist_iterator, debug_allocator, std::allocator> >, std::reference_wrapper >]': ../../include/tbb/internal/_concurrent_unordered_impl.h:1207:9: required from 'void tbb::interface5::internal::concurrent_unordered_base::internal_init() [with Traits = tbb::interface5::concurrent_unordered_set_traits, tbb::interface5::internal::hash_compare, tbb::tbb_hash >, Harness::IsEqual>, debug_allocator, std::allocator>, true>]' ../../include/tbb/internal/_concurrent_unordered_impl.h:724:9: required from 'tbb::interface5::internal::concurrent_unordered_base::concurrent_unordered_base(const tbb::interface5::internal::concurrent_unordered_base&) [with Traits = tbb::interface5::concurrent_unordered_set_traits, tbb::interface5::internal::hash_compare, tbb::tbb_hash >, Harness::IsEqual>, debug_allocator, std::allocator>, true>]' ../../include/tbb/concurrent_unordered_set.h:152:7: required from 'void TypeTester(const std::__cxx11::list&) [with bool defCtorPresent = false; Table = tbb::interface5::concurrent_unordered_multiset, tbb::tbb_hash >, Harness::IsEqual, tbb::tbb_allocator > >; TableDebugAlloc = tbb::interface5::concurrent_unordered_multiset, tbb::tbb_hash >, Harness::IsEqual, debug_allocator, std::allocator> >; typename Table::value_type = std::reference_wrapper]' ../../src/test/test_concurrent_unordered_set.cpp:88:133: required from 'void TestTypesSet(const std::__cxx11::list&) [with bool defCtorPresent = false; value_type = std::reference_wrapper]' ../../src/test/test_concurrent_unordered_set.cpp:107:54: required from here ../../include/tbb/internal/_concurrent_unordered_impl.h:1471:24: warning: 'void* memset(void*, int, size_t)' clearing an object of non-trivial type 'tbb::interface5::internal::concurrent_unordered_base, tbb::interface5::internal::hash_compare, tbb::tbb_hash >, Harness::IsEqual>, debug_allocator, std::allocator>, true> >::raw_iterator' {aka 'class tbb::interface5::internal::flist_iterator, debug_allocator, std::allocator> >, std::reference_wrapper >'}; use assignment or value-initialization instead [-Wclass-memaccess] std::memset(new_segment, 0, sz*sizeof(raw_iterator)); ~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ In file included from ../../include/tbb/concurrent_unordered_set.h:27, from ../../src/test/test_concurrent_unordered_set.cpp:29: ../../include/tbb/internal/_concurrent_unordered_impl.h:61:7: note: 'tbb::interface5::internal::concurrent_unordered_base, tbb::interface5::internal::hash_compare, tbb::tbb_hash >, Harness::IsEqual>, debug_allocator, std::allocator>, true> >::raw_iterator' {aka 'class tbb::interface5::internal::flist_iterator, debug_allocator, std::allocator> >, std::reference_wrapper >'} declared here class flist_iterator : public std::iterator ^~~~~~~~~~~~~~ In file included from ../../include/tbb/concurrent_unordered_set.h:27, from ../../src/test/test_concurrent_unordered_set.cpp:29: ../../include/tbb/internal/_concurrent_unordered_impl.h: In instantiation of 'void tbb::interface5::internal::concurrent_unordered_base::set_bucket(tbb::interface5::internal::concurrent_unordered_base::size_type, tbb::interface5::internal::concurrent_unordered_base::raw_iterator) [with Traits = tbb::interface5::concurrent_unordered_set_traits, tbb::interface5::internal::hash_compare, tbb::tbb_hash >, Harness::IsEqual>, tbb::tbb_allocator >, false>; tbb::interface5::internal::concurrent_unordered_base::size_type = long unsigned int; tbb::interface5::internal::concurrent_unordered_base::raw_iterator = tbb::interface5::internal::flist_iterator, tbb::tbb_allocator > >, std::shared_ptr >]': ../../include/tbb/internal/_concurrent_unordered_impl.h:1207:9: required from 'void tbb::interface5::internal::concurrent_unordered_base::internal_init() [with Traits = tbb::interface5::concurrent_unordered_set_traits, tbb::interface5::internal::hash_compare, tbb::tbb_hash >, Harness::IsEqual>, tbb::tbb_allocator >, false>]' ../../include/tbb/internal/_concurrent_unordered_impl.h:724:9: required from 'tbb::interface5::internal::concurrent_unordered_base::concurrent_unordered_base(const tbb::interface5::internal::concurrent_unordered_base&) [with Traits = tbb::interface5::concurrent_unordered_set_traits, tbb::interface5::internal::hash_compare, tbb::tbb_hash >, Harness::IsEqual>, tbb::tbb_allocator >, false>]' ../../include/tbb/concurrent_unordered_set.h:56:7: required from 'void TypeTester(const std::__cxx11::list&) [with bool defCtorPresent = true; Table = tbb::interface5::concurrent_unordered_set, tbb::tbb_hash >, Harness::IsEqual, tbb::tbb_allocator > >; TableDebugAlloc = tbb::interface5::concurrent_unordered_set, tbb::tbb_hash >, Harness::IsEqual, debug_allocator, std::allocator> >; typename Table::value_type = std::shared_ptr]' ../../src/test/test_concurrent_unordered_set.cpp:86:128: required from 'void TestTypesSet(const std::__cxx11::list&) [with bool defCtorPresent = true; value_type = std::shared_ptr]' ../../src/test/test_concurrent_unordered_set.cpp:113:53: required from here ../../include/tbb/internal/_concurrent_unordered_impl.h:1471:24: warning: 'void* memset(void*, int, size_t)' clearing an object of non-trivial type 'tbb::interface5::internal::concurrent_unordered_base, tbb::interface5::internal::hash_compare, tbb::tbb_hash >, Harness::IsEqual>, tbb::tbb_allocator >, false> >::raw_iterator' {aka 'class tbb::interface5::internal::flist_iterator, tbb::tbb_allocator > >, std::shared_ptr >'}; use assignment or value-initialization instead [-Wclass-memaccess] std::memset(new_segment, 0, sz*sizeof(raw_iterator)); ~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ In file included from ../../include/tbb/concurrent_unordered_set.h:27, from ../../src/test/test_concurrent_unordered_set.cpp:29: ../../include/tbb/internal/_concurrent_unordered_impl.h:61:7: note: 'tbb::interface5::internal::concurrent_unordered_base, tbb::interface5::internal::hash_compare, tbb::tbb_hash >, Harness::IsEqual>, tbb::tbb_allocator >, false> >::raw_iterator' {aka 'class tbb::interface5::internal::flist_iterator, tbb::tbb_allocator > >, std::shared_ptr >'} declared here class flist_iterator : public std::iterator ^~~~~~~~~~~~~~ In file included from ../../include/tbb/concurrent_unordered_set.h:27, from ../../src/test/test_concurrent_unordered_set.cpp:29: ../../include/tbb/internal/_concurrent_unordered_impl.h: In instantiation of 'void tbb::interface5::internal::concurrent_unordered_base::set_bucket(tbb::interface5::internal::concurrent_unordered_base::size_type, tbb::interface5::internal::concurrent_unordered_base::raw_iterator) [with Traits = tbb::interface5::concurrent_unordered_set_traits, tbb::interface5::internal::hash_compare, tbb::tbb_hash >, Harness::IsEqual>, debug_allocator, std::allocator>, false>; tbb::interface5::internal::concurrent_unordered_base::size_type = long unsigned int; tbb::interface5::internal::concurrent_unordered_base::raw_iterator = tbb::interface5::internal::flist_iterator, debug_allocator, std::allocator> >, std::shared_ptr >]': ../../include/tbb/internal/_concurrent_unordered_impl.h:1207:9: required from 'void tbb::interface5::internal::concurrent_unordered_base::internal_init() [with Traits = tbb::interface5::concurrent_unordered_set_traits, tbb::interface5::internal::hash_compare, tbb::tbb_hash >, Harness::IsEqual>, debug_allocator, std::allocator>, false>]' ../../include/tbb/internal/_concurrent_unordered_impl.h:724:9: required from 'tbb::interface5::internal::concurrent_unordered_base::concurrent_unordered_base(const tbb::interface5::internal::concurrent_unordered_base&) [with Traits = tbb::interface5::concurrent_unordered_set_traits, tbb::interface5::internal::hash_compare, tbb::tbb_hash >, Harness::IsEqual>, debug_allocator, std::allocator>, false>]' ../../include/tbb/concurrent_unordered_set.h:56:7: required from 'void TypeTester(const std::__cxx11::list&) [with bool defCtorPresent = true; Table = tbb::interface5::concurrent_unordered_set, tbb::tbb_hash >, Harness::IsEqual, tbb::tbb_allocator > >; TableDebugAlloc = tbb::interface5::concurrent_unordered_set, tbb::tbb_hash >, Harness::IsEqual, debug_allocator, std::allocator> >; typename Table::value_type = std::shared_ptr]' ../../src/test/test_concurrent_unordered_set.cpp:86:128: required from 'void TestTypesSet(const std::__cxx11::list&) [with bool defCtorPresent = true; value_type = std::shared_ptr]' ../../src/test/test_concurrent_unordered_set.cpp:113:53: required from here ../../include/tbb/internal/_concurrent_unordered_impl.h:1471:24: warning: 'void* memset(void*, int, size_t)' clearing an object of non-trivial type 'tbb::interface5::internal::concurrent_unordered_base, tbb::interface5::internal::hash_compare, tbb::tbb_hash >, Harness::IsEqual>, debug_allocator, std::allocator>, false> >::raw_iterator' {aka 'class tbb::interface5::internal::flist_iterator, debug_allocator, std::allocator> >, std::shared_ptr >'}; use assignment or value-initialization instead [-Wclass-memaccess] std::memset(new_segment, 0, sz*sizeof(raw_iterator)); ~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ In file included from ../../include/tbb/concurrent_unordered_set.h:27, from ../../src/test/test_concurrent_unordered_set.cpp:29: ../../include/tbb/internal/_concurrent_unordered_impl.h:61:7: note: 'tbb::interface5::internal::concurrent_unordered_base, tbb::interface5::internal::hash_compare, tbb::tbb_hash >, Harness::IsEqual>, debug_allocator, std::allocator>, false> >::raw_iterator' {aka 'class tbb::interface5::internal::flist_iterator, debug_allocator, std::allocator> >, std::shared_ptr >'} declared here class flist_iterator : public std::iterator ^~~~~~~~~~~~~~ In file included from ../../include/tbb/concurrent_unordered_set.h:27, from ../../src/test/test_concurrent_unordered_set.cpp:29: ../../include/tbb/internal/_concurrent_unordered_impl.h: In instantiation of 'void tbb::interface5::internal::concurrent_unordered_base::set_bucket(tbb::interface5::internal::concurrent_unordered_base::size_type, tbb::interface5::internal::concurrent_unordered_base::raw_iterator) [with Traits = tbb::interface5::concurrent_unordered_set_traits, tbb::interface5::internal::hash_compare, tbb::tbb_hash >, Harness::IsEqual>, tbb::tbb_allocator >, true>; tbb::interface5::internal::concurrent_unordered_base::size_type = long unsigned int; tbb::interface5::internal::concurrent_unordered_base::raw_iterator = tbb::interface5::internal::flist_iterator, tbb::tbb_allocator > >, std::shared_ptr >]': ../../include/tbb/internal/_concurrent_unordered_impl.h:1207:9: required from 'void tbb::interface5::internal::concurrent_unordered_base::internal_init() [with Traits = tbb::interface5::concurrent_unordered_set_traits, tbb::interface5::internal::hash_compare, tbb::tbb_hash >, Harness::IsEqual>, tbb::tbb_allocator >, true>]' ../../include/tbb/internal/_concurrent_unordered_impl.h:724:9: required from 'tbb::interface5::internal::concurrent_unordered_base::concurrent_unordered_base(const tbb::interface5::internal::concurrent_unordered_base&) [with Traits = tbb::interface5::concurrent_unordered_set_traits, tbb::interface5::internal::hash_compare, tbb::tbb_hash >, Harness::IsEqual>, tbb::tbb_allocator >, true>]' ../../include/tbb/concurrent_unordered_set.h:152:7: required from 'void TypeTester(const std::__cxx11::list&) [with bool defCtorPresent = true; Table = tbb::interface5::concurrent_unordered_multiset, tbb::tbb_hash >, Harness::IsEqual, tbb::tbb_allocator > >; TableDebugAlloc = tbb::interface5::concurrent_unordered_multiset, tbb::tbb_hash >, Harness::IsEqual, debug_allocator, std::allocator> >; typename Table::value_type = std::shared_ptr]' ../../src/test/test_concurrent_unordered_set.cpp:88:133: required from 'void TestTypesSet(const std::__cxx11::list&) [with bool defCtorPresent = true; value_type = std::shared_ptr]' ../../src/test/test_concurrent_unordered_set.cpp:113:53: required from here ../../include/tbb/internal/_concurrent_unordered_impl.h:1471:24: warning: 'void* memset(void*, int, size_t)' clearing an object of non-trivial type 'tbb::interface5::internal::concurrent_unordered_base, tbb::interface5::internal::hash_compare, tbb::tbb_hash >, Harness::IsEqual>, tbb::tbb_allocator >, true> >::raw_iterator' {aka 'class tbb::interface5::internal::flist_iterator, tbb::tbb_allocator > >, std::shared_ptr >'}; use assignment or value-initialization instead [-Wclass-memaccess] std::memset(new_segment, 0, sz*sizeof(raw_iterator)); ~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ In file included from ../../include/tbb/concurrent_unordered_set.h:27, from ../../src/test/test_concurrent_unordered_set.cpp:29: ../../include/tbb/internal/_concurrent_unordered_impl.h:61:7: note: 'tbb::interface5::internal::concurrent_unordered_base, tbb::interface5::internal::hash_compare, tbb::tbb_hash >, Harness::IsEqual>, tbb::tbb_allocator >, true> >::raw_iterator' {aka 'class tbb::interface5::internal::flist_iterator, tbb::tbb_allocator > >, std::shared_ptr >'} declared here class flist_iterator : public std::iterator ^~~~~~~~~~~~~~ In file included from ../../include/tbb/concurrent_unordered_set.h:27, from ../../src/test/test_concurrent_unordered_set.cpp:29: ../../include/tbb/internal/_concurrent_unordered_impl.h: In instantiation of 'void tbb::interface5::internal::concurrent_unordered_base::set_bucket(tbb::interface5::internal::concurrent_unordered_base::size_type, tbb::interface5::internal::concurrent_unordered_base::raw_iterator) [with Traits = tbb::interface5::concurrent_unordered_set_traits, tbb::interface5::internal::hash_compare, tbb::tbb_hash >, Harness::IsEqual>, debug_allocator, std::allocator>, true>; tbb::interface5::internal::concurrent_unordered_base::size_type = long unsigned int; tbb::interface5::internal::concurrent_unordered_base::raw_iterator = tbb::interface5::internal::flist_iterator, debug_allocator, std::allocator> >, std::shared_ptr >]': ../../include/tbb/internal/_concurrent_unordered_impl.h:1207:9: required from 'void tbb::interface5::internal::concurrent_unordered_base::internal_init() [with Traits = tbb::interface5::concurrent_unordered_set_traits, tbb::interface5::internal::hash_compare, tbb::tbb_hash >, Harness::IsEqual>, debug_allocator, std::allocator>, true>]' ../../include/tbb/internal/_concurrent_unordered_impl.h:724:9: required from 'tbb::interface5::internal::concurrent_unordered_base::concurrent_unordered_base(const tbb::interface5::internal::concurrent_unordered_base&) [with Traits = tbb::interface5::concurrent_unordered_set_traits, tbb::interface5::internal::hash_compare, tbb::tbb_hash >, Harness::IsEqual>, debug_allocator, std::allocator>, true>]' ../../include/tbb/concurrent_unordered_set.h:152:7: required from 'void TypeTester(const std::__cxx11::list&) [with bool defCtorPresent = true; Table = tbb::interface5::concurrent_unordered_multiset, tbb::tbb_hash >, Harness::IsEqual, tbb::tbb_allocator > >; TableDebugAlloc = tbb::interface5::concurrent_unordered_multiset, tbb::tbb_hash >, Harness::IsEqual, debug_allocator, std::allocator> >; typename Table::value_type = std::shared_ptr]' ../../src/test/test_concurrent_unordered_set.cpp:88:133: required from 'void TestTypesSet(const std::__cxx11::list&) [with bool defCtorPresent = true; value_type = std::shared_ptr]' ../../src/test/test_concurrent_unordered_set.cpp:113:53: required from here ../../include/tbb/internal/_concurrent_unordered_impl.h:1471:24: warning: 'void* memset(void*, int, size_t)' clearing an object of non-trivial type 'tbb::interface5::internal::concurrent_unordered_base, tbb::interface5::internal::hash_compare, tbb::tbb_hash >, Harness::IsEqual>, debug_allocator, std::allocator>, true> >::raw_iterator' {aka 'class tbb::interface5::internal::flist_iterator, debug_allocator, std::allocator> >, std::shared_ptr >'}; use assignment or value-initialization instead [-Wclass-memaccess] std::memset(new_segment, 0, sz*sizeof(raw_iterator)); ~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ In file included from ../../include/tbb/concurrent_unordered_set.h:27, from ../../src/test/test_concurrent_unordered_set.cpp:29: ../../include/tbb/internal/_concurrent_unordered_impl.h:61:7: note: 'tbb::interface5::internal::concurrent_unordered_base, tbb::interface5::internal::hash_compare, tbb::tbb_hash >, Harness::IsEqual>, debug_allocator, std::allocator>, true> >::raw_iterator' {aka 'class tbb::interface5::internal::flist_iterator, debug_allocator, std::allocator> >, std::shared_ptr >'} declared here class flist_iterator : public std::iterator ^~~~~~~~~~~~~~ In file included from ../../include/tbb/concurrent_unordered_set.h:27, from ../../src/test/test_concurrent_unordered_set.cpp:29: ../../include/tbb/internal/_concurrent_unordered_impl.h: In instantiation of 'void tbb::interface5::internal::concurrent_unordered_base::set_bucket(tbb::interface5::internal::concurrent_unordered_base::size_type, tbb::interface5::internal::concurrent_unordered_base::raw_iterator) [with Traits = tbb::interface5::concurrent_unordered_set_traits, tbb::interface5::internal::hash_compare, tbb::tbb_hash >, Harness::IsEqual>, tbb::tbb_allocator >, false>; tbb::interface5::internal::concurrent_unordered_base::size_type = long unsigned int; tbb::interface5::internal::concurrent_unordered_base::raw_iterator = tbb::interface5::internal::flist_iterator, tbb::tbb_allocator > >, std::weak_ptr >]': ../../include/tbb/internal/_concurrent_unordered_impl.h:1207:9: required from 'void tbb::interface5::internal::concurrent_unordered_base::internal_init() [with Traits = tbb::interface5::concurrent_unordered_set_traits, tbb::interface5::internal::hash_compare, tbb::tbb_hash >, Harness::IsEqual>, tbb::tbb_allocator >, false>]' ../../include/tbb/internal/_concurrent_unordered_impl.h:724:9: required from 'tbb::interface5::internal::concurrent_unordered_base::concurrent_unordered_base(const tbb::interface5::internal::concurrent_unordered_base&) [with Traits = tbb::interface5::concurrent_unordered_set_traits, tbb::interface5::internal::hash_compare, tbb::tbb_hash >, Harness::IsEqual>, tbb::tbb_allocator >, false>]' ../../include/tbb/concurrent_unordered_set.h:56:7: required from 'void TypeTester(const std::__cxx11::list&) [with bool defCtorPresent = true; Table = tbb::interface5::concurrent_unordered_set, tbb::tbb_hash >, Harness::IsEqual, tbb::tbb_allocator > >; TableDebugAlloc = tbb::interface5::concurrent_unordered_set, tbb::tbb_hash >, Harness::IsEqual, debug_allocator, std::allocator> >; typename Table::value_type = std::weak_ptr]' ../../src/test/test_concurrent_unordered_set.cpp:86:128: required from 'void TestTypesSet(const std::__cxx11::list&) [with bool defCtorPresent = true; value_type = std::weak_ptr]' ../../src/test/test_concurrent_unordered_set.cpp:117:52: required from here ../../include/tbb/internal/_concurrent_unordered_impl.h:1471:24: warning: 'void* memset(void*, int, size_t)' clearing an object of non-trivial type 'tbb::interface5::internal::concurrent_unordered_base, tbb::interface5::internal::hash_compare, tbb::tbb_hash >, Harness::IsEqual>, tbb::tbb_allocator >, false> >::raw_iterator' {aka 'class tbb::interface5::internal::flist_iterator, tbb::tbb_allocator > >, std::weak_ptr >'}; use assignment or value-initialization instead [-Wclass-memaccess] std::memset(new_segment, 0, sz*sizeof(raw_iterator)); ~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ In file included from ../../include/tbb/concurrent_unordered_set.h:27, from ../../src/test/test_concurrent_unordered_set.cpp:29: ../../include/tbb/internal/_concurrent_unordered_impl.h:61:7: note: 'tbb::interface5::internal::concurrent_unordered_base, tbb::interface5::internal::hash_compare, tbb::tbb_hash >, Harness::IsEqual>, tbb::tbb_allocator >, false> >::raw_iterator' {aka 'class tbb::interface5::internal::flist_iterator, tbb::tbb_allocator > >, std::weak_ptr >'} declared here class flist_iterator : public std::iterator ^~~~~~~~~~~~~~ In file included from ../../include/tbb/concurrent_unordered_set.h:27, from ../../src/test/test_concurrent_unordered_set.cpp:29: ../../include/tbb/internal/_concurrent_unordered_impl.h: In instantiation of 'void tbb::interface5::internal::concurrent_unordered_base::set_bucket(tbb::interface5::internal::concurrent_unordered_base::size_type, tbb::interface5::internal::concurrent_unordered_base::raw_iterator) [with Traits = tbb::interface5::concurrent_unordered_set_traits, tbb::interface5::internal::hash_compare, tbb::tbb_hash >, Harness::IsEqual>, debug_allocator, std::allocator>, false>; tbb::interface5::internal::concurrent_unordered_base::size_type = long unsigned int; tbb::interface5::internal::concurrent_unordered_base::raw_iterator = tbb::interface5::internal::flist_iterator, debug_allocator, std::allocator> >, std::weak_ptr >]': ../../include/tbb/internal/_concurrent_unordered_impl.h:1207:9: required from 'void tbb::interface5::internal::concurrent_unordered_base::internal_init() [with Traits = tbb::interface5::concurrent_unordered_set_traits, tbb::interface5::internal::hash_compare, tbb::tbb_hash >, Harness::IsEqual>, debug_allocator, std::allocator>, false>]' ../../include/tbb/internal/_concurrent_unordered_impl.h:724:9: required from 'tbb::interface5::internal::concurrent_unordered_base::concurrent_unordered_base(const tbb::interface5::internal::concurrent_unordered_base&) [with Traits = tbb::interface5::concurrent_unordered_set_traits, tbb::interface5::internal::hash_compare, tbb::tbb_hash >, Harness::IsEqual>, debug_allocator, std::allocator>, false>]' ../../include/tbb/concurrent_unordered_set.h:56:7: required from 'void TypeTester(const std::__cxx11::list&) [with bool defCtorPresent = true; Table = tbb::interface5::concurrent_unordered_set, tbb::tbb_hash >, Harness::IsEqual, tbb::tbb_allocator > >; TableDebugAlloc = tbb::interface5::concurrent_unordered_set, tbb::tbb_hash >, Harness::IsEqual, debug_allocator, std::allocator> >; typename Table::value_type = std::weak_ptr]' ../../src/test/test_concurrent_unordered_set.cpp:86:128: required from 'void TestTypesSet(const std::__cxx11::list&) [with bool defCtorPresent = true; value_type = std::weak_ptr]' ../../src/test/test_concurrent_unordered_set.cpp:117:52: required from here ../../include/tbb/internal/_concurrent_unordered_impl.h:1471:24: warning: 'void* memset(void*, int, size_t)' clearing an object of non-trivial type 'tbb::interface5::internal::concurrent_unordered_base, tbb::interface5::internal::hash_compare, tbb::tbb_hash >, Harness::IsEqual>, debug_allocator, std::allocator>, false> >::raw_iterator' {aka 'class tbb::interface5::internal::flist_iterator, debug_allocator, std::allocator> >, std::weak_ptr >'}; use assignment or value-initialization instead [-Wclass-memaccess] std::memset(new_segment, 0, sz*sizeof(raw_iterator)); ~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ In file included from ../../include/tbb/concurrent_unordered_set.h:27, from ../../src/test/test_concurrent_unordered_set.cpp:29: ../../include/tbb/internal/_concurrent_unordered_impl.h:61:7: note: 'tbb::interface5::internal::concurrent_unordered_base, tbb::interface5::internal::hash_compare, tbb::tbb_hash >, Harness::IsEqual>, debug_allocator, std::allocator>, false> >::raw_iterator' {aka 'class tbb::interface5::internal::flist_iterator, debug_allocator, std::allocator> >, std::weak_ptr >'} declared here class flist_iterator : public std::iterator ^~~~~~~~~~~~~~ In file included from ../../include/tbb/concurrent_unordered_set.h:27, from ../../src/test/test_concurrent_unordered_set.cpp:29: ../../include/tbb/internal/_concurrent_unordered_impl.h: In instantiation of 'void tbb::interface5::internal::concurrent_unordered_base::set_bucket(tbb::interface5::internal::concurrent_unordered_base::size_type, tbb::interface5::internal::concurrent_unordered_base::raw_iterator) [with Traits = tbb::interface5::concurrent_unordered_set_traits, tbb::interface5::internal::hash_compare, tbb::tbb_hash >, Harness::IsEqual>, tbb::tbb_allocator >, true>; tbb::interface5::internal::concurrent_unordered_base::size_type = long unsigned int; tbb::interface5::internal::concurrent_unordered_base::raw_iterator = tbb::interface5::internal::flist_iterator, tbb::tbb_allocator > >, std::weak_ptr >]': ../../include/tbb/internal/_concurrent_unordered_impl.h:1207:9: required from 'void tbb::interface5::internal::concurrent_unordered_base::internal_init() [with Traits = tbb::interface5::concurrent_unordered_set_traits, tbb::interface5::internal::hash_compare, tbb::tbb_hash >, Harness::IsEqual>, tbb::tbb_allocator >, true>]' ../../include/tbb/internal/_concurrent_unordered_impl.h:724:9: required from 'tbb::interface5::internal::concurrent_unordered_base::concurrent_unordered_base(const tbb::interface5::internal::concurrent_unordered_base&) [with Traits = tbb::interface5::concurrent_unordered_set_traits, tbb::interface5::internal::hash_compare, tbb::tbb_hash >, Harness::IsEqual>, tbb::tbb_allocator >, true>]' ../../include/tbb/concurrent_unordered_set.h:152:7: required from 'void TypeTester(const std::__cxx11::list&) [with bool defCtorPresent = true; Table = tbb::interface5::concurrent_unordered_multiset, tbb::tbb_hash >, Harness::IsEqual, tbb::tbb_allocator > >; TableDebugAlloc = tbb::interface5::concurrent_unordered_multiset, tbb::tbb_hash >, Harness::IsEqual, debug_allocator, std::allocator> >; typename Table::value_type = std::weak_ptr]' ../../src/test/test_concurrent_unordered_set.cpp:88:133: required from 'void TestTypesSet(const std::__cxx11::list&) [with bool defCtorPresent = true; value_type = std::weak_ptr]' ../../src/test/test_concurrent_unordered_set.cpp:117:52: required from here ../../include/tbb/internal/_concurrent_unordered_impl.h:1471:24: warning: 'void* memset(void*, int, size_t)' clearing an object of non-trivial type 'tbb::interface5::internal::concurrent_unordered_base, tbb::interface5::internal::hash_compare, tbb::tbb_hash >, Harness::IsEqual>, tbb::tbb_allocator >, true> >::raw_iterator' {aka 'class tbb::interface5::internal::flist_iterator, tbb::tbb_allocator > >, std::weak_ptr >'}; use assignment or value-initialization instead [-Wclass-memaccess] std::memset(new_segment, 0, sz*sizeof(raw_iterator)); ~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ In file included from ../../include/tbb/concurrent_unordered_set.h:27, from ../../src/test/test_concurrent_unordered_set.cpp:29: ../../include/tbb/internal/_concurrent_unordered_impl.h:61:7: note: 'tbb::interface5::internal::concurrent_unordered_base, tbb::interface5::internal::hash_compare, tbb::tbb_hash >, Harness::IsEqual>, tbb::tbb_allocator >, true> >::raw_iterator' {aka 'class tbb::interface5::internal::flist_iterator, tbb::tbb_allocator > >, std::weak_ptr >'} declared here class flist_iterator : public std::iterator ^~~~~~~~~~~~~~ In file included from ../../include/tbb/concurrent_unordered_set.h:27, from ../../src/test/test_concurrent_unordered_set.cpp:29: ../../include/tbb/internal/_concurrent_unordered_impl.h: In instantiation of 'void tbb::interface5::internal::concurrent_unordered_base::set_bucket(tbb::interface5::internal::concurrent_unordered_base::size_type, tbb::interface5::internal::concurrent_unordered_base::raw_iterator) [with Traits = tbb::interface5::concurrent_unordered_set_traits, tbb::interface5::internal::hash_compare, tbb::tbb_hash >, Harness::IsEqual>, debug_allocator, std::allocator>, true>; tbb::interface5::internal::concurrent_unordered_base::size_type = long unsigned int; tbb::interface5::internal::concurrent_unordered_base::raw_iterator = tbb::interface5::internal::flist_iterator, debug_allocator, std::allocator> >, std::weak_ptr >]': ../../include/tbb/internal/_concurrent_unordered_impl.h:1207:9: required from 'void tbb::interface5::internal::concurrent_unordered_base::internal_init() [with Traits = tbb::interface5::concurrent_unordered_set_traits, tbb::interface5::internal::hash_compare, tbb::tbb_hash >, Harness::IsEqual>, debug_allocator, std::allocator>, true>]' ../../include/tbb/internal/_concurrent_unordered_impl.h:724:9: required from 'tbb::interface5::internal::concurrent_unordered_base::concurrent_unordered_base(const tbb::interface5::internal::concurrent_unordered_base&) [with Traits = tbb::interface5::concurrent_unordered_set_traits, tbb::interface5::internal::hash_compare, tbb::tbb_hash >, Harness::IsEqual>, debug_allocator, std::allocator>, true>]' ../../include/tbb/concurrent_unordered_set.h:152:7: required from 'void TypeTester(const std::__cxx11::list&) [with bool defCtorPresent = true; Table = tbb::interface5::concurrent_unordered_multiset, tbb::tbb_hash >, Harness::IsEqual, tbb::tbb_allocator > >; TableDebugAlloc = tbb::interface5::concurrent_unordered_multiset, tbb::tbb_hash >, Harness::IsEqual, debug_allocator, std::allocator> >; typename Table::value_type = std::weak_ptr]' ../../src/test/test_concurrent_unordered_set.cpp:88:133: required from 'void TestTypesSet(const std::__cxx11::list&) [with bool defCtorPresent = true; value_type = std::weak_ptr]' ../../src/test/test_concurrent_unordered_set.cpp:117:52: required from here ../../include/tbb/internal/_concurrent_unordered_impl.h:1471:24: warning: 'void* memset(void*, int, size_t)' clearing an object of non-trivial type 'tbb::interface5::internal::concurrent_unordered_base, tbb::interface5::internal::hash_compare, tbb::tbb_hash >, Harness::IsEqual>, debug_allocator, std::allocator>, true> >::raw_iterator' {aka 'class tbb::interface5::internal::flist_iterator, debug_allocator, std::allocator> >, std::weak_ptr >'}; use assignment or value-initialization instead [-Wclass-memaccess] std::memset(new_segment, 0, sz*sizeof(raw_iterator)); ~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ In file included from ../../include/tbb/concurrent_unordered_set.h:27, from ../../src/test/test_concurrent_unordered_set.cpp:29: ../../include/tbb/internal/_concurrent_unordered_impl.h:61:7: note: 'tbb::interface5::internal::concurrent_unordered_base, tbb::interface5::internal::hash_compare, tbb::tbb_hash >, Harness::IsEqual>, debug_allocator, std::allocator>, true> >::raw_iterator' {aka 'class tbb::interface5::internal::flist_iterator, debug_allocator, std::allocator> >, std::weak_ptr >'} declared here class flist_iterator : public std::iterator ^~~~~~~~~~~~~~ In file included from ../../include/tbb/concurrent_unordered_set.h:27, from ../../src/test/test_concurrent_unordered_set.cpp:29: ../../include/tbb/internal/_concurrent_unordered_impl.h: In instantiation of 'void tbb::interface5::internal::concurrent_unordered_base::set_bucket(tbb::interface5::internal::concurrent_unordered_base::size_type, tbb::interface5::internal::concurrent_unordered_base::raw_iterator) [with Traits = tbb::interface5::concurrent_unordered_set_traits, tbb::interface5::internal::hash_compare, tbb::tbb_hash >, std::equal_to > >, tbb::tbb_allocator >, false>; tbb::interface5::internal::concurrent_unordered_base::size_type = long unsigned int; tbb::interface5::internal::concurrent_unordered_base::raw_iterator = tbb::interface5::internal::flist_iterator, tbb::tbb_allocator > >, test::unique_ptr >]': ../../include/tbb/internal/_concurrent_unordered_impl.h:1207:9: required from 'void tbb::interface5::internal::concurrent_unordered_base::internal_init() [with Traits = tbb::interface5::concurrent_unordered_set_traits, tbb::interface5::internal::hash_compare, tbb::tbb_hash >, std::equal_to > >, tbb::tbb_allocator >, false>]' ../../include/tbb/internal/_concurrent_unordered_impl.h:710:9: required from 'tbb::interface5::internal::concurrent_unordered_base::concurrent_unordered_base(tbb::interface5::internal::concurrent_unordered_base::size_type, const hash_compare&, const allocator_type&) [with Traits = tbb::interface5::concurrent_unordered_set_traits, tbb::interface5::internal::hash_compare, tbb::tbb_hash >, std::equal_to > >, tbb::tbb_allocator >, false>; tbb::interface5::internal::concurrent_unordered_base::size_type = long unsigned int; tbb::interface5::internal::concurrent_unordered_base::hash_compare = tbb::interface5::internal::hash_compare, tbb::tbb_hash >, std::equal_to > >; tbb::interface5::internal::concurrent_unordered_base::allocator_type = tbb::tbb_allocator >]' ../../include/tbb/concurrent_unordered_set.h:94:68: required from 'tbb::interface5::concurrent_unordered_set::concurrent_unordered_set(tbb::interface5::concurrent_unordered_set::size_type, const hasher&, const key_equal&, const allocator_type&) [with Key = test::unique_ptr; Hasher = tbb::tbb_hash >; Key_equality = std::equal_to >; Allocator = tbb::tbb_allocator >; tbb::interface5::concurrent_unordered_set::size_type = long unsigned int; tbb::interface5::concurrent_unordered_set::hasher = tbb::tbb_hash >; tbb::interface5::concurrent_unordered_set::key_equal = std::equal_to >; tbb::interface5::concurrent_unordered_set::allocator_type = tbb::tbb_allocator >]' ../../src/test/test_concurrent_unordered_common.h:219:17: required from 'void test_emplace_insert(V, V) [with T = tbb::interface5::concurrent_unordered_set >; do_check_element_state = tbb::internal::bool_constant; V = int*]' ../../src/test/test_concurrent_unordered_set.cpp:122:70: required from here ../../include/tbb/internal/_concurrent_unordered_impl.h:1471:24: warning: 'void* memset(void*, int, size_t)' clearing an object of non-trivial type 'tbb::interface5::internal::concurrent_unordered_base, tbb::interface5::internal::hash_compare, tbb::tbb_hash >, std::equal_to > >, tbb::tbb_allocator >, false> >::raw_iterator' {aka 'class tbb::interface5::internal::flist_iterator, tbb::tbb_allocator > >, test::unique_ptr >'}; use assignment or value-initialization instead [-Wclass-memaccess] std::memset(new_segment, 0, sz*sizeof(raw_iterator)); ~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ In file included from ../../include/tbb/concurrent_unordered_set.h:27, from ../../src/test/test_concurrent_unordered_set.cpp:29: ../../include/tbb/internal/_concurrent_unordered_impl.h:61:7: note: 'tbb::interface5::internal::concurrent_unordered_base, tbb::interface5::internal::hash_compare, tbb::tbb_hash >, std::equal_to > >, tbb::tbb_allocator >, false> >::raw_iterator' {aka 'class tbb::interface5::internal::flist_iterator, tbb::tbb_allocator > >, test::unique_ptr >'} declared here class flist_iterator : public std::iterator ^~~~~~~~~~~~~~ In file included from ../../include/tbb/concurrent_unordered_set.h:27, from ../../src/test/test_concurrent_unordered_set.cpp:29: ../../include/tbb/internal/_concurrent_unordered_impl.h: In instantiation of 'void tbb::interface5::internal::concurrent_unordered_base::set_bucket(tbb::interface5::internal::concurrent_unordered_base::size_type, tbb::interface5::internal::concurrent_unordered_base::raw_iterator) [with Traits = tbb::interface5::concurrent_unordered_set_traits, tbb::interface5::internal::hash_compare, tbb::tbb_hash >, std::equal_to > >, tbb::tbb_allocator >, true>; tbb::interface5::internal::concurrent_unordered_base::size_type = long unsigned int; tbb::interface5::internal::concurrent_unordered_base::raw_iterator = tbb::interface5::internal::flist_iterator, tbb::tbb_allocator > >, test::unique_ptr >]': ../../include/tbb/internal/_concurrent_unordered_impl.h:1207:9: required from 'void tbb::interface5::internal::concurrent_unordered_base::internal_init() [with Traits = tbb::interface5::concurrent_unordered_set_traits, tbb::interface5::internal::hash_compare, tbb::tbb_hash >, std::equal_to > >, tbb::tbb_allocator >, true>]' ../../include/tbb/internal/_concurrent_unordered_impl.h:710:9: required from 'tbb::interface5::internal::concurrent_unordered_base::concurrent_unordered_base(tbb::interface5::internal::concurrent_unordered_base::size_type, const hash_compare&, const allocator_type&) [with Traits = tbb::interface5::concurrent_unordered_set_traits, tbb::interface5::internal::hash_compare, tbb::tbb_hash >, std::equal_to > >, tbb::tbb_allocator >, true>; tbb::interface5::internal::concurrent_unordered_base::size_type = long unsigned int; tbb::interface5::internal::concurrent_unordered_base::hash_compare = tbb::interface5::internal::hash_compare, tbb::tbb_hash >, std::equal_to > >; tbb::interface5::internal::concurrent_unordered_base::allocator_type = tbb::tbb_allocator >]' ../../include/tbb/concurrent_unordered_set.h:193:73: required from 'tbb::interface5::concurrent_unordered_multiset::concurrent_unordered_multiset(tbb::interface5::concurrent_unordered_multiset::size_type, const hasher&, const key_equal&, const allocator_type&) [with Key = test::unique_ptr; Hasher = tbb::tbb_hash >; Key_equality = std::equal_to >; Allocator = tbb::tbb_allocator >; tbb::interface5::concurrent_unordered_multiset::size_type = long unsigned int; tbb::interface5::concurrent_unordered_multiset::hasher = tbb::tbb_hash >; tbb::interface5::concurrent_unordered_multiset::key_equal = std::equal_to >; tbb::interface5::concurrent_unordered_multiset::allocator_type = tbb::tbb_allocator >]' ../../src/test/test_concurrent_unordered_common.h:219:17: required from 'void test_emplace_insert(V, V) [with T = tbb::interface5::concurrent_unordered_multiset >; do_check_element_state = tbb::internal::bool_constant; V = int*]' ../../src/test/test_concurrent_unordered_set.cpp:124:70: required from here ../../include/tbb/internal/_concurrent_unordered_impl.h:1471:24: warning: 'void* memset(void*, int, size_t)' clearing an object of non-trivial type 'tbb::interface5::internal::concurrent_unordered_base, tbb::interface5::internal::hash_compare, tbb::tbb_hash >, std::equal_to > >, tbb::tbb_allocator >, true> >::raw_iterator' {aka 'class tbb::interface5::internal::flist_iterator, tbb::tbb_allocator > >, test::unique_ptr >'}; use assignment or value-initialization instead [-Wclass-memaccess] std::memset(new_segment, 0, sz*sizeof(raw_iterator)); ~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ In file included from ../../include/tbb/concurrent_unordered_set.h:27, from ../../src/test/test_concurrent_unordered_set.cpp:29: ../../include/tbb/internal/_concurrent_unordered_impl.h:61:7: note: 'tbb::interface5::internal::concurrent_unordered_base, tbb::interface5::internal::hash_compare, tbb::tbb_hash >, std::equal_to > >, tbb::tbb_allocator >, true> >::raw_iterator' {aka 'class tbb::interface5::internal::flist_iterator, tbb::tbb_allocator > >, test::unique_ptr >'} declared here class flist_iterator : public std::iterator ^~~~~~~~~~~~~~ In file included from ../../src/test/test_container_move_support.h:26, from ../../src/test/test_concurrent_unordered_common.h:25, from ../../src/test/test_concurrent_unordered_set.cpp:53: ../../src/test/harness_allocator.h: In instantiation of 'debug_allocator::pointer debug_allocator::allocate(debug_allocator::size_type, const void*) [with T = tbb::interface5::internal::flist_iterator, tbb::atomic > >, int>; Allocator = std::allocator; debug_allocator::pointer = tbb::interface5::internal::flist_iterator, tbb::atomic > >, int>*; debug_allocator::size_type = long unsigned int]': ../../src/test/harness_allocator.h:474:43: required from 'local_counting_allocator::pointer local_counting_allocator::allocate(local_counting_allocator::size_type) [with base_alloc_t = debug_allocator, tbb::atomic > >, int>, std::allocator>; count_t = tbb::atomic; local_counting_allocator::pointer = tbb::interface5::internal::flist_iterator, tbb::atomic > >, int>*; local_counting_allocator::size_type = long unsigned int]' ../../include/tbb/internal/_concurrent_unordered_impl.h:1470:28: required from 'void tbb::interface5::internal::concurrent_unordered_base::set_bucket(tbb::interface5::internal::concurrent_unordered_base::size_type, tbb::interface5::internal::concurrent_unordered_base::raw_iterator) [with Traits = tbb::interface5::concurrent_unordered_set_traits, std::equal_to >, local_counting_allocator, std::allocator> >, false>; tbb::interface5::internal::concurrent_unordered_base::size_type = long unsigned int; tbb::interface5::internal::concurrent_unordered_base::raw_iterator = tbb::interface5::internal::flist_iterator, tbb::atomic > >, int>]' ../../include/tbb/internal/_concurrent_unordered_impl.h:1056:9: required from 'void tbb::interface5::internal::concurrent_unordered_base::clear() [with Traits = tbb::interface5::concurrent_unordered_set_traits, std::equal_to >, local_counting_allocator, std::allocator> >, false>]' ../../src/test/test_concurrent_unordered_common.h:657:5: required from 'void test_concurrent(const char*, bool) [with T = tbb::interface5::concurrent_unordered_set, std::equal_to, local_counting_allocator, std::allocator> > >]' ../../src/test/test_concurrent_unordered_set.cpp:165:54: required from here ../../src/test/harness_allocator.h:518:20: warning: 'void* memset(void*, int, size_t)' writing to an object of non-trivial type 'class tbb::interface5::internal::flist_iterator, tbb::atomic > >, int>'; use assignment instead [-Wclass-memaccess] std::memset( ptr, 0xE3E3E3E3, n * sizeof(value_type) ); ~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ In file included from ../../include/tbb/concurrent_unordered_set.h:27, from ../../src/test/test_concurrent_unordered_set.cpp:29: ../../include/tbb/internal/_concurrent_unordered_impl.h:61:7: note: 'class tbb::interface5::internal::flist_iterator, tbb::atomic > >, int>' declared here class flist_iterator : public std::iterator ^~~~~~~~~~~~~~ In file included from ../../src/test/test_container_move_support.h:26, from ../../src/test/test_concurrent_unordered_common.h:25, from ../../src/test/test_concurrent_unordered_set.cpp:53: ../../src/test/harness_allocator.h: In instantiation of 'debug_allocator::pointer debug_allocator::allocate(debug_allocator::size_type, const void*) [with T = tbb::interface5::internal::flist_iterator, local_counting_allocator, std::allocator>, tbb::atomic > >, check_type >; Allocator = std::allocator; debug_allocator::pointer = tbb::interface5::internal::flist_iterator, local_counting_allocator, std::allocator>, tbb::atomic > >, check_type >*; debug_allocator::size_type = long unsigned int]': ../../src/test/harness_allocator.h:474:43: required from 'local_counting_allocator::pointer local_counting_allocator::allocate(local_counting_allocator::size_type) [with base_alloc_t = debug_allocator, local_counting_allocator, std::allocator>, tbb::atomic > >, check_type >, std::allocator>; count_t = tbb::atomic; local_counting_allocator::pointer = tbb::interface5::internal::flist_iterator, local_counting_allocator, std::allocator>, tbb::atomic > >, check_type >*; local_counting_allocator::size_type = long unsigned int]' ../../include/tbb/internal/_concurrent_unordered_impl.h:1470:28: required from 'void tbb::interface5::internal::concurrent_unordered_base::set_bucket(tbb::interface5::internal::concurrent_unordered_base::size_type, tbb::interface5::internal::concurrent_unordered_base::raw_iterator) [with Traits = tbb::interface5::concurrent_unordered_set_traits, tbb::interface5::internal::hash_compare, tbb::tbb_hash >, std::equal_to > >, local_counting_allocator, std::allocator> >, false>; tbb::interface5::internal::concurrent_unordered_base::size_type = long unsigned int; tbb::interface5::internal::concurrent_unordered_base::raw_iterator = tbb::interface5::internal::flist_iterator, local_counting_allocator, std::allocator>, tbb::atomic > >, check_type >]' ../../include/tbb/internal/_concurrent_unordered_impl.h:1056:9: required from 'void tbb::interface5::internal::concurrent_unordered_base::clear() [with Traits = tbb::interface5::concurrent_unordered_set_traits, tbb::interface5::internal::hash_compare, tbb::tbb_hash >, std::equal_to > >, local_counting_allocator, std::allocator> >, false>]' ../../src/test/test_concurrent_unordered_common.h:657:5: required from 'void test_concurrent(const char*, bool) [with T = tbb::interface5::concurrent_unordered_set, tbb::tbb_hash >, std::equal_to >, local_counting_allocator, std::allocator> > >]' ../../src/test/test_concurrent_unordered_set.cpp:174:116: required from here ../../src/test/harness_allocator.h:518:20: warning: 'void* memset(void*, int, size_t)' writing to an object of non-trivial type 'class tbb::interface5::internal::flist_iterator, local_counting_allocator, std::allocator>, tbb::atomic > >, check_type >'; use assignment instead [-Wclass-memaccess] std::memset( ptr, 0xE3E3E3E3, n * sizeof(value_type) ); ~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ In file included from ../../include/tbb/concurrent_unordered_set.h:27, from ../../src/test/test_concurrent_unordered_set.cpp:29: ../../include/tbb/internal/_concurrent_unordered_impl.h:61:7: note: 'class tbb::interface5::internal::flist_iterator, local_counting_allocator, std::allocator>, tbb::atomic > >, check_type >' declared here class flist_iterator : public std::iterator ^~~~~~~~~~~~~~ In file included from ../../src/test/test_container_move_support.h:26, from ../../src/test/test_concurrent_unordered_common.h:25, from ../../src/test/test_concurrent_unordered_set.cpp:53: ../../src/test/harness_allocator.h: In instantiation of 'debug_allocator::pointer debug_allocator::allocate(debug_allocator::size_type, const void*) [with T = tbb::interface5::internal::flist_iterator, tbb::atomic > >, FooWithAssign>; Allocator = std::allocator; debug_allocator::pointer = tbb::interface5::internal::flist_iterator, tbb::atomic > >, FooWithAssign>*; debug_allocator::size_type = long unsigned int]': ../../src/test/harness_allocator.h:474:43: required from 'local_counting_allocator::pointer local_counting_allocator::allocate(local_counting_allocator::size_type) [with base_alloc_t = debug_allocator, tbb::atomic > >, FooWithAssign>, std::allocator>; count_t = tbb::atomic; local_counting_allocator::pointer = tbb::interface5::internal::flist_iterator, tbb::atomic > >, FooWithAssign>*; local_counting_allocator::size_type = long unsigned int]' ../../include/tbb/internal/_concurrent_unordered_impl.h:1470:28: required from 'void tbb::interface5::internal::concurrent_unordered_base::set_bucket(tbb::interface5::internal::concurrent_unordered_base::size_type, tbb::interface5::internal::concurrent_unordered_base::raw_iterator) [with Traits = tbb::interface5::concurrent_unordered_set_traits, std::equal_to >, local_counting_allocator, std::allocator> >, false>; tbb::interface5::internal::concurrent_unordered_base::size_type = long unsigned int; tbb::interface5::internal::concurrent_unordered_base::raw_iterator = tbb::interface5::internal::flist_iterator, tbb::atomic > >, FooWithAssign>]' ../../include/tbb/internal/_concurrent_unordered_impl.h:1056:9: required from 'void tbb::interface5::internal::concurrent_unordered_base::clear() [with Traits = tbb::interface5::concurrent_unordered_set_traits, std::equal_to >, local_counting_allocator, std::allocator> >, false>]' ../../src/test/test_concurrent_unordered_common.h:347:5: required from 'void test_basic(const char*, do_check_element_state) [with T = tbb::interface5::concurrent_unordered_set, std::equal_to, local_counting_allocator, std::allocator> > >; do_check_element_state = tbb::internal::bool_constant]' ../../src/test/test_concurrent_unordered_set.cpp:175:113: required from here ../../src/test/harness_allocator.h:518:20: warning: 'void* memset(void*, int, size_t)' writing to an object of non-trivial type 'class tbb::interface5::internal::flist_iterator, tbb::atomic > >, FooWithAssign>'; use assignment instead [-Wclass-memaccess] std::memset( ptr, 0xE3E3E3E3, n * sizeof(value_type) ); ~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ In file included from ../../include/tbb/concurrent_unordered_set.h:27, from ../../src/test/test_concurrent_unordered_set.cpp:29: ../../include/tbb/internal/_concurrent_unordered_impl.h:61:7: note: 'class tbb::interface5::internal::flist_iterator, tbb::atomic > >, FooWithAssign>' declared here class flist_iterator : public std::iterator ^~~~~~~~~~~~~~ In file included from ../../include/tbb/concurrent_unordered_set.h:27, from ../../src/test/test_concurrent_unordered_set.cpp:29: ../../include/tbb/internal/_concurrent_unordered_impl.h: In instantiation of 'void tbb::interface5::internal::concurrent_unordered_base::set_bucket(tbb::interface5::internal::concurrent_unordered_base::size_type, tbb::interface5::internal::concurrent_unordered_base::raw_iterator) [with Traits = tbb::interface5::concurrent_unordered_set_traits, std::equal_to >, static_shared_counting_allocator, arena, long unsigned int>, long unsigned int>, false>; tbb::interface5::internal::concurrent_unordered_base::size_type = long unsigned int; tbb::interface5::internal::concurrent_unordered_base::raw_iterator = tbb::interface5::internal::flist_iterator, arena, long unsigned int>, long unsigned int> >, FooWithAssign>]': ../../include/tbb/internal/_concurrent_unordered_impl.h:760:25: required from 'tbb::interface5::internal::concurrent_unordered_base::concurrent_unordered_base(tbb::interface5::internal::concurrent_unordered_base&&, const allocator_type&) [with Traits = tbb::interface5::concurrent_unordered_set_traits, std::equal_to >, static_shared_counting_allocator, arena, long unsigned int>, long unsigned int>, false>; tbb::interface5::internal::concurrent_unordered_base::allocator_type = static_shared_counting_allocator, arena, long unsigned int>, long unsigned int>]' ../../include/tbb/concurrent_unordered_set.h:140:40: required from 'tbb::interface5::concurrent_unordered_set::concurrent_unordered_set(tbb::interface5::concurrent_unordered_set&&, const Allocator&) [with Key = FooWithAssign; Hasher = tbb::tbb_hash; Key_equality = std::equal_to; Allocator = static_shared_counting_allocator, arena, long unsigned int>, long unsigned int>]' ../../src/test/test_container_move_support.h:836:5: required from 'void TestExceptionSafetyGuaranteesMoveConstructorWithUnEqualAllocatorMemoryFailure() [with container_traits = cu_set_type]' ../../src/test/test_concurrent_unordered_common.h:816:100: required from 'void test_rvalue_ref_support(const char*) [with container_traits = cu_set_type]' ../../src/test/test_concurrent_unordered_set.cpp:194:70: required from here ../../include/tbb/internal/_concurrent_unordered_impl.h:1471:24: warning: 'void* memset(void*, int, size_t)' clearing an object of non-trivial type 'tbb::interface5::internal::concurrent_unordered_base, std::equal_to >, static_shared_counting_allocator, arena, long unsigned int>, long unsigned int>, false> >::raw_iterator' {aka 'class tbb::interface5::internal::flist_iterator, arena, long unsigned int>, long unsigned int> >, FooWithAssign>'}; use assignment or value-initialization instead [-Wclass-memaccess] std::memset(new_segment, 0, sz*sizeof(raw_iterator)); ~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ In file included from ../../include/tbb/concurrent_unordered_set.h:27, from ../../src/test/test_concurrent_unordered_set.cpp:29: ../../include/tbb/internal/_concurrent_unordered_impl.h:61:7: note: 'tbb::interface5::internal::concurrent_unordered_base, std::equal_to >, static_shared_counting_allocator, arena, long unsigned int>, long unsigned int>, false> >::raw_iterator' {aka 'class tbb::interface5::internal::flist_iterator, arena, long unsigned int>, long unsigned int> >, FooWithAssign>'} declared here class flist_iterator : public std::iterator ^~~~~~~~~~~~~~ In file included from ../../include/tbb/concurrent_unordered_set.h:27, from ../../src/test/test_concurrent_unordered_set.cpp:29: ../../include/tbb/internal/_concurrent_unordered_impl.h: In instantiation of 'void tbb::interface5::internal::concurrent_unordered_base::set_bucket(tbb::interface5::internal::concurrent_unordered_base::size_type, tbb::interface5::internal::concurrent_unordered_base::raw_iterator) [with Traits = tbb::interface5::concurrent_unordered_set_traits, std::equal_to >, static_shared_counting_allocator, arena, long unsigned int>, long unsigned int>, true>; tbb::interface5::internal::concurrent_unordered_base::size_type = long unsigned int; tbb::interface5::internal::concurrent_unordered_base::raw_iterator = tbb::interface5::internal::flist_iterator, arena, long unsigned int>, long unsigned int> >, FooWithAssign>]': ../../include/tbb/internal/_concurrent_unordered_impl.h:760:25: required from 'tbb::interface5::internal::concurrent_unordered_base::concurrent_unordered_base(tbb::interface5::internal::concurrent_unordered_base&&, const allocator_type&) [with Traits = tbb::interface5::concurrent_unordered_set_traits, std::equal_to >, static_shared_counting_allocator, arena, long unsigned int>, long unsigned int>, true>; tbb::interface5::internal::concurrent_unordered_base::allocator_type = static_shared_counting_allocator, arena, long unsigned int>, long unsigned int>]' ../../include/tbb/concurrent_unordered_set.h:240:40: required from 'tbb::interface5::concurrent_unordered_multiset::concurrent_unordered_multiset(tbb::interface5::concurrent_unordered_multiset&&, const Allocator&) [with Key = FooWithAssign; Hasher = tbb::tbb_hash; Key_equality = std::equal_to; Allocator = static_shared_counting_allocator, arena, long unsigned int>, long unsigned int>]' ../../src/test/test_container_move_support.h:836:5: required from 'void TestExceptionSafetyGuaranteesMoveConstructorWithUnEqualAllocatorMemoryFailure() [with container_traits = cu_multiset_type]' ../../src/test/test_concurrent_unordered_common.h:816:100: required from 'void test_rvalue_ref_support(const char*) [with container_traits = cu_multiset_type]' ../../src/test/test_concurrent_unordered_set.cpp:195:80: required from here ../../include/tbb/internal/_concurrent_unordered_impl.h:1471:24: warning: 'void* memset(void*, int, size_t)' clearing an object of non-trivial type 'tbb::interface5::internal::concurrent_unordered_base, std::equal_to >, static_shared_counting_allocator, arena, long unsigned int>, long unsigned int>, true> >::raw_iterator' {aka 'class tbb::interface5::internal::flist_iterator, arena, long unsigned int>, long unsigned int> >, FooWithAssign>'}; use assignment or value-initialization instead [-Wclass-memaccess] std::memset(new_segment, 0, sz*sizeof(raw_iterator)); ~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ In file included from ../../include/tbb/concurrent_unordered_set.h:27, from ../../src/test/test_concurrent_unordered_set.cpp:29: ../../include/tbb/internal/_concurrent_unordered_impl.h:61:7: note: 'tbb::interface5::internal::concurrent_unordered_base, std::equal_to >, static_shared_counting_allocator, arena, long unsigned int>, long unsigned int>, true> >::raw_iterator' {aka 'class tbb::interface5::internal::flist_iterator, arena, long unsigned int>, long unsigned int> >, FooWithAssign>'} declared here class flist_iterator : public std::iterator ^~~~~~~~~~~~~~ In file included from ../../src/test/test_container_move_support.h:26, from ../../src/test/test_concurrent_unordered_common.h:25, from ../../src/test/test_concurrent_unordered_set.cpp:53: ../../src/test/harness_allocator.h: In instantiation of 'debug_allocator::pointer debug_allocator::allocate(debug_allocator::size_type, const void*) [with T = tbb::interface5::internal::split_ordered_list >::node; Allocator = std::allocator; debug_allocator::pointer = tbb::interface5::internal::split_ordered_list >::node*; debug_allocator::size_type = long unsigned int]': ../../include/tbb/internal/_concurrent_unordered_impl.h:255:19: required from 'tbb::interface5::internal::split_ordered_list::node* tbb::interface5::internal::split_ordered_list::create_node(tbb::interface5::internal::sokey_t) [with T = int; Allocator = debug_allocator; tbb::interface5::internal::split_ordered_list::nodeptr_t = tbb::interface5::internal::split_ordered_list >::node*; tbb::interface5::internal::sokey_t = long unsigned int]' ../../include/tbb/internal/_concurrent_unordered_impl.h:307:17: required from 'tbb::interface5::internal::split_ordered_list::split_ordered_list(tbb::interface5::internal::split_ordered_list::allocator_type) [with T = int; Allocator = debug_allocator; tbb::interface5::internal::split_ordered_list::allocator_type = debug_allocator]' ../../include/tbb/internal/_concurrent_unordered_impl.h:721:110: required from 'tbb::interface5::internal::concurrent_unordered_base::concurrent_unordered_base(const tbb::interface5::internal::concurrent_unordered_base&) [with Traits = tbb::interface5::concurrent_unordered_set_traits, Harness::IsEqual>, debug_allocator, false>]' ../../include/tbb/concurrent_unordered_set.h:56:7: required from 'void TypeTester(const std::__cxx11::list&) [with bool defCtorPresent = true; Table = tbb::interface5::concurrent_unordered_set, Harness::IsEqual, tbb::tbb_allocator >; TableDebugAlloc = tbb::interface5::concurrent_unordered_set, Harness::IsEqual, debug_allocator >; typename Table::value_type = int]' ../../src/test/test_concurrent_unordered_set.cpp:86:128: required from 'void TestTypesSet(const std::__cxx11::list&) [with bool defCtorPresent = true; value_type = int]' ../../src/test/test_concurrent_unordered_set.cpp:96:53: required from here ../../src/test/harness_allocator.h:518:20: warning: 'void* memset(void*, int, size_t)' writing to an object of type 'struct tbb::interface5::internal::split_ordered_list >::node' with no trivial copy-assignment [-Wclass-memaccess] std::memset( ptr, 0xE3E3E3E3, n * sizeof(value_type) ); ~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ In file included from ../../include/tbb/concurrent_unordered_set.h:27, from ../../src/test/test_concurrent_unordered_set.cpp:29: ../../include/tbb/internal/_concurrent_unordered_impl.h:206:12: note: 'struct tbb::interface5::internal::split_ordered_list >::node' declared here struct node : tbb::internal::no_assign ^~~~ In file included from ../../src/test/test_container_move_support.h:26, from ../../src/test/test_concurrent_unordered_common.h:25, from ../../src/test/test_concurrent_unordered_set.cpp:53: ../../src/test/harness_allocator.h: In instantiation of 'debug_allocator::pointer debug_allocator::allocate(debug_allocator::size_type, const void*) [with T = tbb::interface5::internal::flist_iterator >, int>; Allocator = std::allocator; debug_allocator::pointer = tbb::interface5::internal::flist_iterator >, int>*; debug_allocator::size_type = long unsigned int]': ../../include/tbb/internal/_concurrent_unordered_impl.h:1470:28: required from 'void tbb::interface5::internal::concurrent_unordered_base::set_bucket(tbb::interface5::internal::concurrent_unordered_base::size_type, tbb::interface5::internal::concurrent_unordered_base::raw_iterator) [with Traits = tbb::interface5::concurrent_unordered_set_traits, Harness::IsEqual>, debug_allocator, false>; tbb::interface5::internal::concurrent_unordered_base::size_type = long unsigned int; tbb::interface5::internal::concurrent_unordered_base::raw_iterator = tbb::interface5::internal::flist_iterator >, int>]' ../../include/tbb/internal/_concurrent_unordered_impl.h:1207:9: required from 'void tbb::interface5::internal::concurrent_unordered_base::internal_init() [with Traits = tbb::interface5::concurrent_unordered_set_traits, Harness::IsEqual>, debug_allocator, false>]' ../../include/tbb/internal/_concurrent_unordered_impl.h:724:9: required from 'tbb::interface5::internal::concurrent_unordered_base::concurrent_unordered_base(const tbb::interface5::internal::concurrent_unordered_base&) [with Traits = tbb::interface5::concurrent_unordered_set_traits, Harness::IsEqual>, debug_allocator, false>]' ../../include/tbb/concurrent_unordered_set.h:56:7: required from 'void TypeTester(const std::__cxx11::list&) [with bool defCtorPresent = true; Table = tbb::interface5::concurrent_unordered_set, Harness::IsEqual, tbb::tbb_allocator >; TableDebugAlloc = tbb::interface5::concurrent_unordered_set, Harness::IsEqual, debug_allocator >; typename Table::value_type = int]' ../../src/test/test_concurrent_unordered_set.cpp:86:128: required from 'void TestTypesSet(const std::__cxx11::list&) [with bool defCtorPresent = true; value_type = int]' ../../src/test/test_concurrent_unordered_set.cpp:96:53: required from here ../../src/test/harness_allocator.h:518:20: warning: 'void* memset(void*, int, size_t)' writing to an object of non-trivial type 'class tbb::interface5::internal::flist_iterator >, int>'; use assignment instead [-Wclass-memaccess] std::memset( ptr, 0xE3E3E3E3, n * sizeof(value_type) ); ~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ In file included from ../../include/tbb/concurrent_unordered_set.h:27, from ../../src/test/test_concurrent_unordered_set.cpp:29: ../../include/tbb/internal/_concurrent_unordered_impl.h:61:7: note: 'class tbb::interface5::internal::flist_iterator >, int>' declared here class flist_iterator : public std::iterator ^~~~~~~~~~~~~~ In file included from ../../src/test/test_container_move_support.h:26, from ../../src/test/test_concurrent_unordered_common.h:25, from ../../src/test/test_concurrent_unordered_set.cpp:53: ../../src/test/harness_allocator.h: In instantiation of 'debug_allocator::pointer debug_allocator::allocate(debug_allocator::size_type, const void*) [with T = tbb::interface5::internal::split_ordered_list, debug_allocator, std::allocator> >::node; Allocator = std::allocator; debug_allocator::pointer = tbb::interface5::internal::split_ordered_list, debug_allocator, std::allocator> >::node*; debug_allocator::size_type = long unsigned int]': ../../include/tbb/internal/_concurrent_unordered_impl.h:255:19: required from 'tbb::interface5::internal::split_ordered_list::node* tbb::interface5::internal::split_ordered_list::create_node(tbb::interface5::internal::sokey_t) [with T = tbb::atomic; Allocator = debug_allocator, std::allocator>; tbb::interface5::internal::split_ordered_list::nodeptr_t = tbb::interface5::internal::split_ordered_list, debug_allocator, std::allocator> >::node*; tbb::interface5::internal::sokey_t = long unsigned int]' ../../include/tbb/internal/_concurrent_unordered_impl.h:307:17: required from 'tbb::interface5::internal::split_ordered_list::split_ordered_list(tbb::interface5::internal::split_ordered_list::allocator_type) [with T = tbb::atomic; Allocator = debug_allocator, std::allocator>; tbb::interface5::internal::split_ordered_list::allocator_type = debug_allocator, std::allocator>]' ../../include/tbb/internal/_concurrent_unordered_impl.h:721:110: required from 'tbb::interface5::internal::concurrent_unordered_base::concurrent_unordered_base(const tbb::interface5::internal::concurrent_unordered_base&) [with Traits = tbb::interface5::concurrent_unordered_set_traits, tbb::interface5::internal::hash_compare, tbb::tbb_hash >, Harness::IsEqual>, debug_allocator, std::allocator>, false>]' ../../include/tbb/concurrent_unordered_set.h:56:7: required from 'void TypeTester(const std::__cxx11::list&) [with bool defCtorPresent = true; Table = tbb::interface5::concurrent_unordered_set, tbb::tbb_hash >, Harness::IsEqual, tbb::tbb_allocator > >; TableDebugAlloc = tbb::interface5::concurrent_unordered_set, tbb::tbb_hash >, Harness::IsEqual, debug_allocator, std::allocator> >; typename Table::value_type = tbb::atomic]' ../../src/test/test_concurrent_unordered_set.cpp:86:128: required from 'void TestTypesSet(const std::__cxx11::list&) [with bool defCtorPresent = true; value_type = tbb::atomic]' ../../src/test/test_concurrent_unordered_set.cpp:101:53: required from here ../../src/test/harness_allocator.h:518:20: warning: 'void* memset(void*, int, size_t)' writing to an object of type 'struct tbb::interface5::internal::split_ordered_list, debug_allocator, std::allocator> >::node' with no trivial copy-assignment [-Wclass-memaccess] std::memset( ptr, 0xE3E3E3E3, n * sizeof(value_type) ); ~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ In file included from ../../include/tbb/concurrent_unordered_set.h:27, from ../../src/test/test_concurrent_unordered_set.cpp:29: ../../include/tbb/internal/_concurrent_unordered_impl.h:206:12: note: 'struct tbb::interface5::internal::split_ordered_list, debug_allocator, std::allocator> >::node' declared here struct node : tbb::internal::no_assign ^~~~ In file included from ../../src/test/test_container_move_support.h:26, from ../../src/test/test_concurrent_unordered_common.h:25, from ../../src/test/test_concurrent_unordered_set.cpp:53: ../../src/test/harness_allocator.h: In instantiation of 'debug_allocator::pointer debug_allocator::allocate(debug_allocator::size_type, const void*) [with T = tbb::interface5::internal::flist_iterator, debug_allocator, std::allocator> >, tbb::atomic >; Allocator = std::allocator; debug_allocator::pointer = tbb::interface5::internal::flist_iterator, debug_allocator, std::allocator> >, tbb::atomic >*; debug_allocator::size_type = long unsigned int]': ../../include/tbb/internal/_concurrent_unordered_impl.h:1470:28: required from 'void tbb::interface5::internal::concurrent_unordered_base::set_bucket(tbb::interface5::internal::concurrent_unordered_base::size_type, tbb::interface5::internal::concurrent_unordered_base::raw_iterator) [with Traits = tbb::interface5::concurrent_unordered_set_traits, tbb::interface5::internal::hash_compare, tbb::tbb_hash >, Harness::IsEqual>, debug_allocator, std::allocator>, false>; tbb::interface5::internal::concurrent_unordered_base::size_type = long unsigned int; tbb::interface5::internal::concurrent_unordered_base::raw_iterator = tbb::interface5::internal::flist_iterator, debug_allocator, std::allocator> >, tbb::atomic >]' ../../include/tbb/internal/_concurrent_unordered_impl.h:1207:9: required from 'void tbb::interface5::internal::concurrent_unordered_base::internal_init() [with Traits = tbb::interface5::concurrent_unordered_set_traits, tbb::interface5::internal::hash_compare, tbb::tbb_hash >, Harness::IsEqual>, debug_allocator, std::allocator>, false>]' ../../include/tbb/internal/_concurrent_unordered_impl.h:724:9: required from 'tbb::interface5::internal::concurrent_unordered_base::concurrent_unordered_base(const tbb::interface5::internal::concurrent_unordered_base&) [with Traits = tbb::interface5::concurrent_unordered_set_traits, tbb::interface5::internal::hash_compare, tbb::tbb_hash >, Harness::IsEqual>, debug_allocator, std::allocator>, false>]' ../../include/tbb/concurrent_unordered_set.h:56:7: required from 'void TypeTester(const std::__cxx11::list&) [with bool defCtorPresent = true; Table = tbb::interface5::concurrent_unordered_set, tbb::tbb_hash >, Harness::IsEqual, tbb::tbb_allocator > >; TableDebugAlloc = tbb::interface5::concurrent_unordered_set, tbb::tbb_hash >, Harness::IsEqual, debug_allocator, std::allocator> >; typename Table::value_type = tbb::atomic]' ../../src/test/test_concurrent_unordered_set.cpp:86:128: required from 'void TestTypesSet(const std::__cxx11::list&) [with bool defCtorPresent = true; value_type = tbb::atomic]' ../../src/test/test_concurrent_unordered_set.cpp:101:53: required from here ../../src/test/harness_allocator.h:518:20: warning: 'void* memset(void*, int, size_t)' writing to an object of non-trivial type 'class tbb::interface5::internal::flist_iterator, debug_allocator, std::allocator> >, tbb::atomic >'; use assignment instead [-Wclass-memaccess] std::memset( ptr, 0xE3E3E3E3, n * sizeof(value_type) ); ~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ In file included from ../../include/tbb/concurrent_unordered_set.h:27, from ../../src/test/test_concurrent_unordered_set.cpp:29: ../../include/tbb/internal/_concurrent_unordered_impl.h:61:7: note: 'class tbb::interface5::internal::flist_iterator, debug_allocator, std::allocator> >, tbb::atomic >' declared here class flist_iterator : public std::iterator ^~~~~~~~~~~~~~ In file included from ../../src/test/test_container_move_support.h:26, from ../../src/test/test_concurrent_unordered_common.h:25, from ../../src/test/test_concurrent_unordered_set.cpp:53: ../../src/test/harness_allocator.h: In instantiation of 'debug_allocator::pointer debug_allocator::allocate(debug_allocator::size_type, const void*) [with T = tbb::interface5::internal::split_ordered_list, debug_allocator, std::allocator> >::node; Allocator = std::allocator; debug_allocator::pointer = tbb::interface5::internal::split_ordered_list, debug_allocator, std::allocator> >::node*; debug_allocator::size_type = long unsigned int]': ../../include/tbb/internal/_concurrent_unordered_impl.h:255:19: required from 'tbb::interface5::internal::split_ordered_list::node* tbb::interface5::internal::split_ordered_list::create_node(tbb::interface5::internal::sokey_t) [with T = std::reference_wrapper; Allocator = debug_allocator, std::allocator>; tbb::interface5::internal::split_ordered_list::nodeptr_t = tbb::interface5::internal::split_ordered_list, debug_allocator, std::allocator> >::node*; tbb::interface5::internal::sokey_t = long unsigned int]' ../../include/tbb/internal/_concurrent_unordered_impl.h:307:17: required from 'tbb::interface5::internal::split_ordered_list::split_ordered_list(tbb::interface5::internal::split_ordered_list::allocator_type) [with T = std::reference_wrapper; Allocator = debug_allocator, std::allocator>; tbb::interface5::internal::split_ordered_list::allocator_type = debug_allocator, std::allocator>]' ../../include/tbb/internal/_concurrent_unordered_impl.h:721:110: required from 'tbb::interface5::internal::concurrent_unordered_base::concurrent_unordered_base(const tbb::interface5::internal::concurrent_unordered_base&) [with Traits = tbb::interface5::concurrent_unordered_set_traits, tbb::interface5::internal::hash_compare, tbb::tbb_hash >, Harness::IsEqual>, debug_allocator, std::allocator>, false>]' ../../include/tbb/concurrent_unordered_set.h:56:7: required from 'void TypeTester(const std::__cxx11::list&) [with bool defCtorPresent = false; Table = tbb::interface5::concurrent_unordered_set, tbb::tbb_hash >, Harness::IsEqual, tbb::tbb_allocator > >; TableDebugAlloc = tbb::interface5::concurrent_unordered_set, tbb::tbb_hash >, Harness::IsEqual, debug_allocator, std::allocator> >; typename Table::value_type = std::reference_wrapper]' ../../src/test/test_concurrent_unordered_set.cpp:86:128: required from 'void TestTypesSet(const std::__cxx11::list&) [with bool defCtorPresent = false; value_type = std::reference_wrapper]' ../../src/test/test_concurrent_unordered_set.cpp:107:54: required from here ../../src/test/harness_allocator.h:518:20: warning: 'void* memset(void*, int, size_t)' writing to an object of type 'struct tbb::interface5::internal::split_ordered_list, debug_allocator, std::allocator> >::node' with no trivial copy-assignment [-Wclass-memaccess] std::memset( ptr, 0xE3E3E3E3, n * sizeof(value_type) ); ~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ In file included from ../../include/tbb/concurrent_unordered_set.h:27, from ../../src/test/test_concurrent_unordered_set.cpp:29: ../../include/tbb/internal/_concurrent_unordered_impl.h:206:12: note: 'struct tbb::interface5::internal::split_ordered_list, debug_allocator, std::allocator> >::node' declared here struct node : tbb::internal::no_assign ^~~~ In file included from ../../src/test/test_container_move_support.h:26, from ../../src/test/test_concurrent_unordered_common.h:25, from ../../src/test/test_concurrent_unordered_set.cpp:53: ../../src/test/harness_allocator.h: In instantiation of 'debug_allocator::pointer debug_allocator::allocate(debug_allocator::size_type, const void*) [with T = tbb::interface5::internal::flist_iterator, debug_allocator, std::allocator> >, std::reference_wrapper >; Allocator = std::allocator; debug_allocator::pointer = tbb::interface5::internal::flist_iterator, debug_allocator, std::allocator> >, std::reference_wrapper >*; debug_allocator::size_type = long unsigned int]': ../../include/tbb/internal/_concurrent_unordered_impl.h:1470:28: required from 'void tbb::interface5::internal::concurrent_unordered_base::set_bucket(tbb::interface5::internal::concurrent_unordered_base::size_type, tbb::interface5::internal::concurrent_unordered_base::raw_iterator) [with Traits = tbb::interface5::concurrent_unordered_set_traits, tbb::interface5::internal::hash_compare, tbb::tbb_hash >, Harness::IsEqual>, debug_allocator, std::allocator>, false>; tbb::interface5::internal::concurrent_unordered_base::size_type = long unsigned int; tbb::interface5::internal::concurrent_unordered_base::raw_iterator = tbb::interface5::internal::flist_iterator, debug_allocator, std::allocator> >, std::reference_wrapper >]' ../../include/tbb/internal/_concurrent_unordered_impl.h:1207:9: required from 'void tbb::interface5::internal::concurrent_unordered_base::internal_init() [with Traits = tbb::interface5::concurrent_unordered_set_traits, tbb::interface5::internal::hash_compare, tbb::tbb_hash >, Harness::IsEqual>, debug_allocator, std::allocator>, false>]' ../../include/tbb/internal/_concurrent_unordered_impl.h:724:9: required from 'tbb::interface5::internal::concurrent_unordered_base::concurrent_unordered_base(const tbb::interface5::internal::concurrent_unordered_base&) [with Traits = tbb::interface5::concurrent_unordered_set_traits, tbb::interface5::internal::hash_compare, tbb::tbb_hash >, Harness::IsEqual>, debug_allocator, std::allocator>, false>]' ../../include/tbb/concurrent_unordered_set.h:56:7: required from 'void TypeTester(const std::__cxx11::list&) [with bool defCtorPresent = false; Table = tbb::interface5::concurrent_unordered_set, tbb::tbb_hash >, Harness::IsEqual, tbb::tbb_allocator > >; TableDebugAlloc = tbb::interface5::concurrent_unordered_set, tbb::tbb_hash >, Harness::IsEqual, debug_allocator, std::allocator> >; typename Table::value_type = std::reference_wrapper]' ../../src/test/test_concurrent_unordered_set.cpp:86:128: required from 'void TestTypesSet(const std::__cxx11::list&) [with bool defCtorPresent = false; value_type = std::reference_wrapper]' ../../src/test/test_concurrent_unordered_set.cpp:107:54: required from here ../../src/test/harness_allocator.h:518:20: warning: 'void* memset(void*, int, size_t)' writing to an object of non-trivial type 'class tbb::interface5::internal::flist_iterator, debug_allocator, std::allocator> >, std::reference_wrapper >'; use assignment instead [-Wclass-memaccess] std::memset( ptr, 0xE3E3E3E3, n * sizeof(value_type) ); ~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ In file included from ../../include/tbb/concurrent_unordered_set.h:27, from ../../src/test/test_concurrent_unordered_set.cpp:29: ../../include/tbb/internal/_concurrent_unordered_impl.h:61:7: note: 'class tbb::interface5::internal::flist_iterator, debug_allocator, std::allocator> >, std::reference_wrapper >' declared here class flist_iterator : public std::iterator ^~~~~~~~~~~~~~ In file included from ../../src/test/test_container_move_support.h:26, from ../../src/test/test_concurrent_unordered_common.h:25, from ../../src/test/test_concurrent_unordered_set.cpp:53: ../../src/test/harness_allocator.h: In instantiation of 'debug_allocator::pointer debug_allocator::allocate(debug_allocator::size_type, const void*) [with T = tbb::interface5::internal::split_ordered_list, debug_allocator, std::allocator> >::node; Allocator = std::allocator; debug_allocator::pointer = tbb::interface5::internal::split_ordered_list, debug_allocator, std::allocator> >::node*; debug_allocator::size_type = long unsigned int]': ../../include/tbb/internal/_concurrent_unordered_impl.h:255:19: required from 'tbb::interface5::internal::split_ordered_list::node* tbb::interface5::internal::split_ordered_list::create_node(tbb::interface5::internal::sokey_t) [with T = std::shared_ptr; Allocator = debug_allocator, std::allocator>; tbb::interface5::internal::split_ordered_list::nodeptr_t = tbb::interface5::internal::split_ordered_list, debug_allocator, std::allocator> >::node*; tbb::interface5::internal::sokey_t = long unsigned int]' ../../include/tbb/internal/_concurrent_unordered_impl.h:307:17: required from 'tbb::interface5::internal::split_ordered_list::split_ordered_list(tbb::interface5::internal::split_ordered_list::allocator_type) [with T = std::shared_ptr; Allocator = debug_allocator, std::allocator>; tbb::interface5::internal::split_ordered_list::allocator_type = debug_allocator, std::allocator>]' ../../include/tbb/internal/_concurrent_unordered_impl.h:721:110: required from 'tbb::interface5::internal::concurrent_unordered_base::concurrent_unordered_base(const tbb::interface5::internal::concurrent_unordered_base&) [with Traits = tbb::interface5::concurrent_unordered_set_traits, tbb::interface5::internal::hash_compare, tbb::tbb_hash >, Harness::IsEqual>, debug_allocator, std::allocator>, false>]' ../../include/tbb/concurrent_unordered_set.h:56:7: required from 'void TypeTester(const std::__cxx11::list&) [with bool defCtorPresent = true; Table = tbb::interface5::concurrent_unordered_set, tbb::tbb_hash >, Harness::IsEqual, tbb::tbb_allocator > >; TableDebugAlloc = tbb::interface5::concurrent_unordered_set, tbb::tbb_hash >, Harness::IsEqual, debug_allocator, std::allocator> >; typename Table::value_type = std::shared_ptr]' ../../src/test/test_concurrent_unordered_set.cpp:86:128: required from 'void TestTypesSet(const std::__cxx11::list&) [with bool defCtorPresent = true; value_type = std::shared_ptr]' ../../src/test/test_concurrent_unordered_set.cpp:113:53: required from here ../../src/test/harness_allocator.h:518:20: warning: 'void* memset(void*, int, size_t)' writing to an object of type 'struct tbb::interface5::internal::split_ordered_list, debug_allocator, std::allocator> >::node' with no trivial copy-assignment [-Wclass-memaccess] std::memset( ptr, 0xE3E3E3E3, n * sizeof(value_type) ); ~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ In file included from ../../include/tbb/concurrent_unordered_set.h:27, from ../../src/test/test_concurrent_unordered_set.cpp:29: ../../include/tbb/internal/_concurrent_unordered_impl.h:206:12: note: 'struct tbb::interface5::internal::split_ordered_list, debug_allocator, std::allocator> >::node' declared here struct node : tbb::internal::no_assign ^~~~ In file included from ../../src/test/test_container_move_support.h:26, from ../../src/test/test_concurrent_unordered_common.h:25, from ../../src/test/test_concurrent_unordered_set.cpp:53: ../../src/test/harness_allocator.h: In instantiation of 'debug_allocator::pointer debug_allocator::allocate(debug_allocator::size_type, const void*) [with T = tbb::interface5::internal::flist_iterator, debug_allocator, std::allocator> >, std::shared_ptr >; Allocator = std::allocator; debug_allocator::pointer = tbb::interface5::internal::flist_iterator, debug_allocator, std::allocator> >, std::shared_ptr >*; debug_allocator::size_type = long unsigned int]': ../../include/tbb/internal/_concurrent_unordered_impl.h:1470:28: required from 'void tbb::interface5::internal::concurrent_unordered_base::set_bucket(tbb::interface5::internal::concurrent_unordered_base::size_type, tbb::interface5::internal::concurrent_unordered_base::raw_iterator) [with Traits = tbb::interface5::concurrent_unordered_set_traits, tbb::interface5::internal::hash_compare, tbb::tbb_hash >, Harness::IsEqual>, debug_allocator, std::allocator>, false>; tbb::interface5::internal::concurrent_unordered_base::size_type = long unsigned int; tbb::interface5::internal::concurrent_unordered_base::raw_iterator = tbb::interface5::internal::flist_iterator, debug_allocator, std::allocator> >, std::shared_ptr >]' ../../include/tbb/internal/_concurrent_unordered_impl.h:1207:9: required from 'void tbb::interface5::internal::concurrent_unordered_base::internal_init() [with Traits = tbb::interface5::concurrent_unordered_set_traits, tbb::interface5::internal::hash_compare, tbb::tbb_hash >, Harness::IsEqual>, debug_allocator, std::allocator>, false>]' ../../include/tbb/internal/_concurrent_unordered_impl.h:724:9: required from 'tbb::interface5::internal::concurrent_unordered_base::concurrent_unordered_base(const tbb::interface5::internal::concurrent_unordered_base&) [with Traits = tbb::interface5::concurrent_unordered_set_traits, tbb::interface5::internal::hash_compare, tbb::tbb_hash >, Harness::IsEqual>, debug_allocator, std::allocator>, false>]' ../../include/tbb/concurrent_unordered_set.h:56:7: required from 'void TypeTester(const std::__cxx11::list&) [with bool defCtorPresent = true; Table = tbb::interface5::concurrent_unordered_set, tbb::tbb_hash >, Harness::IsEqual, tbb::tbb_allocator > >; TableDebugAlloc = tbb::interface5::concurrent_unordered_set, tbb::tbb_hash >, Harness::IsEqual, debug_allocator, std::allocator> >; typename Table::value_type = std::shared_ptr]' ../../src/test/test_concurrent_unordered_set.cpp:86:128: required from 'void TestTypesSet(const std::__cxx11::list&) [with bool defCtorPresent = true; value_type = std::shared_ptr]' ../../src/test/test_concurrent_unordered_set.cpp:113:53: required from here ../../src/test/harness_allocator.h:518:20: warning: 'void* memset(void*, int, size_t)' writing to an object of non-trivial type 'class tbb::interface5::internal::flist_iterator, debug_allocator, std::allocator> >, std::shared_ptr >'; use assignment instead [-Wclass-memaccess] std::memset( ptr, 0xE3E3E3E3, n * sizeof(value_type) ); ~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ In file included from ../../include/tbb/concurrent_unordered_set.h:27, from ../../src/test/test_concurrent_unordered_set.cpp:29: ../../include/tbb/internal/_concurrent_unordered_impl.h:61:7: note: 'class tbb::interface5::internal::flist_iterator, debug_allocator, std::allocator> >, std::shared_ptr >' declared here class flist_iterator : public std::iterator ^~~~~~~~~~~~~~ In file included from ../../src/test/test_container_move_support.h:26, from ../../src/test/test_concurrent_unordered_common.h:25, from ../../src/test/test_concurrent_unordered_set.cpp:53: ../../src/test/harness_allocator.h: In instantiation of 'debug_allocator::pointer debug_allocator::allocate(debug_allocator::size_type, const void*) [with T = tbb::interface5::internal::split_ordered_list, debug_allocator, std::allocator> >::node; Allocator = std::allocator; debug_allocator::pointer = tbb::interface5::internal::split_ordered_list, debug_allocator, std::allocator> >::node*; debug_allocator::size_type = long unsigned int]': ../../include/tbb/internal/_concurrent_unordered_impl.h:255:19: required from 'tbb::interface5::internal::split_ordered_list::node* tbb::interface5::internal::split_ordered_list::create_node(tbb::interface5::internal::sokey_t) [with T = std::weak_ptr; Allocator = debug_allocator, std::allocator>; tbb::interface5::internal::split_ordered_list::nodeptr_t = tbb::interface5::internal::split_ordered_list, debug_allocator, std::allocator> >::node*; tbb::interface5::internal::sokey_t = long unsigned int]' ../../include/tbb/internal/_concurrent_unordered_impl.h:307:17: required from 'tbb::interface5::internal::split_ordered_list::split_ordered_list(tbb::interface5::internal::split_ordered_list::allocator_type) [with T = std::weak_ptr; Allocator = debug_allocator, std::allocator>; tbb::interface5::internal::split_ordered_list::allocator_type = debug_allocator, std::allocator>]' ../../include/tbb/internal/_concurrent_unordered_impl.h:721:110: required from 'tbb::interface5::internal::concurrent_unordered_base::concurrent_unordered_base(const tbb::interface5::internal::concurrent_unordered_base&) [with Traits = tbb::interface5::concurrent_unordered_set_traits, tbb::interface5::internal::hash_compare, tbb::tbb_hash >, Harness::IsEqual>, debug_allocator, std::allocator>, false>]' ../../include/tbb/concurrent_unordered_set.h:56:7: required from 'void TypeTester(const std::__cxx11::list&) [with bool defCtorPresent = true; Table = tbb::interface5::concurrent_unordered_set, tbb::tbb_hash >, Harness::IsEqual, tbb::tbb_allocator > >; TableDebugAlloc = tbb::interface5::concurrent_unordered_set, tbb::tbb_hash >, Harness::IsEqual, debug_allocator, std::allocator> >; typename Table::value_type = std::weak_ptr]' ../../src/test/test_concurrent_unordered_set.cpp:86:128: required from 'void TestTypesSet(const std::__cxx11::list&) [with bool defCtorPresent = true; value_type = std::weak_ptr]' ../../src/test/test_concurrent_unordered_set.cpp:117:52: required from here ../../src/test/harness_allocator.h:518:20: warning: 'void* memset(void*, int, size_t)' writing to an object of type 'struct tbb::interface5::internal::split_ordered_list, debug_allocator, std::allocator> >::node' with no trivial copy-assignment [-Wclass-memaccess] std::memset( ptr, 0xE3E3E3E3, n * sizeof(value_type) ); ~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ In file included from ../../include/tbb/concurrent_unordered_set.h:27, from ../../src/test/test_concurrent_unordered_set.cpp:29: ../../include/tbb/internal/_concurrent_unordered_impl.h:206:12: note: 'struct tbb::interface5::internal::split_ordered_list, debug_allocator, std::allocator> >::node' declared here struct node : tbb::internal::no_assign ^~~~ In file included from ../../src/test/test_container_move_support.h:26, from ../../src/test/test_concurrent_unordered_common.h:25, from ../../src/test/test_concurrent_unordered_set.cpp:53: ../../src/test/harness_allocator.h: In instantiation of 'debug_allocator::pointer debug_allocator::allocate(debug_allocator::size_type, const void*) [with T = tbb::interface5::internal::flist_iterator, debug_allocator, std::allocator> >, std::weak_ptr >; Allocator = std::allocator; debug_allocator::pointer = tbb::interface5::internal::flist_iterator, debug_allocator, std::allocator> >, std::weak_ptr >*; debug_allocator::size_type = long unsigned int]': ../../include/tbb/internal/_concurrent_unordered_impl.h:1470:28: required from 'void tbb::interface5::internal::concurrent_unordered_base::set_bucket(tbb::interface5::internal::concurrent_unordered_base::size_type, tbb::interface5::internal::concurrent_unordered_base::raw_iterator) [with Traits = tbb::interface5::concurrent_unordered_set_traits, tbb::interface5::internal::hash_compare, tbb::tbb_hash >, Harness::IsEqual>, debug_allocator, std::allocator>, false>; tbb::interface5::internal::concurrent_unordered_base::size_type = long unsigned int; tbb::interface5::internal::concurrent_unordered_base::raw_iterator = tbb::interface5::internal::flist_iterator, debug_allocator, std::allocator> >, std::weak_ptr >]' ../../include/tbb/internal/_concurrent_unordered_impl.h:1207:9: required from 'void tbb::interface5::internal::concurrent_unordered_base::internal_init() [with Traits = tbb::interface5::concurrent_unordered_set_traits, tbb::interface5::internal::hash_compare, tbb::tbb_hash >, Harness::IsEqual>, debug_allocator, std::allocator>, false>]' ../../include/tbb/internal/_concurrent_unordered_impl.h:724:9: required from 'tbb::interface5::internal::concurrent_unordered_base::concurrent_unordered_base(const tbb::interface5::internal::concurrent_unordered_base&) [with Traits = tbb::interface5::concurrent_unordered_set_traits, tbb::interface5::internal::hash_compare, tbb::tbb_hash >, Harness::IsEqual>, debug_allocator, std::allocator>, false>]' ../../include/tbb/concurrent_unordered_set.h:56:7: required from 'void TypeTester(const std::__cxx11::list&) [with bool defCtorPresent = true; Table = tbb::interface5::concurrent_unordered_set, tbb::tbb_hash >, Harness::IsEqual, tbb::tbb_allocator > >; TableDebugAlloc = tbb::interface5::concurrent_unordered_set, tbb::tbb_hash >, Harness::IsEqual, debug_allocator, std::allocator> >; typename Table::value_type = std::weak_ptr]' ../../src/test/test_concurrent_unordered_set.cpp:86:128: required from 'void TestTypesSet(const std::__cxx11::list&) [with bool defCtorPresent = true; value_type = std::weak_ptr]' ../../src/test/test_concurrent_unordered_set.cpp:117:52: required from here ../../src/test/harness_allocator.h:518:20: warning: 'void* memset(void*, int, size_t)' writing to an object of non-trivial type 'class tbb::interface5::internal::flist_iterator, debug_allocator, std::allocator> >, std::weak_ptr >'; use assignment instead [-Wclass-memaccess] std::memset( ptr, 0xE3E3E3E3, n * sizeof(value_type) ); ~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ In file included from ../../include/tbb/concurrent_unordered_set.h:27, from ../../src/test/test_concurrent_unordered_set.cpp:29: ../../include/tbb/internal/_concurrent_unordered_impl.h:61:7: note: 'class tbb::interface5::internal::flist_iterator, debug_allocator, std::allocator> >, std::weak_ptr >' declared here class flist_iterator : public std::iterator ^~~~~~~~~~~~~~ In file included from ../../src/test/test_container_move_support.h:26, from ../../src/test/test_concurrent_unordered_common.h:25, from ../../src/test/test_concurrent_unordered_set.cpp:53: ../../src/test/harness_allocator.h: In instantiation of 'debug_allocator::pointer debug_allocator::allocate(debug_allocator::size_type, const void*) [with T = tbb::interface5::internal::split_ordered_list, tbb::atomic > >::node; Allocator = std::allocator; debug_allocator::pointer = tbb::interface5::internal::split_ordered_list, tbb::atomic > >::node*; debug_allocator::size_type = long unsigned int]': ../../src/test/harness_allocator.h:474:43: required from 'local_counting_allocator::pointer local_counting_allocator::allocate(local_counting_allocator::size_type) [with base_alloc_t = debug_allocator, tbb::atomic > >::node, std::allocator>; count_t = tbb::atomic; local_counting_allocator::pointer = tbb::interface5::internal::split_ordered_list, tbb::atomic > >::node*; local_counting_allocator::size_type = long unsigned int]' ../../include/tbb/internal/_concurrent_unordered_impl.h:264:19: required from 'tbb::interface5::internal::split_ordered_list::node* tbb::interface5::internal::split_ordered_list::create_node(tbb::interface5::internal::sokey_t, Arg&&, tbb::internal::true_type) [with Arg = FooWithAssign; T = FooWithAssign; Allocator = local_counting_allocator, tbb::atomic >; tbb::interface5::internal::split_ordered_list::nodeptr_t = tbb::interface5::internal::split_ordered_list, tbb::atomic > >::node*; tbb::interface5::internal::sokey_t = long unsigned int; tbb::internal::true_type = tbb::internal::bool_constant]' ../../include/tbb/internal/_concurrent_unordered_impl.h:1282:27: required from 'std::pair::iterator, bool> tbb::interface5::internal::concurrent_unordered_base::internal_insert(ValueType&&, tbb::interface5::internal::concurrent_unordered_base::nodeptr_t) [with AllowCreate = tbb::internal::bool_constant; ValueType = FooWithAssign; Traits = tbb::interface5::concurrent_unordered_set_traits, std::equal_to >, local_counting_allocator, std::allocator> >, false>; typename tbb::interface5::internal::split_ordered_list::iterator = tbb::interface5::internal::solist_iterator, tbb::atomic > >, FooWithAssign>; tbb::interface5::internal::concurrent_unordered_base::nodeptr_t = tbb::interface5::internal::split_ordered_list, tbb::atomic > >::node*]' ../../include/tbb/internal/_concurrent_unordered_impl.h:969:73: required from 'std::pair::iterator, bool> tbb::interface5::internal::concurrent_unordered_base::insert(tbb::interface5::internal::concurrent_unordered_base::value_type&&) [with Traits = tbb::interface5::concurrent_unordered_set_traits, std::equal_to >, local_counting_allocator, std::allocator> >, false>; typename tbb::interface5::internal::split_ordered_list::iterator = tbb::interface5::internal::solist_iterator, tbb::atomic > >, FooWithAssign>; tbb::interface5::internal::concurrent_unordered_base::value_type = FooWithAssign]' ../../src/test/test_concurrent_unordered_common.h:254:43: required from 'void test_basic(const char*, do_check_element_state) [with T = tbb::interface5::concurrent_unordered_set, std::equal_to, local_counting_allocator, std::allocator> > >; do_check_element_state = tbb::internal::bool_constant]' ../../src/test/test_concurrent_unordered_set.cpp:175:113: required from here ../../src/test/harness_allocator.h:518:20: warning: 'void* memset(void*, int, size_t)' writing to an object of type 'struct tbb::interface5::internal::split_ordered_list, tbb::atomic > >::node' with no trivial copy-assignment [-Wclass-memaccess] std::memset( ptr, 0xE3E3E3E3, n * sizeof(value_type) ); ~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ In file included from ../../include/tbb/concurrent_unordered_set.h:27, from ../../src/test/test_concurrent_unordered_set.cpp:29: ../../include/tbb/internal/_concurrent_unordered_impl.h:206:12: note: 'struct tbb::interface5::internal::split_ordered_list, tbb::atomic > >::node' declared here struct node : tbb::internal::no_assign ^~~~ In file included from ../../include/tbb/concurrent_unordered_set.h:27, from ../../src/test/test_concurrent_unordered_set.cpp:29: ../../include/tbb/internal/_concurrent_unordered_impl.h: In instantiation of 'void tbb::interface5::internal::concurrent_unordered_base::set_bucket(tbb::interface5::internal::concurrent_unordered_base::size_type, tbb::interface5::internal::concurrent_unordered_base::raw_iterator) [with Traits = tbb::interface5::concurrent_unordered_set_traits, std::equal_to >, std::allocator, false>; tbb::interface5::internal::concurrent_unordered_base::size_type = long unsigned int; tbb::interface5::internal::concurrent_unordered_base::raw_iterator = tbb::interface5::internal::flist_iterator >, FooWithAssign>]': ../../include/tbb/internal/_concurrent_unordered_impl.h:760:25: required from 'tbb::interface5::internal::concurrent_unordered_base::concurrent_unordered_base(tbb::interface5::internal::concurrent_unordered_base&&, const allocator_type&) [with Traits = tbb::interface5::concurrent_unordered_set_traits, std::equal_to >, std::allocator, false>; tbb::interface5::internal::concurrent_unordered_base::allocator_type = std::allocator]' ../../include/tbb/internal/_concurrent_unordered_impl.h:798:43: required from 'tbb::interface5::internal::concurrent_unordered_base& tbb::interface5::internal::concurrent_unordered_base::operator=(tbb::interface5::internal::concurrent_unordered_base&&) [with Traits = tbb::interface5::concurrent_unordered_set_traits, std::equal_to >, std::allocator, false>]' ../../include/tbb/concurrent_unordered_set.h:56:7: required from 'void TestMoveAssignOperatorPOCMANonStateful() [with container_traits = cu_set_type]' ../../src/test/test_container_move_support.h:794:61: required from 'void TestMoveAssignOperator() [with container_traits = cu_set_type]' ../../src/test/test_concurrent_unordered_common.h:814:45: required from 'void test_rvalue_ref_support(const char*) [with container_traits = cu_set_type]' ../../src/test/test_concurrent_unordered_set.cpp:194:70: required from here ../../include/tbb/internal/_concurrent_unordered_impl.h:1471:24: warning: 'void* memset(void*, int, size_t)' clearing an object of non-trivial type 'tbb::interface5::internal::concurrent_unordered_base, std::equal_to >, std::allocator, false> >::raw_iterator' {aka 'class tbb::interface5::internal::flist_iterator >, FooWithAssign>'}; use assignment or value-initialization instead [-Wclass-memaccess] std::memset(new_segment, 0, sz*sizeof(raw_iterator)); ~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ In file included from ../../include/tbb/concurrent_unordered_set.h:27, from ../../src/test/test_concurrent_unordered_set.cpp:29: ../../include/tbb/internal/_concurrent_unordered_impl.h:61:7: note: 'tbb::interface5::internal::concurrent_unordered_base, std::equal_to >, std::allocator, false> >::raw_iterator' {aka 'class tbb::interface5::internal::flist_iterator >, FooWithAssign>'} declared here class flist_iterator : public std::iterator ^~~~~~~~~~~~~~ In file included from ../../include/tbb/concurrent_unordered_set.h:27, from ../../src/test/test_concurrent_unordered_set.cpp:29: ../../include/tbb/internal/_concurrent_unordered_impl.h: In instantiation of 'void tbb::interface5::internal::concurrent_unordered_base::set_bucket(tbb::interface5::internal::concurrent_unordered_base::size_type, tbb::interface5::internal::concurrent_unordered_base::raw_iterator) [with Traits = tbb::interface5::concurrent_unordered_set_traits, std::equal_to >, static_shared_counting_allocator, arena, long unsigned int>, long unsigned int>, false>; tbb::interface5::internal::concurrent_unordered_base::size_type = long unsigned int; tbb::interface5::internal::concurrent_unordered_base::raw_iterator = tbb::interface5::internal::flist_iterator, arena, long unsigned int>, long unsigned int> >, FooWithAssign>]': ../../include/tbb/internal/_concurrent_unordered_impl.h:760:25: required from 'tbb::interface5::internal::concurrent_unordered_base::concurrent_unordered_base(tbb::interface5::internal::concurrent_unordered_base&&, const allocator_type&) [with Traits = tbb::interface5::concurrent_unordered_set_traits, std::equal_to >, static_shared_counting_allocator, arena, long unsigned int>, long unsigned int>, false>; tbb::interface5::internal::concurrent_unordered_base::allocator_type = static_shared_counting_allocator, arena, long unsigned int>, long unsigned int>]' ../../include/tbb/internal/_concurrent_unordered_impl.h:798:43: required from 'tbb::interface5::internal::concurrent_unordered_base& tbb::interface5::internal::concurrent_unordered_base::operator=(tbb::interface5::internal::concurrent_unordered_base&&) [with Traits = tbb::interface5::concurrent_unordered_set_traits, std::equal_to >, static_shared_counting_allocator, arena, long unsigned int>, long unsigned int>, false>]' ../../include/tbb/concurrent_unordered_set.h:56:7: required from 'void TestMoveAssignOperatorPOCMAStateful() [with container_traits = cu_set_type]' ../../src/test/test_container_move_support.h:795:58: required from 'void TestMoveAssignOperator() [with container_traits = cu_set_type]' ../../src/test/test_concurrent_unordered_common.h:814:45: required from 'void test_rvalue_ref_support(const char*) [with container_traits = cu_set_type]' ../../src/test/test_concurrent_unordered_set.cpp:194:70: required from here ../../include/tbb/internal/_concurrent_unordered_impl.h:1471:24: warning: 'void* memset(void*, int, size_t)' clearing an object of non-trivial type 'tbb::interface5::internal::concurrent_unordered_base, std::equal_to >, static_shared_counting_allocator, arena, long unsigned int>, long unsigned int>, false> >::raw_iterator' {aka 'class tbb::interface5::internal::flist_iterator, arena, long unsigned int>, long unsigned int> >, FooWithAssign>'}; use assignment or value-initialization instead [-Wclass-memaccess] std::memset(new_segment, 0, sz*sizeof(raw_iterator)); ~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ In file included from ../../include/tbb/concurrent_unordered_set.h:27, from ../../src/test/test_concurrent_unordered_set.cpp:29: ../../include/tbb/internal/_concurrent_unordered_impl.h:61:7: note: 'tbb::interface5::internal::concurrent_unordered_base, std::equal_to >, static_shared_counting_allocator, arena, long unsigned int>, long unsigned int>, false> >::raw_iterator' {aka 'class tbb::interface5::internal::flist_iterator, arena, long unsigned int>, long unsigned int> >, FooWithAssign>'} declared here class flist_iterator : public std::iterator ^~~~~~~~~~~~~~ In file included from ../../include/tbb/concurrent_unordered_set.h:27, from ../../src/test/test_concurrent_unordered_set.cpp:29: ../../include/tbb/internal/_concurrent_unordered_impl.h: In instantiation of 'void tbb::interface5::internal::concurrent_unordered_base::set_bucket(tbb::interface5::internal::concurrent_unordered_base::size_type, tbb::interface5::internal::concurrent_unordered_base::raw_iterator) [with Traits = tbb::interface5::concurrent_unordered_set_traits, std::equal_to >, std::allocator, true>; tbb::interface5::internal::concurrent_unordered_base::size_type = long unsigned int; tbb::interface5::internal::concurrent_unordered_base::raw_iterator = tbb::interface5::internal::flist_iterator >, FooWithAssign>]': ../../include/tbb/internal/_concurrent_unordered_impl.h:760:25: required from 'tbb::interface5::internal::concurrent_unordered_base::concurrent_unordered_base(tbb::interface5::internal::concurrent_unordered_base&&, const allocator_type&) [with Traits = tbb::interface5::concurrent_unordered_set_traits, std::equal_to >, std::allocator, true>; tbb::interface5::internal::concurrent_unordered_base::allocator_type = std::allocator]' ../../include/tbb/internal/_concurrent_unordered_impl.h:798:43: required from 'tbb::interface5::internal::concurrent_unordered_base& tbb::interface5::internal::concurrent_unordered_base::operator=(tbb::interface5::internal::concurrent_unordered_base&&) [with Traits = tbb::interface5::concurrent_unordered_set_traits, std::equal_to >, std::allocator, true>]' ../../include/tbb/concurrent_unordered_set.h:152:7: required from 'void TestMoveAssignOperatorPOCMANonStateful() [with container_traits = cu_multiset_type]' ../../src/test/test_container_move_support.h:794:61: required from 'void TestMoveAssignOperator() [with container_traits = cu_multiset_type]' ../../src/test/test_concurrent_unordered_common.h:814:45: required from 'void test_rvalue_ref_support(const char*) [with container_traits = cu_multiset_type]' ../../src/test/test_concurrent_unordered_set.cpp:195:80: required from here ../../include/tbb/internal/_concurrent_unordered_impl.h:1471:24: warning: 'void* memset(void*, int, size_t)' clearing an object of non-trivial type 'tbb::interface5::internal::concurrent_unordered_base, std::equal_to >, std::allocator, true> >::raw_iterator' {aka 'class tbb::interface5::internal::flist_iterator >, FooWithAssign>'}; use assignment or value-initialization instead [-Wclass-memaccess] std::memset(new_segment, 0, sz*sizeof(raw_iterator)); ~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ In file included from ../../include/tbb/concurrent_unordered_set.h:27, from ../../src/test/test_concurrent_unordered_set.cpp:29: ../../include/tbb/internal/_concurrent_unordered_impl.h:61:7: note: 'tbb::interface5::internal::concurrent_unordered_base, std::equal_to >, std::allocator, true> >::raw_iterator' {aka 'class tbb::interface5::internal::flist_iterator >, FooWithAssign>'} declared here class flist_iterator : public std::iterator ^~~~~~~~~~~~~~ In file included from ../../include/tbb/concurrent_unordered_set.h:27, from ../../src/test/test_concurrent_unordered_set.cpp:29: ../../include/tbb/internal/_concurrent_unordered_impl.h: In instantiation of 'void tbb::interface5::internal::concurrent_unordered_base::set_bucket(tbb::interface5::internal::concurrent_unordered_base::size_type, tbb::interface5::internal::concurrent_unordered_base::raw_iterator) [with Traits = tbb::interface5::concurrent_unordered_set_traits, std::equal_to >, static_shared_counting_allocator, arena, long unsigned int>, long unsigned int>, true>; tbb::interface5::internal::concurrent_unordered_base::size_type = long unsigned int; tbb::interface5::internal::concurrent_unordered_base::raw_iterator = tbb::interface5::internal::flist_iterator, arena, long unsigned int>, long unsigned int> >, FooWithAssign>]': ../../include/tbb/internal/_concurrent_unordered_impl.h:760:25: required from 'tbb::interface5::internal::concurrent_unordered_base::concurrent_unordered_base(tbb::interface5::internal::concurrent_unordered_base&&, const allocator_type&) [with Traits = tbb::interface5::concurrent_unordered_set_traits, std::equal_to >, static_shared_counting_allocator, arena, long unsigned int>, long unsigned int>, true>; tbb::interface5::internal::concurrent_unordered_base::allocator_type = static_shared_counting_allocator, arena, long unsigned int>, long unsigned int>]' ../../include/tbb/internal/_concurrent_unordered_impl.h:798:43: required from 'tbb::interface5::internal::concurrent_unordered_base& tbb::interface5::internal::concurrent_unordered_base::operator=(tbb::interface5::internal::concurrent_unordered_base&&) [with Traits = tbb::interface5::concurrent_unordered_set_traits, std::equal_to >, static_shared_counting_allocator, arena, long unsigned int>, long unsigned int>, true>]' ../../include/tbb/concurrent_unordered_set.h:152:7: required from 'void TestMoveAssignOperatorPOCMAStateful() [with container_traits = cu_multiset_type]' ../../src/test/test_container_move_support.h:795:58: required from 'void TestMoveAssignOperator() [with container_traits = cu_multiset_type]' ../../src/test/test_concurrent_unordered_common.h:814:45: required from 'void test_rvalue_ref_support(const char*) [with container_traits = cu_multiset_type]' ../../src/test/test_concurrent_unordered_set.cpp:195:80: required from here ../../include/tbb/internal/_concurrent_unordered_impl.h:1471:24: warning: 'void* memset(void*, int, size_t)' clearing an object of non-trivial type 'tbb::interface5::internal::concurrent_unordered_base, std::equal_to >, static_shared_counting_allocator, arena, long unsigned int>, long unsigned int>, true> >::raw_iterator' {aka 'class tbb::interface5::internal::flist_iterator, arena, long unsigned int>, long unsigned int> >, FooWithAssign>'}; use assignment or value-initialization instead [-Wclass-memaccess] std::memset(new_segment, 0, sz*sizeof(raw_iterator)); ~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ In file included from ../../include/tbb/concurrent_unordered_set.h:27, from ../../src/test/test_concurrent_unordered_set.cpp:29: ../../include/tbb/internal/_concurrent_unordered_impl.h:61:7: note: 'tbb::interface5::internal::concurrent_unordered_base, std::equal_to >, static_shared_counting_allocator, arena, long unsigned int>, long unsigned int>, true> >::raw_iterator' {aka 'class tbb::interface5::internal::flist_iterator, arena, long unsigned int>, long unsigned int> >, FooWithAssign>'} declared here class flist_iterator : public std::iterator ^~~~~~~~~~~~~~ In file included from ../../src/test/test_container_move_support.h:26, from ../../src/test/test_concurrent_unordered_common.h:25, from ../../src/test/test_concurrent_unordered_set.cpp:53: ../../src/test/harness_allocator.h: In instantiation of 'debug_allocator::pointer debug_allocator::allocate(debug_allocator::size_type, const void*) [with T = tbb::interface5::internal::split_ordered_list, tbb::atomic > >::node; Allocator = std::allocator; debug_allocator::pointer = tbb::interface5::internal::split_ordered_list, tbb::atomic > >::node*; debug_allocator::size_type = long unsigned int]': ../../src/test/harness_allocator.h:474:43: required from 'local_counting_allocator::pointer local_counting_allocator::allocate(local_counting_allocator::size_type) [with base_alloc_t = debug_allocator, tbb::atomic > >::node, std::allocator>; count_t = tbb::atomic; local_counting_allocator::pointer = tbb::interface5::internal::split_ordered_list, tbb::atomic > >::node*; local_counting_allocator::size_type = long unsigned int]' ../../include/tbb/internal/_concurrent_unordered_impl.h:264:19: required from 'tbb::interface5::internal::split_ordered_list::node* tbb::interface5::internal::split_ordered_list::create_node(tbb::interface5::internal::sokey_t, Arg&&, tbb::internal::true_type) [with Arg = int; T = int; Allocator = local_counting_allocator, tbb::atomic >; tbb::interface5::internal::split_ordered_list::nodeptr_t = tbb::interface5::internal::split_ordered_list, tbb::atomic > >::node*; tbb::interface5::internal::sokey_t = long unsigned int; tbb::internal::true_type = tbb::internal::bool_constant]' ../../include/tbb/internal/_concurrent_unordered_impl.h:1282:27: required from 'std::pair::iterator, bool> tbb::interface5::internal::concurrent_unordered_base::internal_insert(ValueType&&, tbb::interface5::internal::concurrent_unordered_base::nodeptr_t) [with AllowCreate = tbb::internal::bool_constant; ValueType = int; Traits = tbb::interface5::concurrent_unordered_set_traits, std::equal_to >, local_counting_allocator, std::allocator> >, false>; typename tbb::interface5::internal::split_ordered_list::iterator = tbb::interface5::internal::solist_iterator, tbb::atomic > >, int>; tbb::interface5::internal::concurrent_unordered_base::nodeptr_t = tbb::interface5::internal::split_ordered_list, tbb::atomic > >::node*]' ../../include/tbb/internal/_concurrent_unordered_impl.h:969:73: required from 'std::pair::iterator, bool> tbb::interface5::internal::concurrent_unordered_base::insert(tbb::interface5::internal::concurrent_unordered_base::value_type&&) [with Traits = tbb::interface5::concurrent_unordered_set_traits, std::equal_to >, local_counting_allocator, std::allocator> >, false>; typename tbb::interface5::internal::split_ordered_list::iterator = tbb::interface5::internal::solist_iterator, tbb::atomic > >, int>; tbb::interface5::internal::concurrent_unordered_base::value_type = int]' ../../src/test/test_concurrent_unordered_common.h:254:43: required from 'void test_basic(const char*, do_check_element_state) [with T = tbb::interface5::concurrent_unordered_set, std::equal_to, local_counting_allocator, std::allocator> > >; do_check_element_state = tbb::internal::bool_constant]' ../../src/test/test_concurrent_unordered_common.h:473:18: required from 'void test_basic(const char*) [with T = tbb::interface5::concurrent_unordered_set, std::equal_to, local_counting_allocator, std::allocator> > >]' ../../src/test/test_concurrent_unordered_set.cpp:163:51: required from here ../../src/test/harness_allocator.h:518:20: warning: 'void* memset(void*, int, size_t)' writing to an object of type 'struct tbb::interface5::internal::split_ordered_list, tbb::atomic > >::node' with no trivial copy-assignment [-Wclass-memaccess] std::memset( ptr, 0xE3E3E3E3, n * sizeof(value_type) ); ~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ In file included from ../../include/tbb/concurrent_unordered_set.h:27, from ../../src/test/test_concurrent_unordered_set.cpp:29: ../../include/tbb/internal/_concurrent_unordered_impl.h:206:12: note: 'struct tbb::interface5::internal::split_ordered_list, tbb::atomic > >::node' declared here struct node : tbb::internal::no_assign ^~~~ In file included from ../../src/test/test_container_move_support.h:26, from ../../src/test/test_concurrent_unordered_common.h:25, from ../../src/test/test_concurrent_unordered_set.cpp:53: ../../src/test/harness_allocator.h: In instantiation of 'debug_allocator::pointer debug_allocator::allocate(debug_allocator::size_type, const void*) [with T = tbb::interface5::internal::split_ordered_list, local_counting_allocator, std::allocator>, tbb::atomic > >::node; Allocator = std::allocator; debug_allocator::pointer = tbb::interface5::internal::split_ordered_list, local_counting_allocator, std::allocator>, tbb::atomic > >::node*; debug_allocator::size_type = long unsigned int]': ../../src/test/harness_allocator.h:474:43: required from 'local_counting_allocator::pointer local_counting_allocator::allocate(local_counting_allocator::size_type) [with base_alloc_t = debug_allocator, local_counting_allocator, std::allocator>, tbb::atomic > >::node, std::allocator>; count_t = tbb::atomic; local_counting_allocator::pointer = tbb::interface5::internal::split_ordered_list, local_counting_allocator, std::allocator>, tbb::atomic > >::node*; local_counting_allocator::size_type = long unsigned int]' ../../include/tbb/internal/_concurrent_unordered_impl.h:264:19: required from 'tbb::interface5::internal::split_ordered_list::node* tbb::interface5::internal::split_ordered_list::create_node(tbb::interface5::internal::sokey_t, Arg&&, tbb::internal::true_type) [with Arg = check_type; T = check_type; Allocator = local_counting_allocator, std::allocator>, tbb::atomic >; tbb::interface5::internal::split_ordered_list::nodeptr_t = tbb::interface5::internal::split_ordered_list, local_counting_allocator, std::allocator>, tbb::atomic > >::node*; tbb::interface5::internal::sokey_t = long unsigned int; tbb::internal::true_type = tbb::internal::bool_constant]' ../../include/tbb/internal/_concurrent_unordered_impl.h:1282:27: required from 'std::pair::iterator, bool> tbb::interface5::internal::concurrent_unordered_base::internal_insert(ValueType&&, tbb::interface5::internal::concurrent_unordered_base::nodeptr_t) [with AllowCreate = tbb::internal::bool_constant; ValueType = check_type; Traits = tbb::interface5::concurrent_unordered_set_traits, tbb::interface5::internal::hash_compare, tbb::tbb_hash >, std::equal_to > >, local_counting_allocator, std::allocator> >, false>; typename tbb::interface5::internal::split_ordered_list::iterator = tbb::interface5::internal::solist_iterator, local_counting_allocator, std::allocator>, tbb::atomic > >, check_type >; tbb::interface5::internal::concurrent_unordered_base::nodeptr_t = tbb::interface5::internal::split_ordered_list, local_counting_allocator, std::allocator>, tbb::atomic > >::node*]' ../../include/tbb/internal/_concurrent_unordered_impl.h:969:73: required from 'std::pair::iterator, bool> tbb::interface5::internal::concurrent_unordered_base::insert(tbb::interface5::internal::concurrent_unordered_base::value_type&&) [with Traits = tbb::interface5::concurrent_unordered_set_traits, tbb::interface5::internal::hash_compare, tbb::tbb_hash >, std::equal_to > >, local_counting_allocator, std::allocator> >, false>; typename tbb::interface5::internal::split_ordered_list::iterator = tbb::interface5::internal::solist_iterator, local_counting_allocator, std::allocator>, tbb::atomic > >, check_type >; tbb::interface5::internal::concurrent_unordered_base::value_type = check_type]' ../../src/test/test_concurrent_unordered_common.h:254:43: required from 'void test_basic(const char*, do_check_element_state) [with T = tbb::interface5::concurrent_unordered_set, tbb::tbb_hash >, std::equal_to >, local_counting_allocator, std::allocator> > >; do_check_element_state = tbb::internal::bool_constant]' ../../src/test/test_concurrent_unordered_common.h:473:18: required from 'void test_basic(const char*) [with T = tbb::interface5::concurrent_unordered_set, tbb::tbb_hash >, std::equal_to >, local_counting_allocator, std::allocator> > >]' ../../src/test/test_concurrent_unordered_set.cpp:173:111: required from here ../../src/test/harness_allocator.h:518:20: warning: 'void* memset(void*, int, size_t)' writing to an object of type 'struct tbb::interface5::internal::split_ordered_list, local_counting_allocator, std::allocator>, tbb::atomic > >::node' with no trivial copy-assignment [-Wclass-memaccess] std::memset( ptr, 0xE3E3E3E3, n * sizeof(value_type) ); ~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ In file included from ../../include/tbb/concurrent_unordered_set.h:27, from ../../src/test/test_concurrent_unordered_set.cpp:29: ../../include/tbb/internal/_concurrent_unordered_impl.h:206:12: note: 'struct tbb::interface5::internal::split_ordered_list, local_counting_allocator, std::allocator>, tbb::atomic > >::node' declared here struct node : tbb::internal::no_assign ^~~~ In file included from ../../include/tbb/concurrent_unordered_set.h:27, from ../../src/test/test_concurrent_unordered_set.cpp:29: ../../include/tbb/internal/_concurrent_unordered_impl.h: In instantiation of 'void tbb::interface5::internal::concurrent_unordered_base::set_bucket(tbb::interface5::internal::concurrent_unordered_base::size_type, tbb::interface5::internal::concurrent_unordered_base::raw_iterator) [with Traits = tbb::interface5::concurrent_unordered_set_traits, std::equal_to >, tbb::tbb_allocator, true>; tbb::interface5::internal::concurrent_unordered_base::size_type = long unsigned int; tbb::interface5::internal::concurrent_unordered_base::raw_iterator = tbb::interface5::internal::flist_iterator >, int>]': ../../include/tbb/internal/_concurrent_unordered_impl.h:1207:9: required from 'void tbb::interface5::internal::concurrent_unordered_base::internal_init() [with Traits = tbb::interface5::concurrent_unordered_set_traits, std::equal_to >, tbb::tbb_allocator, true>]' ../../include/tbb/internal/_concurrent_unordered_impl.h:710:9: required from 'tbb::interface5::internal::concurrent_unordered_base::concurrent_unordered_base(tbb::interface5::internal::concurrent_unordered_base::size_type, const hash_compare&, const allocator_type&) [with Traits = tbb::interface5::concurrent_unordered_set_traits, std::equal_to >, tbb::tbb_allocator, true>; tbb::interface5::internal::concurrent_unordered_base::size_type = long unsigned int; tbb::interface5::internal::concurrent_unordered_base::hash_compare = tbb::interface5::internal::hash_compare, std::equal_to >; tbb::interface5::internal::concurrent_unordered_base::allocator_type = tbb::tbb_allocator]' ../../include/tbb/concurrent_unordered_set.h:203:73: required from 'tbb::interface5::concurrent_unordered_multiset::concurrent_unordered_multiset(Iterator, Iterator, tbb::interface5::concurrent_unordered_multiset::size_type, const hasher&, const key_equal&, const allocator_type&) [with Iterator = __gnu_cxx::__normal_iterator > >; Key = int; Hasher = tbb::tbb_hash; Key_equality = std::equal_to; Allocator = tbb::tbb_allocator; tbb::interface5::concurrent_unordered_multiset::size_type = long unsigned int; tbb::interface5::concurrent_unordered_multiset::hasher = tbb::tbb_hash; tbb::interface5::concurrent_unordered_multiset::key_equal = std::equal_to; tbb::interface5::concurrent_unordered_multiset::allocator_type = tbb::tbb_allocator]' ../../src/test/test_initializer_list.h:72:24: required from 'void initializer_list_support_tests::TestInitListSupport(std::initializer_list) [with container_type = tbb::interface5::concurrent_unordered_multiset; test_assign = initializer_list_support_tests::skip_test; test_special = initializer_list_support_tests::test_special_insert; typename Traits::value_type = int]' ../../src/test/test_initializer_list.h:87:69: required from 'void initializer_list_support_tests::TestInitListSupportWithoutAssign(std::initializer_list) [with container_type = tbb::interface5::concurrent_unordered_multiset; test_special = initializer_list_support_tests::test_special_insert; typename Traits::value_type = int]' ../../src/test/test_concurrent_unordered_common.h:138:70: required from 'void TestInitList(std::initializer_list) [with Table = tbb::interface5::concurrent_unordered_set; MultiTable = tbb::interface5::concurrent_unordered_multiset; typename Traits::value_type = int]' ../../src/test/test_concurrent_unordered_set.cpp:190:74: required from here ../../include/tbb/internal/_concurrent_unordered_impl.h:1471:24: warning: 'void* memset(void*, int, size_t)' clearing an object of non-trivial type 'tbb::interface5::internal::concurrent_unordered_base, std::equal_to >, tbb::tbb_allocator, true> >::raw_iterator' {aka 'class tbb::interface5::internal::flist_iterator >, int>'}; use assignment or value-initialization instead [-Wclass-memaccess] std::memset(new_segment, 0, sz*sizeof(raw_iterator)); ~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ In file included from ../../include/tbb/concurrent_unordered_set.h:27, from ../../src/test/test_concurrent_unordered_set.cpp:29: ../../include/tbb/internal/_concurrent_unordered_impl.h:61:7: note: 'tbb::interface5::internal::concurrent_unordered_base, std::equal_to >, tbb::tbb_allocator, true> >::raw_iterator' {aka 'class tbb::interface5::internal::flist_iterator >, int>'} declared here class flist_iterator : public std::iterator ^~~~~~~~~~~~~~ g++ -o test_concurrent_unordered_set_secondary.o -c -MMD -O2 -g -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -fexceptions -fstack-protector-strong -grecord-gcc-switches -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -mcpu=power8 -mtune=power8 -funwind-tables -fstack-clash-protection -DTBB_USE_DEBUG -g -O0 -DUSE_PTHREAD -DTEST_USES_TBB=1 -Wall -Wshadow -Wcast-qual -Woverloaded-virtual -Wnon-virtual-dtor -Wextra -O2 -g -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -fexceptions -fstack-protector-strong -grecord-gcc-switches -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -mcpu=power8 -mtune=power8 -funwind-tables -fstack-clash-protection -D__TBB_TEST_SECONDARY=1 -std=c++14 -I../../src -I../../src/rml/include -I../../include -I. -include ../../src/test/harness_preload.h ../../src/test/test_concurrent_unordered_set.cpp In file included from ../../include/tbb/internal/../tbb_machine.h:243, from ../../include/tbb/internal/../atomic.h:32, from ../../include/tbb/internal/_concurrent_unordered_impl.h:39, from ../../include/tbb/concurrent_unordered_set.h:27, from ../../src/test/test_concurrent_unordered_set.cpp:29: ../../include/tbb/internal/../machine/mac_ppc.h: In function 'int32_t __TBB_machine_cmpswp4(volatile void*, int32_t, int32_t)': ../../include/tbb/internal/../machine/mac_ppc.h:91:46: warning: cast from type 'volatile void*' to type 'int32_t*' {aka 'int*'} casts away qualifiers [-Wcast-qual] , "+m"(* (int32_t*) ptr) /* redundant with "memory" */ ^~~ ../../include/tbb/internal/../machine/mac_ppc.h: In function 'int64_t __TBB_machine_cmpswp8(volatile void*, int64_t, int64_t)': ../../include/tbb/internal/../machine/mac_ppc.h:116:46: warning: cast from type 'volatile void*' to type 'int64_t*' {aka 'long int*'} casts away qualifiers [-Wcast-qual] , "+m"(* (int64_t*) ptr) /* redundant with "memory" */ ^~~ In file included from ../../include/tbb/concurrent_unordered_set.h:27, from ../../src/test/test_concurrent_unordered_set.cpp:29: ../../include/tbb/internal/_concurrent_unordered_impl.h: In instantiation of 'void tbb::interface5::internal::concurrent_unordered_base::set_bucket(tbb::interface5::internal::concurrent_unordered_base::size_type, tbb::interface5::internal::concurrent_unordered_base::raw_iterator) [with Traits = tbb::interface5::concurrent_unordered_set_traits, std::equal_to >, tbb::tbb_allocator, false>; tbb::interface5::internal::concurrent_unordered_base::size_type = long unsigned int; tbb::interface5::internal::concurrent_unordered_base::raw_iterator = tbb::interface5::internal::flist_iterator >, int>]': ../../include/tbb/internal/_concurrent_unordered_impl.h:1207:9: required from 'void tbb::interface5::internal::concurrent_unordered_base::internal_init() [with Traits = tbb::interface5::concurrent_unordered_set_traits, std::equal_to >, tbb::tbb_allocator, false>]' ../../include/tbb/internal/_concurrent_unordered_impl.h:710:9: required from 'tbb::interface5::internal::concurrent_unordered_base::concurrent_unordered_base(tbb::interface5::internal::concurrent_unordered_base::size_type, const hash_compare&, const allocator_type&) [with Traits = tbb::interface5::concurrent_unordered_set_traits, std::equal_to >, tbb::tbb_allocator, false>; tbb::interface5::internal::concurrent_unordered_base::size_type = long unsigned int; tbb::interface5::internal::concurrent_unordered_base::hash_compare = tbb::interface5::internal::hash_compare, std::equal_to >; tbb::interface5::internal::concurrent_unordered_base::allocator_type = tbb::tbb_allocator]' ../../include/tbb/concurrent_unordered_set.h:94:68: required from 'tbb::interface5::concurrent_unordered_set::concurrent_unordered_set(tbb::interface5::concurrent_unordered_set::size_type, const hasher&, const key_equal&, const allocator_type&) [with Key = int; Hasher = tbb::tbb_hash; Key_equality = std::equal_to; Allocator = tbb::tbb_allocator; tbb::interface5::concurrent_unordered_set::size_type = long unsigned int; tbb::interface5::concurrent_unordered_set::hasher = tbb::tbb_hash; tbb::interface5::concurrent_unordered_set::key_equal = std::equal_to; tbb::interface5::concurrent_unordered_set::allocator_type = tbb::tbb_allocator]' ../../src/test/test_concurrent_unordered_set.cpp:143:40: required from here ../../include/tbb/internal/_concurrent_unordered_impl.h:1471:24: warning: 'void* memset(void*, int, size_t)' clearing an object of non-trivial type 'tbb::interface5::internal::concurrent_unordered_base, std::equal_to >, tbb::tbb_allocator, false> >::raw_iterator' {aka 'class tbb::interface5::internal::flist_iterator >, int>'}; use assignment or value-initialization instead [-Wclass-memaccess] std::memset(new_segment, 0, sz*sizeof(raw_iterator)); ~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ In file included from ../../include/tbb/concurrent_unordered_set.h:27, from ../../src/test/test_concurrent_unordered_set.cpp:29: ../../include/tbb/internal/_concurrent_unordered_impl.h:61:7: note: 'tbb::interface5::internal::concurrent_unordered_base, std::equal_to >, tbb::tbb_allocator, false> >::raw_iterator' {aka 'class tbb::interface5::internal::flist_iterator >, int>'} declared here class flist_iterator : public std::iterator ^~~~~~~~~~~~~~ g++ -o test_concurrent_unordered_set.exe -O2 -g -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -fexceptions -fstack-protector-strong -grecord-gcc-switches -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -mcpu=power8 -mtune=power8 -funwind-tables -fstack-clash-protection -DTBB_USE_DEBUG -g -O0 -DUSE_PTHREAD -DTEST_USES_TBB=1 -Wall -Wshadow -Wcast-qual -Woverloaded-virtual -Wnon-virtual-dtor -Wextra -O2 -g -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -fexceptions -fstack-protector-strong -grecord-gcc-switches -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -mcpu=power8 -mtune=power8 -funwind-tables -fstack-clash-protection test_concurrent_unordered_set.o libtbb_debug.so test_concurrent_unordered_set_secondary.o -lpthread -lrt -Wl,-rpath-link=. -rdynamic g++ -o test_concurrent_unordered_map.o -c -MMD -O2 -g -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -fexceptions -fstack-protector-strong -grecord-gcc-switches -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -mcpu=power8 -mtune=power8 -funwind-tables -fstack-clash-protection -DTBB_USE_DEBUG -g -O0 -DUSE_PTHREAD -DTEST_USES_TBB=1 -Wall -Wshadow -Wcast-qual -Woverloaded-virtual -Wnon-virtual-dtor -Wextra -O2 -g -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -fexceptions -fstack-protector-strong -grecord-gcc-switches -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -mcpu=power8 -mtune=power8 -funwind-tables -fstack-clash-protection -std=c++14 -I../../src -I../../src/rml/include -I../../include -I. -include ../../src/test/harness_preload.h ../../src/test/test_concurrent_unordered_map.cpp In file included from ../../include/tbb/internal/../tbb_machine.h:243, from ../../include/tbb/internal/../atomic.h:32, from ../../include/tbb/internal/_concurrent_unordered_impl.h:39, from ../../include/tbb/concurrent_unordered_map.h:27, from ../../src/test/test_concurrent_unordered_map.cpp:26: ../../include/tbb/internal/../machine/mac_ppc.h: In function 'int32_t __TBB_machine_cmpswp4(volatile void*, int32_t, int32_t)': ../../include/tbb/internal/../machine/mac_ppc.h:91:46: warning: cast from type 'volatile void*' to type 'int32_t*' {aka 'int*'} casts away qualifiers [-Wcast-qual] , "+m"(* (int32_t*) ptr) /* redundant with "memory" */ ^~~ ../../include/tbb/internal/../machine/mac_ppc.h: In function 'int64_t __TBB_machine_cmpswp8(volatile void*, int64_t, int64_t)': ../../include/tbb/internal/../machine/mac_ppc.h:116:46: warning: cast from type 'volatile void*' to type 'int64_t*' {aka 'long int*'} casts away qualifiers [-Wcast-qual] , "+m"(* (int64_t*) ptr) /* redundant with "memory" */ ^~~ In file included from ../../src/test/test_concurrent_unordered_map.cpp:42: ../../src/test/test_concurrent_unordered_common.h: In instantiation of 'void test_concurrent(const char*, bool) [with T = tbb::interface5::concurrent_unordered_map, std::equal_to, local_counting_allocator, std::allocator> > >]': ../../src/test/test_concurrent_unordered_map.cpp:304:56: required from here ../../src/test/test_concurrent_unordered_common.h:638:15: warning: 'void* memset(void*, int, size_t)' clearing an object of type 'AtomicByte' {aka 'struct tbb::atomic'} with no trivial copy-assignment; use assignment or value-initialization instead [-Wclass-memaccess] memset( array, 0, items*sizeof(AtomicByte) ); ~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ In file included from ../../include/tbb/internal/_concurrent_unordered_impl.h:39, from ../../include/tbb/concurrent_unordered_map.h:27, from ../../src/test/test_concurrent_unordered_map.cpp:26: ../../include/tbb/internal/../atomic.h:421:27: note: 'AtomicByte' {aka 'struct tbb::atomic'} declared here template<> struct atomic: internal::atomic_impl_with_arithmetic { \ ^~~~~~~~~ ../../include/tbb/internal/../atomic.h:478:1: note: in expansion of macro '__TBB_DECL_ATOMIC' __TBB_DECL_ATOMIC(unsigned char) ^~~~~~~~~~~~~~~~~ In file included from ../../src/test/test_concurrent_unordered_map.cpp:42: ../../src/test/test_concurrent_unordered_common.h:647:15: warning: 'void* memset(void*, int, size_t)' clearing an object of type 'AtomicByte' {aka 'struct tbb::atomic'} with no trivial copy-assignment; use assignment or value-initialization instead [-Wclass-memaccess] memset( array, 0, items*sizeof(AtomicByte) ); ~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ In file included from ../../include/tbb/internal/_concurrent_unordered_impl.h:39, from ../../include/tbb/concurrent_unordered_map.h:27, from ../../src/test/test_concurrent_unordered_map.cpp:26: ../../include/tbb/internal/../atomic.h:421:27: note: 'AtomicByte' {aka 'struct tbb::atomic'} declared here template<> struct atomic: internal::atomic_impl_with_arithmetic { \ ^~~~~~~~~ ../../include/tbb/internal/../atomic.h:478:1: note: in expansion of macro '__TBB_DECL_ATOMIC' __TBB_DECL_ATOMIC(unsigned char) ^~~~~~~~~~~~~~~~~ In file included from ../../src/test/test_concurrent_unordered_map.cpp:42: ../../src/test/test_concurrent_unordered_common.h: In instantiation of 'void test_concurrent(const char*, bool) [with T = tbb::interface5::concurrent_unordered_map, std::equal_to, local_counting_allocator, std::allocator> > >]': ../../src/test/test_concurrent_unordered_map.cpp:305:77: required from here ../../src/test/test_concurrent_unordered_common.h:638:15: warning: 'void* memset(void*, int, size_t)' clearing an object of type 'AtomicByte' {aka 'struct tbb::atomic'} with no trivial copy-assignment; use assignment or value-initialization instead [-Wclass-memaccess] memset( array, 0, items*sizeof(AtomicByte) ); ~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ In file included from ../../include/tbb/internal/_concurrent_unordered_impl.h:39, from ../../include/tbb/concurrent_unordered_map.h:27, from ../../src/test/test_concurrent_unordered_map.cpp:26: ../../include/tbb/internal/../atomic.h:421:27: note: 'AtomicByte' {aka 'struct tbb::atomic'} declared here template<> struct atomic: internal::atomic_impl_with_arithmetic { \ ^~~~~~~~~ ../../include/tbb/internal/../atomic.h:478:1: note: in expansion of macro '__TBB_DECL_ATOMIC' __TBB_DECL_ATOMIC(unsigned char) ^~~~~~~~~~~~~~~~~ In file included from ../../src/test/test_concurrent_unordered_map.cpp:42: ../../src/test/test_concurrent_unordered_common.h:647:15: warning: 'void* memset(void*, int, size_t)' clearing an object of type 'AtomicByte' {aka 'struct tbb::atomic'} with no trivial copy-assignment; use assignment or value-initialization instead [-Wclass-memaccess] memset( array, 0, items*sizeof(AtomicByte) ); ~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ In file included from ../../include/tbb/internal/_concurrent_unordered_impl.h:39, from ../../include/tbb/concurrent_unordered_map.h:27, from ../../src/test/test_concurrent_unordered_map.cpp:26: ../../include/tbb/internal/../atomic.h:421:27: note: 'AtomicByte' {aka 'struct tbb::atomic'} declared here template<> struct atomic: internal::atomic_impl_with_arithmetic { \ ^~~~~~~~~ ../../include/tbb/internal/../atomic.h:478:1: note: in expansion of macro '__TBB_DECL_ATOMIC' __TBB_DECL_ATOMIC(unsigned char) ^~~~~~~~~~~~~~~~~ In file included from ../../src/test/test_concurrent_unordered_map.cpp:42: ../../src/test/test_concurrent_unordered_common.h: In instantiation of 'void test_concurrent(const char*, bool) [with T = tbb::interface5::concurrent_unordered_multimap, std::equal_to, local_counting_allocator, std::allocator> > >]': ../../src/test/test_concurrent_unordered_map.cpp:308:66: required from here ../../src/test/test_concurrent_unordered_common.h:638:15: warning: 'void* memset(void*, int, size_t)' clearing an object of type 'AtomicByte' {aka 'struct tbb::atomic'} with no trivial copy-assignment; use assignment or value-initialization instead [-Wclass-memaccess] memset( array, 0, items*sizeof(AtomicByte) ); ~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ In file included from ../../include/tbb/internal/_concurrent_unordered_impl.h:39, from ../../include/tbb/concurrent_unordered_map.h:27, from ../../src/test/test_concurrent_unordered_map.cpp:26: ../../include/tbb/internal/../atomic.h:421:27: note: 'AtomicByte' {aka 'struct tbb::atomic'} declared here template<> struct atomic: internal::atomic_impl_with_arithmetic { \ ^~~~~~~~~ ../../include/tbb/internal/../atomic.h:478:1: note: in expansion of macro '__TBB_DECL_ATOMIC' __TBB_DECL_ATOMIC(unsigned char) ^~~~~~~~~~~~~~~~~ In file included from ../../src/test/test_concurrent_unordered_map.cpp:42: ../../src/test/test_concurrent_unordered_common.h:647:15: warning: 'void* memset(void*, int, size_t)' clearing an object of type 'AtomicByte' {aka 'struct tbb::atomic'} with no trivial copy-assignment; use assignment or value-initialization instead [-Wclass-memaccess] memset( array, 0, items*sizeof(AtomicByte) ); ~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ In file included from ../../include/tbb/internal/_concurrent_unordered_impl.h:39, from ../../include/tbb/concurrent_unordered_map.h:27, from ../../src/test/test_concurrent_unordered_map.cpp:26: ../../include/tbb/internal/../atomic.h:421:27: note: 'AtomicByte' {aka 'struct tbb::atomic'} declared here template<> struct atomic: internal::atomic_impl_with_arithmetic { \ ^~~~~~~~~ ../../include/tbb/internal/../atomic.h:478:1: note: in expansion of macro '__TBB_DECL_ATOMIC' __TBB_DECL_ATOMIC(unsigned char) ^~~~~~~~~~~~~~~~~ In file included from ../../src/test/test_concurrent_unordered_map.cpp:42: ../../src/test/test_concurrent_unordered_common.h: In instantiation of 'void test_concurrent(const char*, bool) [with T = tbb::interface5::concurrent_unordered_multimap, std::equal_to, local_counting_allocator, std::allocator> > >]': ../../src/test/test_concurrent_unordered_map.cpp:309:87: required from here ../../src/test/test_concurrent_unordered_common.h:638:15: warning: 'void* memset(void*, int, size_t)' clearing an object of type 'AtomicByte' {aka 'struct tbb::atomic'} with no trivial copy-assignment; use assignment or value-initialization instead [-Wclass-memaccess] memset( array, 0, items*sizeof(AtomicByte) ); ~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ In file included from ../../include/tbb/internal/_concurrent_unordered_impl.h:39, from ../../include/tbb/concurrent_unordered_map.h:27, from ../../src/test/test_concurrent_unordered_map.cpp:26: ../../include/tbb/internal/../atomic.h:421:27: note: 'AtomicByte' {aka 'struct tbb::atomic'} declared here template<> struct atomic: internal::atomic_impl_with_arithmetic { \ ^~~~~~~~~ ../../include/tbb/internal/../atomic.h:478:1: note: in expansion of macro '__TBB_DECL_ATOMIC' __TBB_DECL_ATOMIC(unsigned char) ^~~~~~~~~~~~~~~~~ In file included from ../../src/test/test_concurrent_unordered_map.cpp:42: ../../src/test/test_concurrent_unordered_common.h:647:15: warning: 'void* memset(void*, int, size_t)' clearing an object of type 'AtomicByte' {aka 'struct tbb::atomic'} with no trivial copy-assignment; use assignment or value-initialization instead [-Wclass-memaccess] memset( array, 0, items*sizeof(AtomicByte) ); ~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ In file included from ../../include/tbb/internal/_concurrent_unordered_impl.h:39, from ../../include/tbb/concurrent_unordered_map.h:27, from ../../src/test/test_concurrent_unordered_map.cpp:26: ../../include/tbb/internal/../atomic.h:421:27: note: 'AtomicByte' {aka 'struct tbb::atomic'} declared here template<> struct atomic: internal::atomic_impl_with_arithmetic { \ ^~~~~~~~~ ../../include/tbb/internal/../atomic.h:478:1: note: in expansion of macro '__TBB_DECL_ATOMIC' __TBB_DECL_ATOMIC(unsigned char) ^~~~~~~~~~~~~~~~~ In file included from ../../src/test/test_concurrent_unordered_map.cpp:42: ../../src/test/test_concurrent_unordered_common.h: In instantiation of 'void test_concurrent(const char*, bool) [with T = tbb::interface5::concurrent_unordered_map, tbb::tbb_hash, std::equal_to, local_counting_allocator, std::allocator> > >]': ../../src/test/test_concurrent_unordered_map.cpp:313:116: required from here ../../src/test/test_concurrent_unordered_common.h:638:15: warning: 'void* memset(void*, int, size_t)' clearing an object of type 'AtomicByte' {aka 'struct tbb::atomic'} with no trivial copy-assignment; use assignment or value-initialization instead [-Wclass-memaccess] memset( array, 0, items*sizeof(AtomicByte) ); ~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ In file included from ../../include/tbb/internal/_concurrent_unordered_impl.h:39, from ../../include/tbb/concurrent_unordered_map.h:27, from ../../src/test/test_concurrent_unordered_map.cpp:26: ../../include/tbb/internal/../atomic.h:421:27: note: 'AtomicByte' {aka 'struct tbb::atomic'} declared here template<> struct atomic: internal::atomic_impl_with_arithmetic { \ ^~~~~~~~~ ../../include/tbb/internal/../atomic.h:478:1: note: in expansion of macro '__TBB_DECL_ATOMIC' __TBB_DECL_ATOMIC(unsigned char) ^~~~~~~~~~~~~~~~~ In file included from ../../src/test/test_concurrent_unordered_map.cpp:42: ../../src/test/test_concurrent_unordered_common.h:647:15: warning: 'void* memset(void*, int, size_t)' clearing an object of type 'AtomicByte' {aka 'struct tbb::atomic'} with no trivial copy-assignment; use assignment or value-initialization instead [-Wclass-memaccess] memset( array, 0, items*sizeof(AtomicByte) ); ~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ In file included from ../../include/tbb/internal/_concurrent_unordered_impl.h:39, from ../../include/tbb/concurrent_unordered_map.h:27, from ../../src/test/test_concurrent_unordered_map.cpp:26: ../../include/tbb/internal/../atomic.h:421:27: note: 'AtomicByte' {aka 'struct tbb::atomic'} declared here template<> struct atomic: internal::atomic_impl_with_arithmetic { \ ^~~~~~~~~ ../../include/tbb/internal/../atomic.h:478:1: note: in expansion of macro '__TBB_DECL_ATOMIC' __TBB_DECL_ATOMIC(unsigned char) ^~~~~~~~~~~~~~~~~ In file included from ../../src/test/test_concurrent_unordered_map.cpp:42: ../../src/test/test_concurrent_unordered_common.h: In instantiation of 'void test_concurrent(const char*, bool) [with T = tbb::interface5::concurrent_unordered_map, std::equal_to, local_counting_allocator, std::allocator> > >]': ../../src/test/test_concurrent_unordered_map.cpp:315:94: required from here ../../src/test/test_concurrent_unordered_common.h:638:15: warning: 'void* memset(void*, int, size_t)' clearing an object of type 'AtomicByte' {aka 'struct tbb::atomic'} with no trivial copy-assignment; use assignment or value-initialization instead [-Wclass-memaccess] memset( array, 0, items*sizeof(AtomicByte) ); ~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ In file included from ../../include/tbb/internal/_concurrent_unordered_impl.h:39, from ../../include/tbb/concurrent_unordered_map.h:27, from ../../src/test/test_concurrent_unordered_map.cpp:26: ../../include/tbb/internal/../atomic.h:421:27: note: 'AtomicByte' {aka 'struct tbb::atomic'} declared here template<> struct atomic: internal::atomic_impl_with_arithmetic { \ ^~~~~~~~~ ../../include/tbb/internal/../atomic.h:478:1: note: in expansion of macro '__TBB_DECL_ATOMIC' __TBB_DECL_ATOMIC(unsigned char) ^~~~~~~~~~~~~~~~~ In file included from ../../src/test/test_concurrent_unordered_map.cpp:42: ../../src/test/test_concurrent_unordered_common.h:647:15: warning: 'void* memset(void*, int, size_t)' clearing an object of type 'AtomicByte' {aka 'struct tbb::atomic'} with no trivial copy-assignment; use assignment or value-initialization instead [-Wclass-memaccess] memset( array, 0, items*sizeof(AtomicByte) ); ~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ In file included from ../../include/tbb/internal/_concurrent_unordered_impl.h:39, from ../../include/tbb/concurrent_unordered_map.h:27, from ../../src/test/test_concurrent_unordered_map.cpp:26: ../../include/tbb/internal/../atomic.h:421:27: note: 'AtomicByte' {aka 'struct tbb::atomic'} declared here template<> struct atomic: internal::atomic_impl_with_arithmetic { \ ^~~~~~~~~ ../../include/tbb/internal/../atomic.h:478:1: note: in expansion of macro '__TBB_DECL_ATOMIC' __TBB_DECL_ATOMIC(unsigned char) ^~~~~~~~~~~~~~~~~ In file included from ../../src/test/test_concurrent_unordered_map.cpp:42: ../../src/test/test_concurrent_unordered_common.h: In instantiation of 'void test_concurrent(const char*, bool) [with T = tbb::interface5::concurrent_unordered_multimap, tbb::tbb_hash, std::equal_to, local_counting_allocator, std::allocator> > >]': ../../src/test/test_concurrent_unordered_map.cpp:318:131: required from here ../../src/test/test_concurrent_unordered_common.h:638:15: warning: 'void* memset(void*, int, size_t)' clearing an object of type 'AtomicByte' {aka 'struct tbb::atomic'} with no trivial copy-assignment; use assignment or value-initialization instead [-Wclass-memaccess] memset( array, 0, items*sizeof(AtomicByte) ); ~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ In file included from ../../include/tbb/internal/_concurrent_unordered_impl.h:39, from ../../include/tbb/concurrent_unordered_map.h:27, from ../../src/test/test_concurrent_unordered_map.cpp:26: ../../include/tbb/internal/../atomic.h:421:27: note: 'AtomicByte' {aka 'struct tbb::atomic'} declared here template<> struct atomic: internal::atomic_impl_with_arithmetic { \ ^~~~~~~~~ ../../include/tbb/internal/../atomic.h:478:1: note: in expansion of macro '__TBB_DECL_ATOMIC' __TBB_DECL_ATOMIC(unsigned char) ^~~~~~~~~~~~~~~~~ In file included from ../../src/test/test_concurrent_unordered_map.cpp:42: ../../src/test/test_concurrent_unordered_common.h:647:15: warning: 'void* memset(void*, int, size_t)' clearing an object of type 'AtomicByte' {aka 'struct tbb::atomic'} with no trivial copy-assignment; use assignment or value-initialization instead [-Wclass-memaccess] memset( array, 0, items*sizeof(AtomicByte) ); ~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ In file included from ../../include/tbb/internal/_concurrent_unordered_impl.h:39, from ../../include/tbb/concurrent_unordered_map.h:27, from ../../src/test/test_concurrent_unordered_map.cpp:26: ../../include/tbb/internal/../atomic.h:421:27: note: 'AtomicByte' {aka 'struct tbb::atomic'} declared here template<> struct atomic: internal::atomic_impl_with_arithmetic { \ ^~~~~~~~~ ../../include/tbb/internal/../atomic.h:478:1: note: in expansion of macro '__TBB_DECL_ATOMIC' __TBB_DECL_ATOMIC(unsigned char) ^~~~~~~~~~~~~~~~~ In file included from ../../include/tbb/concurrent_unordered_map.h:27, from ../../src/test/test_concurrent_unordered_map.cpp:26: ../../include/tbb/internal/_concurrent_unordered_impl.h: In instantiation of 'void tbb::interface5::internal::concurrent_unordered_base::set_bucket(tbb::interface5::internal::concurrent_unordered_base::size_type, tbb::interface5::internal::concurrent_unordered_base::raw_iterator) [with Traits = tbb::interface5::concurrent_unordered_map_traits, std::equal_to >, local_counting_allocator, std::allocator> >, true>; tbb::interface5::internal::concurrent_unordered_base::size_type = long unsigned int; tbb::interface5::internal::concurrent_unordered_base::raw_iterator = tbb::interface5::internal::flist_iterator, local_counting_allocator, std::allocator> > >, std::pair >]': ../../include/tbb/internal/_concurrent_unordered_impl.h:1056:9: required from 'void tbb::interface5::internal::concurrent_unordered_base::clear() [with Traits = tbb::interface5::concurrent_unordered_map_traits, std::equal_to >, local_counting_allocator, std::allocator> >, true>]' ../../src/test/test_concurrent_unordered_map.cpp:161:20: required from here ../../include/tbb/internal/_concurrent_unordered_impl.h:1471:24: warning: 'void* memset(void*, int, size_t)' clearing an object of non-trivial type 'tbb::interface5::internal::concurrent_unordered_base, std::equal_to >, local_counting_allocator, std::allocator> >, true> >::raw_iterator' {aka 'class tbb::interface5::internal::flist_iterator, local_counting_allocator, std::allocator> > >, std::pair >'}; use assignment or value-initialization instead [-Wclass-memaccess] std::memset(new_segment, 0, sz*sizeof(raw_iterator)); ~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ In file included from ../../include/tbb/concurrent_unordered_map.h:27, from ../../src/test/test_concurrent_unordered_map.cpp:26: ../../include/tbb/internal/_concurrent_unordered_impl.h:61:7: note: 'tbb::interface5::internal::concurrent_unordered_base, std::equal_to >, local_counting_allocator, std::allocator> >, true> >::raw_iterator' {aka 'class tbb::interface5::internal::flist_iterator, local_counting_allocator, std::allocator> > >, std::pair >'} declared here class flist_iterator : public std::iterator ^~~~~~~~~~~~~~ In file included from ../../include/tbb/concurrent_unordered_map.h:27, from ../../src/test/test_concurrent_unordered_map.cpp:26: ../../include/tbb/internal/_concurrent_unordered_impl.h: In instantiation of 'void tbb::interface5::internal::concurrent_unordered_base::set_bucket(tbb::interface5::internal::concurrent_unordered_base::size_type, tbb::interface5::internal::concurrent_unordered_base::raw_iterator) [with Traits = tbb::interface5::concurrent_unordered_map_traits, std::equal_to >, local_counting_allocator, std::allocator> >, false>; tbb::interface5::internal::concurrent_unordered_base::size_type = long unsigned int; tbb::interface5::internal::concurrent_unordered_base::raw_iterator = tbb::interface5::internal::flist_iterator, local_counting_allocator, std::allocator> > >, std::pair >]': ../../include/tbb/internal/_concurrent_unordered_impl.h:1056:9: required from 'void tbb::interface5::internal::concurrent_unordered_base::clear() [with Traits = tbb::interface5::concurrent_unordered_map_traits, std::equal_to >, local_counting_allocator, std::allocator> >, false>]' ../../src/test/test_concurrent_unordered_common.h:657:5: required from 'void test_concurrent(const char*, bool) [with T = tbb::interface5::concurrent_unordered_map, std::equal_to, local_counting_allocator, std::allocator> > >]' ../../src/test/test_concurrent_unordered_map.cpp:304:56: required from here ../../include/tbb/internal/_concurrent_unordered_impl.h:1471:24: warning: 'void* memset(void*, int, size_t)' clearing an object of non-trivial type 'tbb::interface5::internal::concurrent_unordered_base, std::equal_to >, local_counting_allocator, std::allocator> >, false> >::raw_iterator' {aka 'class tbb::interface5::internal::flist_iterator, local_counting_allocator, std::allocator> > >, std::pair >'}; use assignment or value-initialization instead [-Wclass-memaccess] std::memset(new_segment, 0, sz*sizeof(raw_iterator)); ~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ In file included from ../../include/tbb/concurrent_unordered_map.h:27, from ../../src/test/test_concurrent_unordered_map.cpp:26: ../../include/tbb/internal/_concurrent_unordered_impl.h:61:7: note: 'tbb::interface5::internal::concurrent_unordered_base, std::equal_to >, local_counting_allocator, std::allocator> >, false> >::raw_iterator' {aka 'class tbb::interface5::internal::flist_iterator, local_counting_allocator, std::allocator> > >, std::pair >'} declared here class flist_iterator : public std::iterator ^~~~~~~~~~~~~~ In file included from ../../include/tbb/concurrent_unordered_map.h:27, from ../../src/test/test_concurrent_unordered_map.cpp:26: ../../include/tbb/internal/_concurrent_unordered_impl.h: In instantiation of 'void tbb::interface5::internal::concurrent_unordered_base::set_bucket(tbb::interface5::internal::concurrent_unordered_base::size_type, tbb::interface5::internal::concurrent_unordered_base::raw_iterator) [with Traits = tbb::interface5::concurrent_unordered_map_traits, std::equal_to >, local_counting_allocator, std::allocator> >, false>; tbb::interface5::internal::concurrent_unordered_base::size_type = long unsigned int; tbb::interface5::internal::concurrent_unordered_base::raw_iterator = tbb::interface5::internal::flist_iterator, local_counting_allocator, std::allocator> > >, std::pair >]': ../../include/tbb/internal/_concurrent_unordered_impl.h:1056:9: required from 'void tbb::interface5::internal::concurrent_unordered_base::clear() [with Traits = tbb::interface5::concurrent_unordered_map_traits, std::equal_to >, local_counting_allocator, std::allocator> >, false>]' ../../src/test/test_concurrent_unordered_common.h:657:5: required from 'void test_concurrent(const char*, bool) [with T = tbb::interface5::concurrent_unordered_map, std::equal_to, local_counting_allocator, std::allocator> > >]' ../../src/test/test_concurrent_unordered_map.cpp:305:77: required from here ../../include/tbb/internal/_concurrent_unordered_impl.h:1471:24: warning: 'void* memset(void*, int, size_t)' clearing an object of non-trivial type 'tbb::interface5::internal::concurrent_unordered_base, std::equal_to >, local_counting_allocator, std::allocator> >, false> >::raw_iterator' {aka 'class tbb::interface5::internal::flist_iterator, local_counting_allocator, std::allocator> > >, std::pair >'}; use assignment or value-initialization instead [-Wclass-memaccess] std::memset(new_segment, 0, sz*sizeof(raw_iterator)); ~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ In file included from ../../include/tbb/concurrent_unordered_map.h:27, from ../../src/test/test_concurrent_unordered_map.cpp:26: ../../include/tbb/internal/_concurrent_unordered_impl.h:61:7: note: 'tbb::interface5::internal::concurrent_unordered_base, std::equal_to >, local_counting_allocator, std::allocator> >, false> >::raw_iterator' {aka 'class tbb::interface5::internal::flist_iterator, local_counting_allocator, std::allocator> > >, std::pair >'} declared here class flist_iterator : public std::iterator ^~~~~~~~~~~~~~ In file included from ../../include/tbb/concurrent_unordered_map.h:27, from ../../src/test/test_concurrent_unordered_map.cpp:26: ../../include/tbb/internal/_concurrent_unordered_impl.h: In instantiation of 'void tbb::interface5::internal::concurrent_unordered_base::set_bucket(tbb::interface5::internal::concurrent_unordered_base::size_type, tbb::interface5::internal::concurrent_unordered_base::raw_iterator) [with Traits = tbb::interface5::concurrent_unordered_map_traits, std::equal_to >, local_counting_allocator, std::allocator> >, true>; tbb::interface5::internal::concurrent_unordered_base::size_type = long unsigned int; tbb::interface5::internal::concurrent_unordered_base::raw_iterator = tbb::interface5::internal::flist_iterator, local_counting_allocator, std::allocator> > >, std::pair >]': ../../include/tbb/internal/_concurrent_unordered_impl.h:1056:9: required from 'void tbb::interface5::internal::concurrent_unordered_base::clear() [with Traits = tbb::interface5::concurrent_unordered_map_traits, std::equal_to >, local_counting_allocator, std::allocator> >, true>]' ../../src/test/test_concurrent_unordered_common.h:657:5: required from 'void test_concurrent(const char*, bool) [with T = tbb::interface5::concurrent_unordered_multimap, std::equal_to, local_counting_allocator, std::allocator> > >]' ../../src/test/test_concurrent_unordered_map.cpp:309:87: required from here ../../include/tbb/internal/_concurrent_unordered_impl.h:1471:24: warning: 'void* memset(void*, int, size_t)' clearing an object of non-trivial type 'tbb::interface5::internal::concurrent_unordered_base, std::equal_to >, local_counting_allocator, std::allocator> >, true> >::raw_iterator' {aka 'class tbb::interface5::internal::flist_iterator, local_counting_allocator, std::allocator> > >, std::pair >'}; use assignment or value-initialization instead [-Wclass-memaccess] std::memset(new_segment, 0, sz*sizeof(raw_iterator)); ~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ In file included from ../../include/tbb/concurrent_unordered_map.h:27, from ../../src/test/test_concurrent_unordered_map.cpp:26: ../../include/tbb/internal/_concurrent_unordered_impl.h:61:7: note: 'tbb::interface5::internal::concurrent_unordered_base, std::equal_to >, local_counting_allocator, std::allocator> >, true> >::raw_iterator' {aka 'class tbb::interface5::internal::flist_iterator, local_counting_allocator, std::allocator> > >, std::pair >'} declared here class flist_iterator : public std::iterator ^~~~~~~~~~~~~~ In file included from ../../include/tbb/concurrent_unordered_map.h:27, from ../../src/test/test_concurrent_unordered_map.cpp:26: ../../include/tbb/internal/_concurrent_unordered_impl.h: In instantiation of 'void tbb::interface5::internal::concurrent_unordered_base::set_bucket(tbb::interface5::internal::concurrent_unordered_base::size_type, tbb::interface5::internal::concurrent_unordered_base::raw_iterator) [with Traits = tbb::interface5::concurrent_unordered_map_traits, tbb::interface5::internal::hash_compare, std::equal_to >, local_counting_allocator, std::allocator> >, false>; tbb::interface5::internal::concurrent_unordered_base::size_type = long unsigned int; tbb::interface5::internal::concurrent_unordered_base::raw_iterator = tbb::interface5::internal::flist_iterator >, local_counting_allocator >, std::allocator>, tbb::atomic > >, std::pair > >]': ../../include/tbb/internal/_concurrent_unordered_impl.h:1056:9: required from 'void tbb::interface5::internal::concurrent_unordered_base::clear() [with Traits = tbb::interface5::concurrent_unordered_map_traits, tbb::interface5::internal::hash_compare, std::equal_to >, local_counting_allocator, std::allocator> >, false>]' ../../src/test/test_concurrent_unordered_common.h:657:5: required from 'void test_concurrent(const char*, bool) [with T = tbb::interface5::concurrent_unordered_map, tbb::tbb_hash, std::equal_to, local_counting_allocator, std::allocator> > >]' ../../src/test/test_concurrent_unordered_map.cpp:313:116: required from here ../../include/tbb/internal/_concurrent_unordered_impl.h:1471:24: warning: 'void* memset(void*, int, size_t)' clearing an object of non-trivial type 'tbb::interface5::internal::concurrent_unordered_base, tbb::interface5::internal::hash_compare, std::equal_to >, local_counting_allocator, std::allocator> >, false> >::raw_iterator' {aka 'class tbb::interface5::internal::flist_iterator >, local_counting_allocator >, std::allocator>, tbb::atomic > >, std::pair > >'}; use assignment or value-initialization instead [-Wclass-memaccess] std::memset(new_segment, 0, sz*sizeof(raw_iterator)); ~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ In file included from ../../include/tbb/concurrent_unordered_map.h:27, from ../../src/test/test_concurrent_unordered_map.cpp:26: ../../include/tbb/internal/_concurrent_unordered_impl.h:61:7: note: 'tbb::interface5::internal::concurrent_unordered_base, tbb::interface5::internal::hash_compare, std::equal_to >, local_counting_allocator, std::allocator> >, false> >::raw_iterator' {aka 'class tbb::interface5::internal::flist_iterator >, local_counting_allocator >, std::allocator>, tbb::atomic > >, std::pair > >'} declared here class flist_iterator : public std::iterator ^~~~~~~~~~~~~~ In file included from ../../include/tbb/concurrent_unordered_map.h:27, from ../../src/test/test_concurrent_unordered_map.cpp:26: ../../include/tbb/internal/_concurrent_unordered_impl.h: In instantiation of 'void tbb::interface5::internal::concurrent_unordered_base::set_bucket(tbb::interface5::internal::concurrent_unordered_base::size_type, tbb::interface5::internal::concurrent_unordered_base::raw_iterator) [with Traits = tbb::interface5::concurrent_unordered_map_traits, std::equal_to >, local_counting_allocator, std::allocator> >, false>; tbb::interface5::internal::concurrent_unordered_base::size_type = long unsigned int; tbb::interface5::internal::concurrent_unordered_base::raw_iterator = tbb::interface5::internal::flist_iterator, local_counting_allocator, std::allocator>, tbb::atomic > >, std::pair >]': ../../include/tbb/internal/_concurrent_unordered_impl.h:1056:9: required from 'void tbb::interface5::internal::concurrent_unordered_base::clear() [with Traits = tbb::interface5::concurrent_unordered_map_traits, std::equal_to >, local_counting_allocator, std::allocator> >, false>]' ../../src/test/test_concurrent_unordered_common.h:347:5: required from 'void test_basic(const char*, do_check_element_state) [with T = tbb::interface5::concurrent_unordered_map, std::equal_to, local_counting_allocator, std::allocator> > >; do_check_element_state = tbb::internal::bool_constant]' ../../src/test/test_concurrent_unordered_map.cpp:314:117: required from here ../../include/tbb/internal/_concurrent_unordered_impl.h:1471:24: warning: 'void* memset(void*, int, size_t)' clearing an object of non-trivial type 'tbb::interface5::internal::concurrent_unordered_base, std::equal_to >, local_counting_allocator, std::allocator> >, false> >::raw_iterator' {aka 'class tbb::interface5::internal::flist_iterator, local_counting_allocator, std::allocator>, tbb::atomic > >, std::pair >'}; use assignment or value-initialization instead [-Wclass-memaccess] std::memset(new_segment, 0, sz*sizeof(raw_iterator)); ~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ In file included from ../../include/tbb/concurrent_unordered_map.h:27, from ../../src/test/test_concurrent_unordered_map.cpp:26: ../../include/tbb/internal/_concurrent_unordered_impl.h:61:7: note: 'tbb::interface5::internal::concurrent_unordered_base, std::equal_to >, local_counting_allocator, std::allocator> >, false> >::raw_iterator' {aka 'class tbb::interface5::internal::flist_iterator, local_counting_allocator, std::allocator>, tbb::atomic > >, std::pair >'} declared here class flist_iterator : public std::iterator ^~~~~~~~~~~~~~ In file included from ../../include/tbb/concurrent_unordered_map.h:27, from ../../src/test/test_concurrent_unordered_map.cpp:26: ../../include/tbb/internal/_concurrent_unordered_impl.h: In instantiation of 'void tbb::interface5::internal::concurrent_unordered_base::set_bucket(tbb::interface5::internal::concurrent_unordered_base::size_type, tbb::interface5::internal::concurrent_unordered_base::raw_iterator) [with Traits = tbb::interface5::concurrent_unordered_map_traits, tbb::interface5::internal::hash_compare, std::equal_to >, local_counting_allocator, std::allocator> >, true>; tbb::interface5::internal::concurrent_unordered_base::size_type = long unsigned int; tbb::interface5::internal::concurrent_unordered_base::raw_iterator = tbb::interface5::internal::flist_iterator >, local_counting_allocator >, std::allocator>, tbb::atomic > >, std::pair > >]': ../../include/tbb/internal/_concurrent_unordered_impl.h:1056:9: required from 'void tbb::interface5::internal::concurrent_unordered_base::clear() [with Traits = tbb::interface5::concurrent_unordered_map_traits, tbb::interface5::internal::hash_compare, std::equal_to >, local_counting_allocator, std::allocator> >, true>]' ../../src/test/test_concurrent_unordered_common.h:657:5: required from 'void test_concurrent(const char*, bool) [with T = tbb::interface5::concurrent_unordered_multimap, tbb::tbb_hash, std::equal_to, local_counting_allocator, std::allocator> > >]' ../../src/test/test_concurrent_unordered_map.cpp:318:131: required from here ../../include/tbb/internal/_concurrent_unordered_impl.h:1471:24: warning: 'void* memset(void*, int, size_t)' clearing an object of non-trivial type 'tbb::interface5::internal::concurrent_unordered_base, tbb::interface5::internal::hash_compare, std::equal_to >, local_counting_allocator, std::allocator> >, true> >::raw_iterator' {aka 'class tbb::interface5::internal::flist_iterator >, local_counting_allocator >, std::allocator>, tbb::atomic > >, std::pair > >'}; use assignment or value-initialization instead [-Wclass-memaccess] std::memset(new_segment, 0, sz*sizeof(raw_iterator)); ~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ In file included from ../../include/tbb/concurrent_unordered_map.h:27, from ../../src/test/test_concurrent_unordered_map.cpp:26: ../../include/tbb/internal/_concurrent_unordered_impl.h:61:7: note: 'tbb::interface5::internal::concurrent_unordered_base, tbb::interface5::internal::hash_compare, std::equal_to >, local_counting_allocator, std::allocator> >, true> >::raw_iterator' {aka 'class tbb::interface5::internal::flist_iterator >, local_counting_allocator >, std::allocator>, tbb::atomic > >, std::pair > >'} declared here class flist_iterator : public std::iterator ^~~~~~~~~~~~~~ In file included from ../../src/test/test_container_move_support.h:26, from ../../src/test/test_concurrent_unordered_common.h:25, from ../../src/test/test_concurrent_unordered_map.cpp:42: ../../src/test/harness_allocator.h: In instantiation of 'debug_allocator::pointer debug_allocator::allocate(debug_allocator::size_type, const void*) [with T = tbb::interface5::internal::flist_iterator, local_counting_allocator, std::allocator> > >, std::pair >; Allocator = std::allocator; debug_allocator::pointer = tbb::interface5::internal::flist_iterator, local_counting_allocator, std::allocator> > >, std::pair >*; debug_allocator::size_type = long unsigned int]': ../../src/test/harness_allocator.h:474:43: required from 'local_counting_allocator::pointer local_counting_allocator::allocate(local_counting_allocator::size_type) [with base_alloc_t = debug_allocator, local_counting_allocator, std::allocator> > >, std::pair >, std::allocator>; count_t = tbb::atomic; local_counting_allocator::pointer = tbb::interface5::internal::flist_iterator, local_counting_allocator, std::allocator> > >, std::pair >*; local_counting_allocator::size_type = long unsigned int]' ../../include/tbb/internal/_concurrent_unordered_impl.h:1470:28: required from 'void tbb::interface5::internal::concurrent_unordered_base::set_bucket(tbb::interface5::internal::concurrent_unordered_base::size_type, tbb::interface5::internal::concurrent_unordered_base::raw_iterator) [with Traits = tbb::interface5::concurrent_unordered_map_traits, std::equal_to >, local_counting_allocator, std::allocator> >, true>; tbb::interface5::internal::concurrent_unordered_base::size_type = long unsigned int; tbb::interface5::internal::concurrent_unordered_base::raw_iterator = tbb::interface5::internal::flist_iterator, local_counting_allocator, std::allocator> > >, std::pair >]' ../../include/tbb/internal/_concurrent_unordered_impl.h:1056:9: required from 'void tbb::interface5::internal::concurrent_unordered_base::clear() [with Traits = tbb::interface5::concurrent_unordered_map_traits, std::equal_to >, local_counting_allocator, std::allocator> >, true>]' ../../src/test/test_concurrent_unordered_map.cpp:161:20: required from here ../../src/test/harness_allocator.h:518:20: warning: 'void* memset(void*, int, size_t)' writing to an object of non-trivial type 'class tbb::interface5::internal::flist_iterator, local_counting_allocator, std::allocator> > >, std::pair >'; use assignment instead [-Wclass-memaccess] std::memset( ptr, 0xE3E3E3E3, n * sizeof(value_type) ); ~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ In file included from ../../include/tbb/concurrent_unordered_map.h:27, from ../../src/test/test_concurrent_unordered_map.cpp:26: ../../include/tbb/internal/_concurrent_unordered_impl.h:61:7: note: 'class tbb::interface5::internal::flist_iterator, local_counting_allocator, std::allocator> > >, std::pair >' declared here class flist_iterator : public std::iterator ^~~~~~~~~~~~~~ In file included from ../../include/tbb/concurrent_unordered_map.h:27, from ../../src/test/test_concurrent_unordered_map.cpp:26: ../../include/tbb/internal/_concurrent_unordered_impl.h: In instantiation of 'void tbb::interface5::internal::concurrent_unordered_base::set_bucket(tbb::interface5::internal::concurrent_unordered_base::size_type, tbb::interface5::internal::concurrent_unordered_base::raw_iterator) [with Traits = tbb::interface5::concurrent_unordered_map_traits, std::equal_to >, tbb::tbb_allocator >, false>; tbb::interface5::internal::concurrent_unordered_base::size_type = long unsigned int; tbb::interface5::internal::concurrent_unordered_base::raw_iterator = tbb::interface5::internal::flist_iterator, tbb::tbb_allocator > >, std::pair >]': ../../include/tbb/internal/_concurrent_unordered_impl.h:1207:9: required from 'void tbb::interface5::internal::concurrent_unordered_base::internal_init() [with Traits = tbb::interface5::concurrent_unordered_map_traits, std::equal_to >, tbb::tbb_allocator >, false>]' ../../include/tbb/internal/_concurrent_unordered_impl.h:710:9: required from 'tbb::interface5::internal::concurrent_unordered_base::concurrent_unordered_base(tbb::interface5::internal::concurrent_unordered_base::size_type, const hash_compare&, const allocator_type&) [with Traits = tbb::interface5::concurrent_unordered_map_traits, std::equal_to >, tbb::tbb_allocator >, false>; tbb::interface5::internal::concurrent_unordered_base::size_type = long unsigned int; tbb::interface5::internal::concurrent_unordered_base::hash_compare = tbb::interface5::internal::hash_compare, std::equal_to >; tbb::interface5::internal::concurrent_unordered_base::allocator_type = tbb::tbb_allocator >]' ../../include/tbb/concurrent_unordered_map.h:101:73: required from 'tbb::interface5::concurrent_unordered_map::concurrent_unordered_map(tbb::interface5::concurrent_unordered_map::size_type, const hasher&, const key_equal&, const allocator_type&) [with Key = int; T = int; Hasher = tbb::tbb_hash; Key_equality = std::equal_to; Allocator = tbb::tbb_allocator >; tbb::interface5::concurrent_unordered_map::size_type = long unsigned int; tbb::interface5::concurrent_unordered_map::hasher = tbb::tbb_hash; tbb::interface5::concurrent_unordered_map::key_equal = std::equal_to; tbb::interface5::concurrent_unordered_map::allocator_type = tbb::tbb_allocator >]' ../../src/test/test_concurrent_unordered_map.cpp:183:12: required from here ../../include/tbb/internal/_concurrent_unordered_impl.h:1471:24: warning: 'void* memset(void*, int, size_t)' clearing an object of non-trivial type 'tbb::interface5::internal::concurrent_unordered_base, std::equal_to >, tbb::tbb_allocator >, false> >::raw_iterator' {aka 'class tbb::interface5::internal::flist_iterator, tbb::tbb_allocator > >, std::pair >'}; use assignment or value-initialization instead [-Wclass-memaccess] std::memset(new_segment, 0, sz*sizeof(raw_iterator)); ~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ In file included from ../../include/tbb/concurrent_unordered_map.h:27, from ../../src/test/test_concurrent_unordered_map.cpp:26: ../../include/tbb/internal/_concurrent_unordered_impl.h:61:7: note: 'tbb::interface5::internal::concurrent_unordered_base, std::equal_to >, tbb::tbb_allocator >, false> >::raw_iterator' {aka 'class tbb::interface5::internal::flist_iterator, tbb::tbb_allocator > >, std::pair >'} declared here class flist_iterator : public std::iterator ^~~~~~~~~~~~~~ In file included from ../../src/test/test_container_move_support.h:26, from ../../src/test/test_concurrent_unordered_common.h:25, from ../../src/test/test_concurrent_unordered_map.cpp:42: ../../src/test/harness_allocator.h: In instantiation of 'debug_allocator::pointer debug_allocator::allocate(debug_allocator::size_type, const void*) [with T = std::pair; Allocator = std::allocator; debug_allocator::pointer = std::pair*; debug_allocator::size_type = long unsigned int]': ../../src/test/test_concurrent_unordered_common.h:896:17: required from 'void Examine(Table, const std::__cxx11::list&) [with bool defCtorPresent = true; Table = tbb::interface5::concurrent_unordered_map, Harness::IsEqual, debug_allocator, std::allocator> >; typename Table::value_type = std::pair]' ../../src/test/test_concurrent_unordered_common.h:925:28: required from 'void TypeTester(const std::__cxx11::list&) [with bool defCtorPresent = true; Table = tbb::interface5::concurrent_unordered_map, Harness::IsEqual, tbb::tbb_allocator > >; TableDebugAlloc = tbb::interface5::concurrent_unordered_map, Harness::IsEqual, debug_allocator, std::allocator> >; typename Table::value_type = std::pair]' ../../src/test/test_concurrent_unordered_map.cpp:240:131: required from 'void TestTypesMap(const std::__cxx11::list&) [with bool defCtorPresent = true; ValueType = std::pair]' ../../src/test/test_concurrent_unordered_map.cpp:250:58: required from here ../../src/test/harness_allocator.h:518:20: warning: 'void* memset(void*, int, size_t)' writing to an object of type 'struct std::pair' with no trivial copy-assignment [-Wclass-memaccess] std::memset( ptr, 0xE3E3E3E3, n * sizeof(value_type) ); ~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ In file included from /usr/include/c++/8/bits/stl_algobase.h:64, from /usr/include/c++/8/memory:62, from ../../include/tbb/internal/../tbb_stddef.h:427, from ../../include/tbb/internal/_concurrent_unordered_impl.h:30, from ../../include/tbb/concurrent_unordered_map.h:27, from ../../src/test/test_concurrent_unordered_map.cpp:26: /usr/include/c++/8/bits/stl_pair.h:198:12: note: 'struct std::pair' declared here struct pair ^~~~ In file included from ../../src/test/test_container_move_support.h:26, from ../../src/test/test_concurrent_unordered_common.h:25, from ../../src/test/test_concurrent_unordered_map.cpp:42: ../../src/test/harness_allocator.h: In instantiation of 'debug_allocator::pointer debug_allocator::allocate(debug_allocator::size_type, const void*) [with T = std::pair >; Allocator = std::allocator; debug_allocator::pointer = std::pair >*; debug_allocator::size_type = long unsigned int]': ../../src/test/test_concurrent_unordered_common.h:896:17: required from 'void Examine(Table, const std::__cxx11::list&) [with bool defCtorPresent = true; Table = tbb::interface5::concurrent_unordered_map, tbb::tbb_hash, Harness::IsEqual, debug_allocator >, std::allocator> >; typename Table::value_type = std::pair >]' ../../src/test/test_concurrent_unordered_common.h:925:28: required from 'void TypeTester(const std::__cxx11::list&) [with bool defCtorPresent = true; Table = tbb::interface5::concurrent_unordered_map, tbb::tbb_hash, Harness::IsEqual, tbb::tbb_allocator > > >; TableDebugAlloc = tbb::interface5::concurrent_unordered_map, tbb::tbb_hash, Harness::IsEqual, debug_allocator >, std::allocator> >; typename Table::value_type = std::pair >]' ../../src/test/test_concurrent_unordered_map.cpp:240:131: required from 'void TestTypesMap(const std::__cxx11::list&) [with bool defCtorPresent = true; ValueType = std::pair >]' ../../src/test/test_concurrent_unordered_map.cpp:258:56: required from here ../../src/test/harness_allocator.h:518:20: warning: 'void* memset(void*, int, size_t)' writing to an object of type 'struct std::pair >' with no trivial copy-assignment [-Wclass-memaccess] std::memset( ptr, 0xE3E3E3E3, n * sizeof(value_type) ); ~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ In file included from /usr/include/c++/8/bits/stl_algobase.h:64, from /usr/include/c++/8/memory:62, from ../../include/tbb/internal/../tbb_stddef.h:427, from ../../include/tbb/internal/_concurrent_unordered_impl.h:30, from ../../include/tbb/concurrent_unordered_map.h:27, from ../../src/test/test_concurrent_unordered_map.cpp:26: /usr/include/c++/8/bits/stl_pair.h:198:12: note: 'struct std::pair >' declared here struct pair ^~~~ In file included from ../../src/test/test_container_move_support.h:26, from ../../src/test/test_concurrent_unordered_common.h:25, from ../../src/test/test_concurrent_unordered_map.cpp:42: ../../src/test/harness_allocator.h: In instantiation of 'debug_allocator::pointer debug_allocator::allocate(debug_allocator::size_type, const void*) [with T = std::pair, int>; Allocator = std::allocator; debug_allocator::pointer = std::pair, int>*; debug_allocator::size_type = long unsigned int]': ../../src/test/test_concurrent_unordered_common.h:896:17: required from 'void Examine(Table, const std::__cxx11::list&) [with bool defCtorPresent = true; Table = tbb::interface5::concurrent_unordered_map, int, tbb::tbb_hash >, Harness::IsEqual, debug_allocator, int>, std::allocator> >; typename Table::value_type = std::pair, int>]' ../../src/test/test_concurrent_unordered_common.h:925:28: required from 'void TypeTester(const std::__cxx11::list&) [with bool defCtorPresent = true; Table = tbb::interface5::concurrent_unordered_map, int, tbb::tbb_hash >, Harness::IsEqual, tbb::tbb_allocator, int> > >; TableDebugAlloc = tbb::interface5::concurrent_unordered_map, int, tbb::tbb_hash >, Harness::IsEqual, debug_allocator, int>, std::allocator> >; typename Table::value_type = std::pair, int>]' ../../src/test/test_concurrent_unordered_map.cpp:240:131: required from 'void TestTypesMap(const std::__cxx11::list&) [with bool defCtorPresent = true; ValueType = std::pair, int>]' ../../src/test/test_concurrent_unordered_map.cpp:264:56: required from here ../../src/test/harness_allocator.h:518:20: warning: 'void* memset(void*, int, size_t)' writing to an object of type 'struct std::pair, int>' with no trivial copy-assignment [-Wclass-memaccess] std::memset( ptr, 0xE3E3E3E3, n * sizeof(value_type) ); ~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ In file included from /usr/include/c++/8/bits/stl_algobase.h:64, from /usr/include/c++/8/memory:62, from ../../include/tbb/internal/../tbb_stddef.h:427, from ../../include/tbb/internal/_concurrent_unordered_impl.h:30, from ../../include/tbb/concurrent_unordered_map.h:27, from ../../src/test/test_concurrent_unordered_map.cpp:26: /usr/include/c++/8/bits/stl_pair.h:198:12: note: 'struct std::pair, int>' declared here struct pair ^~~~ In file included from ../../src/test/test_container_move_support.h:26, from ../../src/test/test_concurrent_unordered_common.h:25, from ../../src/test/test_concurrent_unordered_map.cpp:42: ../../src/test/harness_allocator.h: In instantiation of 'debug_allocator::pointer debug_allocator::allocate(debug_allocator::size_type, const void*) [with T = std::pair >; Allocator = std::allocator; debug_allocator::pointer = std::pair >*; debug_allocator::size_type = long unsigned int]': ../../src/test/test_concurrent_unordered_common.h:896:17: required from 'void Examine(Table, const std::__cxx11::list&) [with bool defCtorPresent = false; Table = tbb::interface5::concurrent_unordered_map, tbb::tbb_hash, Harness::IsEqual, debug_allocator >, std::allocator> >; typename Table::value_type = std::pair >]' ../../src/test/test_concurrent_unordered_common.h:925:28: required from 'void TypeTester(const std::__cxx11::list&) [with bool defCtorPresent = false; Table = tbb::interface5::concurrent_unordered_map, tbb::tbb_hash, Harness::IsEqual, tbb::tbb_allocator > > >; TableDebugAlloc = tbb::interface5::concurrent_unordered_map, tbb::tbb_hash, Harness::IsEqual, debug_allocator >, std::allocator> >; typename Table::value_type = std::pair >]' ../../src/test/test_concurrent_unordered_map.cpp:240:131: required from 'void TestTypesMap(const std::__cxx11::list&) [with bool defCtorPresent = false; ValueType = std::pair >]' ../../src/test/test_concurrent_unordered_map.cpp:271:57: required from here ../../src/test/harness_allocator.h:518:20: warning: 'void* memset(void*, int, size_t)' writing to an object of type 'struct std::pair >' with no trivial copy-assignment [-Wclass-memaccess] std::memset( ptr, 0xE3E3E3E3, n * sizeof(value_type) ); ~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ In file included from /usr/include/c++/8/bits/stl_algobase.h:64, from /usr/include/c++/8/memory:62, from ../../include/tbb/internal/../tbb_stddef.h:427, from ../../include/tbb/internal/_concurrent_unordered_impl.h:30, from ../../include/tbb/concurrent_unordered_map.h:27, from ../../src/test/test_concurrent_unordered_map.cpp:26: /usr/include/c++/8/bits/stl_pair.h:198:12: note: 'struct std::pair >' declared here struct pair ^~~~ In file included from ../../src/test/test_container_move_support.h:26, from ../../src/test/test_concurrent_unordered_common.h:25, from ../../src/test/test_concurrent_unordered_map.cpp:42: ../../src/test/harness_allocator.h: In instantiation of 'debug_allocator::pointer debug_allocator::allocate(debug_allocator::size_type, const void*) [with T = std::pair, std::shared_ptr >; Allocator = std::allocator; debug_allocator::pointer = std::pair, std::shared_ptr >*; debug_allocator::size_type = long unsigned int]': ../../src/test/test_concurrent_unordered_common.h:896:17: required from 'void Examine(Table, const std::__cxx11::list&) [with bool defCtorPresent = true; Table = tbb::interface5::concurrent_unordered_map, std::shared_ptr, tbb::tbb_hash >, Harness::IsEqual, debug_allocator, std::shared_ptr >, std::allocator> >; typename Table::value_type = std::pair, std::shared_ptr >]' ../../src/test/test_concurrent_unordered_common.h:925:28: required from 'void TypeTester(const std::__cxx11::list&) [with bool defCtorPresent = true; Table = tbb::interface5::concurrent_unordered_map, std::shared_ptr, tbb::tbb_hash >, Harness::IsEqual, tbb::tbb_allocator, std::shared_ptr > > >; TableDebugAlloc = tbb::interface5::concurrent_unordered_map, std::shared_ptr, tbb::tbb_hash >, Harness::IsEqual, debug_allocator, std::shared_ptr >, std::allocator> >; typename Table::value_type = std::pair, std::shared_ptr >]' ../../src/test/test_concurrent_unordered_map.cpp:240:131: required from 'void TestTypesMap(const std::__cxx11::list&) [with bool defCtorPresent = true; ValueType = std::pair, std::shared_ptr >]' ../../src/test/test_concurrent_unordered_map.cpp:280:56: required from here ../../src/test/harness_allocator.h:518:20: warning: 'void* memset(void*, int, size_t)' writing to an object of type 'struct std::pair, std::shared_ptr >' with no trivial copy-assignment [-Wclass-memaccess] std::memset( ptr, 0xE3E3E3E3, n * sizeof(value_type) ); ~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ In file included from /usr/include/c++/8/bits/stl_algobase.h:64, from /usr/include/c++/8/memory:62, from ../../include/tbb/internal/../tbb_stddef.h:427, from ../../include/tbb/internal/_concurrent_unordered_impl.h:30, from ../../include/tbb/concurrent_unordered_map.h:27, from ../../src/test/test_concurrent_unordered_map.cpp:26: /usr/include/c++/8/bits/stl_pair.h:198:12: note: 'struct std::pair, std::shared_ptr >' declared here struct pair ^~~~ In file included from ../../src/test/test_container_move_support.h:26, from ../../src/test/test_concurrent_unordered_common.h:25, from ../../src/test/test_concurrent_unordered_map.cpp:42: ../../src/test/harness_allocator.h: In instantiation of 'debug_allocator::pointer debug_allocator::allocate(debug_allocator::size_type, const void*) [with T = std::pair, std::weak_ptr >; Allocator = std::allocator; debug_allocator::pointer = std::pair, std::weak_ptr >*; debug_allocator::size_type = long unsigned int]': ../../src/test/test_concurrent_unordered_common.h:896:17: required from 'void Examine(Table, const std::__cxx11::list&) [with bool defCtorPresent = true; Table = tbb::interface5::concurrent_unordered_map, std::weak_ptr, tbb::tbb_hash >, Harness::IsEqual, debug_allocator, std::weak_ptr >, std::allocator> >; typename Table::value_type = std::pair, std::weak_ptr >]' ../../src/test/test_concurrent_unordered_common.h:925:28: required from 'void TypeTester(const std::__cxx11::list&) [with bool defCtorPresent = true; Table = tbb::interface5::concurrent_unordered_map, std::weak_ptr, tbb::tbb_hash >, Harness::IsEqual, tbb::tbb_allocator, std::weak_ptr > > >; TableDebugAlloc = tbb::interface5::concurrent_unordered_map, std::weak_ptr, tbb::tbb_hash >, Harness::IsEqual, debug_allocator, std::weak_ptr >, std::allocator> >; typename Table::value_type = std::pair, std::weak_ptr >]' ../../src/test/test_concurrent_unordered_map.cpp:240:131: required from 'void TestTypesMap(const std::__cxx11::list&) [with bool defCtorPresent = true; ValueType = std::pair, std::weak_ptr >]' ../../src/test/test_concurrent_unordered_map.cpp:284:54: required from here ../../src/test/harness_allocator.h:518:20: warning: 'void* memset(void*, int, size_t)' writing to an object of type 'struct std::pair, std::weak_ptr >' with no trivial copy-assignment [-Wclass-memaccess] std::memset( ptr, 0xE3E3E3E3, n * sizeof(value_type) ); ~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ In file included from /usr/include/c++/8/bits/stl_algobase.h:64, from /usr/include/c++/8/memory:62, from ../../include/tbb/internal/../tbb_stddef.h:427, from ../../include/tbb/internal/_concurrent_unordered_impl.h:30, from ../../include/tbb/concurrent_unordered_map.h:27, from ../../src/test/test_concurrent_unordered_map.cpp:26: /usr/include/c++/8/bits/stl_pair.h:198:12: note: 'struct std::pair, std::weak_ptr >' declared here struct pair ^~~~ In file included from ../../src/test/test_container_move_support.h:26, from ../../src/test/test_concurrent_unordered_common.h:25, from ../../src/test/test_concurrent_unordered_map.cpp:42: ../../src/test/harness_allocator.h: In instantiation of 'debug_allocator::pointer debug_allocator::allocate(debug_allocator::size_type, const void*) [with T = tbb::interface5::internal::split_ordered_list, local_counting_allocator, std::allocator> > >::node; Allocator = std::allocator; debug_allocator::pointer = tbb::interface5::internal::split_ordered_list, local_counting_allocator, std::allocator> > >::node*; debug_allocator::size_type = long unsigned int]': ../../src/test/harness_allocator.h:474:43: required from 'local_counting_allocator::pointer local_counting_allocator::allocate(local_counting_allocator::size_type) [with base_alloc_t = debug_allocator, local_counting_allocator, std::allocator> > >::node, std::allocator>; count_t = tbb::atomic; local_counting_allocator::pointer = tbb::interface5::internal::split_ordered_list, local_counting_allocator, std::allocator> > >::node*; local_counting_allocator::size_type = long unsigned int]' ../../include/tbb/internal/_concurrent_unordered_impl.h:264:19: required from 'tbb::interface5::internal::split_ordered_list::node* tbb::interface5::internal::split_ordered_list::create_node(tbb::interface5::internal::sokey_t, Arg&&, tbb::internal::true_type) [with Arg = std::pair; T = std::pair; Allocator = local_counting_allocator, std::allocator> >; tbb::interface5::internal::split_ordered_list::nodeptr_t = tbb::interface5::internal::split_ordered_list, local_counting_allocator, std::allocator> > >::node*; tbb::interface5::internal::sokey_t = long unsigned int; tbb::internal::true_type = tbb::internal::bool_constant]' ../../include/tbb/internal/_concurrent_unordered_impl.h:1282:27: required from 'std::pair::iterator, bool> tbb::interface5::internal::concurrent_unordered_base::internal_insert(ValueType&&, tbb::interface5::internal::concurrent_unordered_base::nodeptr_t) [with AllowCreate = tbb::internal::bool_constant; ValueType = std::pair; Traits = tbb::interface5::concurrent_unordered_map_traits, std::equal_to >, local_counting_allocator, std::allocator> >, true>; typename tbb::interface5::internal::split_ordered_list::iterator = tbb::interface5::internal::solist_iterator, local_counting_allocator, std::allocator> > >, std::pair >; tbb::interface5::internal::concurrent_unordered_base::nodeptr_t = tbb::interface5::internal::split_ordered_list, local_counting_allocator, std::allocator> > >::node*]' ../../include/tbb/internal/_concurrent_unordered_impl.h:969:73: required from 'std::pair::iterator, bool> tbb::interface5::internal::concurrent_unordered_base::insert(tbb::interface5::internal::concurrent_unordered_base::value_type&&) [with Traits = tbb::interface5::concurrent_unordered_map_traits, std::equal_to >, local_counting_allocator, std::allocator> >, true>; typename tbb::interface5::internal::split_ordered_list::iterator = tbb::interface5::internal::solist_iterator, local_counting_allocator, std::allocator> > >, std::pair >; tbb::interface5::internal::concurrent_unordered_base::value_type = std::pair]' ../../src/test/test_concurrent_unordered_map.cpp:115:57: required from here ../../src/test/harness_allocator.h:518:20: warning: 'void* memset(void*, int, size_t)' writing to an object of type 'struct tbb::interface5::internal::split_ordered_list, local_counting_allocator, std::allocator> > >::node' with no trivial copy-assignment [-Wclass-memaccess] std::memset( ptr, 0xE3E3E3E3, n * sizeof(value_type) ); ~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ In file included from ../../include/tbb/concurrent_unordered_map.h:27, from ../../src/test/test_concurrent_unordered_map.cpp:26: ../../include/tbb/internal/_concurrent_unordered_impl.h:206:12: note: 'struct tbb::interface5::internal::split_ordered_list, local_counting_allocator, std::allocator> > >::node' declared here struct node : tbb::internal::no_assign ^~~~ In file included from ../../include/tbb/concurrent_unordered_map.h:27, from ../../src/test/test_concurrent_unordered_map.cpp:26: ../../include/tbb/internal/_concurrent_unordered_impl.h: In instantiation of 'void tbb::interface5::internal::concurrent_unordered_base::set_bucket(tbb::interface5::internal::concurrent_unordered_base::size_type, tbb::interface5::internal::concurrent_unordered_base::raw_iterator) [with Traits = tbb::interface5::concurrent_unordered_map_traits, Harness::IsEqual>, tbb::tbb_allocator >, false>; tbb::interface5::internal::concurrent_unordered_base::size_type = long unsigned int; tbb::interface5::internal::concurrent_unordered_base::raw_iterator = tbb::interface5::internal::flist_iterator, tbb::tbb_allocator > >, std::pair >]': ../../include/tbb/internal/_concurrent_unordered_impl.h:1207:9: required from 'void tbb::interface5::internal::concurrent_unordered_base::internal_init() [with Traits = tbb::interface5::concurrent_unordered_map_traits, Harness::IsEqual>, tbb::tbb_allocator >, false>]' ../../include/tbb/internal/_concurrent_unordered_impl.h:724:9: required from 'tbb::interface5::internal::concurrent_unordered_base::concurrent_unordered_base(const tbb::interface5::internal::concurrent_unordered_base&) [with Traits = tbb::interface5::concurrent_unordered_map_traits, Harness::IsEqual>, tbb::tbb_allocator >, false>]' ../../include/tbb/concurrent_unordered_map.h:58:7: required from 'void TypeTester(const std::__cxx11::list&) [with bool defCtorPresent = true; Table = tbb::interface5::concurrent_unordered_map, Harness::IsEqual, tbb::tbb_allocator > >; TableDebugAlloc = tbb::interface5::concurrent_unordered_map, Harness::IsEqual, debug_allocator, std::allocator> >; typename Table::value_type = std::pair]' ../../src/test/test_concurrent_unordered_map.cpp:240:131: required from 'void TestTypesMap(const std::__cxx11::list&) [with bool defCtorPresent = true; ValueType = std::pair]' ../../src/test/test_concurrent_unordered_map.cpp:250:58: required from here ../../include/tbb/internal/_concurrent_unordered_impl.h:1471:24: warning: 'void* memset(void*, int, size_t)' clearing an object of non-trivial type 'tbb::interface5::internal::concurrent_unordered_base, Harness::IsEqual>, tbb::tbb_allocator >, false> >::raw_iterator' {aka 'class tbb::interface5::internal::flist_iterator, tbb::tbb_allocator > >, std::pair >'}; use assignment or value-initialization instead [-Wclass-memaccess] std::memset(new_segment, 0, sz*sizeof(raw_iterator)); ~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ In file included from ../../include/tbb/concurrent_unordered_map.h:27, from ../../src/test/test_concurrent_unordered_map.cpp:26: ../../include/tbb/internal/_concurrent_unordered_impl.h:61:7: note: 'tbb::interface5::internal::concurrent_unordered_base, Harness::IsEqual>, tbb::tbb_allocator >, false> >::raw_iterator' {aka 'class tbb::interface5::internal::flist_iterator, tbb::tbb_allocator > >, std::pair >'} declared here class flist_iterator : public std::iterator ^~~~~~~~~~~~~~ In file included from ../../include/tbb/concurrent_unordered_map.h:27, from ../../src/test/test_concurrent_unordered_map.cpp:26: ../../include/tbb/internal/_concurrent_unordered_impl.h: In instantiation of 'void tbb::interface5::internal::concurrent_unordered_base::set_bucket(tbb::interface5::internal::concurrent_unordered_base::size_type, tbb::interface5::internal::concurrent_unordered_base::raw_iterator) [with Traits = tbb::interface5::concurrent_unordered_map_traits, Harness::IsEqual>, debug_allocator, std::allocator>, false>; tbb::interface5::internal::concurrent_unordered_base::size_type = long unsigned int; tbb::interface5::internal::concurrent_unordered_base::raw_iterator = tbb::interface5::internal::flist_iterator, debug_allocator, std::allocator> >, std::pair >]': ../../include/tbb/internal/_concurrent_unordered_impl.h:1207:9: required from 'void tbb::interface5::internal::concurrent_unordered_base::internal_init() [with Traits = tbb::interface5::concurrent_unordered_map_traits, Harness::IsEqual>, debug_allocator, std::allocator>, false>]' ../../include/tbb/internal/_concurrent_unordered_impl.h:724:9: required from 'tbb::interface5::internal::concurrent_unordered_base::concurrent_unordered_base(const tbb::interface5::internal::concurrent_unordered_base&) [with Traits = tbb::interface5::concurrent_unordered_map_traits, Harness::IsEqual>, debug_allocator, std::allocator>, false>]' ../../include/tbb/concurrent_unordered_map.h:58:7: required from 'void TypeTester(const std::__cxx11::list&) [with bool defCtorPresent = true; Table = tbb::interface5::concurrent_unordered_map, Harness::IsEqual, tbb::tbb_allocator > >; TableDebugAlloc = tbb::interface5::concurrent_unordered_map, Harness::IsEqual, debug_allocator, std::allocator> >; typename Table::value_type = std::pair]' ../../src/test/test_concurrent_unordered_map.cpp:240:131: required from 'void TestTypesMap(const std::__cxx11::list&) [with bool defCtorPresent = true; ValueType = std::pair]' ../../src/test/test_concurrent_unordered_map.cpp:250:58: required from here ../../include/tbb/internal/_concurrent_unordered_impl.h:1471:24: warning: 'void* memset(void*, int, size_t)' clearing an object of non-trivial type 'tbb::interface5::internal::concurrent_unordered_base, Harness::IsEqual>, debug_allocator, std::allocator>, false> >::raw_iterator' {aka 'class tbb::interface5::internal::flist_iterator, debug_allocator, std::allocator> >, std::pair >'}; use assignment or value-initialization instead [-Wclass-memaccess] std::memset(new_segment, 0, sz*sizeof(raw_iterator)); ~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ In file included from ../../include/tbb/concurrent_unordered_map.h:27, from ../../src/test/test_concurrent_unordered_map.cpp:26: ../../include/tbb/internal/_concurrent_unordered_impl.h:61:7: note: 'tbb::interface5::internal::concurrent_unordered_base, Harness::IsEqual>, debug_allocator, std::allocator>, false> >::raw_iterator' {aka 'class tbb::interface5::internal::flist_iterator, debug_allocator, std::allocator> >, std::pair >'} declared here class flist_iterator : public std::iterator ^~~~~~~~~~~~~~ In file included from ../../include/tbb/concurrent_unordered_map.h:27, from ../../src/test/test_concurrent_unordered_map.cpp:26: ../../include/tbb/internal/_concurrent_unordered_impl.h: In instantiation of 'void tbb::interface5::internal::concurrent_unordered_base::set_bucket(tbb::interface5::internal::concurrent_unordered_base::size_type, tbb::interface5::internal::concurrent_unordered_base::raw_iterator) [with Traits = tbb::interface5::concurrent_unordered_map_traits, Harness::IsEqual>, tbb::tbb_allocator >, true>; tbb::interface5::internal::concurrent_unordered_base::size_type = long unsigned int; tbb::interface5::internal::concurrent_unordered_base::raw_iterator = tbb::interface5::internal::flist_iterator, tbb::tbb_allocator > >, std::pair >]': ../../include/tbb/internal/_concurrent_unordered_impl.h:1207:9: required from 'void tbb::interface5::internal::concurrent_unordered_base::internal_init() [with Traits = tbb::interface5::concurrent_unordered_map_traits, Harness::IsEqual>, tbb::tbb_allocator >, true>]' ../../include/tbb/internal/_concurrent_unordered_impl.h:724:9: required from 'tbb::interface5::internal::concurrent_unordered_base::concurrent_unordered_base(const tbb::interface5::internal::concurrent_unordered_base&) [with Traits = tbb::interface5::concurrent_unordered_map_traits, Harness::IsEqual>, tbb::tbb_allocator >, true>]' ../../include/tbb/concurrent_unordered_map.h:196:7: required from 'void TypeTester(const std::__cxx11::list&) [with bool defCtorPresent = true; Table = tbb::interface5::concurrent_unordered_multimap, Harness::IsEqual, tbb::tbb_allocator > >; TableDebugAlloc = tbb::interface5::concurrent_unordered_multimap, Harness::IsEqual, debug_allocator, std::allocator> >; typename Table::value_type = std::pair]' ../../src/test/test_concurrent_unordered_map.cpp:242:136: required from 'void TestTypesMap(const std::__cxx11::list&) [with bool defCtorPresent = true; ValueType = std::pair]' ../../src/test/test_concurrent_unordered_map.cpp:250:58: required from here ../../include/tbb/internal/_concurrent_unordered_impl.h:1471:24: warning: 'void* memset(void*, int, size_t)' clearing an object of non-trivial type 'tbb::interface5::internal::concurrent_unordered_base, Harness::IsEqual>, tbb::tbb_allocator >, true> >::raw_iterator' {aka 'class tbb::interface5::internal::flist_iterator, tbb::tbb_allocator > >, std::pair >'}; use assignment or value-initialization instead [-Wclass-memaccess] std::memset(new_segment, 0, sz*sizeof(raw_iterator)); ~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ In file included from ../../include/tbb/concurrent_unordered_map.h:27, from ../../src/test/test_concurrent_unordered_map.cpp:26: ../../include/tbb/internal/_concurrent_unordered_impl.h:61:7: note: 'tbb::interface5::internal::concurrent_unordered_base, Harness::IsEqual>, tbb::tbb_allocator >, true> >::raw_iterator' {aka 'class tbb::interface5::internal::flist_iterator, tbb::tbb_allocator > >, std::pair >'} declared here class flist_iterator : public std::iterator ^~~~~~~~~~~~~~ In file included from ../../include/tbb/concurrent_unordered_map.h:27, from ../../src/test/test_concurrent_unordered_map.cpp:26: ../../include/tbb/internal/_concurrent_unordered_impl.h: In instantiation of 'void tbb::interface5::internal::concurrent_unordered_base::set_bucket(tbb::interface5::internal::concurrent_unordered_base::size_type, tbb::interface5::internal::concurrent_unordered_base::raw_iterator) [with Traits = tbb::interface5::concurrent_unordered_map_traits, Harness::IsEqual>, debug_allocator, std::allocator>, true>; tbb::interface5::internal::concurrent_unordered_base::size_type = long unsigned int; tbb::interface5::internal::concurrent_unordered_base::raw_iterator = tbb::interface5::internal::flist_iterator, debug_allocator, std::allocator> >, std::pair >]': ../../include/tbb/internal/_concurrent_unordered_impl.h:1207:9: required from 'void tbb::interface5::internal::concurrent_unordered_base::internal_init() [with Traits = tbb::interface5::concurrent_unordered_map_traits, Harness::IsEqual>, debug_allocator, std::allocator>, true>]' ../../include/tbb/internal/_concurrent_unordered_impl.h:724:9: required from 'tbb::interface5::internal::concurrent_unordered_base::concurrent_unordered_base(const tbb::interface5::internal::concurrent_unordered_base&) [with Traits = tbb::interface5::concurrent_unordered_map_traits, Harness::IsEqual>, debug_allocator, std::allocator>, true>]' ../../include/tbb/concurrent_unordered_map.h:196:7: required from 'void TypeTester(const std::__cxx11::list&) [with bool defCtorPresent = true; Table = tbb::interface5::concurrent_unordered_multimap, Harness::IsEqual, tbb::tbb_allocator > >; TableDebugAlloc = tbb::interface5::concurrent_unordered_multimap, Harness::IsEqual, debug_allocator, std::allocator> >; typename Table::value_type = std::pair]' ../../src/test/test_concurrent_unordered_map.cpp:242:136: required from 'void TestTypesMap(const std::__cxx11::list&) [with bool defCtorPresent = true; ValueType = std::pair]' ../../src/test/test_concurrent_unordered_map.cpp:250:58: required from here ../../include/tbb/internal/_concurrent_unordered_impl.h:1471:24: warning: 'void* memset(void*, int, size_t)' clearing an object of non-trivial type 'tbb::interface5::internal::concurrent_unordered_base, Harness::IsEqual>, debug_allocator, std::allocator>, true> >::raw_iterator' {aka 'class tbb::interface5::internal::flist_iterator, debug_allocator, std::allocator> >, std::pair >'}; use assignment or value-initialization instead [-Wclass-memaccess] std::memset(new_segment, 0, sz*sizeof(raw_iterator)); ~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ In file included from ../../include/tbb/concurrent_unordered_map.h:27, from ../../src/test/test_concurrent_unordered_map.cpp:26: ../../include/tbb/internal/_concurrent_unordered_impl.h:61:7: note: 'tbb::interface5::internal::concurrent_unordered_base, Harness::IsEqual>, debug_allocator, std::allocator>, true> >::raw_iterator' {aka 'class tbb::interface5::internal::flist_iterator, debug_allocator, std::allocator> >, std::pair >'} declared here class flist_iterator : public std::iterator ^~~~~~~~~~~~~~ In file included from ../../include/tbb/concurrent_unordered_map.h:27, from ../../src/test/test_concurrent_unordered_map.cpp:26: ../../include/tbb/internal/_concurrent_unordered_impl.h: In instantiation of 'void tbb::interface5::internal::concurrent_unordered_base::set_bucket(tbb::interface5::internal::concurrent_unordered_base::size_type, tbb::interface5::internal::concurrent_unordered_base::raw_iterator) [with Traits = tbb::interface5::concurrent_unordered_map_traits, tbb::interface5::internal::hash_compare, Harness::IsEqual>, tbb::tbb_allocator > >, false>; tbb::interface5::internal::concurrent_unordered_base::size_type = long unsigned int; tbb::interface5::internal::concurrent_unordered_base::raw_iterator = tbb::interface5::internal::flist_iterator >, tbb::tbb_allocator > > >, std::pair > >]': ../../include/tbb/internal/_concurrent_unordered_impl.h:1207:9: required from 'void tbb::interface5::internal::concurrent_unordered_base::internal_init() [with Traits = tbb::interface5::concurrent_unordered_map_traits, tbb::interface5::internal::hash_compare, Harness::IsEqual>, tbb::tbb_allocator > >, false>]' ../../include/tbb/internal/_concurrent_unordered_impl.h:724:9: required from 'tbb::interface5::internal::concurrent_unordered_base::concurrent_unordered_base(const tbb::interface5::internal::concurrent_unordered_base&) [with Traits = tbb::interface5::concurrent_unordered_map_traits, tbb::interface5::internal::hash_compare, Harness::IsEqual>, tbb::tbb_allocator > >, false>]' ../../include/tbb/concurrent_unordered_map.h:58:7: required from 'void TypeTester(const std::__cxx11::list&) [with bool defCtorPresent = true; Table = tbb::interface5::concurrent_unordered_map, tbb::tbb_hash, Harness::IsEqual, tbb::tbb_allocator > > >; TableDebugAlloc = tbb::interface5::concurrent_unordered_map, tbb::tbb_hash, Harness::IsEqual, debug_allocator >, std::allocator> >; typename Table::value_type = std::pair >]' ../../src/test/test_concurrent_unordered_map.cpp:240:131: required from 'void TestTypesMap(const std::__cxx11::list&) [with bool defCtorPresent = true; ValueType = std::pair >]' ../../src/test/test_concurrent_unordered_map.cpp:258:56: required from here ../../include/tbb/internal/_concurrent_unordered_impl.h:1471:24: warning: 'void* memset(void*, int, size_t)' clearing an object of non-trivial type 'tbb::interface5::internal::concurrent_unordered_base, tbb::interface5::internal::hash_compare, Harness::IsEqual>, tbb::tbb_allocator > >, false> >::raw_iterator' {aka 'class tbb::interface5::internal::flist_iterator >, tbb::tbb_allocator > > >, std::pair > >'}; use assignment or value-initialization instead [-Wclass-memaccess] std::memset(new_segment, 0, sz*sizeof(raw_iterator)); ~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ In file included from ../../include/tbb/concurrent_unordered_map.h:27, from ../../src/test/test_concurrent_unordered_map.cpp:26: ../../include/tbb/internal/_concurrent_unordered_impl.h:61:7: note: 'tbb::interface5::internal::concurrent_unordered_base, tbb::interface5::internal::hash_compare, Harness::IsEqual>, tbb::tbb_allocator > >, false> >::raw_iterator' {aka 'class tbb::interface5::internal::flist_iterator >, tbb::tbb_allocator > > >, std::pair > >'} declared here class flist_iterator : public std::iterator ^~~~~~~~~~~~~~ In file included from ../../include/tbb/concurrent_unordered_map.h:27, from ../../src/test/test_concurrent_unordered_map.cpp:26: ../../include/tbb/internal/_concurrent_unordered_impl.h: In instantiation of 'void tbb::interface5::internal::concurrent_unordered_base::set_bucket(tbb::interface5::internal::concurrent_unordered_base::size_type, tbb::interface5::internal::concurrent_unordered_base::raw_iterator) [with Traits = tbb::interface5::concurrent_unordered_map_traits, tbb::interface5::internal::hash_compare, Harness::IsEqual>, debug_allocator >, std::allocator>, false>; tbb::interface5::internal::concurrent_unordered_base::size_type = long unsigned int; tbb::interface5::internal::concurrent_unordered_base::raw_iterator = tbb::interface5::internal::flist_iterator >, debug_allocator >, std::allocator> >, std::pair > >]': ../../include/tbb/internal/_concurrent_unordered_impl.h:1207:9: required from 'void tbb::interface5::internal::concurrent_unordered_base::internal_init() [with Traits = tbb::interface5::concurrent_unordered_map_traits, tbb::interface5::internal::hash_compare, Harness::IsEqual>, debug_allocator >, std::allocator>, false>]' ../../include/tbb/internal/_concurrent_unordered_impl.h:724:9: required from 'tbb::interface5::internal::concurrent_unordered_base::concurrent_unordered_base(const tbb::interface5::internal::concurrent_unordered_base&) [with Traits = tbb::interface5::concurrent_unordered_map_traits, tbb::interface5::internal::hash_compare, Harness::IsEqual>, debug_allocator >, std::allocator>, false>]' ../../include/tbb/concurrent_unordered_map.h:58:7: required from 'void TypeTester(const std::__cxx11::list&) [with bool defCtorPresent = true; Table = tbb::interface5::concurrent_unordered_map, tbb::tbb_hash, Harness::IsEqual, tbb::tbb_allocator > > >; TableDebugAlloc = tbb::interface5::concurrent_unordered_map, tbb::tbb_hash, Harness::IsEqual, debug_allocator >, std::allocator> >; typename Table::value_type = std::pair >]' ../../src/test/test_concurrent_unordered_map.cpp:240:131: required from 'void TestTypesMap(const std::__cxx11::list&) [with bool defCtorPresent = true; ValueType = std::pair >]' ../../src/test/test_concurrent_unordered_map.cpp:258:56: required from here ../../include/tbb/internal/_concurrent_unordered_impl.h:1471:24: warning: 'void* memset(void*, int, size_t)' clearing an object of non-trivial type 'tbb::interface5::internal::concurrent_unordered_base, tbb::interface5::internal::hash_compare, Harness::IsEqual>, debug_allocator >, std::allocator>, false> >::raw_iterator' {aka 'class tbb::interface5::internal::flist_iterator >, debug_allocator >, std::allocator> >, std::pair > >'}; use assignment or value-initialization instead [-Wclass-memaccess] std::memset(new_segment, 0, sz*sizeof(raw_iterator)); ~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ In file included from ../../include/tbb/concurrent_unordered_map.h:27, from ../../src/test/test_concurrent_unordered_map.cpp:26: ../../include/tbb/internal/_concurrent_unordered_impl.h:61:7: note: 'tbb::interface5::internal::concurrent_unordered_base, tbb::interface5::internal::hash_compare, Harness::IsEqual>, debug_allocator >, std::allocator>, false> >::raw_iterator' {aka 'class tbb::interface5::internal::flist_iterator >, debug_allocator >, std::allocator> >, std::pair > >'} declared here class flist_iterator : public std::iterator ^~~~~~~~~~~~~~ In file included from ../../include/tbb/concurrent_unordered_map.h:27, from ../../src/test/test_concurrent_unordered_map.cpp:26: ../../include/tbb/internal/_concurrent_unordered_impl.h: In instantiation of 'void tbb::interface5::internal::concurrent_unordered_base::set_bucket(tbb::interface5::internal::concurrent_unordered_base::size_type, tbb::interface5::internal::concurrent_unordered_base::raw_iterator) [with Traits = tbb::interface5::concurrent_unordered_map_traits, tbb::interface5::internal::hash_compare, Harness::IsEqual>, tbb::tbb_allocator > >, true>; tbb::interface5::internal::concurrent_unordered_base::size_type = long unsigned int; tbb::interface5::internal::concurrent_unordered_base::raw_iterator = tbb::interface5::internal::flist_iterator >, tbb::tbb_allocator > > >, std::pair > >]': ../../include/tbb/internal/_concurrent_unordered_impl.h:1207:9: required from 'void tbb::interface5::internal::concurrent_unordered_base::internal_init() [with Traits = tbb::interface5::concurrent_unordered_map_traits, tbb::interface5::internal::hash_compare, Harness::IsEqual>, tbb::tbb_allocator > >, true>]' ../../include/tbb/internal/_concurrent_unordered_impl.h:724:9: required from 'tbb::interface5::internal::concurrent_unordered_base::concurrent_unordered_base(const tbb::interface5::internal::concurrent_unordered_base&) [with Traits = tbb::interface5::concurrent_unordered_map_traits, tbb::interface5::internal::hash_compare, Harness::IsEqual>, tbb::tbb_allocator > >, true>]' ../../include/tbb/concurrent_unordered_map.h:196:7: required from 'void TypeTester(const std::__cxx11::list&) [with bool defCtorPresent = true; Table = tbb::interface5::concurrent_unordered_multimap, tbb::tbb_hash, Harness::IsEqual, tbb::tbb_allocator > > >; TableDebugAlloc = tbb::interface5::concurrent_unordered_multimap, tbb::tbb_hash, Harness::IsEqual, debug_allocator >, std::allocator> >; typename Table::value_type = std::pair >]' ../../src/test/test_concurrent_unordered_map.cpp:242:136: required from 'void TestTypesMap(const std::__cxx11::list&) [with bool defCtorPresent = true; ValueType = std::pair >]' ../../src/test/test_concurrent_unordered_map.cpp:258:56: required from here ../../include/tbb/internal/_concurrent_unordered_impl.h:1471:24: warning: 'void* memset(void*, int, size_t)' clearing an object of non-trivial type 'tbb::interface5::internal::concurrent_unordered_base, tbb::interface5::internal::hash_compare, Harness::IsEqual>, tbb::tbb_allocator > >, true> >::raw_iterator' {aka 'class tbb::interface5::internal::flist_iterator >, tbb::tbb_allocator > > >, std::pair > >'}; use assignment or value-initialization instead [-Wclass-memaccess] std::memset(new_segment, 0, sz*sizeof(raw_iterator)); ~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ In file included from ../../include/tbb/concurrent_unordered_map.h:27, from ../../src/test/test_concurrent_unordered_map.cpp:26: ../../include/tbb/internal/_concurrent_unordered_impl.h:61:7: note: 'tbb::interface5::internal::concurrent_unordered_base, tbb::interface5::internal::hash_compare, Harness::IsEqual>, tbb::tbb_allocator > >, true> >::raw_iterator' {aka 'class tbb::interface5::internal::flist_iterator >, tbb::tbb_allocator > > >, std::pair > >'} declared here class flist_iterator : public std::iterator ^~~~~~~~~~~~~~ In file included from ../../include/tbb/concurrent_unordered_map.h:27, from ../../src/test/test_concurrent_unordered_map.cpp:26: ../../include/tbb/internal/_concurrent_unordered_impl.h: In instantiation of 'void tbb::interface5::internal::concurrent_unordered_base::set_bucket(tbb::interface5::internal::concurrent_unordered_base::size_type, tbb::interface5::internal::concurrent_unordered_base::raw_iterator) [with Traits = tbb::interface5::concurrent_unordered_map_traits, tbb::interface5::internal::hash_compare, Harness::IsEqual>, debug_allocator >, std::allocator>, true>; tbb::interface5::internal::concurrent_unordered_base::size_type = long unsigned int; tbb::interface5::internal::concurrent_unordered_base::raw_iterator = tbb::interface5::internal::flist_iterator >, debug_allocator >, std::allocator> >, std::pair > >]': ../../include/tbb/internal/_concurrent_unordered_impl.h:1207:9: required from 'void tbb::interface5::internal::concurrent_unordered_base::internal_init() [with Traits = tbb::interface5::concurrent_unordered_map_traits, tbb::interface5::internal::hash_compare, Harness::IsEqual>, debug_allocator >, std::allocator>, true>]' ../../include/tbb/internal/_concurrent_unordered_impl.h:724:9: required from 'tbb::interface5::internal::concurrent_unordered_base::concurrent_unordered_base(const tbb::interface5::internal::concurrent_unordered_base&) [with Traits = tbb::interface5::concurrent_unordered_map_traits, tbb::interface5::internal::hash_compare, Harness::IsEqual>, debug_allocator >, std::allocator>, true>]' ../../include/tbb/concurrent_unordered_map.h:196:7: required from 'void TypeTester(const std::__cxx11::list&) [with bool defCtorPresent = true; Table = tbb::interface5::concurrent_unordered_multimap, tbb::tbb_hash, Harness::IsEqual, tbb::tbb_allocator > > >; TableDebugAlloc = tbb::interface5::concurrent_unordered_multimap, tbb::tbb_hash, Harness::IsEqual, debug_allocator >, std::allocator> >; typename Table::value_type = std::pair >]' ../../src/test/test_concurrent_unordered_map.cpp:242:136: required from 'void TestTypesMap(const std::__cxx11::list&) [with bool defCtorPresent = true; ValueType = std::pair >]' ../../src/test/test_concurrent_unordered_map.cpp:258:56: required from here ../../include/tbb/internal/_concurrent_unordered_impl.h:1471:24: warning: 'void* memset(void*, int, size_t)' clearing an object of non-trivial type 'tbb::interface5::internal::concurrent_unordered_base, tbb::interface5::internal::hash_compare, Harness::IsEqual>, debug_allocator >, std::allocator>, true> >::raw_iterator' {aka 'class tbb::interface5::internal::flist_iterator >, debug_allocator >, std::allocator> >, std::pair > >'}; use assignment or value-initialization instead [-Wclass-memaccess] std::memset(new_segment, 0, sz*sizeof(raw_iterator)); ~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ In file included from ../../include/tbb/concurrent_unordered_map.h:27, from ../../src/test/test_concurrent_unordered_map.cpp:26: ../../include/tbb/internal/_concurrent_unordered_impl.h:61:7: note: 'tbb::interface5::internal::concurrent_unordered_base, tbb::interface5::internal::hash_compare, Harness::IsEqual>, debug_allocator >, std::allocator>, true> >::raw_iterator' {aka 'class tbb::interface5::internal::flist_iterator >, debug_allocator >, std::allocator> >, std::pair > >'} declared here class flist_iterator : public std::iterator ^~~~~~~~~~~~~~ In file included from ../../include/tbb/concurrent_unordered_map.h:27, from ../../src/test/test_concurrent_unordered_map.cpp:26: ../../include/tbb/internal/_concurrent_unordered_impl.h: In instantiation of 'void tbb::interface5::internal::concurrent_unordered_base::set_bucket(tbb::interface5::internal::concurrent_unordered_base::size_type, tbb::interface5::internal::concurrent_unordered_base::raw_iterator) [with Traits = tbb::interface5::concurrent_unordered_map_traits, int, tbb::interface5::internal::hash_compare, tbb::tbb_hash >, Harness::IsEqual>, tbb::tbb_allocator, int> >, false>; tbb::interface5::internal::concurrent_unordered_base::size_type = long unsigned int; tbb::interface5::internal::concurrent_unordered_base::raw_iterator = tbb::interface5::internal::flist_iterator, int>, tbb::tbb_allocator, int> > >, std::pair, int> >]': ../../include/tbb/internal/_concurrent_unordered_impl.h:1207:9: required from 'void tbb::interface5::internal::concurrent_unordered_base::internal_init() [with Traits = tbb::interface5::concurrent_unordered_map_traits, int, tbb::interface5::internal::hash_compare, tbb::tbb_hash >, Harness::IsEqual>, tbb::tbb_allocator, int> >, false>]' ../../include/tbb/internal/_concurrent_unordered_impl.h:724:9: required from 'tbb::interface5::internal::concurrent_unordered_base::concurrent_unordered_base(const tbb::interface5::internal::concurrent_unordered_base&) [with Traits = tbb::interface5::concurrent_unordered_map_traits, int, tbb::interface5::internal::hash_compare, tbb::tbb_hash >, Harness::IsEqual>, tbb::tbb_allocator, int> >, false>]' ../../include/tbb/concurrent_unordered_map.h:58:7: required from 'void TypeTester(const std::__cxx11::list&) [with bool defCtorPresent = true; Table = tbb::interface5::concurrent_unordered_map, int, tbb::tbb_hash >, Harness::IsEqual, tbb::tbb_allocator, int> > >; TableDebugAlloc = tbb::interface5::concurrent_unordered_map, int, tbb::tbb_hash >, Harness::IsEqual, debug_allocator, int>, std::allocator> >; typename Table::value_type = std::pair, int>]' ../../src/test/test_concurrent_unordered_map.cpp:240:131: required from 'void TestTypesMap(const std::__cxx11::list&) [with bool defCtorPresent = true; ValueType = std::pair, int>]' ../../src/test/test_concurrent_unordered_map.cpp:264:56: required from here ../../include/tbb/internal/_concurrent_unordered_impl.h:1471:24: warning: 'void* memset(void*, int, size_t)' clearing an object of non-trivial type 'tbb::interface5::internal::concurrent_unordered_base, int, tbb::interface5::internal::hash_compare, tbb::tbb_hash >, Harness::IsEqual>, tbb::tbb_allocator, int> >, false> >::raw_iterator' {aka 'class tbb::interface5::internal::flist_iterator, int>, tbb::tbb_allocator, int> > >, std::pair, int> >'}; use assignment or value-initialization instead [-Wclass-memaccess] std::memset(new_segment, 0, sz*sizeof(raw_iterator)); ~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ In file included from ../../include/tbb/concurrent_unordered_map.h:27, from ../../src/test/test_concurrent_unordered_map.cpp:26: ../../include/tbb/internal/_concurrent_unordered_impl.h:61:7: note: 'tbb::interface5::internal::concurrent_unordered_base, int, tbb::interface5::internal::hash_compare, tbb::tbb_hash >, Harness::IsEqual>, tbb::tbb_allocator, int> >, false> >::raw_iterator' {aka 'class tbb::interface5::internal::flist_iterator, int>, tbb::tbb_allocator, int> > >, std::pair, int> >'} declared here class flist_iterator : public std::iterator ^~~~~~~~~~~~~~ In file included from ../../include/tbb/concurrent_unordered_map.h:27, from ../../src/test/test_concurrent_unordered_map.cpp:26: ../../include/tbb/internal/_concurrent_unordered_impl.h: In instantiation of 'void tbb::interface5::internal::concurrent_unordered_base::set_bucket(tbb::interface5::internal::concurrent_unordered_base::size_type, tbb::interface5::internal::concurrent_unordered_base::raw_iterator) [with Traits = tbb::interface5::concurrent_unordered_map_traits, int, tbb::interface5::internal::hash_compare, tbb::tbb_hash >, Harness::IsEqual>, debug_allocator, int>, std::allocator>, false>; tbb::interface5::internal::concurrent_unordered_base::size_type = long unsigned int; tbb::interface5::internal::concurrent_unordered_base::raw_iterator = tbb::interface5::internal::flist_iterator, int>, debug_allocator, int>, std::allocator> >, std::pair, int> >]': ../../include/tbb/internal/_concurrent_unordered_impl.h:1207:9: required from 'void tbb::interface5::internal::concurrent_unordered_base::internal_init() [with Traits = tbb::interface5::concurrent_unordered_map_traits, int, tbb::interface5::internal::hash_compare, tbb::tbb_hash >, Harness::IsEqual>, debug_allocator, int>, std::allocator>, false>]' ../../include/tbb/internal/_concurrent_unordered_impl.h:724:9: required from 'tbb::interface5::internal::concurrent_unordered_base::concurrent_unordered_base(const tbb::interface5::internal::concurrent_unordered_base&) [with Traits = tbb::interface5::concurrent_unordered_map_traits, int, tbb::interface5::internal::hash_compare, tbb::tbb_hash >, Harness::IsEqual>, debug_allocator, int>, std::allocator>, false>]' ../../include/tbb/concurrent_unordered_map.h:58:7: required from 'void TypeTester(const std::__cxx11::list&) [with bool defCtorPresent = true; Table = tbb::interface5::concurrent_unordered_map, int, tbb::tbb_hash >, Harness::IsEqual, tbb::tbb_allocator, int> > >; TableDebugAlloc = tbb::interface5::concurrent_unordered_map, int, tbb::tbb_hash >, Harness::IsEqual, debug_allocator, int>, std::allocator> >; typename Table::value_type = std::pair, int>]' ../../src/test/test_concurrent_unordered_map.cpp:240:131: required from 'void TestTypesMap(const std::__cxx11::list&) [with bool defCtorPresent = true; ValueType = std::pair, int>]' ../../src/test/test_concurrent_unordered_map.cpp:264:56: required from here ../../include/tbb/internal/_concurrent_unordered_impl.h:1471:24: warning: 'void* memset(void*, int, size_t)' clearing an object of non-trivial type 'tbb::interface5::internal::concurrent_unordered_base, int, tbb::interface5::internal::hash_compare, tbb::tbb_hash >, Harness::IsEqual>, debug_allocator, int>, std::allocator>, false> >::raw_iterator' {aka 'class tbb::interface5::internal::flist_iterator, int>, debug_allocator, int>, std::allocator> >, std::pair, int> >'}; use assignment or value-initialization instead [-Wclass-memaccess] std::memset(new_segment, 0, sz*sizeof(raw_iterator)); ~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ In file included from ../../include/tbb/concurrent_unordered_map.h:27, from ../../src/test/test_concurrent_unordered_map.cpp:26: ../../include/tbb/internal/_concurrent_unordered_impl.h:61:7: note: 'tbb::interface5::internal::concurrent_unordered_base, int, tbb::interface5::internal::hash_compare, tbb::tbb_hash >, Harness::IsEqual>, debug_allocator, int>, std::allocator>, false> >::raw_iterator' {aka 'class tbb::interface5::internal::flist_iterator, int>, debug_allocator, int>, std::allocator> >, std::pair, int> >'} declared here class flist_iterator : public std::iterator ^~~~~~~~~~~~~~ In file included from ../../include/tbb/concurrent_unordered_map.h:27, from ../../src/test/test_concurrent_unordered_map.cpp:26: ../../include/tbb/internal/_concurrent_unordered_impl.h: In instantiation of 'void tbb::interface5::internal::concurrent_unordered_base::set_bucket(tbb::interface5::internal::concurrent_unordered_base::size_type, tbb::interface5::internal::concurrent_unordered_base::raw_iterator) [with Traits = tbb::interface5::concurrent_unordered_map_traits, int, tbb::interface5::internal::hash_compare, tbb::tbb_hash >, Harness::IsEqual>, tbb::tbb_allocator, int> >, true>; tbb::interface5::internal::concurrent_unordered_base::size_type = long unsigned int; tbb::interface5::internal::concurrent_unordered_base::raw_iterator = tbb::interface5::internal::flist_iterator, int>, tbb::tbb_allocator, int> > >, std::pair, int> >]': ../../include/tbb/internal/_concurrent_unordered_impl.h:1207:9: required from 'void tbb::interface5::internal::concurrent_unordered_base::internal_init() [with Traits = tbb::interface5::concurrent_unordered_map_traits, int, tbb::interface5::internal::hash_compare, tbb::tbb_hash >, Harness::IsEqual>, tbb::tbb_allocator, int> >, true>]' ../../include/tbb/internal/_concurrent_unordered_impl.h:724:9: required from 'tbb::interface5::internal::concurrent_unordered_base::concurrent_unordered_base(const tbb::interface5::internal::concurrent_unordered_base&) [with Traits = tbb::interface5::concurrent_unordered_map_traits, int, tbb::interface5::internal::hash_compare, tbb::tbb_hash >, Harness::IsEqual>, tbb::tbb_allocator, int> >, true>]' ../../include/tbb/concurrent_unordered_map.h:196:7: required from 'void TypeTester(const std::__cxx11::list&) [with bool defCtorPresent = true; Table = tbb::interface5::concurrent_unordered_multimap, int, tbb::tbb_hash >, Harness::IsEqual, tbb::tbb_allocator, int> > >; TableDebugAlloc = tbb::interface5::concurrent_unordered_multimap, int, tbb::tbb_hash >, Harness::IsEqual, debug_allocator, int>, std::allocator> >; typename Table::value_type = std::pair, int>]' ../../src/test/test_concurrent_unordered_map.cpp:242:136: required from 'void TestTypesMap(const std::__cxx11::list&) [with bool defCtorPresent = true; ValueType = std::pair, int>]' ../../src/test/test_concurrent_unordered_map.cpp:264:56: required from here ../../include/tbb/internal/_concurrent_unordered_impl.h:1471:24: warning: 'void* memset(void*, int, size_t)' clearing an object of non-trivial type 'tbb::interface5::internal::concurrent_unordered_base, int, tbb::interface5::internal::hash_compare, tbb::tbb_hash >, Harness::IsEqual>, tbb::tbb_allocator, int> >, true> >::raw_iterator' {aka 'class tbb::interface5::internal::flist_iterator, int>, tbb::tbb_allocator, int> > >, std::pair, int> >'}; use assignment or value-initialization instead [-Wclass-memaccess] std::memset(new_segment, 0, sz*sizeof(raw_iterator)); ~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ In file included from ../../include/tbb/concurrent_unordered_map.h:27, from ../../src/test/test_concurrent_unordered_map.cpp:26: ../../include/tbb/internal/_concurrent_unordered_impl.h:61:7: note: 'tbb::interface5::internal::concurrent_unordered_base, int, tbb::interface5::internal::hash_compare, tbb::tbb_hash >, Harness::IsEqual>, tbb::tbb_allocator, int> >, true> >::raw_iterator' {aka 'class tbb::interface5::internal::flist_iterator, int>, tbb::tbb_allocator, int> > >, std::pair, int> >'} declared here class flist_iterator : public std::iterator ^~~~~~~~~~~~~~ In file included from ../../include/tbb/concurrent_unordered_map.h:27, from ../../src/test/test_concurrent_unordered_map.cpp:26: ../../include/tbb/internal/_concurrent_unordered_impl.h: In instantiation of 'void tbb::interface5::internal::concurrent_unordered_base::set_bucket(tbb::interface5::internal::concurrent_unordered_base::size_type, tbb::interface5::internal::concurrent_unordered_base::raw_iterator) [with Traits = tbb::interface5::concurrent_unordered_map_traits, int, tbb::interface5::internal::hash_compare, tbb::tbb_hash >, Harness::IsEqual>, debug_allocator, int>, std::allocator>, true>; tbb::interface5::internal::concurrent_unordered_base::size_type = long unsigned int; tbb::interface5::internal::concurrent_unordered_base::raw_iterator = tbb::interface5::internal::flist_iterator, int>, debug_allocator, int>, std::allocator> >, std::pair, int> >]': ../../include/tbb/internal/_concurrent_unordered_impl.h:1207:9: required from 'void tbb::interface5::internal::concurrent_unordered_base::internal_init() [with Traits = tbb::interface5::concurrent_unordered_map_traits, int, tbb::interface5::internal::hash_compare, tbb::tbb_hash >, Harness::IsEqual>, debug_allocator, int>, std::allocator>, true>]' ../../include/tbb/internal/_concurrent_unordered_impl.h:724:9: required from 'tbb::interface5::internal::concurrent_unordered_base::concurrent_unordered_base(const tbb::interface5::internal::concurrent_unordered_base&) [with Traits = tbb::interface5::concurrent_unordered_map_traits, int, tbb::interface5::internal::hash_compare, tbb::tbb_hash >, Harness::IsEqual>, debug_allocator, int>, std::allocator>, true>]' ../../include/tbb/concurrent_unordered_map.h:196:7: required from 'void TypeTester(const std::__cxx11::list&) [with bool defCtorPresent = true; Table = tbb::interface5::concurrent_unordered_multimap, int, tbb::tbb_hash >, Harness::IsEqual, tbb::tbb_allocator, int> > >; TableDebugAlloc = tbb::interface5::concurrent_unordered_multimap, int, tbb::tbb_hash >, Harness::IsEqual, debug_allocator, int>, std::allocator> >; typename Table::value_type = std::pair, int>]' ../../src/test/test_concurrent_unordered_map.cpp:242:136: required from 'void TestTypesMap(const std::__cxx11::list&) [with bool defCtorPresent = true; ValueType = std::pair, int>]' ../../src/test/test_concurrent_unordered_map.cpp:264:56: required from here ../../include/tbb/internal/_concurrent_unordered_impl.h:1471:24: warning: 'void* memset(void*, int, size_t)' clearing an object of non-trivial type 'tbb::interface5::internal::concurrent_unordered_base, int, tbb::interface5::internal::hash_compare, tbb::tbb_hash >, Harness::IsEqual>, debug_allocator, int>, std::allocator>, true> >::raw_iterator' {aka 'class tbb::interface5::internal::flist_iterator, int>, debug_allocator, int>, std::allocator> >, std::pair, int> >'}; use assignment or value-initialization instead [-Wclass-memaccess] std::memset(new_segment, 0, sz*sizeof(raw_iterator)); ~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ In file included from ../../include/tbb/concurrent_unordered_map.h:27, from ../../src/test/test_concurrent_unordered_map.cpp:26: ../../include/tbb/internal/_concurrent_unordered_impl.h:61:7: note: 'tbb::interface5::internal::concurrent_unordered_base, int, tbb::interface5::internal::hash_compare, tbb::tbb_hash >, Harness::IsEqual>, debug_allocator, int>, std::allocator>, true> >::raw_iterator' {aka 'class tbb::interface5::internal::flist_iterator, int>, debug_allocator, int>, std::allocator> >, std::pair, int> >'} declared here class flist_iterator : public std::iterator ^~~~~~~~~~~~~~ In file included from ../../include/tbb/concurrent_unordered_map.h:27, from ../../src/test/test_concurrent_unordered_map.cpp:26: ../../include/tbb/internal/_concurrent_unordered_impl.h: In instantiation of 'void tbb::interface5::internal::concurrent_unordered_base::set_bucket(tbb::interface5::internal::concurrent_unordered_base::size_type, tbb::interface5::internal::concurrent_unordered_base::raw_iterator) [with Traits = tbb::interface5::concurrent_unordered_map_traits, tbb::interface5::internal::hash_compare, Harness::IsEqual>, tbb::tbb_allocator > >, false>; tbb::interface5::internal::concurrent_unordered_base::size_type = long unsigned int; tbb::interface5::internal::concurrent_unordered_base::raw_iterator = tbb::interface5::internal::flist_iterator >, tbb::tbb_allocator > > >, std::pair > >]': ../../include/tbb/internal/_concurrent_unordered_impl.h:1207:9: required from 'void tbb::interface5::internal::concurrent_unordered_base::internal_init() [with Traits = tbb::interface5::concurrent_unordered_map_traits, tbb::interface5::internal::hash_compare, Harness::IsEqual>, tbb::tbb_allocator > >, false>]' ../../include/tbb/internal/_concurrent_unordered_impl.h:724:9: required from 'tbb::interface5::internal::concurrent_unordered_base::concurrent_unordered_base(const tbb::interface5::internal::concurrent_unordered_base&) [with Traits = tbb::interface5::concurrent_unordered_map_traits, tbb::interface5::internal::hash_compare, Harness::IsEqual>, tbb::tbb_allocator > >, false>]' ../../include/tbb/concurrent_unordered_map.h:58:7: required from 'void TypeTester(const std::__cxx11::list&) [with bool defCtorPresent = false; Table = tbb::interface5::concurrent_unordered_map, tbb::tbb_hash, Harness::IsEqual, tbb::tbb_allocator > > >; TableDebugAlloc = tbb::interface5::concurrent_unordered_map, tbb::tbb_hash, Harness::IsEqual, debug_allocator >, std::allocator> >; typename Table::value_type = std::pair >]' ../../src/test/test_concurrent_unordered_map.cpp:240:131: required from 'void TestTypesMap(const std::__cxx11::list&) [with bool defCtorPresent = false; ValueType = std::pair >]' ../../src/test/test_concurrent_unordered_map.cpp:271:57: required from here ../../include/tbb/internal/_concurrent_unordered_impl.h:1471:24: warning: 'void* memset(void*, int, size_t)' clearing an object of non-trivial type 'tbb::interface5::internal::concurrent_unordered_base, tbb::interface5::internal::hash_compare, Harness::IsEqual>, tbb::tbb_allocator > >, false> >::raw_iterator' {aka 'class tbb::interface5::internal::flist_iterator >, tbb::tbb_allocator > > >, std::pair > >'}; use assignment or value-initialization instead [-Wclass-memaccess] std::memset(new_segment, 0, sz*sizeof(raw_iterator)); ~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ In file included from ../../include/tbb/concurrent_unordered_map.h:27, from ../../src/test/test_concurrent_unordered_map.cpp:26: ../../include/tbb/internal/_concurrent_unordered_impl.h:61:7: note: 'tbb::interface5::internal::concurrent_unordered_base, tbb::interface5::internal::hash_compare, Harness::IsEqual>, tbb::tbb_allocator > >, false> >::raw_iterator' {aka 'class tbb::interface5::internal::flist_iterator >, tbb::tbb_allocator > > >, std::pair > >'} declared here class flist_iterator : public std::iterator ^~~~~~~~~~~~~~ In file included from ../../include/tbb/concurrent_unordered_map.h:27, from ../../src/test/test_concurrent_unordered_map.cpp:26: ../../include/tbb/internal/_concurrent_unordered_impl.h: In instantiation of 'void tbb::interface5::internal::concurrent_unordered_base::set_bucket(tbb::interface5::internal::concurrent_unordered_base::size_type, tbb::interface5::internal::concurrent_unordered_base::raw_iterator) [with Traits = tbb::interface5::concurrent_unordered_map_traits, tbb::interface5::internal::hash_compare, Harness::IsEqual>, debug_allocator >, std::allocator>, false>; tbb::interface5::internal::concurrent_unordered_base::size_type = long unsigned int; tbb::interface5::internal::concurrent_unordered_base::raw_iterator = tbb::interface5::internal::flist_iterator >, debug_allocator >, std::allocator> >, std::pair > >]': ../../include/tbb/internal/_concurrent_unordered_impl.h:1207:9: required from 'void tbb::interface5::internal::concurrent_unordered_base::internal_init() [with Traits = tbb::interface5::concurrent_unordered_map_traits, tbb::interface5::internal::hash_compare, Harness::IsEqual>, debug_allocator >, std::allocator>, false>]' ../../include/tbb/internal/_concurrent_unordered_impl.h:724:9: required from 'tbb::interface5::internal::concurrent_unordered_base::concurrent_unordered_base(const tbb::interface5::internal::concurrent_unordered_base&) [with Traits = tbb::interface5::concurrent_unordered_map_traits, tbb::interface5::internal::hash_compare, Harness::IsEqual>, debug_allocator >, std::allocator>, false>]' ../../include/tbb/concurrent_unordered_map.h:58:7: required from 'void TypeTester(const std::__cxx11::list&) [with bool defCtorPresent = false; Table = tbb::interface5::concurrent_unordered_map, tbb::tbb_hash, Harness::IsEqual, tbb::tbb_allocator > > >; TableDebugAlloc = tbb::interface5::concurrent_unordered_map, tbb::tbb_hash, Harness::IsEqual, debug_allocator >, std::allocator> >; typename Table::value_type = std::pair >]' ../../src/test/test_concurrent_unordered_map.cpp:240:131: required from 'void TestTypesMap(const std::__cxx11::list&) [with bool defCtorPresent = false; ValueType = std::pair >]' ../../src/test/test_concurrent_unordered_map.cpp:271:57: required from here ../../include/tbb/internal/_concurrent_unordered_impl.h:1471:24: warning: 'void* memset(void*, int, size_t)' clearing an object of non-trivial type 'tbb::interface5::internal::concurrent_unordered_base, tbb::interface5::internal::hash_compare, Harness::IsEqual>, debug_allocator >, std::allocator>, false> >::raw_iterator' {aka 'class tbb::interface5::internal::flist_iterator >, debug_allocator >, std::allocator> >, std::pair > >'}; use assignment or value-initialization instead [-Wclass-memaccess] std::memset(new_segment, 0, sz*sizeof(raw_iterator)); ~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ In file included from ../../include/tbb/concurrent_unordered_map.h:27, from ../../src/test/test_concurrent_unordered_map.cpp:26: ../../include/tbb/internal/_concurrent_unordered_impl.h:61:7: note: 'tbb::interface5::internal::concurrent_unordered_base, tbb::interface5::internal::hash_compare, Harness::IsEqual>, debug_allocator >, std::allocator>, false> >::raw_iterator' {aka 'class tbb::interface5::internal::flist_iterator >, debug_allocator >, std::allocator> >, std::pair > >'} declared here class flist_iterator : public std::iterator ^~~~~~~~~~~~~~ In file included from ../../include/tbb/concurrent_unordered_map.h:27, from ../../src/test/test_concurrent_unordered_map.cpp:26: ../../include/tbb/internal/_concurrent_unordered_impl.h: In instantiation of 'void tbb::interface5::internal::concurrent_unordered_base::set_bucket(tbb::interface5::internal::concurrent_unordered_base::size_type, tbb::interface5::internal::concurrent_unordered_base::raw_iterator) [with Traits = tbb::interface5::concurrent_unordered_map_traits, tbb::interface5::internal::hash_compare, Harness::IsEqual>, tbb::tbb_allocator > >, true>; tbb::interface5::internal::concurrent_unordered_base::size_type = long unsigned int; tbb::interface5::internal::concurrent_unordered_base::raw_iterator = tbb::interface5::internal::flist_iterator >, tbb::tbb_allocator > > >, std::pair > >]': ../../include/tbb/internal/_concurrent_unordered_impl.h:1207:9: required from 'void tbb::interface5::internal::concurrent_unordered_base::internal_init() [with Traits = tbb::interface5::concurrent_unordered_map_traits, tbb::interface5::internal::hash_compare, Harness::IsEqual>, tbb::tbb_allocator > >, true>]' ../../include/tbb/internal/_concurrent_unordered_impl.h:724:9: required from 'tbb::interface5::internal::concurrent_unordered_base::concurrent_unordered_base(const tbb::interface5::internal::concurrent_unordered_base&) [with Traits = tbb::interface5::concurrent_unordered_map_traits, tbb::interface5::internal::hash_compare, Harness::IsEqual>, tbb::tbb_allocator > >, true>]' ../../include/tbb/concurrent_unordered_map.h:196:7: required from 'void TypeTester(const std::__cxx11::list&) [with bool defCtorPresent = false; Table = tbb::interface5::concurrent_unordered_multimap, tbb::tbb_hash, Harness::IsEqual, tbb::tbb_allocator > > >; TableDebugAlloc = tbb::interface5::concurrent_unordered_multimap, tbb::tbb_hash, Harness::IsEqual, debug_allocator >, std::allocator> >; typename Table::value_type = std::pair >]' ../../src/test/test_concurrent_unordered_map.cpp:242:136: required from 'void TestTypesMap(const std::__cxx11::list&) [with bool defCtorPresent = false; ValueType = std::pair >]' ../../src/test/test_concurrent_unordered_map.cpp:271:57: required from here ../../include/tbb/internal/_concurrent_unordered_impl.h:1471:24: warning: 'void* memset(void*, int, size_t)' clearing an object of non-trivial type 'tbb::interface5::internal::concurrent_unordered_base, tbb::interface5::internal::hash_compare, Harness::IsEqual>, tbb::tbb_allocator > >, true> >::raw_iterator' {aka 'class tbb::interface5::internal::flist_iterator >, tbb::tbb_allocator > > >, std::pair > >'}; use assignment or value-initialization instead [-Wclass-memaccess] std::memset(new_segment, 0, sz*sizeof(raw_iterator)); ~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ In file included from ../../include/tbb/concurrent_unordered_map.h:27, from ../../src/test/test_concurrent_unordered_map.cpp:26: ../../include/tbb/internal/_concurrent_unordered_impl.h:61:7: note: 'tbb::interface5::internal::concurrent_unordered_base, tbb::interface5::internal::hash_compare, Harness::IsEqual>, tbb::tbb_allocator > >, true> >::raw_iterator' {aka 'class tbb::interface5::internal::flist_iterator >, tbb::tbb_allocator > > >, std::pair > >'} declared here class flist_iterator : public std::iterator ^~~~~~~~~~~~~~ In file included from ../../include/tbb/concurrent_unordered_map.h:27, from ../../src/test/test_concurrent_unordered_map.cpp:26: ../../include/tbb/internal/_concurrent_unordered_impl.h: In instantiation of 'void tbb::interface5::internal::concurrent_unordered_base::set_bucket(tbb::interface5::internal::concurrent_unordered_base::size_type, tbb::interface5::internal::concurrent_unordered_base::raw_iterator) [with Traits = tbb::interface5::concurrent_unordered_map_traits, tbb::interface5::internal::hash_compare, Harness::IsEqual>, debug_allocator >, std::allocator>, true>; tbb::interface5::internal::concurrent_unordered_base::size_type = long unsigned int; tbb::interface5::internal::concurrent_unordered_base::raw_iterator = tbb::interface5::internal::flist_iterator >, debug_allocator >, std::allocator> >, std::pair > >]': ../../include/tbb/internal/_concurrent_unordered_impl.h:1207:9: required from 'void tbb::interface5::internal::concurrent_unordered_base::internal_init() [with Traits = tbb::interface5::concurrent_unordered_map_traits, tbb::interface5::internal::hash_compare, Harness::IsEqual>, debug_allocator >, std::allocator>, true>]' ../../include/tbb/internal/_concurrent_unordered_impl.h:724:9: required from 'tbb::interface5::internal::concurrent_unordered_base::concurrent_unordered_base(const tbb::interface5::internal::concurrent_unordered_base&) [with Traits = tbb::interface5::concurrent_unordered_map_traits, tbb::interface5::internal::hash_compare, Harness::IsEqual>, debug_allocator >, std::allocator>, true>]' ../../include/tbb/concurrent_unordered_map.h:196:7: required from 'void TypeTester(const std::__cxx11::list&) [with bool defCtorPresent = false; Table = tbb::interface5::concurrent_unordered_multimap, tbb::tbb_hash, Harness::IsEqual, tbb::tbb_allocator > > >; TableDebugAlloc = tbb::interface5::concurrent_unordered_multimap, tbb::tbb_hash, Harness::IsEqual, debug_allocator >, std::allocator> >; typename Table::value_type = std::pair >]' ../../src/test/test_concurrent_unordered_map.cpp:242:136: required from 'void TestTypesMap(const std::__cxx11::list&) [with bool defCtorPresent = false; ValueType = std::pair >]' ../../src/test/test_concurrent_unordered_map.cpp:271:57: required from here ../../include/tbb/internal/_concurrent_unordered_impl.h:1471:24: warning: 'void* memset(void*, int, size_t)' clearing an object of non-trivial type 'tbb::interface5::internal::concurrent_unordered_base, tbb::interface5::internal::hash_compare, Harness::IsEqual>, debug_allocator >, std::allocator>, true> >::raw_iterator' {aka 'class tbb::interface5::internal::flist_iterator >, debug_allocator >, std::allocator> >, std::pair > >'}; use assignment or value-initialization instead [-Wclass-memaccess] std::memset(new_segment, 0, sz*sizeof(raw_iterator)); ~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ In file included from ../../include/tbb/concurrent_unordered_map.h:27, from ../../src/test/test_concurrent_unordered_map.cpp:26: ../../include/tbb/internal/_concurrent_unordered_impl.h:61:7: note: 'tbb::interface5::internal::concurrent_unordered_base, tbb::interface5::internal::hash_compare, Harness::IsEqual>, debug_allocator >, std::allocator>, true> >::raw_iterator' {aka 'class tbb::interface5::internal::flist_iterator >, debug_allocator >, std::allocator> >, std::pair > >'} declared here class flist_iterator : public std::iterator ^~~~~~~~~~~~~~ In file included from ../../include/tbb/concurrent_unordered_map.h:27, from ../../src/test/test_concurrent_unordered_map.cpp:26: ../../include/tbb/internal/_concurrent_unordered_impl.h: In instantiation of 'void tbb::interface5::internal::concurrent_unordered_base::set_bucket(tbb::interface5::internal::concurrent_unordered_base::size_type, tbb::interface5::internal::concurrent_unordered_base::raw_iterator) [with Traits = tbb::interface5::concurrent_unordered_map_traits, std::shared_ptr, tbb::interface5::internal::hash_compare, tbb::tbb_hash >, Harness::IsEqual>, tbb::tbb_allocator, std::shared_ptr > >, false>; tbb::interface5::internal::concurrent_unordered_base::size_type = long unsigned int; tbb::interface5::internal::concurrent_unordered_base::raw_iterator = tbb::interface5::internal::flist_iterator, std::shared_ptr >, tbb::tbb_allocator, std::shared_ptr > > >, std::pair, std::shared_ptr > >]': ../../include/tbb/internal/_concurrent_unordered_impl.h:1207:9: required from 'void tbb::interface5::internal::concurrent_unordered_base::internal_init() [with Traits = tbb::interface5::concurrent_unordered_map_traits, std::shared_ptr, tbb::interface5::internal::hash_compare, tbb::tbb_hash >, Harness::IsEqual>, tbb::tbb_allocator, std::shared_ptr > >, false>]' ../../include/tbb/internal/_concurrent_unordered_impl.h:724:9: required from 'tbb::interface5::internal::concurrent_unordered_base::concurrent_unordered_base(const tbb::interface5::internal::concurrent_unordered_base&) [with Traits = tbb::interface5::concurrent_unordered_map_traits, std::shared_ptr, tbb::interface5::internal::hash_compare, tbb::tbb_hash >, Harness::IsEqual>, tbb::tbb_allocator, std::shared_ptr > >, false>]' ../../include/tbb/concurrent_unordered_map.h:58:7: required from 'void TypeTester(const std::__cxx11::list&) [with bool defCtorPresent = true; Table = tbb::interface5::concurrent_unordered_map, std::shared_ptr, tbb::tbb_hash >, Harness::IsEqual, tbb::tbb_allocator, std::shared_ptr > > >; TableDebugAlloc = tbb::interface5::concurrent_unordered_map, std::shared_ptr, tbb::tbb_hash >, Harness::IsEqual, debug_allocator, std::shared_ptr >, std::allocator> >; typename Table::value_type = std::pair, std::shared_ptr >]' ../../src/test/test_concurrent_unordered_map.cpp:240:131: required from 'void TestTypesMap(const std::__cxx11::list&) [with bool defCtorPresent = true; ValueType = std::pair, std::shared_ptr >]' ../../src/test/test_concurrent_unordered_map.cpp:280:56: required from here ../../include/tbb/internal/_concurrent_unordered_impl.h:1471:24: warning: 'void* memset(void*, int, size_t)' clearing an object of non-trivial type 'tbb::interface5::internal::concurrent_unordered_base, std::shared_ptr, tbb::interface5::internal::hash_compare, tbb::tbb_hash >, Harness::IsEqual>, tbb::tbb_allocator, std::shared_ptr > >, false> >::raw_iterator' {aka 'class tbb::interface5::internal::flist_iterator, std::shared_ptr >, tbb::tbb_allocator, std::shared_ptr > > >, std::pair, std::shared_ptr > >'}; use assignment or value-initialization instead [-Wclass-memaccess] std::memset(new_segment, 0, sz*sizeof(raw_iterator)); ~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ In file included from ../../include/tbb/concurrent_unordered_map.h:27, from ../../src/test/test_concurrent_unordered_map.cpp:26: ../../include/tbb/internal/_concurrent_unordered_impl.h:61:7: note: 'tbb::interface5::internal::concurrent_unordered_base, std::shared_ptr, tbb::interface5::internal::hash_compare, tbb::tbb_hash >, Harness::IsEqual>, tbb::tbb_allocator, std::shared_ptr > >, false> >::raw_iterator' {aka 'class tbb::interface5::internal::flist_iterator, std::shared_ptr >, tbb::tbb_allocator, std::shared_ptr > > >, std::pair, std::shared_ptr > >'} declared here class flist_iterator : public std::iterator ^~~~~~~~~~~~~~ In file included from ../../include/tbb/concurrent_unordered_map.h:27, from ../../src/test/test_concurrent_unordered_map.cpp:26: ../../include/tbb/internal/_concurrent_unordered_impl.h: In instantiation of 'void tbb::interface5::internal::concurrent_unordered_base::set_bucket(tbb::interface5::internal::concurrent_unordered_base::size_type, tbb::interface5::internal::concurrent_unordered_base::raw_iterator) [with Traits = tbb::interface5::concurrent_unordered_map_traits, std::shared_ptr, tbb::interface5::internal::hash_compare, tbb::tbb_hash >, Harness::IsEqual>, debug_allocator, std::shared_ptr >, std::allocator>, false>; tbb::interface5::internal::concurrent_unordered_base::size_type = long unsigned int; tbb::interface5::internal::concurrent_unordered_base::raw_iterator = tbb::interface5::internal::flist_iterator, std::shared_ptr >, debug_allocator, std::shared_ptr >, std::allocator> >, std::pair, std::shared_ptr > >]': ../../include/tbb/internal/_concurrent_unordered_impl.h:1207:9: required from 'void tbb::interface5::internal::concurrent_unordered_base::internal_init() [with Traits = tbb::interface5::concurrent_unordered_map_traits, std::shared_ptr, tbb::interface5::internal::hash_compare, tbb::tbb_hash >, Harness::IsEqual>, debug_allocator, std::shared_ptr >, std::allocator>, false>]' ../../include/tbb/internal/_concurrent_unordered_impl.h:724:9: required from 'tbb::interface5::internal::concurrent_unordered_base::concurrent_unordered_base(const tbb::interface5::internal::concurrent_unordered_base&) [with Traits = tbb::interface5::concurrent_unordered_map_traits, std::shared_ptr, tbb::interface5::internal::hash_compare, tbb::tbb_hash >, Harness::IsEqual>, debug_allocator, std::shared_ptr >, std::allocator>, false>]' ../../include/tbb/concurrent_unordered_map.h:58:7: required from 'void TypeTester(const std::__cxx11::list&) [with bool defCtorPresent = true; Table = tbb::interface5::concurrent_unordered_map, std::shared_ptr, tbb::tbb_hash >, Harness::IsEqual, tbb::tbb_allocator, std::shared_ptr > > >; TableDebugAlloc = tbb::interface5::concurrent_unordered_map, std::shared_ptr, tbb::tbb_hash >, Harness::IsEqual, debug_allocator, std::shared_ptr >, std::allocator> >; typename Table::value_type = std::pair, std::shared_ptr >]' ../../src/test/test_concurrent_unordered_map.cpp:240:131: required from 'void TestTypesMap(const std::__cxx11::list&) [with bool defCtorPresent = true; ValueType = std::pair, std::shared_ptr >]' ../../src/test/test_concurrent_unordered_map.cpp:280:56: required from here ../../include/tbb/internal/_concurrent_unordered_impl.h:1471:24: warning: 'void* memset(void*, int, size_t)' clearing an object of non-trivial type 'tbb::interface5::internal::concurrent_unordered_base, std::shared_ptr, tbb::interface5::internal::hash_compare, tbb::tbb_hash >, Harness::IsEqual>, debug_allocator, std::shared_ptr >, std::allocator>, false> >::raw_iterator' {aka 'class tbb::interface5::internal::flist_iterator, std::shared_ptr >, debug_allocator, std::shared_ptr >, std::allocator> >, std::pair, std::shared_ptr > >'}; use assignment or value-initialization instead [-Wclass-memaccess] std::memset(new_segment, 0, sz*sizeof(raw_iterator)); ~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ In file included from ../../include/tbb/concurrent_unordered_map.h:27, from ../../src/test/test_concurrent_unordered_map.cpp:26: ../../include/tbb/internal/_concurrent_unordered_impl.h:61:7: note: 'tbb::interface5::internal::concurrent_unordered_base, std::shared_ptr, tbb::interface5::internal::hash_compare, tbb::tbb_hash >, Harness::IsEqual>, debug_allocator, std::shared_ptr >, std::allocator>, false> >::raw_iterator' {aka 'class tbb::interface5::internal::flist_iterator, std::shared_ptr >, debug_allocator, std::shared_ptr >, std::allocator> >, std::pair, std::shared_ptr > >'} declared here class flist_iterator : public std::iterator ^~~~~~~~~~~~~~ In file included from ../../include/tbb/concurrent_unordered_map.h:27, from ../../src/test/test_concurrent_unordered_map.cpp:26: ../../include/tbb/internal/_concurrent_unordered_impl.h: In instantiation of 'void tbb::interface5::internal::concurrent_unordered_base::set_bucket(tbb::interface5::internal::concurrent_unordered_base::size_type, tbb::interface5::internal::concurrent_unordered_base::raw_iterator) [with Traits = tbb::interface5::concurrent_unordered_map_traits, std::shared_ptr, tbb::interface5::internal::hash_compare, tbb::tbb_hash >, Harness::IsEqual>, tbb::tbb_allocator, std::shared_ptr > >, true>; tbb::interface5::internal::concurrent_unordered_base::size_type = long unsigned int; tbb::interface5::internal::concurrent_unordered_base::raw_iterator = tbb::interface5::internal::flist_iterator, std::shared_ptr >, tbb::tbb_allocator, std::shared_ptr > > >, std::pair, std::shared_ptr > >]': ../../include/tbb/internal/_concurrent_unordered_impl.h:1207:9: required from 'void tbb::interface5::internal::concurrent_unordered_base::internal_init() [with Traits = tbb::interface5::concurrent_unordered_map_traits, std::shared_ptr, tbb::interface5::internal::hash_compare, tbb::tbb_hash >, Harness::IsEqual>, tbb::tbb_allocator, std::shared_ptr > >, true>]' ../../include/tbb/internal/_concurrent_unordered_impl.h:724:9: required from 'tbb::interface5::internal::concurrent_unordered_base::concurrent_unordered_base(const tbb::interface5::internal::concurrent_unordered_base&) [with Traits = tbb::interface5::concurrent_unordered_map_traits, std::shared_ptr, tbb::interface5::internal::hash_compare, tbb::tbb_hash >, Harness::IsEqual>, tbb::tbb_allocator, std::shared_ptr > >, true>]' ../../include/tbb/concurrent_unordered_map.h:196:7: required from 'void TypeTester(const std::__cxx11::list&) [with bool defCtorPresent = true; Table = tbb::interface5::concurrent_unordered_multimap, std::shared_ptr, tbb::tbb_hash >, Harness::IsEqual, tbb::tbb_allocator, std::shared_ptr > > >; TableDebugAlloc = tbb::interface5::concurrent_unordered_multimap, std::shared_ptr, tbb::tbb_hash >, Harness::IsEqual, debug_allocator, std::shared_ptr >, std::allocator> >; typename Table::value_type = std::pair, std::shared_ptr >]' ../../src/test/test_concurrent_unordered_map.cpp:242:136: required from 'void TestTypesMap(const std::__cxx11::list&) [with bool defCtorPresent = true; ValueType = std::pair, std::shared_ptr >]' ../../src/test/test_concurrent_unordered_map.cpp:280:56: required from here ../../include/tbb/internal/_concurrent_unordered_impl.h:1471:24: warning: 'void* memset(void*, int, size_t)' clearing an object of non-trivial type 'tbb::interface5::internal::concurrent_unordered_base, std::shared_ptr, tbb::interface5::internal::hash_compare, tbb::tbb_hash >, Harness::IsEqual>, tbb::tbb_allocator, std::shared_ptr > >, true> >::raw_iterator' {aka 'class tbb::interface5::internal::flist_iterator, std::shared_ptr >, tbb::tbb_allocator, std::shared_ptr > > >, std::pair, std::shared_ptr > >'}; use assignment or value-initialization instead [-Wclass-memaccess] std::memset(new_segment, 0, sz*sizeof(raw_iterator)); ~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ In file included from ../../include/tbb/concurrent_unordered_map.h:27, from ../../src/test/test_concurrent_unordered_map.cpp:26: ../../include/tbb/internal/_concurrent_unordered_impl.h:61:7: note: 'tbb::interface5::internal::concurrent_unordered_base, std::shared_ptr, tbb::interface5::internal::hash_compare, tbb::tbb_hash >, Harness::IsEqual>, tbb::tbb_allocator, std::shared_ptr > >, true> >::raw_iterator' {aka 'class tbb::interface5::internal::flist_iterator, std::shared_ptr >, tbb::tbb_allocator, std::shared_ptr > > >, std::pair, std::shared_ptr > >'} declared here class flist_iterator : public std::iterator ^~~~~~~~~~~~~~ In file included from ../../include/tbb/concurrent_unordered_map.h:27, from ../../src/test/test_concurrent_unordered_map.cpp:26: ../../include/tbb/internal/_concurrent_unordered_impl.h: In instantiation of 'void tbb::interface5::internal::concurrent_unordered_base::set_bucket(tbb::interface5::internal::concurrent_unordered_base::size_type, tbb::interface5::internal::concurrent_unordered_base::raw_iterator) [with Traits = tbb::interface5::concurrent_unordered_map_traits, std::shared_ptr, tbb::interface5::internal::hash_compare, tbb::tbb_hash >, Harness::IsEqual>, debug_allocator, std::shared_ptr >, std::allocator>, true>; tbb::interface5::internal::concurrent_unordered_base::size_type = long unsigned int; tbb::interface5::internal::concurrent_unordered_base::raw_iterator = tbb::interface5::internal::flist_iterator, std::shared_ptr >, debug_allocator, std::shared_ptr >, std::allocator> >, std::pair, std::shared_ptr > >]': ../../include/tbb/internal/_concurrent_unordered_impl.h:1207:9: required from 'void tbb::interface5::internal::concurrent_unordered_base::internal_init() [with Traits = tbb::interface5::concurrent_unordered_map_traits, std::shared_ptr, tbb::interface5::internal::hash_compare, tbb::tbb_hash >, Harness::IsEqual>, debug_allocator, std::shared_ptr >, std::allocator>, true>]' ../../include/tbb/internal/_concurrent_unordered_impl.h:724:9: required from 'tbb::interface5::internal::concurrent_unordered_base::concurrent_unordered_base(const tbb::interface5::internal::concurrent_unordered_base&) [with Traits = tbb::interface5::concurrent_unordered_map_traits, std::shared_ptr, tbb::interface5::internal::hash_compare, tbb::tbb_hash >, Harness::IsEqual>, debug_allocator, std::shared_ptr >, std::allocator>, true>]' ../../include/tbb/concurrent_unordered_map.h:196:7: required from 'void TypeTester(const std::__cxx11::list&) [with bool defCtorPresent = true; Table = tbb::interface5::concurrent_unordered_multimap, std::shared_ptr, tbb::tbb_hash >, Harness::IsEqual, tbb::tbb_allocator, std::shared_ptr > > >; TableDebugAlloc = tbb::interface5::concurrent_unordered_multimap, std::shared_ptr, tbb::tbb_hash >, Harness::IsEqual, debug_allocator, std::shared_ptr >, std::allocator> >; typename Table::value_type = std::pair, std::shared_ptr >]' ../../src/test/test_concurrent_unordered_map.cpp:242:136: required from 'void TestTypesMap(const std::__cxx11::list&) [with bool defCtorPresent = true; ValueType = std::pair, std::shared_ptr >]' ../../src/test/test_concurrent_unordered_map.cpp:280:56: required from here ../../include/tbb/internal/_concurrent_unordered_impl.h:1471:24: warning: 'void* memset(void*, int, size_t)' clearing an object of non-trivial type 'tbb::interface5::internal::concurrent_unordered_base, std::shared_ptr, tbb::interface5::internal::hash_compare, tbb::tbb_hash >, Harness::IsEqual>, debug_allocator, std::shared_ptr >, std::allocator>, true> >::raw_iterator' {aka 'class tbb::interface5::internal::flist_iterator, std::shared_ptr >, debug_allocator, std::shared_ptr >, std::allocator> >, std::pair, std::shared_ptr > >'}; use assignment or value-initialization instead [-Wclass-memaccess] std::memset(new_segment, 0, sz*sizeof(raw_iterator)); ~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ In file included from ../../include/tbb/concurrent_unordered_map.h:27, from ../../src/test/test_concurrent_unordered_map.cpp:26: ../../include/tbb/internal/_concurrent_unordered_impl.h:61:7: note: 'tbb::interface5::internal::concurrent_unordered_base, std::shared_ptr, tbb::interface5::internal::hash_compare, tbb::tbb_hash >, Harness::IsEqual>, debug_allocator, std::shared_ptr >, std::allocator>, true> >::raw_iterator' {aka 'class tbb::interface5::internal::flist_iterator, std::shared_ptr >, debug_allocator, std::shared_ptr >, std::allocator> >, std::pair, std::shared_ptr > >'} declared here class flist_iterator : public std::iterator ^~~~~~~~~~~~~~ In file included from ../../include/tbb/concurrent_unordered_map.h:27, from ../../src/test/test_concurrent_unordered_map.cpp:26: ../../include/tbb/internal/_concurrent_unordered_impl.h: In instantiation of 'void tbb::interface5::internal::concurrent_unordered_base::set_bucket(tbb::interface5::internal::concurrent_unordered_base::size_type, tbb::interface5::internal::concurrent_unordered_base::raw_iterator) [with Traits = tbb::interface5::concurrent_unordered_map_traits, std::weak_ptr, tbb::interface5::internal::hash_compare, tbb::tbb_hash >, Harness::IsEqual>, tbb::tbb_allocator, std::weak_ptr > >, false>; tbb::interface5::internal::concurrent_unordered_base::size_type = long unsigned int; tbb::interface5::internal::concurrent_unordered_base::raw_iterator = tbb::interface5::internal::flist_iterator, std::weak_ptr >, tbb::tbb_allocator, std::weak_ptr > > >, std::pair, std::weak_ptr > >]': ../../include/tbb/internal/_concurrent_unordered_impl.h:1207:9: required from 'void tbb::interface5::internal::concurrent_unordered_base::internal_init() [with Traits = tbb::interface5::concurrent_unordered_map_traits, std::weak_ptr, tbb::interface5::internal::hash_compare, tbb::tbb_hash >, Harness::IsEqual>, tbb::tbb_allocator, std::weak_ptr > >, false>]' ../../include/tbb/internal/_concurrent_unordered_impl.h:724:9: required from 'tbb::interface5::internal::concurrent_unordered_base::concurrent_unordered_base(const tbb::interface5::internal::concurrent_unordered_base&) [with Traits = tbb::interface5::concurrent_unordered_map_traits, std::weak_ptr, tbb::interface5::internal::hash_compare, tbb::tbb_hash >, Harness::IsEqual>, tbb::tbb_allocator, std::weak_ptr > >, false>]' ../../include/tbb/concurrent_unordered_map.h:58:7: required from 'void TypeTester(const std::__cxx11::list&) [with bool defCtorPresent = true; Table = tbb::interface5::concurrent_unordered_map, std::weak_ptr, tbb::tbb_hash >, Harness::IsEqual, tbb::tbb_allocator, std::weak_ptr > > >; TableDebugAlloc = tbb::interface5::concurrent_unordered_map, std::weak_ptr, tbb::tbb_hash >, Harness::IsEqual, debug_allocator, std::weak_ptr >, std::allocator> >; typename Table::value_type = std::pair, std::weak_ptr >]' ../../src/test/test_concurrent_unordered_map.cpp:240:131: required from 'void TestTypesMap(const std::__cxx11::list&) [with bool defCtorPresent = true; ValueType = std::pair, std::weak_ptr >]' ../../src/test/test_concurrent_unordered_map.cpp:284:54: required from here ../../include/tbb/internal/_concurrent_unordered_impl.h:1471:24: warning: 'void* memset(void*, int, size_t)' clearing an object of non-trivial type 'tbb::interface5::internal::concurrent_unordered_base, std::weak_ptr, tbb::interface5::internal::hash_compare, tbb::tbb_hash >, Harness::IsEqual>, tbb::tbb_allocator, std::weak_ptr > >, false> >::raw_iterator' {aka 'class tbb::interface5::internal::flist_iterator, std::weak_ptr >, tbb::tbb_allocator, std::weak_ptr > > >, std::pair, std::weak_ptr > >'}; use assignment or value-initialization instead [-Wclass-memaccess] std::memset(new_segment, 0, sz*sizeof(raw_iterator)); ~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ In file included from ../../include/tbb/concurrent_unordered_map.h:27, from ../../src/test/test_concurrent_unordered_map.cpp:26: ../../include/tbb/internal/_concurrent_unordered_impl.h:61:7: note: 'tbb::interface5::internal::concurrent_unordered_base, std::weak_ptr, tbb::interface5::internal::hash_compare, tbb::tbb_hash >, Harness::IsEqual>, tbb::tbb_allocator, std::weak_ptr > >, false> >::raw_iterator' {aka 'class tbb::interface5::internal::flist_iterator, std::weak_ptr >, tbb::tbb_allocator, std::weak_ptr > > >, std::pair, std::weak_ptr > >'} declared here class flist_iterator : public std::iterator ^~~~~~~~~~~~~~ In file included from ../../include/tbb/concurrent_unordered_map.h:27, from ../../src/test/test_concurrent_unordered_map.cpp:26: ../../include/tbb/internal/_concurrent_unordered_impl.h: In instantiation of 'void tbb::interface5::internal::concurrent_unordered_base::set_bucket(tbb::interface5::internal::concurrent_unordered_base::size_type, tbb::interface5::internal::concurrent_unordered_base::raw_iterator) [with Traits = tbb::interface5::concurrent_unordered_map_traits, std::weak_ptr, tbb::interface5::internal::hash_compare, tbb::tbb_hash >, Harness::IsEqual>, debug_allocator, std::weak_ptr >, std::allocator>, false>; tbb::interface5::internal::concurrent_unordered_base::size_type = long unsigned int; tbb::interface5::internal::concurrent_unordered_base::raw_iterator = tbb::interface5::internal::flist_iterator, std::weak_ptr >, debug_allocator, std::weak_ptr >, std::allocator> >, std::pair, std::weak_ptr > >]': ../../include/tbb/internal/_concurrent_unordered_impl.h:1207:9: required from 'void tbb::interface5::internal::concurrent_unordered_base::internal_init() [with Traits = tbb::interface5::concurrent_unordered_map_traits, std::weak_ptr, tbb::interface5::internal::hash_compare, tbb::tbb_hash >, Harness::IsEqual>, debug_allocator, std::weak_ptr >, std::allocator>, false>]' ../../include/tbb/internal/_concurrent_unordered_impl.h:724:9: required from 'tbb::interface5::internal::concurrent_unordered_base::concurrent_unordered_base(const tbb::interface5::internal::concurrent_unordered_base&) [with Traits = tbb::interface5::concurrent_unordered_map_traits, std::weak_ptr, tbb::interface5::internal::hash_compare, tbb::tbb_hash >, Harness::IsEqual>, debug_allocator, std::weak_ptr >, std::allocator>, false>]' ../../include/tbb/concurrent_unordered_map.h:58:7: required from 'void TypeTester(const std::__cxx11::list&) [with bool defCtorPresent = true; Table = tbb::interface5::concurrent_unordered_map, std::weak_ptr, tbb::tbb_hash >, Harness::IsEqual, tbb::tbb_allocator, std::weak_ptr > > >; TableDebugAlloc = tbb::interface5::concurrent_unordered_map, std::weak_ptr, tbb::tbb_hash >, Harness::IsEqual, debug_allocator, std::weak_ptr >, std::allocator> >; typename Table::value_type = std::pair, std::weak_ptr >]' ../../src/test/test_concurrent_unordered_map.cpp:240:131: required from 'void TestTypesMap(const std::__cxx11::list&) [with bool defCtorPresent = true; ValueType = std::pair, std::weak_ptr >]' ../../src/test/test_concurrent_unordered_map.cpp:284:54: required from here ../../include/tbb/internal/_concurrent_unordered_impl.h:1471:24: warning: 'void* memset(void*, int, size_t)' clearing an object of non-trivial type 'tbb::interface5::internal::concurrent_unordered_base, std::weak_ptr, tbb::interface5::internal::hash_compare, tbb::tbb_hash >, Harness::IsEqual>, debug_allocator, std::weak_ptr >, std::allocator>, false> >::raw_iterator' {aka 'class tbb::interface5::internal::flist_iterator, std::weak_ptr >, debug_allocator, std::weak_ptr >, std::allocator> >, std::pair, std::weak_ptr > >'}; use assignment or value-initialization instead [-Wclass-memaccess] std::memset(new_segment, 0, sz*sizeof(raw_iterator)); ~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ In file included from ../../include/tbb/concurrent_unordered_map.h:27, from ../../src/test/test_concurrent_unordered_map.cpp:26: ../../include/tbb/internal/_concurrent_unordered_impl.h:61:7: note: 'tbb::interface5::internal::concurrent_unordered_base, std::weak_ptr, tbb::interface5::internal::hash_compare, tbb::tbb_hash >, Harness::IsEqual>, debug_allocator, std::weak_ptr >, std::allocator>, false> >::raw_iterator' {aka 'class tbb::interface5::internal::flist_iterator, std::weak_ptr >, debug_allocator, std::weak_ptr >, std::allocator> >, std::pair, std::weak_ptr > >'} declared here class flist_iterator : public std::iterator ^~~~~~~~~~~~~~ In file included from ../../include/tbb/concurrent_unordered_map.h:27, from ../../src/test/test_concurrent_unordered_map.cpp:26: ../../include/tbb/internal/_concurrent_unordered_impl.h: In instantiation of 'void tbb::interface5::internal::concurrent_unordered_base::set_bucket(tbb::interface5::internal::concurrent_unordered_base::size_type, tbb::interface5::internal::concurrent_unordered_base::raw_iterator) [with Traits = tbb::interface5::concurrent_unordered_map_traits, std::weak_ptr, tbb::interface5::internal::hash_compare, tbb::tbb_hash >, Harness::IsEqual>, tbb::tbb_allocator, std::weak_ptr > >, true>; tbb::interface5::internal::concurrent_unordered_base::size_type = long unsigned int; tbb::interface5::internal::concurrent_unordered_base::raw_iterator = tbb::interface5::internal::flist_iterator, std::weak_ptr >, tbb::tbb_allocator, std::weak_ptr > > >, std::pair, std::weak_ptr > >]': ../../include/tbb/internal/_concurrent_unordered_impl.h:1207:9: required from 'void tbb::interface5::internal::concurrent_unordered_base::internal_init() [with Traits = tbb::interface5::concurrent_unordered_map_traits, std::weak_ptr, tbb::interface5::internal::hash_compare, tbb::tbb_hash >, Harness::IsEqual>, tbb::tbb_allocator, std::weak_ptr > >, true>]' ../../include/tbb/internal/_concurrent_unordered_impl.h:724:9: required from 'tbb::interface5::internal::concurrent_unordered_base::concurrent_unordered_base(const tbb::interface5::internal::concurrent_unordered_base&) [with Traits = tbb::interface5::concurrent_unordered_map_traits, std::weak_ptr, tbb::interface5::internal::hash_compare, tbb::tbb_hash >, Harness::IsEqual>, tbb::tbb_allocator, std::weak_ptr > >, true>]' ../../include/tbb/concurrent_unordered_map.h:196:7: required from 'void TypeTester(const std::__cxx11::list&) [with bool defCtorPresent = true; Table = tbb::interface5::concurrent_unordered_multimap, std::weak_ptr, tbb::tbb_hash >, Harness::IsEqual, tbb::tbb_allocator, std::weak_ptr > > >; TableDebugAlloc = tbb::interface5::concurrent_unordered_multimap, std::weak_ptr, tbb::tbb_hash >, Harness::IsEqual, debug_allocator, std::weak_ptr >, std::allocator> >; typename Table::value_type = std::pair, std::weak_ptr >]' ../../src/test/test_concurrent_unordered_map.cpp:242:136: required from 'void TestTypesMap(const std::__cxx11::list&) [with bool defCtorPresent = true; ValueType = std::pair, std::weak_ptr >]' ../../src/test/test_concurrent_unordered_map.cpp:284:54: required from here ../../include/tbb/internal/_concurrent_unordered_impl.h:1471:24: warning: 'void* memset(void*, int, size_t)' clearing an object of non-trivial type 'tbb::interface5::internal::concurrent_unordered_base, std::weak_ptr, tbb::interface5::internal::hash_compare, tbb::tbb_hash >, Harness::IsEqual>, tbb::tbb_allocator, std::weak_ptr > >, true> >::raw_iterator' {aka 'class tbb::interface5::internal::flist_iterator, std::weak_ptr >, tbb::tbb_allocator, std::weak_ptr > > >, std::pair, std::weak_ptr > >'}; use assignment or value-initialization instead [-Wclass-memaccess] std::memset(new_segment, 0, sz*sizeof(raw_iterator)); ~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ In file included from ../../include/tbb/concurrent_unordered_map.h:27, from ../../src/test/test_concurrent_unordered_map.cpp:26: ../../include/tbb/internal/_concurrent_unordered_impl.h:61:7: note: 'tbb::interface5::internal::concurrent_unordered_base, std::weak_ptr, tbb::interface5::internal::hash_compare, tbb::tbb_hash >, Harness::IsEqual>, tbb::tbb_allocator, std::weak_ptr > >, true> >::raw_iterator' {aka 'class tbb::interface5::internal::flist_iterator, std::weak_ptr >, tbb::tbb_allocator, std::weak_ptr > > >, std::pair, std::weak_ptr > >'} declared here class flist_iterator : public std::iterator ^~~~~~~~~~~~~~ In file included from ../../include/tbb/concurrent_unordered_map.h:27, from ../../src/test/test_concurrent_unordered_map.cpp:26: ../../include/tbb/internal/_concurrent_unordered_impl.h: In instantiation of 'void tbb::interface5::internal::concurrent_unordered_base::set_bucket(tbb::interface5::internal::concurrent_unordered_base::size_type, tbb::interface5::internal::concurrent_unordered_base::raw_iterator) [with Traits = tbb::interface5::concurrent_unordered_map_traits, std::weak_ptr, tbb::interface5::internal::hash_compare, tbb::tbb_hash >, Harness::IsEqual>, debug_allocator, std::weak_ptr >, std::allocator>, true>; tbb::interface5::internal::concurrent_unordered_base::size_type = long unsigned int; tbb::interface5::internal::concurrent_unordered_base::raw_iterator = tbb::interface5::internal::flist_iterator, std::weak_ptr >, debug_allocator, std::weak_ptr >, std::allocator> >, std::pair, std::weak_ptr > >]': ../../include/tbb/internal/_concurrent_unordered_impl.h:1207:9: required from 'void tbb::interface5::internal::concurrent_unordered_base::internal_init() [with Traits = tbb::interface5::concurrent_unordered_map_traits, std::weak_ptr, tbb::interface5::internal::hash_compare, tbb::tbb_hash >, Harness::IsEqual>, debug_allocator, std::weak_ptr >, std::allocator>, true>]' ../../include/tbb/internal/_concurrent_unordered_impl.h:724:9: required from 'tbb::interface5::internal::concurrent_unordered_base::concurrent_unordered_base(const tbb::interface5::internal::concurrent_unordered_base&) [with Traits = tbb::interface5::concurrent_unordered_map_traits, std::weak_ptr, tbb::interface5::internal::hash_compare, tbb::tbb_hash >, Harness::IsEqual>, debug_allocator, std::weak_ptr >, std::allocator>, true>]' ../../include/tbb/concurrent_unordered_map.h:196:7: required from 'void TypeTester(const std::__cxx11::list&) [with bool defCtorPresent = true; Table = tbb::interface5::concurrent_unordered_multimap, std::weak_ptr, tbb::tbb_hash >, Harness::IsEqual, tbb::tbb_allocator, std::weak_ptr > > >; TableDebugAlloc = tbb::interface5::concurrent_unordered_multimap, std::weak_ptr, tbb::tbb_hash >, Harness::IsEqual, debug_allocator, std::weak_ptr >, std::allocator> >; typename Table::value_type = std::pair, std::weak_ptr >]' ../../src/test/test_concurrent_unordered_map.cpp:242:136: required from 'void TestTypesMap(const std::__cxx11::list&) [with bool defCtorPresent = true; ValueType = std::pair, std::weak_ptr >]' ../../src/test/test_concurrent_unordered_map.cpp:284:54: required from here ../../include/tbb/internal/_concurrent_unordered_impl.h:1471:24: warning: 'void* memset(void*, int, size_t)' clearing an object of non-trivial type 'tbb::interface5::internal::concurrent_unordered_base, std::weak_ptr, tbb::interface5::internal::hash_compare, tbb::tbb_hash >, Harness::IsEqual>, debug_allocator, std::weak_ptr >, std::allocator>, true> >::raw_iterator' {aka 'class tbb::interface5::internal::flist_iterator, std::weak_ptr >, debug_allocator, std::weak_ptr >, std::allocator> >, std::pair, std::weak_ptr > >'}; use assignment or value-initialization instead [-Wclass-memaccess] std::memset(new_segment, 0, sz*sizeof(raw_iterator)); ~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ In file included from ../../include/tbb/concurrent_unordered_map.h:27, from ../../src/test/test_concurrent_unordered_map.cpp:26: ../../include/tbb/internal/_concurrent_unordered_impl.h:61:7: note: 'tbb::interface5::internal::concurrent_unordered_base, std::weak_ptr, tbb::interface5::internal::hash_compare, tbb::tbb_hash >, Harness::IsEqual>, debug_allocator, std::weak_ptr >, std::allocator>, true> >::raw_iterator' {aka 'class tbb::interface5::internal::flist_iterator, std::weak_ptr >, debug_allocator, std::weak_ptr >, std::allocator> >, std::pair, std::weak_ptr > >'} declared here class flist_iterator : public std::iterator ^~~~~~~~~~~~~~ In file included from ../../include/tbb/concurrent_unordered_map.h:27, from ../../src/test/test_concurrent_unordered_map.cpp:26: ../../include/tbb/internal/_concurrent_unordered_impl.h: In instantiation of 'void tbb::interface5::internal::concurrent_unordered_base::set_bucket(tbb::interface5::internal::concurrent_unordered_base::size_type, tbb::interface5::internal::concurrent_unordered_base::raw_iterator) [with Traits = tbb::interface5::concurrent_unordered_map_traits, tbb::interface5::internal::hash_compare, std::equal_to >, tbb::tbb_allocator > >, false>; tbb::interface5::internal::concurrent_unordered_base::size_type = long unsigned int; tbb::interface5::internal::concurrent_unordered_base::raw_iterator = tbb::interface5::internal::flist_iterator >, tbb::tbb_allocator > > >, std::pair > >]': ../../include/tbb/internal/_concurrent_unordered_impl.h:1207:9: required from 'void tbb::interface5::internal::concurrent_unordered_base::internal_init() [with Traits = tbb::interface5::concurrent_unordered_map_traits, tbb::interface5::internal::hash_compare, std::equal_to >, tbb::tbb_allocator > >, false>]' ../../include/tbb/internal/_concurrent_unordered_impl.h:710:9: required from 'tbb::interface5::internal::concurrent_unordered_base::concurrent_unordered_base(tbb::interface5::internal::concurrent_unordered_base::size_type, const hash_compare&, const allocator_type&) [with Traits = tbb::interface5::concurrent_unordered_map_traits, tbb::interface5::internal::hash_compare, std::equal_to >, tbb::tbb_allocator > >, false>; tbb::interface5::internal::concurrent_unordered_base::size_type = long unsigned int; tbb::interface5::internal::concurrent_unordered_base::hash_compare = tbb::interface5::internal::hash_compare, std::equal_to >; tbb::interface5::internal::concurrent_unordered_base::allocator_type = tbb::tbb_allocator > >]' ../../include/tbb/concurrent_unordered_map.h:101:73: required from 'tbb::interface5::concurrent_unordered_map::concurrent_unordered_map(tbb::interface5::concurrent_unordered_map::size_type, const hasher&, const key_equal&, const allocator_type&) [with Key = int*; T = test::unique_ptr; Hasher = tbb::tbb_hash; Key_equality = std::equal_to; Allocator = tbb::tbb_allocator > >; tbb::interface5::concurrent_unordered_map::size_type = long unsigned int; tbb::interface5::concurrent_unordered_map::hasher = tbb::tbb_hash; tbb::interface5::concurrent_unordered_map::key_equal = std::equal_to; tbb::interface5::concurrent_unordered_map::allocator_type = tbb::tbb_allocator > >]' ../../src/test/test_concurrent_unordered_common.h:219:17: required from 'void test_emplace_insert(V, V) [with T = tbb::interface5::concurrent_unordered_map >; do_check_element_state = tbb::internal::bool_constant; V = int*]' ../../src/test/test_concurrent_unordered_map.cpp:289:70: required from here ../../include/tbb/internal/_concurrent_unordered_impl.h:1471:24: warning: 'void* memset(void*, int, size_t)' clearing an object of non-trivial type 'tbb::interface5::internal::concurrent_unordered_base, tbb::interface5::internal::hash_compare, std::equal_to >, tbb::tbb_allocator > >, false> >::raw_iterator' {aka 'class tbb::interface5::internal::flist_iterator >, tbb::tbb_allocator > > >, std::pair > >'}; use assignment or value-initialization instead [-Wclass-memaccess] std::memset(new_segment, 0, sz*sizeof(raw_iterator)); ~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ In file included from ../../include/tbb/concurrent_unordered_map.h:27, from ../../src/test/test_concurrent_unordered_map.cpp:26: ../../include/tbb/internal/_concurrent_unordered_impl.h:61:7: note: 'tbb::interface5::internal::concurrent_unordered_base, tbb::interface5::internal::hash_compare, std::equal_to >, tbb::tbb_allocator > >, false> >::raw_iterator' {aka 'class tbb::interface5::internal::flist_iterator >, tbb::tbb_allocator > > >, std::pair > >'} declared here class flist_iterator : public std::iterator ^~~~~~~~~~~~~~ In file included from ../../include/tbb/concurrent_unordered_map.h:27, from ../../src/test/test_concurrent_unordered_map.cpp:26: ../../include/tbb/internal/_concurrent_unordered_impl.h: In instantiation of 'void tbb::interface5::internal::concurrent_unordered_base::set_bucket(tbb::interface5::internal::concurrent_unordered_base::size_type, tbb::interface5::internal::concurrent_unordered_base::raw_iterator) [with Traits = tbb::interface5::concurrent_unordered_map_traits, tbb::interface5::internal::hash_compare, std::equal_to >, tbb::tbb_allocator > >, true>; tbb::interface5::internal::concurrent_unordered_base::size_type = long unsigned int; tbb::interface5::internal::concurrent_unordered_base::raw_iterator = tbb::interface5::internal::flist_iterator >, tbb::tbb_allocator > > >, std::pair > >]': ../../include/tbb/internal/_concurrent_unordered_impl.h:1207:9: required from 'void tbb::interface5::internal::concurrent_unordered_base::internal_init() [with Traits = tbb::interface5::concurrent_unordered_map_traits, tbb::interface5::internal::hash_compare, std::equal_to >, tbb::tbb_allocator > >, true>]' ../../include/tbb/internal/_concurrent_unordered_impl.h:710:9: required from 'tbb::interface5::internal::concurrent_unordered_base::concurrent_unordered_base(tbb::interface5::internal::concurrent_unordered_base::size_type, const hash_compare&, const allocator_type&) [with Traits = tbb::interface5::concurrent_unordered_map_traits, tbb::interface5::internal::hash_compare, std::equal_to >, tbb::tbb_allocator > >, true>; tbb::interface5::internal::concurrent_unordered_base::size_type = long unsigned int; tbb::interface5::internal::concurrent_unordered_base::hash_compare = tbb::interface5::internal::hash_compare, std::equal_to >; tbb::interface5::internal::concurrent_unordered_base::allocator_type = tbb::tbb_allocator > >]' ../../include/tbb/concurrent_unordered_map.h:237:73: required from 'tbb::interface5::concurrent_unordered_multimap::concurrent_unordered_multimap(tbb::interface5::concurrent_unordered_multimap::size_type, const hasher&, const key_equal&, const allocator_type&) [with Key = int*; T = test::unique_ptr; Hasher = tbb::tbb_hash; Key_equality = std::equal_to; Allocator = tbb::tbb_allocator > >; tbb::interface5::concurrent_unordered_multimap::size_type = long unsigned int; tbb::interface5::concurrent_unordered_multimap::hasher = tbb::tbb_hash; tbb::interface5::concurrent_unordered_multimap::key_equal = std::equal_to; tbb::interface5::concurrent_unordered_multimap::allocator_type = tbb::tbb_allocator > >]' ../../src/test/test_concurrent_unordered_common.h:219:17: required from 'void test_emplace_insert(V, V) [with T = tbb::interface5::concurrent_unordered_multimap >; do_check_element_state = tbb::internal::bool_constant; V = int*]' ../../src/test/test_concurrent_unordered_map.cpp:291:70: required from here ../../include/tbb/internal/_concurrent_unordered_impl.h:1471:24: warning: 'void* memset(void*, int, size_t)' clearing an object of non-trivial type 'tbb::interface5::internal::concurrent_unordered_base, tbb::interface5::internal::hash_compare, std::equal_to >, tbb::tbb_allocator > >, true> >::raw_iterator' {aka 'class tbb::interface5::internal::flist_iterator >, tbb::tbb_allocator > > >, std::pair > >'}; use assignment or value-initialization instead [-Wclass-memaccess] std::memset(new_segment, 0, sz*sizeof(raw_iterator)); ~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ In file included from ../../include/tbb/concurrent_unordered_map.h:27, from ../../src/test/test_concurrent_unordered_map.cpp:26: ../../include/tbb/internal/_concurrent_unordered_impl.h:61:7: note: 'tbb::interface5::internal::concurrent_unordered_base, tbb::interface5::internal::hash_compare, std::equal_to >, tbb::tbb_allocator > >, true> >::raw_iterator' {aka 'class tbb::interface5::internal::flist_iterator >, tbb::tbb_allocator > > >, std::pair > >'} declared here class flist_iterator : public std::iterator ^~~~~~~~~~~~~~ In file included from ../../src/test/test_container_move_support.h:26, from ../../src/test/test_concurrent_unordered_common.h:25, from ../../src/test/test_concurrent_unordered_map.cpp:42: ../../src/test/harness_allocator.h: In instantiation of 'debug_allocator::pointer debug_allocator::allocate(debug_allocator::size_type, const void*) [with T = tbb::interface5::internal::flist_iterator >, local_counting_allocator >, std::allocator>, tbb::atomic > >, std::pair > >; Allocator = std::allocator; debug_allocator::pointer = tbb::interface5::internal::flist_iterator >, local_counting_allocator >, std::allocator>, tbb::atomic > >, std::pair > >*; debug_allocator::size_type = long unsigned int]': ../../src/test/harness_allocator.h:474:43: required from 'local_counting_allocator::pointer local_counting_allocator::allocate(local_counting_allocator::size_type) [with base_alloc_t = debug_allocator >, local_counting_allocator >, std::allocator>, tbb::atomic > >, std::pair > >, std::allocator>; count_t = tbb::atomic; local_counting_allocator::pointer = tbb::interface5::internal::flist_iterator >, local_counting_allocator >, std::allocator>, tbb::atomic > >, std::pair > >*; local_counting_allocator::size_type = long unsigned int]' ../../include/tbb/internal/_concurrent_unordered_impl.h:1470:28: required from 'void tbb::interface5::internal::concurrent_unordered_base::set_bucket(tbb::interface5::internal::concurrent_unordered_base::size_type, tbb::interface5::internal::concurrent_unordered_base::raw_iterator) [with Traits = tbb::interface5::concurrent_unordered_map_traits, tbb::interface5::internal::hash_compare, std::equal_to >, local_counting_allocator, std::allocator> >, false>; tbb::interface5::internal::concurrent_unordered_base::size_type = long unsigned int; tbb::interface5::internal::concurrent_unordered_base::raw_iterator = tbb::interface5::internal::flist_iterator >, local_counting_allocator >, std::allocator>, tbb::atomic > >, std::pair > >]' ../../include/tbb/internal/_concurrent_unordered_impl.h:1056:9: required from 'void tbb::interface5::internal::concurrent_unordered_base::clear() [with Traits = tbb::interface5::concurrent_unordered_map_traits, tbb::interface5::internal::hash_compare, std::equal_to >, local_counting_allocator, std::allocator> >, false>]' ../../src/test/test_concurrent_unordered_common.h:657:5: required from 'void test_concurrent(const char*, bool) [with T = tbb::interface5::concurrent_unordered_map, tbb::tbb_hash, std::equal_to, local_counting_allocator, std::allocator> > >]' ../../src/test/test_concurrent_unordered_map.cpp:313:116: required from here ../../src/test/harness_allocator.h:518:20: warning: 'void* memset(void*, int, size_t)' writing to an object of non-trivial type 'class tbb::interface5::internal::flist_iterator >, local_counting_allocator >, std::allocator>, tbb::atomic > >, std::pair > >'; use assignment instead [-Wclass-memaccess] std::memset( ptr, 0xE3E3E3E3, n * sizeof(value_type) ); ~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ In file included from ../../include/tbb/concurrent_unordered_map.h:27, from ../../src/test/test_concurrent_unordered_map.cpp:26: ../../include/tbb/internal/_concurrent_unordered_impl.h:61:7: note: 'class tbb::interface5::internal::flist_iterator >, local_counting_allocator >, std::allocator>, tbb::atomic > >, std::pair > >' declared here class flist_iterator : public std::iterator ^~~~~~~~~~~~~~ In file included from ../../src/test/test_container_move_support.h:26, from ../../src/test/test_concurrent_unordered_common.h:25, from ../../src/test/test_concurrent_unordered_map.cpp:42: ../../src/test/harness_allocator.h: In instantiation of 'debug_allocator::pointer debug_allocator::allocate(debug_allocator::size_type, const void*) [with T = tbb::interface5::internal::flist_iterator, local_counting_allocator, std::allocator>, tbb::atomic > >, std::pair >; Allocator = std::allocator; debug_allocator::pointer = tbb::interface5::internal::flist_iterator, local_counting_allocator, std::allocator>, tbb::atomic > >, std::pair >*; debug_allocator::size_type = long unsigned int]': ../../src/test/harness_allocator.h:474:43: required from 'local_counting_allocator::pointer local_counting_allocator::allocate(local_counting_allocator::size_type) [with base_alloc_t = debug_allocator, local_counting_allocator, std::allocator>, tbb::atomic > >, std::pair >, std::allocator>; count_t = tbb::atomic; local_counting_allocator::pointer = tbb::interface5::internal::flist_iterator, local_counting_allocator, std::allocator>, tbb::atomic > >, std::pair >*; local_counting_allocator::size_type = long unsigned int]' ../../include/tbb/internal/_concurrent_unordered_impl.h:1470:28: required from 'void tbb::interface5::internal::concurrent_unordered_base::set_bucket(tbb::interface5::internal::concurrent_unordered_base::size_type, tbb::interface5::internal::concurrent_unordered_base::raw_iterator) [with Traits = tbb::interface5::concurrent_unordered_map_traits, std::equal_to >, local_counting_allocator, std::allocator> >, false>; tbb::interface5::internal::concurrent_unordered_base::size_type = long unsigned int; tbb::interface5::internal::concurrent_unordered_base::raw_iterator = tbb::interface5::internal::flist_iterator, local_counting_allocator, std::allocator>, tbb::atomic > >, std::pair >]' ../../include/tbb/internal/_concurrent_unordered_impl.h:1056:9: required from 'void tbb::interface5::internal::concurrent_unordered_base::clear() [with Traits = tbb::interface5::concurrent_unordered_map_traits, std::equal_to >, local_counting_allocator, std::allocator> >, false>]' ../../src/test/test_concurrent_unordered_common.h:347:5: required from 'void test_basic(const char*, do_check_element_state) [with T = tbb::interface5::concurrent_unordered_map, std::equal_to, local_counting_allocator, std::allocator> > >; do_check_element_state = tbb::internal::bool_constant]' ../../src/test/test_concurrent_unordered_map.cpp:314:117: required from here ../../src/test/harness_allocator.h:518:20: warning: 'void* memset(void*, int, size_t)' writing to an object of non-trivial type 'class tbb::interface5::internal::flist_iterator, local_counting_allocator, std::allocator>, tbb::atomic > >, std::pair >'; use assignment instead [-Wclass-memaccess] std::memset( ptr, 0xE3E3E3E3, n * sizeof(value_type) ); ~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ In file included from ../../include/tbb/concurrent_unordered_map.h:27, from ../../src/test/test_concurrent_unordered_map.cpp:26: ../../include/tbb/internal/_concurrent_unordered_impl.h:61:7: note: 'class tbb::interface5::internal::flist_iterator, local_counting_allocator, std::allocator>, tbb::atomic > >, std::pair >' declared here class flist_iterator : public std::iterator ^~~~~~~~~~~~~~ In file included from ../../include/tbb/concurrent_unordered_map.h:27, from ../../src/test/test_concurrent_unordered_map.cpp:26: ../../include/tbb/internal/_concurrent_unordered_impl.h: In instantiation of 'void tbb::interface5::internal::concurrent_unordered_base::set_bucket(tbb::interface5::internal::concurrent_unordered_base::size_type, tbb::interface5::internal::concurrent_unordered_base::raw_iterator) [with Traits = tbb::interface5::concurrent_unordered_map_traits, std::equal_to >, static_shared_counting_allocator, arena, long unsigned int>, long unsigned int>, false>; tbb::interface5::internal::concurrent_unordered_base::size_type = long unsigned int; tbb::interface5::internal::concurrent_unordered_base::raw_iterator = tbb::interface5::internal::flist_iterator, static_shared_counting_allocator, arena, std::integral_constant, long unsigned int>, long unsigned int> >, std::pair >]': ../../include/tbb/internal/_concurrent_unordered_impl.h:760:25: required from 'tbb::interface5::internal::concurrent_unordered_base::concurrent_unordered_base(tbb::interface5::internal::concurrent_unordered_base&&, const allocator_type&) [with Traits = tbb::interface5::concurrent_unordered_map_traits, std::equal_to >, static_shared_counting_allocator, arena, long unsigned int>, long unsigned int>, false>; tbb::interface5::internal::concurrent_unordered_base::allocator_type = static_shared_counting_allocator, arena, std::integral_constant, long unsigned int>, long unsigned int>]' ../../include/tbb/concurrent_unordered_map.h:148:115: required from 'tbb::interface5::concurrent_unordered_map::concurrent_unordered_map(tbb::interface5::concurrent_unordered_map&&, const Allocator&) [with Key = FooWithAssign; T = FooWithAssign; Hasher = tbb::tbb_hash; Key_equality = std::equal_to; Allocator = static_shared_counting_allocator, arena, long unsigned int>, long unsigned int>]' ../../src/test/test_container_move_support.h:836:5: required from 'void TestExceptionSafetyGuaranteesMoveConstructorWithUnEqualAllocatorMemoryFailure() [with container_traits = cu_map_type]' ../../src/test/test_concurrent_unordered_common.h:816:100: required from 'void test_rvalue_ref_support(const char*) [with container_traits = cu_map_type]' ../../src/test/test_concurrent_unordered_map.cpp:330:70: required from here ../../include/tbb/internal/_concurrent_unordered_impl.h:1471:24: warning: 'void* memset(void*, int, size_t)' clearing an object of non-trivial type 'tbb::interface5::internal::concurrent_unordered_base, std::equal_to >, static_shared_counting_allocator, arena, long unsigned int>, long unsigned int>, false> >::raw_iterator' {aka 'class tbb::interface5::internal::flist_iterator, static_shared_counting_allocator, arena, std::integral_constant, long unsigned int>, long unsigned int> >, std::pair >'}; use assignment or value-initialization instead [-Wclass-memaccess] std::memset(new_segment, 0, sz*sizeof(raw_iterator)); ~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ In file included from ../../include/tbb/concurrent_unordered_map.h:27, from ../../src/test/test_concurrent_unordered_map.cpp:26: ../../include/tbb/internal/_concurrent_unordered_impl.h:61:7: note: 'tbb::interface5::internal::concurrent_unordered_base, std::equal_to >, static_shared_counting_allocator, arena, long unsigned int>, long unsigned int>, false> >::raw_iterator' {aka 'class tbb::interface5::internal::flist_iterator, static_shared_counting_allocator, arena, std::integral_constant, long unsigned int>, long unsigned int> >, std::pair >'} declared here class flist_iterator : public std::iterator ^~~~~~~~~~~~~~ In file included from ../../include/tbb/concurrent_unordered_map.h:27, from ../../src/test/test_concurrent_unordered_map.cpp:26: ../../include/tbb/internal/_concurrent_unordered_impl.h: In instantiation of 'void tbb::interface5::internal::concurrent_unordered_base::set_bucket(tbb::interface5::internal::concurrent_unordered_base::size_type, tbb::interface5::internal::concurrent_unordered_base::raw_iterator) [with Traits = tbb::interface5::concurrent_unordered_map_traits, std::equal_to >, static_shared_counting_allocator, arena, long unsigned int>, long unsigned int>, true>; tbb::interface5::internal::concurrent_unordered_base::size_type = long unsigned int; tbb::interface5::internal::concurrent_unordered_base::raw_iterator = tbb::interface5::internal::flist_iterator, static_shared_counting_allocator, arena, std::integral_constant, long unsigned int>, long unsigned int> >, std::pair >]': ../../include/tbb/internal/_concurrent_unordered_impl.h:760:25: required from 'tbb::interface5::internal::concurrent_unordered_base::concurrent_unordered_base(tbb::interface5::internal::concurrent_unordered_base&&, const allocator_type&) [with Traits = tbb::interface5::concurrent_unordered_map_traits, std::equal_to >, static_shared_counting_allocator, arena, long unsigned int>, long unsigned int>, true>; tbb::interface5::internal::concurrent_unordered_base::allocator_type = static_shared_counting_allocator, arena, std::integral_constant, long unsigned int>, long unsigned int>]' ../../include/tbb/concurrent_unordered_map.h:284:125: required from 'tbb::interface5::concurrent_unordered_multimap::concurrent_unordered_multimap(tbb::interface5::concurrent_unordered_multimap&&, const Allocator&) [with Key = FooWithAssign; T = FooWithAssign; Hasher = tbb::tbb_hash; Key_equality = std::equal_to; Allocator = static_shared_counting_allocator, arena, long unsigned int>, long unsigned int>]' ../../src/test/test_container_move_support.h:836:5: required from 'void TestExceptionSafetyGuaranteesMoveConstructorWithUnEqualAllocatorMemoryFailure() [with container_traits = cu_multimap_type]' ../../src/test/test_concurrent_unordered_common.h:816:100: required from 'void test_rvalue_ref_support(const char*) [with container_traits = cu_multimap_type]' ../../src/test/test_concurrent_unordered_map.cpp:331:80: required from here ../../include/tbb/internal/_concurrent_unordered_impl.h:1471:24: warning: 'void* memset(void*, int, size_t)' clearing an object of non-trivial type 'tbb::interface5::internal::concurrent_unordered_base, std::equal_to >, static_shared_counting_allocator, arena, long unsigned int>, long unsigned int>, true> >::raw_iterator' {aka 'class tbb::interface5::internal::flist_iterator, static_shared_counting_allocator, arena, std::integral_constant, long unsigned int>, long unsigned int> >, std::pair >'}; use assignment or value-initialization instead [-Wclass-memaccess] std::memset(new_segment, 0, sz*sizeof(raw_iterator)); ~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ In file included from ../../include/tbb/concurrent_unordered_map.h:27, from ../../src/test/test_concurrent_unordered_map.cpp:26: ../../include/tbb/internal/_concurrent_unordered_impl.h:61:7: note: 'tbb::interface5::internal::concurrent_unordered_base, std::equal_to >, static_shared_counting_allocator, arena, long unsigned int>, long unsigned int>, true> >::raw_iterator' {aka 'class tbb::interface5::internal::flist_iterator, static_shared_counting_allocator, arena, std::integral_constant, long unsigned int>, long unsigned int> >, std::pair >'} declared here class flist_iterator : public std::iterator ^~~~~~~~~~~~~~ In file included from ../../src/test/test_container_move_support.h:26, from ../../src/test/test_concurrent_unordered_common.h:25, from ../../src/test/test_concurrent_unordered_map.cpp:42: ../../src/test/harness_allocator.h: In instantiation of 'debug_allocator::pointer debug_allocator::allocate(debug_allocator::size_type, const void*) [with T = tbb::interface5::internal::split_ordered_list, debug_allocator, std::allocator> >::node; Allocator = std::allocator; debug_allocator::pointer = tbb::interface5::internal::split_ordered_list, debug_allocator, std::allocator> >::node*; debug_allocator::size_type = long unsigned int]': ../../include/tbb/internal/_concurrent_unordered_impl.h:255:19: required from 'tbb::interface5::internal::split_ordered_list::node* tbb::interface5::internal::split_ordered_list::create_node(tbb::interface5::internal::sokey_t) [with T = std::pair; Allocator = debug_allocator, std::allocator>; tbb::interface5::internal::split_ordered_list::nodeptr_t = tbb::interface5::internal::split_ordered_list, debug_allocator, std::allocator> >::node*; tbb::interface5::internal::sokey_t = long unsigned int]' ../../include/tbb/internal/_concurrent_unordered_impl.h:307:17: required from 'tbb::interface5::internal::split_ordered_list::split_ordered_list(tbb::interface5::internal::split_ordered_list::allocator_type) [with T = std::pair; Allocator = debug_allocator, std::allocator>; tbb::interface5::internal::split_ordered_list::allocator_type = debug_allocator, std::allocator>]' ../../include/tbb/internal/_concurrent_unordered_impl.h:721:110: required from 'tbb::interface5::internal::concurrent_unordered_base::concurrent_unordered_base(const tbb::interface5::internal::concurrent_unordered_base&) [with Traits = tbb::interface5::concurrent_unordered_map_traits, Harness::IsEqual>, debug_allocator, std::allocator>, false>]' ../../include/tbb/concurrent_unordered_map.h:58:7: required from 'void TypeTester(const std::__cxx11::list&) [with bool defCtorPresent = true; Table = tbb::interface5::concurrent_unordered_map, Harness::IsEqual, tbb::tbb_allocator > >; TableDebugAlloc = tbb::interface5::concurrent_unordered_map, Harness::IsEqual, debug_allocator, std::allocator> >; typename Table::value_type = std::pair]' ../../src/test/test_concurrent_unordered_map.cpp:240:131: required from 'void TestTypesMap(const std::__cxx11::list&) [with bool defCtorPresent = true; ValueType = std::pair]' ../../src/test/test_concurrent_unordered_map.cpp:250:58: required from here ../../src/test/harness_allocator.h:518:20: warning: 'void* memset(void*, int, size_t)' writing to an object of type 'struct tbb::interface5::internal::split_ordered_list, debug_allocator, std::allocator> >::node' with no trivial copy-assignment [-Wclass-memaccess] std::memset( ptr, 0xE3E3E3E3, n * sizeof(value_type) ); ~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ In file included from ../../include/tbb/concurrent_unordered_map.h:27, from ../../src/test/test_concurrent_unordered_map.cpp:26: ../../include/tbb/internal/_concurrent_unordered_impl.h:206:12: note: 'struct tbb::interface5::internal::split_ordered_list, debug_allocator, std::allocator> >::node' declared here struct node : tbb::internal::no_assign ^~~~ In file included from ../../src/test/test_container_move_support.h:26, from ../../src/test/test_concurrent_unordered_common.h:25, from ../../src/test/test_concurrent_unordered_map.cpp:42: ../../src/test/harness_allocator.h: In instantiation of 'debug_allocator::pointer debug_allocator::allocate(debug_allocator::size_type, const void*) [with T = tbb::interface5::internal::flist_iterator, debug_allocator, std::allocator> >, std::pair >; Allocator = std::allocator; debug_allocator::pointer = tbb::interface5::internal::flist_iterator, debug_allocator, std::allocator> >, std::pair >*; debug_allocator::size_type = long unsigned int]': ../../include/tbb/internal/_concurrent_unordered_impl.h:1470:28: required from 'void tbb::interface5::internal::concurrent_unordered_base::set_bucket(tbb::interface5::internal::concurrent_unordered_base::size_type, tbb::interface5::internal::concurrent_unordered_base::raw_iterator) [with Traits = tbb::interface5::concurrent_unordered_map_traits, Harness::IsEqual>, debug_allocator, std::allocator>, false>; tbb::interface5::internal::concurrent_unordered_base::size_type = long unsigned int; tbb::interface5::internal::concurrent_unordered_base::raw_iterator = tbb::interface5::internal::flist_iterator, debug_allocator, std::allocator> >, std::pair >]' ../../include/tbb/internal/_concurrent_unordered_impl.h:1207:9: required from 'void tbb::interface5::internal::concurrent_unordered_base::internal_init() [with Traits = tbb::interface5::concurrent_unordered_map_traits, Harness::IsEqual>, debug_allocator, std::allocator>, false>]' ../../include/tbb/internal/_concurrent_unordered_impl.h:724:9: required from 'tbb::interface5::internal::concurrent_unordered_base::concurrent_unordered_base(const tbb::interface5::internal::concurrent_unordered_base&) [with Traits = tbb::interface5::concurrent_unordered_map_traits, Harness::IsEqual>, debug_allocator, std::allocator>, false>]' ../../include/tbb/concurrent_unordered_map.h:58:7: required from 'void TypeTester(const std::__cxx11::list&) [with bool defCtorPresent = true; Table = tbb::interface5::concurrent_unordered_map, Harness::IsEqual, tbb::tbb_allocator > >; TableDebugAlloc = tbb::interface5::concurrent_unordered_map, Harness::IsEqual, debug_allocator, std::allocator> >; typename Table::value_type = std::pair]' ../../src/test/test_concurrent_unordered_map.cpp:240:131: required from 'void TestTypesMap(const std::__cxx11::list&) [with bool defCtorPresent = true; ValueType = std::pair]' ../../src/test/test_concurrent_unordered_map.cpp:250:58: required from here ../../src/test/harness_allocator.h:518:20: warning: 'void* memset(void*, int, size_t)' writing to an object of non-trivial type 'class tbb::interface5::internal::flist_iterator, debug_allocator, std::allocator> >, std::pair >'; use assignment instead [-Wclass-memaccess] std::memset( ptr, 0xE3E3E3E3, n * sizeof(value_type) ); ~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ In file included from ../../include/tbb/concurrent_unordered_map.h:27, from ../../src/test/test_concurrent_unordered_map.cpp:26: ../../include/tbb/internal/_concurrent_unordered_impl.h:61:7: note: 'class tbb::interface5::internal::flist_iterator, debug_allocator, std::allocator> >, std::pair >' declared here class flist_iterator : public std::iterator ^~~~~~~~~~~~~~ In file included from ../../src/test/test_container_move_support.h:26, from ../../src/test/test_concurrent_unordered_common.h:25, from ../../src/test/test_concurrent_unordered_map.cpp:42: ../../src/test/harness_allocator.h: In instantiation of 'debug_allocator::pointer debug_allocator::allocate(debug_allocator::size_type, const void*) [with T = tbb::interface5::internal::split_ordered_list >, debug_allocator >, std::allocator> >::node; Allocator = std::allocator; debug_allocator::pointer = tbb::interface5::internal::split_ordered_list >, debug_allocator >, std::allocator> >::node*; debug_allocator::size_type = long unsigned int]': ../../include/tbb/internal/_concurrent_unordered_impl.h:255:19: required from 'tbb::interface5::internal::split_ordered_list::node* tbb::interface5::internal::split_ordered_list::create_node(tbb::interface5::internal::sokey_t) [with T = std::pair >; Allocator = debug_allocator >, std::allocator>; tbb::interface5::internal::split_ordered_list::nodeptr_t = tbb::interface5::internal::split_ordered_list >, debug_allocator >, std::allocator> >::node*; tbb::interface5::internal::sokey_t = long unsigned int]' ../../include/tbb/internal/_concurrent_unordered_impl.h:307:17: required from 'tbb::interface5::internal::split_ordered_list::split_ordered_list(tbb::interface5::internal::split_ordered_list::allocator_type) [with T = std::pair >; Allocator = debug_allocator >, std::allocator>; tbb::interface5::internal::split_ordered_list::allocator_type = debug_allocator >, std::allocator>]' ../../include/tbb/internal/_concurrent_unordered_impl.h:721:110: required from 'tbb::interface5::internal::concurrent_unordered_base::concurrent_unordered_base(const tbb::interface5::internal::concurrent_unordered_base&) [with Traits = tbb::interface5::concurrent_unordered_map_traits, tbb::interface5::internal::hash_compare, Harness::IsEqual>, debug_allocator >, std::allocator>, false>]' ../../include/tbb/concurrent_unordered_map.h:58:7: required from 'void TypeTester(const std::__cxx11::list&) [with bool defCtorPresent = true; Table = tbb::interface5::concurrent_unordered_map, tbb::tbb_hash, Harness::IsEqual, tbb::tbb_allocator > > >; TableDebugAlloc = tbb::interface5::concurrent_unordered_map, tbb::tbb_hash, Harness::IsEqual, debug_allocator >, std::allocator> >; typename Table::value_type = std::pair >]' ../../src/test/test_concurrent_unordered_map.cpp:240:131: required from 'void TestTypesMap(const std::__cxx11::list&) [with bool defCtorPresent = true; ValueType = std::pair >]' ../../src/test/test_concurrent_unordered_map.cpp:258:56: required from here ../../src/test/harness_allocator.h:518:20: warning: 'void* memset(void*, int, size_t)' writing to an object of type 'struct tbb::interface5::internal::split_ordered_list >, debug_allocator >, std::allocator> >::node' with no trivial copy-assignment [-Wclass-memaccess] std::memset( ptr, 0xE3E3E3E3, n * sizeof(value_type) ); ~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ In file included from ../../include/tbb/concurrent_unordered_map.h:27, from ../../src/test/test_concurrent_unordered_map.cpp:26: ../../include/tbb/internal/_concurrent_unordered_impl.h:206:12: note: 'struct tbb::interface5::internal::split_ordered_list >, debug_allocator >, std::allocator> >::node' declared here struct node : tbb::internal::no_assign ^~~~ In file included from ../../src/test/test_container_move_support.h:26, from ../../src/test/test_concurrent_unordered_common.h:25, from ../../src/test/test_concurrent_unordered_map.cpp:42: ../../src/test/harness_allocator.h: In instantiation of 'debug_allocator::pointer debug_allocator::allocate(debug_allocator::size_type, const void*) [with T = tbb::interface5::internal::flist_iterator >, debug_allocator >, std::allocator> >, std::pair > >; Allocator = std::allocator; debug_allocator::pointer = tbb::interface5::internal::flist_iterator >, debug_allocator >, std::allocator> >, std::pair > >*; debug_allocator::size_type = long unsigned int]': ../../include/tbb/internal/_concurrent_unordered_impl.h:1470:28: required from 'void tbb::interface5::internal::concurrent_unordered_base::set_bucket(tbb::interface5::internal::concurrent_unordered_base::size_type, tbb::interface5::internal::concurrent_unordered_base::raw_iterator) [with Traits = tbb::interface5::concurrent_unordered_map_traits, tbb::interface5::internal::hash_compare, Harness::IsEqual>, debug_allocator >, std::allocator>, false>; tbb::interface5::internal::concurrent_unordered_base::size_type = long unsigned int; tbb::interface5::internal::concurrent_unordered_base::raw_iterator = tbb::interface5::internal::flist_iterator >, debug_allocator >, std::allocator> >, std::pair > >]' ../../include/tbb/internal/_concurrent_unordered_impl.h:1207:9: required from 'void tbb::interface5::internal::concurrent_unordered_base::internal_init() [with Traits = tbb::interface5::concurrent_unordered_map_traits, tbb::interface5::internal::hash_compare, Harness::IsEqual>, debug_allocator >, std::allocator>, false>]' ../../include/tbb/internal/_concurrent_unordered_impl.h:724:9: required from 'tbb::interface5::internal::concurrent_unordered_base::concurrent_unordered_base(const tbb::interface5::internal::concurrent_unordered_base&) [with Traits = tbb::interface5::concurrent_unordered_map_traits, tbb::interface5::internal::hash_compare, Harness::IsEqual>, debug_allocator >, std::allocator>, false>]' ../../include/tbb/concurrent_unordered_map.h:58:7: required from 'void TypeTester(const std::__cxx11::list&) [with bool defCtorPresent = true; Table = tbb::interface5::concurrent_unordered_map, tbb::tbb_hash, Harness::IsEqual, tbb::tbb_allocator > > >; TableDebugAlloc = tbb::interface5::concurrent_unordered_map, tbb::tbb_hash, Harness::IsEqual, debug_allocator >, std::allocator> >; typename Table::value_type = std::pair >]' ../../src/test/test_concurrent_unordered_map.cpp:240:131: required from 'void TestTypesMap(const std::__cxx11::list&) [with bool defCtorPresent = true; ValueType = std::pair >]' ../../src/test/test_concurrent_unordered_map.cpp:258:56: required from here ../../src/test/harness_allocator.h:518:20: warning: 'void* memset(void*, int, size_t)' writing to an object of non-trivial type 'class tbb::interface5::internal::flist_iterator >, debug_allocator >, std::allocator> >, std::pair > >'; use assignment instead [-Wclass-memaccess] std::memset( ptr, 0xE3E3E3E3, n * sizeof(value_type) ); ~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ In file included from ../../include/tbb/concurrent_unordered_map.h:27, from ../../src/test/test_concurrent_unordered_map.cpp:26: ../../include/tbb/internal/_concurrent_unordered_impl.h:61:7: note: 'class tbb::interface5::internal::flist_iterator >, debug_allocator >, std::allocator> >, std::pair > >' declared here class flist_iterator : public std::iterator ^~~~~~~~~~~~~~ In file included from ../../src/test/test_container_move_support.h:26, from ../../src/test/test_concurrent_unordered_common.h:25, from ../../src/test/test_concurrent_unordered_map.cpp:42: ../../src/test/harness_allocator.h: In instantiation of 'debug_allocator::pointer debug_allocator::allocate(debug_allocator::size_type, const void*) [with T = tbb::interface5::internal::split_ordered_list, int>, debug_allocator, int>, std::allocator> >::node; Allocator = std::allocator; debug_allocator::pointer = tbb::interface5::internal::split_ordered_list, int>, debug_allocator, int>, std::allocator> >::node*; debug_allocator::size_type = long unsigned int]': ../../include/tbb/internal/_concurrent_unordered_impl.h:255:19: required from 'tbb::interface5::internal::split_ordered_list::node* tbb::interface5::internal::split_ordered_list::create_node(tbb::interface5::internal::sokey_t) [with T = std::pair, int>; Allocator = debug_allocator, int>, std::allocator>; tbb::interface5::internal::split_ordered_list::nodeptr_t = tbb::interface5::internal::split_ordered_list, int>, debug_allocator, int>, std::allocator> >::node*; tbb::interface5::internal::sokey_t = long unsigned int]' ../../include/tbb/internal/_concurrent_unordered_impl.h:307:17: required from 'tbb::interface5::internal::split_ordered_list::split_ordered_list(tbb::interface5::internal::split_ordered_list::allocator_type) [with T = std::pair, int>; Allocator = debug_allocator, int>, std::allocator>; tbb::interface5::internal::split_ordered_list::allocator_type = debug_allocator, int>, std::allocator>]' ../../include/tbb/internal/_concurrent_unordered_impl.h:721:110: required from 'tbb::interface5::internal::concurrent_unordered_base::concurrent_unordered_base(const tbb::interface5::internal::concurrent_unordered_base&) [with Traits = tbb::interface5::concurrent_unordered_map_traits, int, tbb::interface5::internal::hash_compare, tbb::tbb_hash >, Harness::IsEqual>, debug_allocator, int>, std::allocator>, false>]' ../../include/tbb/concurrent_unordered_map.h:58:7: required from 'void TypeTester(const std::__cxx11::list&) [with bool defCtorPresent = true; Table = tbb::interface5::concurrent_unordered_map, int, tbb::tbb_hash >, Harness::IsEqual, tbb::tbb_allocator, int> > >; TableDebugAlloc = tbb::interface5::concurrent_unordered_map, int, tbb::tbb_hash >, Harness::IsEqual, debug_allocator, int>, std::allocator> >; typename Table::value_type = std::pair, int>]' ../../src/test/test_concurrent_unordered_map.cpp:240:131: required from 'void TestTypesMap(const std::__cxx11::list&) [with bool defCtorPresent = true; ValueType = std::pair, int>]' ../../src/test/test_concurrent_unordered_map.cpp:264:56: required from here ../../src/test/harness_allocator.h:518:20: warning: 'void* memset(void*, int, size_t)' writing to an object of type 'struct tbb::interface5::internal::split_ordered_list, int>, debug_allocator, int>, std::allocator> >::node' with no trivial copy-assignment [-Wclass-memaccess] std::memset( ptr, 0xE3E3E3E3, n * sizeof(value_type) ); ~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ In file included from ../../include/tbb/concurrent_unordered_map.h:27, from ../../src/test/test_concurrent_unordered_map.cpp:26: ../../include/tbb/internal/_concurrent_unordered_impl.h:206:12: note: 'struct tbb::interface5::internal::split_ordered_list, int>, debug_allocator, int>, std::allocator> >::node' declared here struct node : tbb::internal::no_assign ^~~~ In file included from ../../src/test/test_container_move_support.h:26, from ../../src/test/test_concurrent_unordered_common.h:25, from ../../src/test/test_concurrent_unordered_map.cpp:42: ../../src/test/harness_allocator.h: In instantiation of 'debug_allocator::pointer debug_allocator::allocate(debug_allocator::size_type, const void*) [with T = tbb::interface5::internal::flist_iterator, int>, debug_allocator, int>, std::allocator> >, std::pair, int> >; Allocator = std::allocator; debug_allocator::pointer = tbb::interface5::internal::flist_iterator, int>, debug_allocator, int>, std::allocator> >, std::pair, int> >*; debug_allocator::size_type = long unsigned int]': ../../include/tbb/internal/_concurrent_unordered_impl.h:1470:28: required from 'void tbb::interface5::internal::concurrent_unordered_base::set_bucket(tbb::interface5::internal::concurrent_unordered_base::size_type, tbb::interface5::internal::concurrent_unordered_base::raw_iterator) [with Traits = tbb::interface5::concurrent_unordered_map_traits, int, tbb::interface5::internal::hash_compare, tbb::tbb_hash >, Harness::IsEqual>, debug_allocator, int>, std::allocator>, false>; tbb::interface5::internal::concurrent_unordered_base::size_type = long unsigned int; tbb::interface5::internal::concurrent_unordered_base::raw_iterator = tbb::interface5::internal::flist_iterator, int>, debug_allocator, int>, std::allocator> >, std::pair, int> >]' ../../include/tbb/internal/_concurrent_unordered_impl.h:1207:9: required from 'void tbb::interface5::internal::concurrent_unordered_base::internal_init() [with Traits = tbb::interface5::concurrent_unordered_map_traits, int, tbb::interface5::internal::hash_compare, tbb::tbb_hash >, Harness::IsEqual>, debug_allocator, int>, std::allocator>, false>]' ../../include/tbb/internal/_concurrent_unordered_impl.h:724:9: required from 'tbb::interface5::internal::concurrent_unordered_base::concurrent_unordered_base(const tbb::interface5::internal::concurrent_unordered_base&) [with Traits = tbb::interface5::concurrent_unordered_map_traits, int, tbb::interface5::internal::hash_compare, tbb::tbb_hash >, Harness::IsEqual>, debug_allocator, int>, std::allocator>, false>]' ../../include/tbb/concurrent_unordered_map.h:58:7: required from 'void TypeTester(const std::__cxx11::list&) [with bool defCtorPresent = true; Table = tbb::interface5::concurrent_unordered_map, int, tbb::tbb_hash >, Harness::IsEqual, tbb::tbb_allocator, int> > >; TableDebugAlloc = tbb::interface5::concurrent_unordered_map, int, tbb::tbb_hash >, Harness::IsEqual, debug_allocator, int>, std::allocator> >; typename Table::value_type = std::pair, int>]' ../../src/test/test_concurrent_unordered_map.cpp:240:131: required from 'void TestTypesMap(const std::__cxx11::list&) [with bool defCtorPresent = true; ValueType = std::pair, int>]' ../../src/test/test_concurrent_unordered_map.cpp:264:56: required from here ../../src/test/harness_allocator.h:518:20: warning: 'void* memset(void*, int, size_t)' writing to an object of non-trivial type 'class tbb::interface5::internal::flist_iterator, int>, debug_allocator, int>, std::allocator> >, std::pair, int> >'; use assignment instead [-Wclass-memaccess] std::memset( ptr, 0xE3E3E3E3, n * sizeof(value_type) ); ~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ In file included from ../../include/tbb/concurrent_unordered_map.h:27, from ../../src/test/test_concurrent_unordered_map.cpp:26: ../../include/tbb/internal/_concurrent_unordered_impl.h:61:7: note: 'class tbb::interface5::internal::flist_iterator, int>, debug_allocator, int>, std::allocator> >, std::pair, int> >' declared here class flist_iterator : public std::iterator ^~~~~~~~~~~~~~ In file included from ../../src/test/test_container_move_support.h:26, from ../../src/test/test_concurrent_unordered_common.h:25, from ../../src/test/test_concurrent_unordered_map.cpp:42: ../../src/test/harness_allocator.h: In instantiation of 'debug_allocator::pointer debug_allocator::allocate(debug_allocator::size_type, const void*) [with T = tbb::interface5::internal::split_ordered_list >, debug_allocator >, std::allocator> >::node; Allocator = std::allocator; debug_allocator::pointer = tbb::interface5::internal::split_ordered_list >, debug_allocator >, std::allocator> >::node*; debug_allocator::size_type = long unsigned int]': ../../include/tbb/internal/_concurrent_unordered_impl.h:255:19: required from 'tbb::interface5::internal::split_ordered_list::node* tbb::interface5::internal::split_ordered_list::create_node(tbb::interface5::internal::sokey_t) [with T = std::pair >; Allocator = debug_allocator >, std::allocator>; tbb::interface5::internal::split_ordered_list::nodeptr_t = tbb::interface5::internal::split_ordered_list >, debug_allocator >, std::allocator> >::node*; tbb::interface5::internal::sokey_t = long unsigned int]' ../../include/tbb/internal/_concurrent_unordered_impl.h:307:17: required from 'tbb::interface5::internal::split_ordered_list::split_ordered_list(tbb::interface5::internal::split_ordered_list::allocator_type) [with T = std::pair >; Allocator = debug_allocator >, std::allocator>; tbb::interface5::internal::split_ordered_list::allocator_type = debug_allocator >, std::allocator>]' ../../include/tbb/internal/_concurrent_unordered_impl.h:721:110: required from 'tbb::interface5::internal::concurrent_unordered_base::concurrent_unordered_base(const tbb::interface5::internal::concurrent_unordered_base&) [with Traits = tbb::interface5::concurrent_unordered_map_traits, tbb::interface5::internal::hash_compare, Harness::IsEqual>, debug_allocator >, std::allocator>, false>]' ../../include/tbb/concurrent_unordered_map.h:58:7: required from 'void TypeTester(const std::__cxx11::list&) [with bool defCtorPresent = false; Table = tbb::interface5::concurrent_unordered_map, tbb::tbb_hash, Harness::IsEqual, tbb::tbb_allocator > > >; TableDebugAlloc = tbb::interface5::concurrent_unordered_map, tbb::tbb_hash, Harness::IsEqual, debug_allocator >, std::allocator> >; typename Table::value_type = std::pair >]' ../../src/test/test_concurrent_unordered_map.cpp:240:131: required from 'void TestTypesMap(const std::__cxx11::list&) [with bool defCtorPresent = false; ValueType = std::pair >]' ../../src/test/test_concurrent_unordered_map.cpp:271:57: required from here ../../src/test/harness_allocator.h:518:20: warning: 'void* memset(void*, int, size_t)' writing to an object of type 'struct tbb::interface5::internal::split_ordered_list >, debug_allocator >, std::allocator> >::node' with no trivial copy-assignment [-Wclass-memaccess] std::memset( ptr, 0xE3E3E3E3, n * sizeof(value_type) ); ~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ In file included from ../../include/tbb/concurrent_unordered_map.h:27, from ../../src/test/test_concurrent_unordered_map.cpp:26: ../../include/tbb/internal/_concurrent_unordered_impl.h:206:12: note: 'struct tbb::interface5::internal::split_ordered_list >, debug_allocator >, std::allocator> >::node' declared here struct node : tbb::internal::no_assign ^~~~ In file included from ../../src/test/test_container_move_support.h:26, from ../../src/test/test_concurrent_unordered_common.h:25, from ../../src/test/test_concurrent_unordered_map.cpp:42: ../../src/test/harness_allocator.h: In instantiation of 'debug_allocator::pointer debug_allocator::allocate(debug_allocator::size_type, const void*) [with T = tbb::interface5::internal::flist_iterator >, debug_allocator >, std::allocator> >, std::pair > >; Allocator = std::allocator; debug_allocator::pointer = tbb::interface5::internal::flist_iterator >, debug_allocator >, std::allocator> >, std::pair > >*; debug_allocator::size_type = long unsigned int]': ../../include/tbb/internal/_concurrent_unordered_impl.h:1470:28: required from 'void tbb::interface5::internal::concurrent_unordered_base::set_bucket(tbb::interface5::internal::concurrent_unordered_base::size_type, tbb::interface5::internal::concurrent_unordered_base::raw_iterator) [with Traits = tbb::interface5::concurrent_unordered_map_traits, tbb::interface5::internal::hash_compare, Harness::IsEqual>, debug_allocator >, std::allocator>, false>; tbb::interface5::internal::concurrent_unordered_base::size_type = long unsigned int; tbb::interface5::internal::concurrent_unordered_base::raw_iterator = tbb::interface5::internal::flist_iterator >, debug_allocator >, std::allocator> >, std::pair > >]' ../../include/tbb/internal/_concurrent_unordered_impl.h:1207:9: required from 'void tbb::interface5::internal::concurrent_unordered_base::internal_init() [with Traits = tbb::interface5::concurrent_unordered_map_traits, tbb::interface5::internal::hash_compare, Harness::IsEqual>, debug_allocator >, std::allocator>, false>]' ../../include/tbb/internal/_concurrent_unordered_impl.h:724:9: required from 'tbb::interface5::internal::concurrent_unordered_base::concurrent_unordered_base(const tbb::interface5::internal::concurrent_unordered_base&) [with Traits = tbb::interface5::concurrent_unordered_map_traits, tbb::interface5::internal::hash_compare, Harness::IsEqual>, debug_allocator >, std::allocator>, false>]' ../../include/tbb/concurrent_unordered_map.h:58:7: required from 'void TypeTester(const std::__cxx11::list&) [with bool defCtorPresent = false; Table = tbb::interface5::concurrent_unordered_map, tbb::tbb_hash, Harness::IsEqual, tbb::tbb_allocator > > >; TableDebugAlloc = tbb::interface5::concurrent_unordered_map, tbb::tbb_hash, Harness::IsEqual, debug_allocator >, std::allocator> >; typename Table::value_type = std::pair >]' ../../src/test/test_concurrent_unordered_map.cpp:240:131: required from 'void TestTypesMap(const std::__cxx11::list&) [with bool defCtorPresent = false; ValueType = std::pair >]' ../../src/test/test_concurrent_unordered_map.cpp:271:57: required from here ../../src/test/harness_allocator.h:518:20: warning: 'void* memset(void*, int, size_t)' writing to an object of non-trivial type 'class tbb::interface5::internal::flist_iterator >, debug_allocator >, std::allocator> >, std::pair > >'; use assignment instead [-Wclass-memaccess] std::memset( ptr, 0xE3E3E3E3, n * sizeof(value_type) ); ~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ In file included from ../../include/tbb/concurrent_unordered_map.h:27, from ../../src/test/test_concurrent_unordered_map.cpp:26: ../../include/tbb/internal/_concurrent_unordered_impl.h:61:7: note: 'class tbb::interface5::internal::flist_iterator >, debug_allocator >, std::allocator> >, std::pair > >' declared here class flist_iterator : public std::iterator ^~~~~~~~~~~~~~ In file included from ../../src/test/test_container_move_support.h:26, from ../../src/test/test_concurrent_unordered_common.h:25, from ../../src/test/test_concurrent_unordered_map.cpp:42: ../../src/test/harness_allocator.h: In instantiation of 'debug_allocator::pointer debug_allocator::allocate(debug_allocator::size_type, const void*) [with T = tbb::interface5::internal::split_ordered_list, std::shared_ptr >, debug_allocator, std::shared_ptr >, std::allocator> >::node; Allocator = std::allocator; debug_allocator::pointer = tbb::interface5::internal::split_ordered_list, std::shared_ptr >, debug_allocator, std::shared_ptr >, std::allocator> >::node*; debug_allocator::size_type = long unsigned int]': ../../include/tbb/internal/_concurrent_unordered_impl.h:255:19: required from 'tbb::interface5::internal::split_ordered_list::node* tbb::interface5::internal::split_ordered_list::create_node(tbb::interface5::internal::sokey_t) [with T = std::pair, std::shared_ptr >; Allocator = debug_allocator, std::shared_ptr >, std::allocator>; tbb::interface5::internal::split_ordered_list::nodeptr_t = tbb::interface5::internal::split_ordered_list, std::shared_ptr >, debug_allocator, std::shared_ptr >, std::allocator> >::node*; tbb::interface5::internal::sokey_t = long unsigned int]' ../../include/tbb/internal/_concurrent_unordered_impl.h:307:17: required from 'tbb::interface5::internal::split_ordered_list::split_ordered_list(tbb::interface5::internal::split_ordered_list::allocator_type) [with T = std::pair, std::shared_ptr >; Allocator = debug_allocator, std::shared_ptr >, std::allocator>; tbb::interface5::internal::split_ordered_list::allocator_type = debug_allocator, std::shared_ptr >, std::allocator>]' ../../include/tbb/internal/_concurrent_unordered_impl.h:721:110: required from 'tbb::interface5::internal::concurrent_unordered_base::concurrent_unordered_base(const tbb::interface5::internal::concurrent_unordered_base&) [with Traits = tbb::interface5::concurrent_unordered_map_traits, std::shared_ptr, tbb::interface5::internal::hash_compare, tbb::tbb_hash >, Harness::IsEqual>, debug_allocator, std::shared_ptr >, std::allocator>, false>]' ../../include/tbb/concurrent_unordered_map.h:58:7: required from 'void TypeTester(const std::__cxx11::list&) [with bool defCtorPresent = true; Table = tbb::interface5::concurrent_unordered_map, std::shared_ptr, tbb::tbb_hash >, Harness::IsEqual, tbb::tbb_allocator, std::shared_ptr > > >; TableDebugAlloc = tbb::interface5::concurrent_unordered_map, std::shared_ptr, tbb::tbb_hash >, Harness::IsEqual, debug_allocator, std::shared_ptr >, std::allocator> >; typename Table::value_type = std::pair, std::shared_ptr >]' ../../src/test/test_concurrent_unordered_map.cpp:240:131: required from 'void TestTypesMap(const std::__cxx11::list&) [with bool defCtorPresent = true; ValueType = std::pair, std::shared_ptr >]' ../../src/test/test_concurrent_unordered_map.cpp:280:56: required from here ../../src/test/harness_allocator.h:518:20: warning: 'void* memset(void*, int, size_t)' writing to an object of type 'struct tbb::interface5::internal::split_ordered_list, std::shared_ptr >, debug_allocator, std::shared_ptr >, std::allocator> >::node' with no trivial copy-assignment [-Wclass-memaccess] std::memset( ptr, 0xE3E3E3E3, n * sizeof(value_type) ); ~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ In file included from ../../include/tbb/concurrent_unordered_map.h:27, from ../../src/test/test_concurrent_unordered_map.cpp:26: ../../include/tbb/internal/_concurrent_unordered_impl.h:206:12: note: 'struct tbb::interface5::internal::split_ordered_list, std::shared_ptr >, debug_allocator, std::shared_ptr >, std::allocator> >::node' declared here struct node : tbb::internal::no_assign ^~~~ In file included from ../../src/test/test_container_move_support.h:26, from ../../src/test/test_concurrent_unordered_common.h:25, from ../../src/test/test_concurrent_unordered_map.cpp:42: ../../src/test/harness_allocator.h: In instantiation of 'debug_allocator::pointer debug_allocator::allocate(debug_allocator::size_type, const void*) [with T = tbb::interface5::internal::flist_iterator, std::shared_ptr >, debug_allocator, std::shared_ptr >, std::allocator> >, std::pair, std::shared_ptr > >; Allocator = std::allocator; debug_allocator::pointer = tbb::interface5::internal::flist_iterator, std::shared_ptr >, debug_allocator, std::shared_ptr >, std::allocator> >, std::pair, std::shared_ptr > >*; debug_allocator::size_type = long unsigned int]': ../../include/tbb/internal/_concurrent_unordered_impl.h:1470:28: required from 'void tbb::interface5::internal::concurrent_unordered_base::set_bucket(tbb::interface5::internal::concurrent_unordered_base::size_type, tbb::interface5::internal::concurrent_unordered_base::raw_iterator) [with Traits = tbb::interface5::concurrent_unordered_map_traits, std::shared_ptr, tbb::interface5::internal::hash_compare, tbb::tbb_hash >, Harness::IsEqual>, debug_allocator, std::shared_ptr >, std::allocator>, false>; tbb::interface5::internal::concurrent_unordered_base::size_type = long unsigned int; tbb::interface5::internal::concurrent_unordered_base::raw_iterator = tbb::interface5::internal::flist_iterator, std::shared_ptr >, debug_allocator, std::shared_ptr >, std::allocator> >, std::pair, std::shared_ptr > >]' ../../include/tbb/internal/_concurrent_unordered_impl.h:1207:9: required from 'void tbb::interface5::internal::concurrent_unordered_base::internal_init() [with Traits = tbb::interface5::concurrent_unordered_map_traits, std::shared_ptr, tbb::interface5::internal::hash_compare, tbb::tbb_hash >, Harness::IsEqual>, debug_allocator, std::shared_ptr >, std::allocator>, false>]' ../../include/tbb/internal/_concurrent_unordered_impl.h:724:9: required from 'tbb::interface5::internal::concurrent_unordered_base::concurrent_unordered_base(const tbb::interface5::internal::concurrent_unordered_base&) [with Traits = tbb::interface5::concurrent_unordered_map_traits, std::shared_ptr, tbb::interface5::internal::hash_compare, tbb::tbb_hash >, Harness::IsEqual>, debug_allocator, std::shared_ptr >, std::allocator>, false>]' ../../include/tbb/concurrent_unordered_map.h:58:7: required from 'void TypeTester(const std::__cxx11::list&) [with bool defCtorPresent = true; Table = tbb::interface5::concurrent_unordered_map, std::shared_ptr, tbb::tbb_hash >, Harness::IsEqual, tbb::tbb_allocator, std::shared_ptr > > >; TableDebugAlloc = tbb::interface5::concurrent_unordered_map, std::shared_ptr, tbb::tbb_hash >, Harness::IsEqual, debug_allocator, std::shared_ptr >, std::allocator> >; typename Table::value_type = std::pair, std::shared_ptr >]' ../../src/test/test_concurrent_unordered_map.cpp:240:131: required from 'void TestTypesMap(const std::__cxx11::list&) [with bool defCtorPresent = true; ValueType = std::pair, std::shared_ptr >]' ../../src/test/test_concurrent_unordered_map.cpp:280:56: required from here ../../src/test/harness_allocator.h:518:20: warning: 'void* memset(void*, int, size_t)' writing to an object of non-trivial type 'class tbb::interface5::internal::flist_iterator, std::shared_ptr >, debug_allocator, std::shared_ptr >, std::allocator> >, std::pair, std::shared_ptr > >'; use assignment instead [-Wclass-memaccess] std::memset( ptr, 0xE3E3E3E3, n * sizeof(value_type) ); ~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ In file included from ../../include/tbb/concurrent_unordered_map.h:27, from ../../src/test/test_concurrent_unordered_map.cpp:26: ../../include/tbb/internal/_concurrent_unordered_impl.h:61:7: note: 'class tbb::interface5::internal::flist_iterator, std::shared_ptr >, debug_allocator, std::shared_ptr >, std::allocator> >, std::pair, std::shared_ptr > >' declared here class flist_iterator : public std::iterator ^~~~~~~~~~~~~~ In file included from ../../src/test/test_container_move_support.h:26, from ../../src/test/test_concurrent_unordered_common.h:25, from ../../src/test/test_concurrent_unordered_map.cpp:42: ../../src/test/harness_allocator.h: In instantiation of 'debug_allocator::pointer debug_allocator::allocate(debug_allocator::size_type, const void*) [with T = tbb::interface5::internal::split_ordered_list, std::weak_ptr >, debug_allocator, std::weak_ptr >, std::allocator> >::node; Allocator = std::allocator; debug_allocator::pointer = tbb::interface5::internal::split_ordered_list, std::weak_ptr >, debug_allocator, std::weak_ptr >, std::allocator> >::node*; debug_allocator::size_type = long unsigned int]': ../../include/tbb/internal/_concurrent_unordered_impl.h:255:19: required from 'tbb::interface5::internal::split_ordered_list::node* tbb::interface5::internal::split_ordered_list::create_node(tbb::interface5::internal::sokey_t) [with T = std::pair, std::weak_ptr >; Allocator = debug_allocator, std::weak_ptr >, std::allocator>; tbb::interface5::internal::split_ordered_list::nodeptr_t = tbb::interface5::internal::split_ordered_list, std::weak_ptr >, debug_allocator, std::weak_ptr >, std::allocator> >::node*; tbb::interface5::internal::sokey_t = long unsigned int]' ../../include/tbb/internal/_concurrent_unordered_impl.h:307:17: required from 'tbb::interface5::internal::split_ordered_list::split_ordered_list(tbb::interface5::internal::split_ordered_list::allocator_type) [with T = std::pair, std::weak_ptr >; Allocator = debug_allocator, std::weak_ptr >, std::allocator>; tbb::interface5::internal::split_ordered_list::allocator_type = debug_allocator, std::weak_ptr >, std::allocator>]' ../../include/tbb/internal/_concurrent_unordered_impl.h:721:110: required from 'tbb::interface5::internal::concurrent_unordered_base::concurrent_unordered_base(const tbb::interface5::internal::concurrent_unordered_base&) [with Traits = tbb::interface5::concurrent_unordered_map_traits, std::weak_ptr, tbb::interface5::internal::hash_compare, tbb::tbb_hash >, Harness::IsEqual>, debug_allocator, std::weak_ptr >, std::allocator>, false>]' ../../include/tbb/concurrent_unordered_map.h:58:7: required from 'void TypeTester(const std::__cxx11::list&) [with bool defCtorPresent = true; Table = tbb::interface5::concurrent_unordered_map, std::weak_ptr, tbb::tbb_hash >, Harness::IsEqual, tbb::tbb_allocator, std::weak_ptr > > >; TableDebugAlloc = tbb::interface5::concurrent_unordered_map, std::weak_ptr, tbb::tbb_hash >, Harness::IsEqual, debug_allocator, std::weak_ptr >, std::allocator> >; typename Table::value_type = std::pair, std::weak_ptr >]' ../../src/test/test_concurrent_unordered_map.cpp:240:131: required from 'void TestTypesMap(const std::__cxx11::list&) [with bool defCtorPresent = true; ValueType = std::pair, std::weak_ptr >]' ../../src/test/test_concurrent_unordered_map.cpp:284:54: required from here ../../src/test/harness_allocator.h:518:20: warning: 'void* memset(void*, int, size_t)' writing to an object of type 'struct tbb::interface5::internal::split_ordered_list, std::weak_ptr >, debug_allocator, std::weak_ptr >, std::allocator> >::node' with no trivial copy-assignment [-Wclass-memaccess] std::memset( ptr, 0xE3E3E3E3, n * sizeof(value_type) ); ~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ In file included from ../../include/tbb/concurrent_unordered_map.h:27, from ../../src/test/test_concurrent_unordered_map.cpp:26: ../../include/tbb/internal/_concurrent_unordered_impl.h:206:12: note: 'struct tbb::interface5::internal::split_ordered_list, std::weak_ptr >, debug_allocator, std::weak_ptr >, std::allocator> >::node' declared here struct node : tbb::internal::no_assign ^~~~ In file included from ../../src/test/test_container_move_support.h:26, from ../../src/test/test_concurrent_unordered_common.h:25, from ../../src/test/test_concurrent_unordered_map.cpp:42: ../../src/test/harness_allocator.h: In instantiation of 'debug_allocator::pointer debug_allocator::allocate(debug_allocator::size_type, const void*) [with T = tbb::interface5::internal::flist_iterator, std::weak_ptr >, debug_allocator, std::weak_ptr >, std::allocator> >, std::pair, std::weak_ptr > >; Allocator = std::allocator; debug_allocator::pointer = tbb::interface5::internal::flist_iterator, std::weak_ptr >, debug_allocator, std::weak_ptr >, std::allocator> >, std::pair, std::weak_ptr > >*; debug_allocator::size_type = long unsigned int]': ../../include/tbb/internal/_concurrent_unordered_impl.h:1470:28: required from 'void tbb::interface5::internal::concurrent_unordered_base::set_bucket(tbb::interface5::internal::concurrent_unordered_base::size_type, tbb::interface5::internal::concurrent_unordered_base::raw_iterator) [with Traits = tbb::interface5::concurrent_unordered_map_traits, std::weak_ptr, tbb::interface5::internal::hash_compare, tbb::tbb_hash >, Harness::IsEqual>, debug_allocator, std::weak_ptr >, std::allocator>, false>; tbb::interface5::internal::concurrent_unordered_base::size_type = long unsigned int; tbb::interface5::internal::concurrent_unordered_base::raw_iterator = tbb::interface5::internal::flist_iterator, std::weak_ptr >, debug_allocator, std::weak_ptr >, std::allocator> >, std::pair, std::weak_ptr > >]' ../../include/tbb/internal/_concurrent_unordered_impl.h:1207:9: required from 'void tbb::interface5::internal::concurrent_unordered_base::internal_init() [with Traits = tbb::interface5::concurrent_unordered_map_traits, std::weak_ptr, tbb::interface5::internal::hash_compare, tbb::tbb_hash >, Harness::IsEqual>, debug_allocator, std::weak_ptr >, std::allocator>, false>]' ../../include/tbb/internal/_concurrent_unordered_impl.h:724:9: required from 'tbb::interface5::internal::concurrent_unordered_base::concurrent_unordered_base(const tbb::interface5::internal::concurrent_unordered_base&) [with Traits = tbb::interface5::concurrent_unordered_map_traits, std::weak_ptr, tbb::interface5::internal::hash_compare, tbb::tbb_hash >, Harness::IsEqual>, debug_allocator, std::weak_ptr >, std::allocator>, false>]' ../../include/tbb/concurrent_unordered_map.h:58:7: required from 'void TypeTester(const std::__cxx11::list&) [with bool defCtorPresent = true; Table = tbb::interface5::concurrent_unordered_map, std::weak_ptr, tbb::tbb_hash >, Harness::IsEqual, tbb::tbb_allocator, std::weak_ptr > > >; TableDebugAlloc = tbb::interface5::concurrent_unordered_map, std::weak_ptr, tbb::tbb_hash >, Harness::IsEqual, debug_allocator, std::weak_ptr >, std::allocator> >; typename Table::value_type = std::pair, std::weak_ptr >]' ../../src/test/test_concurrent_unordered_map.cpp:240:131: required from 'void TestTypesMap(const std::__cxx11::list&) [with bool defCtorPresent = true; ValueType = std::pair, std::weak_ptr >]' ../../src/test/test_concurrent_unordered_map.cpp:284:54: required from here ../../src/test/harness_allocator.h:518:20: warning: 'void* memset(void*, int, size_t)' writing to an object of non-trivial type 'class tbb::interface5::internal::flist_iterator, std::weak_ptr >, debug_allocator, std::weak_ptr >, std::allocator> >, std::pair, std::weak_ptr > >'; use assignment instead [-Wclass-memaccess] std::memset( ptr, 0xE3E3E3E3, n * sizeof(value_type) ); ~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ In file included from ../../include/tbb/concurrent_unordered_map.h:27, from ../../src/test/test_concurrent_unordered_map.cpp:26: ../../include/tbb/internal/_concurrent_unordered_impl.h:61:7: note: 'class tbb::interface5::internal::flist_iterator, std::weak_ptr >, debug_allocator, std::weak_ptr >, std::allocator> >, std::pair, std::weak_ptr > >' declared here class flist_iterator : public std::iterator ^~~~~~~~~~~~~~ In file included from ../../src/test/test_container_move_support.h:26, from ../../src/test/test_concurrent_unordered_common.h:25, from ../../src/test/test_concurrent_unordered_map.cpp:42: ../../src/test/harness_allocator.h: In instantiation of 'debug_allocator::pointer debug_allocator::allocate(debug_allocator::size_type, const void*) [with T = tbb::interface5::internal::split_ordered_list, local_counting_allocator, std::allocator>, tbb::atomic > >::node; Allocator = std::allocator; debug_allocator::pointer = tbb::interface5::internal::split_ordered_list, local_counting_allocator, std::allocator>, tbb::atomic > >::node*; debug_allocator::size_type = long unsigned int]': ../../src/test/harness_allocator.h:474:43: required from 'local_counting_allocator::pointer local_counting_allocator::allocate(local_counting_allocator::size_type) [with base_alloc_t = debug_allocator, local_counting_allocator, std::allocator>, tbb::atomic > >::node, std::allocator>; count_t = tbb::atomic; local_counting_allocator::pointer = tbb::interface5::internal::split_ordered_list, local_counting_allocator, std::allocator>, tbb::atomic > >::node*; local_counting_allocator::size_type = long unsigned int]' ../../include/tbb/internal/_concurrent_unordered_impl.h:264:19: required from 'tbb::interface5::internal::split_ordered_list::node* tbb::interface5::internal::split_ordered_list::create_node(tbb::interface5::internal::sokey_t, Arg&&, tbb::internal::true_type) [with Arg = std::pair; T = std::pair; Allocator = local_counting_allocator, std::allocator>, tbb::atomic >; tbb::interface5::internal::split_ordered_list::nodeptr_t = tbb::interface5::internal::split_ordered_list, local_counting_allocator, std::allocator>, tbb::atomic > >::node*; tbb::interface5::internal::sokey_t = long unsigned int; tbb::internal::true_type = tbb::internal::bool_constant]' ../../include/tbb/internal/_concurrent_unordered_impl.h:1282:27: required from 'std::pair::iterator, bool> tbb::interface5::internal::concurrent_unordered_base::internal_insert(ValueType&&, tbb::interface5::internal::concurrent_unordered_base::nodeptr_t) [with AllowCreate = tbb::internal::bool_constant; ValueType = std::pair; Traits = tbb::interface5::concurrent_unordered_map_traits, std::equal_to >, local_counting_allocator, std::allocator> >, false>; typename tbb::interface5::internal::split_ordered_list::iterator = tbb::interface5::internal::solist_iterator, local_counting_allocator, std::allocator>, tbb::atomic > >, std::pair >; tbb::interface5::internal::concurrent_unordered_base::nodeptr_t = tbb::interface5::internal::split_ordered_list, local_counting_allocator, std::allocator>, tbb::atomic > >::node*]' ../../include/tbb/internal/_concurrent_unordered_impl.h:969:73: required from 'std::pair::iterator, bool> tbb::interface5::internal::concurrent_unordered_base::insert(tbb::interface5::internal::concurrent_unordered_base::value_type&&) [with Traits = tbb::interface5::concurrent_unordered_map_traits, std::equal_to >, local_counting_allocator, std::allocator> >, false>; typename tbb::interface5::internal::split_ordered_list::iterator = tbb::interface5::internal::solist_iterator, local_counting_allocator, std::allocator>, tbb::atomic > >, std::pair >; tbb::interface5::internal::concurrent_unordered_base::value_type = std::pair]' ../../src/test/test_concurrent_unordered_common.h:254:43: required from 'void test_basic(const char*, do_check_element_state) [with T = tbb::interface5::concurrent_unordered_map, std::equal_to, local_counting_allocator, std::allocator> > >; do_check_element_state = tbb::internal::bool_constant]' ../../src/test/test_concurrent_unordered_map.cpp:314:117: required from here ../../src/test/harness_allocator.h:518:20: warning: 'void* memset(void*, int, size_t)' writing to an object of type 'struct tbb::interface5::internal::split_ordered_list, local_counting_allocator, std::allocator>, tbb::atomic > >::node' with no trivial copy-assignment [-Wclass-memaccess] std::memset( ptr, 0xE3E3E3E3, n * sizeof(value_type) ); ~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ In file included from ../../include/tbb/concurrent_unordered_map.h:27, from ../../src/test/test_concurrent_unordered_map.cpp:26: ../../include/tbb/internal/_concurrent_unordered_impl.h:206:12: note: 'struct tbb::interface5::internal::split_ordered_list, local_counting_allocator, std::allocator>, tbb::atomic > >::node' declared here struct node : tbb::internal::no_assign ^~~~ In file included from ../../include/tbb/concurrent_unordered_map.h:27, from ../../src/test/test_concurrent_unordered_map.cpp:26: ../../include/tbb/internal/_concurrent_unordered_impl.h: In instantiation of 'void tbb::interface5::internal::concurrent_unordered_base::set_bucket(tbb::interface5::internal::concurrent_unordered_base::size_type, tbb::interface5::internal::concurrent_unordered_base::raw_iterator) [with Traits = tbb::interface5::concurrent_unordered_map_traits, std::equal_to >, std::allocator, false>; tbb::interface5::internal::concurrent_unordered_base::size_type = long unsigned int; tbb::interface5::internal::concurrent_unordered_base::raw_iterator = tbb::interface5::internal::flist_iterator, std::allocator > >, std::pair >]': ../../include/tbb/internal/_concurrent_unordered_impl.h:760:25: required from 'tbb::interface5::internal::concurrent_unordered_base::concurrent_unordered_base(tbb::interface5::internal::concurrent_unordered_base&&, const allocator_type&) [with Traits = tbb::interface5::concurrent_unordered_map_traits, std::equal_to >, std::allocator, false>; tbb::interface5::internal::concurrent_unordered_base::allocator_type = std::allocator >]' ../../include/tbb/internal/_concurrent_unordered_impl.h:798:43: required from 'tbb::interface5::internal::concurrent_unordered_base& tbb::interface5::internal::concurrent_unordered_base::operator=(tbb::interface5::internal::concurrent_unordered_base&&) [with Traits = tbb::interface5::concurrent_unordered_map_traits, std::equal_to >, std::allocator, false>]' ../../include/tbb/concurrent_unordered_map.h:58:7: required from 'void TestMoveAssignOperatorPOCMANonStateful() [with container_traits = cu_map_type]' ../../src/test/test_container_move_support.h:794:61: required from 'void TestMoveAssignOperator() [with container_traits = cu_map_type]' ../../src/test/test_concurrent_unordered_common.h:814:45: required from 'void test_rvalue_ref_support(const char*) [with container_traits = cu_map_type]' ../../src/test/test_concurrent_unordered_map.cpp:330:70: required from here ../../include/tbb/internal/_concurrent_unordered_impl.h:1471:24: warning: 'void* memset(void*, int, size_t)' clearing an object of non-trivial type 'tbb::interface5::internal::concurrent_unordered_base, std::equal_to >, std::allocator, false> >::raw_iterator' {aka 'class tbb::interface5::internal::flist_iterator, std::allocator > >, std::pair >'}; use assignment or value-initialization instead [-Wclass-memaccess] std::memset(new_segment, 0, sz*sizeof(raw_iterator)); ~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ In file included from ../../include/tbb/concurrent_unordered_map.h:27, from ../../src/test/test_concurrent_unordered_map.cpp:26: ../../include/tbb/internal/_concurrent_unordered_impl.h:61:7: note: 'tbb::interface5::internal::concurrent_unordered_base, std::equal_to >, std::allocator, false> >::raw_iterator' {aka 'class tbb::interface5::internal::flist_iterator, std::allocator > >, std::pair >'} declared here class flist_iterator : public std::iterator ^~~~~~~~~~~~~~ In file included from ../../include/tbb/concurrent_unordered_map.h:27, from ../../src/test/test_concurrent_unordered_map.cpp:26: ../../include/tbb/internal/_concurrent_unordered_impl.h: In instantiation of 'void tbb::interface5::internal::concurrent_unordered_base::set_bucket(tbb::interface5::internal::concurrent_unordered_base::size_type, tbb::interface5::internal::concurrent_unordered_base::raw_iterator) [with Traits = tbb::interface5::concurrent_unordered_map_traits, std::equal_to >, static_shared_counting_allocator, arena, long unsigned int>, long unsigned int>, false>; tbb::interface5::internal::concurrent_unordered_base::size_type = long unsigned int; tbb::interface5::internal::concurrent_unordered_base::raw_iterator = tbb::interface5::internal::flist_iterator, static_shared_counting_allocator, arena, std::integral_constant, long unsigned int>, long unsigned int> >, std::pair >]': ../../include/tbb/internal/_concurrent_unordered_impl.h:760:25: required from 'tbb::interface5::internal::concurrent_unordered_base::concurrent_unordered_base(tbb::interface5::internal::concurrent_unordered_base&&, const allocator_type&) [with Traits = tbb::interface5::concurrent_unordered_map_traits, std::equal_to >, static_shared_counting_allocator, arena, long unsigned int>, long unsigned int>, false>; tbb::interface5::internal::concurrent_unordered_base::allocator_type = static_shared_counting_allocator, arena, std::integral_constant, long unsigned int>, long unsigned int>]' ../../include/tbb/internal/_concurrent_unordered_impl.h:798:43: required from 'tbb::interface5::internal::concurrent_unordered_base& tbb::interface5::internal::concurrent_unordered_base::operator=(tbb::interface5::internal::concurrent_unordered_base&&) [with Traits = tbb::interface5::concurrent_unordered_map_traits, std::equal_to >, static_shared_counting_allocator, arena, long unsigned int>, long unsigned int>, false>]' ../../include/tbb/concurrent_unordered_map.h:58:7: required from 'void TestMoveAssignOperatorPOCMAStateful() [with container_traits = cu_map_type]' ../../src/test/test_container_move_support.h:795:58: required from 'void TestMoveAssignOperator() [with container_traits = cu_map_type]' ../../src/test/test_concurrent_unordered_common.h:814:45: required from 'void test_rvalue_ref_support(const char*) [with container_traits = cu_map_type]' ../../src/test/test_concurrent_unordered_map.cpp:330:70: required from here ../../include/tbb/internal/_concurrent_unordered_impl.h:1471:24: warning: 'void* memset(void*, int, size_t)' clearing an object of non-trivial type 'tbb::interface5::internal::concurrent_unordered_base, std::equal_to >, static_shared_counting_allocator, arena, long unsigned int>, long unsigned int>, false> >::raw_iterator' {aka 'class tbb::interface5::internal::flist_iterator, static_shared_counting_allocator, arena, std::integral_constant, long unsigned int>, long unsigned int> >, std::pair >'}; use assignment or value-initialization instead [-Wclass-memaccess] std::memset(new_segment, 0, sz*sizeof(raw_iterator)); ~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ In file included from ../../include/tbb/concurrent_unordered_map.h:27, from ../../src/test/test_concurrent_unordered_map.cpp:26: ../../include/tbb/internal/_concurrent_unordered_impl.h:61:7: note: 'tbb::interface5::internal::concurrent_unordered_base, std::equal_to >, static_shared_counting_allocator, arena, long unsigned int>, long unsigned int>, false> >::raw_iterator' {aka 'class tbb::interface5::internal::flist_iterator, static_shared_counting_allocator, arena, std::integral_constant, long unsigned int>, long unsigned int> >, std::pair >'} declared here class flist_iterator : public std::iterator ^~~~~~~~~~~~~~ In file included from ../../include/tbb/concurrent_unordered_map.h:27, from ../../src/test/test_concurrent_unordered_map.cpp:26: ../../include/tbb/internal/_concurrent_unordered_impl.h: In instantiation of 'void tbb::interface5::internal::concurrent_unordered_base::set_bucket(tbb::interface5::internal::concurrent_unordered_base::size_type, tbb::interface5::internal::concurrent_unordered_base::raw_iterator) [with Traits = tbb::interface5::concurrent_unordered_map_traits, std::equal_to >, std::allocator, true>; tbb::interface5::internal::concurrent_unordered_base::size_type = long unsigned int; tbb::interface5::internal::concurrent_unordered_base::raw_iterator = tbb::interface5::internal::flist_iterator, std::allocator > >, std::pair >]': ../../include/tbb/internal/_concurrent_unordered_impl.h:760:25: required from 'tbb::interface5::internal::concurrent_unordered_base::concurrent_unordered_base(tbb::interface5::internal::concurrent_unordered_base&&, const allocator_type&) [with Traits = tbb::interface5::concurrent_unordered_map_traits, std::equal_to >, std::allocator, true>; tbb::interface5::internal::concurrent_unordered_base::allocator_type = std::allocator >]' ../../include/tbb/internal/_concurrent_unordered_impl.h:798:43: required from 'tbb::interface5::internal::concurrent_unordered_base& tbb::interface5::internal::concurrent_unordered_base::operator=(tbb::interface5::internal::concurrent_unordered_base&&) [with Traits = tbb::interface5::concurrent_unordered_map_traits, std::equal_to >, std::allocator, true>]' ../../include/tbb/concurrent_unordered_map.h:196:7: required from 'void TestMoveAssignOperatorPOCMANonStateful() [with container_traits = cu_multimap_type]' ../../src/test/test_container_move_support.h:794:61: required from 'void TestMoveAssignOperator() [with container_traits = cu_multimap_type]' ../../src/test/test_concurrent_unordered_common.h:814:45: required from 'void test_rvalue_ref_support(const char*) [with container_traits = cu_multimap_type]' ../../src/test/test_concurrent_unordered_map.cpp:331:80: required from here ../../include/tbb/internal/_concurrent_unordered_impl.h:1471:24: warning: 'void* memset(void*, int, size_t)' clearing an object of non-trivial type 'tbb::interface5::internal::concurrent_unordered_base, std::equal_to >, std::allocator, true> >::raw_iterator' {aka 'class tbb::interface5::internal::flist_iterator, std::allocator > >, std::pair >'}; use assignment or value-initialization instead [-Wclass-memaccess] std::memset(new_segment, 0, sz*sizeof(raw_iterator)); ~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ In file included from ../../include/tbb/concurrent_unordered_map.h:27, from ../../src/test/test_concurrent_unordered_map.cpp:26: ../../include/tbb/internal/_concurrent_unordered_impl.h:61:7: note: 'tbb::interface5::internal::concurrent_unordered_base, std::equal_to >, std::allocator, true> >::raw_iterator' {aka 'class tbb::interface5::internal::flist_iterator, std::allocator > >, std::pair >'} declared here class flist_iterator : public std::iterator ^~~~~~~~~~~~~~ In file included from ../../include/tbb/concurrent_unordered_map.h:27, from ../../src/test/test_concurrent_unordered_map.cpp:26: ../../include/tbb/internal/_concurrent_unordered_impl.h: In instantiation of 'void tbb::interface5::internal::concurrent_unordered_base::set_bucket(tbb::interface5::internal::concurrent_unordered_base::size_type, tbb::interface5::internal::concurrent_unordered_base::raw_iterator) [with Traits = tbb::interface5::concurrent_unordered_map_traits, std::equal_to >, static_shared_counting_allocator, arena, long unsigned int>, long unsigned int>, true>; tbb::interface5::internal::concurrent_unordered_base::size_type = long unsigned int; tbb::interface5::internal::concurrent_unordered_base::raw_iterator = tbb::interface5::internal::flist_iterator, static_shared_counting_allocator, arena, std::integral_constant, long unsigned int>, long unsigned int> >, std::pair >]': ../../include/tbb/internal/_concurrent_unordered_impl.h:760:25: required from 'tbb::interface5::internal::concurrent_unordered_base::concurrent_unordered_base(tbb::interface5::internal::concurrent_unordered_base&&, const allocator_type&) [with Traits = tbb::interface5::concurrent_unordered_map_traits, std::equal_to >, static_shared_counting_allocator, arena, long unsigned int>, long unsigned int>, true>; tbb::interface5::internal::concurrent_unordered_base::allocator_type = static_shared_counting_allocator, arena, std::integral_constant, long unsigned int>, long unsigned int>]' ../../include/tbb/internal/_concurrent_unordered_impl.h:798:43: required from 'tbb::interface5::internal::concurrent_unordered_base& tbb::interface5::internal::concurrent_unordered_base::operator=(tbb::interface5::internal::concurrent_unordered_base&&) [with Traits = tbb::interface5::concurrent_unordered_map_traits, std::equal_to >, static_shared_counting_allocator, arena, long unsigned int>, long unsigned int>, true>]' ../../include/tbb/concurrent_unordered_map.h:196:7: required from 'void TestMoveAssignOperatorPOCMAStateful() [with container_traits = cu_multimap_type]' ../../src/test/test_container_move_support.h:795:58: required from 'void TestMoveAssignOperator() [with container_traits = cu_multimap_type]' ../../src/test/test_concurrent_unordered_common.h:814:45: required from 'void test_rvalue_ref_support(const char*) [with container_traits = cu_multimap_type]' ../../src/test/test_concurrent_unordered_map.cpp:331:80: required from here ../../include/tbb/internal/_concurrent_unordered_impl.h:1471:24: warning: 'void* memset(void*, int, size_t)' clearing an object of non-trivial type 'tbb::interface5::internal::concurrent_unordered_base, std::equal_to >, static_shared_counting_allocator, arena, long unsigned int>, long unsigned int>, true> >::raw_iterator' {aka 'class tbb::interface5::internal::flist_iterator, static_shared_counting_allocator, arena, std::integral_constant, long unsigned int>, long unsigned int> >, std::pair >'}; use assignment or value-initialization instead [-Wclass-memaccess] std::memset(new_segment, 0, sz*sizeof(raw_iterator)); ~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ In file included from ../../include/tbb/concurrent_unordered_map.h:27, from ../../src/test/test_concurrent_unordered_map.cpp:26: ../../include/tbb/internal/_concurrent_unordered_impl.h:61:7: note: 'tbb::interface5::internal::concurrent_unordered_base, std::equal_to >, static_shared_counting_allocator, arena, long unsigned int>, long unsigned int>, true> >::raw_iterator' {aka 'class tbb::interface5::internal::flist_iterator, static_shared_counting_allocator, arena, std::integral_constant, long unsigned int>, long unsigned int> >, std::pair >'} declared here class flist_iterator : public std::iterator ^~~~~~~~~~~~~~ In file included from ../../src/test/test_container_move_support.h:26, from ../../src/test/test_concurrent_unordered_common.h:25, from ../../src/test/test_concurrent_unordered_map.cpp:42: ../../src/test/harness_allocator.h: In instantiation of 'debug_allocator::pointer debug_allocator::allocate(debug_allocator::size_type, const void*) [with T = tbb::interface5::internal::split_ordered_list >, local_counting_allocator >, std::allocator>, tbb::atomic > >::node; Allocator = std::allocator; debug_allocator::pointer = tbb::interface5::internal::split_ordered_list >, local_counting_allocator >, std::allocator>, tbb::atomic > >::node*; debug_allocator::size_type = long unsigned int]': ../../src/test/harness_allocator.h:474:43: required from 'local_counting_allocator::pointer local_counting_allocator::allocate(local_counting_allocator::size_type) [with base_alloc_t = debug_allocator >, local_counting_allocator >, std::allocator>, tbb::atomic > >::node, std::allocator>; count_t = tbb::atomic; local_counting_allocator::pointer = tbb::interface5::internal::split_ordered_list >, local_counting_allocator >, std::allocator>, tbb::atomic > >::node*; local_counting_allocator::size_type = long unsigned int]' ../../include/tbb/internal/_concurrent_unordered_impl.h:264:19: required from 'tbb::interface5::internal::split_ordered_list::node* tbb::interface5::internal::split_ordered_list::create_node(tbb::interface5::internal::sokey_t, Arg&&, tbb::internal::true_type) [with Arg = std::pair >; T = std::pair >; Allocator = local_counting_allocator >, std::allocator>, tbb::atomic >; tbb::interface5::internal::split_ordered_list::nodeptr_t = tbb::interface5::internal::split_ordered_list >, local_counting_allocator >, std::allocator>, tbb::atomic > >::node*; tbb::interface5::internal::sokey_t = long unsigned int; tbb::internal::true_type = tbb::internal::bool_constant]' ../../include/tbb/internal/_concurrent_unordered_impl.h:1282:27: required from 'std::pair::iterator, bool> tbb::interface5::internal::concurrent_unordered_base::internal_insert(ValueType&&, tbb::interface5::internal::concurrent_unordered_base::nodeptr_t) [with AllowCreate = tbb::internal::bool_constant; ValueType = std::pair >; Traits = tbb::interface5::concurrent_unordered_map_traits, tbb::interface5::internal::hash_compare, std::equal_to >, local_counting_allocator, std::allocator> >, false>; typename tbb::interface5::internal::split_ordered_list::iterator = tbb::interface5::internal::solist_iterator >, local_counting_allocator >, std::allocator>, tbb::atomic > >, std::pair > >; tbb::interface5::internal::concurrent_unordered_base::nodeptr_t = tbb::interface5::internal::split_ordered_list >, local_counting_allocator >, std::allocator>, tbb::atomic > >::node*]' ../../include/tbb/internal/_concurrent_unordered_impl.h:969:73: required from 'std::pair::iterator, bool> tbb::interface5::internal::concurrent_unordered_base::insert(tbb::interface5::internal::concurrent_unordered_base::value_type&&) [with Traits = tbb::interface5::concurrent_unordered_map_traits, tbb::interface5::internal::hash_compare, std::equal_to >, local_counting_allocator, std::allocator> >, false>; typename tbb::interface5::internal::split_ordered_list::iterator = tbb::interface5::internal::solist_iterator >, local_counting_allocator >, std::allocator>, tbb::atomic > >, std::pair > >; tbb::interface5::internal::concurrent_unordered_base::value_type = std::pair >]' ../../src/test/test_concurrent_unordered_common.h:254:43: required from 'void test_basic(const char*, do_check_element_state) [with T = tbb::interface5::concurrent_unordered_map, tbb::tbb_hash, std::equal_to, local_counting_allocator, std::allocator> > >; do_check_element_state = tbb::internal::bool_constant]' ../../src/test/test_concurrent_unordered_common.h:473:18: required from 'void test_basic(const char*) [with T = tbb::interface5::concurrent_unordered_map, tbb::tbb_hash, std::equal_to, local_counting_allocator, std::allocator> > >]' ../../src/test/test_concurrent_unordered_map.cpp:312:111: required from here ../../src/test/harness_allocator.h:518:20: warning: 'void* memset(void*, int, size_t)' writing to an object of type 'struct tbb::interface5::internal::split_ordered_list >, local_counting_allocator >, std::allocator>, tbb::atomic > >::node' with no trivial copy-assignment [-Wclass-memaccess] std::memset( ptr, 0xE3E3E3E3, n * sizeof(value_type) ); ~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ In file included from ../../include/tbb/concurrent_unordered_map.h:27, from ../../src/test/test_concurrent_unordered_map.cpp:26: ../../include/tbb/internal/_concurrent_unordered_impl.h:206:12: note: 'struct tbb::interface5::internal::split_ordered_list >, local_counting_allocator >, std::allocator>, tbb::atomic > >::node' declared here struct node : tbb::internal::no_assign ^~~~ In file included from ../../include/tbb/concurrent_unordered_map.h:27, from ../../src/test/test_concurrent_unordered_map.cpp:26: ../../include/tbb/internal/_concurrent_unordered_impl.h: In instantiation of 'void tbb::interface5::internal::concurrent_unordered_base::set_bucket(tbb::interface5::internal::concurrent_unordered_base::size_type, tbb::interface5::internal::concurrent_unordered_base::raw_iterator) [with Traits = tbb::interface5::concurrent_unordered_map_traits, std::equal_to >, tbb::tbb_allocator >, true>; tbb::interface5::internal::concurrent_unordered_base::size_type = long unsigned int; tbb::interface5::internal::concurrent_unordered_base::raw_iterator = tbb::interface5::internal::flist_iterator, tbb::tbb_allocator > >, std::pair >]': ../../include/tbb/internal/_concurrent_unordered_impl.h:1207:9: required from 'void tbb::interface5::internal::concurrent_unordered_base::internal_init() [with Traits = tbb::interface5::concurrent_unordered_map_traits, std::equal_to >, tbb::tbb_allocator >, true>]' ../../include/tbb/internal/_concurrent_unordered_impl.h:710:9: required from 'tbb::interface5::internal::concurrent_unordered_base::concurrent_unordered_base(tbb::interface5::internal::concurrent_unordered_base::size_type, const hash_compare&, const allocator_type&) [with Traits = tbb::interface5::concurrent_unordered_map_traits, std::equal_to >, tbb::tbb_allocator >, true>; tbb::interface5::internal::concurrent_unordered_base::size_type = long unsigned int; tbb::interface5::internal::concurrent_unordered_base::hash_compare = tbb::interface5::internal::hash_compare, std::equal_to >; tbb::interface5::internal::concurrent_unordered_base::allocator_type = tbb::tbb_allocator >]' ../../include/tbb/concurrent_unordered_map.h:247:71: required from 'tbb::interface5::concurrent_unordered_multimap::concurrent_unordered_multimap(Iterator, Iterator, tbb::interface5::concurrent_unordered_multimap::size_type, const hasher&, const key_equal&, const allocator_type&) [with Iterator = __gnu_cxx::__normal_iterator*, std::vector, std::allocator > > >; Key = int; T = int; Hasher = tbb::tbb_hash; Key_equality = std::equal_to; Allocator = tbb::tbb_allocator >; tbb::interface5::concurrent_unordered_multimap::size_type = long unsigned int; tbb::interface5::concurrent_unordered_multimap::hasher = tbb::tbb_hash; tbb::interface5::concurrent_unordered_multimap::key_equal = std::equal_to; tbb::interface5::concurrent_unordered_multimap::allocator_type = tbb::tbb_allocator >]' ../../src/test/test_initializer_list.h:72:24: required from 'void initializer_list_support_tests::TestInitListSupport(std::initializer_list) [with container_type = tbb::interface5::concurrent_unordered_multimap; test_assign = initializer_list_support_tests::skip_test; test_special = initializer_list_support_tests::test_special_insert; typename Traits::value_type = std::pair]' ../../src/test/test_initializer_list.h:87:69: required from 'void initializer_list_support_tests::TestInitListSupportWithoutAssign(std::initializer_list) [with container_type = tbb::interface5::concurrent_unordered_multimap; test_special = initializer_list_support_tests::test_special_insert; typename Traits::value_type = std::pair]' ../../src/test/test_concurrent_unordered_common.h:138:70: required from 'void TestInitList(std::initializer_list) [with Table = tbb::interface5::concurrent_unordered_map; MultiTable = tbb::interface5::concurrent_unordered_multimap; typename Traits::value_type = std::pair]' ../../src/test/test_concurrent_unordered_map.cpp:322:99: required from here ../../include/tbb/internal/_concurrent_unordered_impl.h:1471:24: warning: 'void* memset(void*, int, size_t)' clearing an object of non-trivial type 'tbb::interface5::internal::concurrent_unordered_base, std::equal_to >, tbb::tbb_allocator >, true> >::raw_iterator' {aka 'class tbb::interface5::internal::flist_iterator, tbb::tbb_allocator > >, std::pair >'}; use assignment or value-initialization instead [-Wclass-memaccess] std::memset(new_segment, 0, sz*sizeof(raw_iterator)); ~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ In file included from ../../include/tbb/concurrent_unordered_map.h:27, from ../../src/test/test_concurrent_unordered_map.cpp:26: ../../include/tbb/internal/_concurrent_unordered_impl.h:61:7: note: 'tbb::interface5::internal::concurrent_unordered_base, std::equal_to >, tbb::tbb_allocator >, true> >::raw_iterator' {aka 'class tbb::interface5::internal::flist_iterator, tbb::tbb_allocator > >, std::pair >'} declared here class flist_iterator : public std::iterator ^~~~~~~~~~~~~~ g++ -o test_concurrent_unordered_map.exe -O2 -g -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -fexceptions -fstack-protector-strong -grecord-gcc-switches -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -mcpu=power8 -mtune=power8 -funwind-tables -fstack-clash-protection -DTBB_USE_DEBUG -g -O0 -DUSE_PTHREAD -DTEST_USES_TBB=1 -Wall -Wshadow -Wcast-qual -Woverloaded-virtual -Wnon-virtual-dtor -Wextra -O2 -g -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -fexceptions -fstack-protector-strong -grecord-gcc-switches -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -mcpu=power8 -mtune=power8 -funwind-tables -fstack-clash-protection test_concurrent_unordered_map.o libtbb_debug.so -lpthread -lrt -Wl,-rpath-link=. -rdynamic g++ -o test_concurrent_hash_map.o -c -MMD -O2 -g -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -fexceptions -fstack-protector-strong -grecord-gcc-switches -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -mcpu=power8 -mtune=power8 -funwind-tables -fstack-clash-protection -DTBB_USE_DEBUG -g -O0 -DUSE_PTHREAD -DTEST_USES_TBB=1 -Wall -Wshadow -Wcast-qual -Woverloaded-virtual -Wnon-virtual-dtor -Wextra -O2 -g -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -fexceptions -fstack-protector-strong -grecord-gcc-switches -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -mcpu=power8 -mtune=power8 -funwind-tables -fstack-clash-protection -std=c++14 -I../../src -I../../src/rml/include -I../../include -I. -include ../../src/test/harness_preload.h ../../src/test/test_concurrent_hash_map.cpp In file included from ../../include/tbb/tbb_machine.h:243, from ../../include/tbb/spin_rw_mutex.h:25, from ../../include/tbb/concurrent_hash_map.h:32, from ../../src/test/test_concurrent_hash_map.cpp:45: ../../include/tbb/machine/mac_ppc.h: In function 'int32_t __TBB_machine_cmpswp4(volatile void*, int32_t, int32_t)': ../../include/tbb/machine/mac_ppc.h:91:46: warning: cast from type 'volatile void*' to type 'int32_t*' {aka 'int*'} casts away qualifiers [-Wcast-qual] , "+m"(* (int32_t*) ptr) /* redundant with "memory" */ ^~~ ../../include/tbb/machine/mac_ppc.h: In function 'int64_t __TBB_machine_cmpswp8(volatile void*, int64_t, int64_t)': ../../include/tbb/machine/mac_ppc.h:116:46: warning: cast from type 'volatile void*' to type 'int64_t*' {aka 'long int*'} casts away qualifiers [-Wcast-qual] , "+m"(* (int64_t*) ptr) /* redundant with "memory" */ ^~~ In file included from ../../src/test/test_concurrent_hash_map.cpp:45: ../../include/tbb/concurrent_hash_map.h: In static member function 'static void tbb::interface5::internal::hash_map_base::init_buckets(tbb::interface5::internal::hash_map_base::segment_ptr_t, tbb::interface5::internal::hash_map_base::size_type, bool)': ../../include/tbb/concurrent_hash_map.h:158:68: warning: 'void* memset(void*, int, size_t)' clearing an object of type 'struct tbb::interface5::internal::hash_map_base::bucket' with no trivial copy-assignment; use value-initialization instead [-Wclass-memaccess] if( is_initial ) std::memset(ptr, 0, sz*sizeof(bucket) ); ^ ../../include/tbb/concurrent_hash_map.h:87:16: note: 'struct tbb::interface5::internal::hash_map_base::bucket' declared here struct bucket : tbb::internal::no_copy { ^~~~~~ ../../src/test/test_concurrent_hash_map.cpp: In function 'void ParallelTraverseTable(MyTable&, size_t, size_t)': ../../src/test/test_concurrent_hash_map.cpp:511:44: warning: 'void* memset(void*, int, size_t)' clearing an object of type 'AtomicByte' {aka 'struct tbb::atomic'} with no trivial copy-assignment; use assignment or value-initialization instead [-Wclass-memaccess] memset( array, 0, n*sizeof(AtomicByte) ); ^ In file included from ../../include/tbb/tbb_profiling.h:128, from ../../include/tbb/spin_rw_mutex.h:26, from ../../include/tbb/concurrent_hash_map.h:32, from ../../src/test/test_concurrent_hash_map.cpp:45: ../../include/tbb/atomic.h:421:27: note: 'AtomicByte' {aka 'struct tbb::atomic'} declared here template<> struct atomic: internal::atomic_impl_with_arithmetic { \ ^~~~~~~~~ ../../include/tbb/atomic.h:478:1: note: in expansion of macro '__TBB_DECL_ATOMIC' __TBB_DECL_ATOMIC(unsigned char) ^~~~~~~~~~~~~~~~~ ../../src/test/test_concurrent_hash_map.cpp:517:44: warning: 'void* memset(void*, int, size_t)' clearing an object of type 'AtomicByte' {aka 'struct tbb::atomic'} with no trivial copy-assignment; use assignment or value-initialization instead [-Wclass-memaccess] memset( array, 0, n*sizeof(AtomicByte) ); ^ In file included from ../../include/tbb/tbb_profiling.h:128, from ../../include/tbb/spin_rw_mutex.h:26, from ../../include/tbb/concurrent_hash_map.h:32, from ../../src/test/test_concurrent_hash_map.cpp:45: ../../include/tbb/atomic.h:421:27: note: 'AtomicByte' {aka 'struct tbb::atomic'} declared here template<> struct atomic: internal::atomic_impl_with_arithmetic { \ ^~~~~~~~~ ../../include/tbb/atomic.h:478:1: note: in expansion of macro '__TBB_DECL_ATOMIC' __TBB_DECL_ATOMIC(unsigned char) ^~~~~~~~~~~~~~~~~ In file included from ../../src/test/test_concurrent_hash_map.cpp:85: ../../src/test/harness_allocator.h: In instantiation of 'debug_allocator::pointer debug_allocator::allocate(debug_allocator::size_type, const void*) [with T = std::pair; Allocator = std::allocator; debug_allocator::pointer = std::pair*; debug_allocator::size_type = long unsigned int]': ../../src/test/test_concurrent_hash_map.cpp:1200:17: required from 'void Examine(Table, const std::__cxx11::list&) [with bool default_construction_present = true; Table = tbb::interface5::concurrent_hash_map, debug_allocator, std::allocator> >; typename Table::value_type = std::pair]' ../../src/test/test_concurrent_hash_map.cpp:1229:42: required from 'void TypeTester(const std::__cxx11::list&) [with bool default_construction_present = true; Value = std::pair]' ../../src/test/test_concurrent_hash_map.cpp:1267:68: required from here ../../src/test/harness_allocator.h:518:20: warning: 'void* memset(void*, int, size_t)' writing to an object of type 'struct std::pair' with no trivial copy-assignment [-Wclass-memaccess] std::memset( ptr, 0xE3E3E3E3, n * sizeof(value_type) ); ~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ In file included from /usr/include/c++/8/bits/stl_algobase.h:64, from /usr/include/c++/8/memory:62, from ../../include/tbb/tbb_stddef.h:427, from ../../src/test/test_concurrent_hash_map.cpp:28: /usr/include/c++/8/bits/stl_pair.h:198:12: note: 'struct std::pair' declared here struct pair ^~~~ In file included from ../../src/test/test_concurrent_hash_map.cpp:85: ../../src/test/harness_allocator.h: In instantiation of 'debug_allocator::pointer debug_allocator::allocate(debug_allocator::size_type, const void*) [with T = std::pair, int>; Allocator = std::allocator; debug_allocator::pointer = std::pair, int>*; debug_allocator::size_type = long unsigned int]': ../../src/test/test_concurrent_hash_map.cpp:1200:17: required from 'void Examine(Table, const std::__cxx11::list&) [with bool default_construction_present = true; Table = tbb::interface5::concurrent_hash_map, int, tbb::tbb_hash_compare >, debug_allocator, int>, std::allocator> >; typename Table::value_type = std::pair, int>]' ../../src/test/test_concurrent_hash_map.cpp:1229:42: required from 'void TypeTester(const std::__cxx11::list&) [with bool default_construction_present = true; Value = std::pair, int>]' ../../src/test/test_concurrent_hash_map.cpp:1274:68: required from here ../../src/test/harness_allocator.h:518:20: warning: 'void* memset(void*, int, size_t)' writing to an object of type 'struct std::pair, int>' with no trivial copy-assignment [-Wclass-memaccess] std::memset( ptr, 0xE3E3E3E3, n * sizeof(value_type) ); ~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ In file included from /usr/include/c++/8/bits/stl_algobase.h:64, from /usr/include/c++/8/memory:62, from ../../include/tbb/tbb_stddef.h:427, from ../../src/test/test_concurrent_hash_map.cpp:28: /usr/include/c++/8/bits/stl_pair.h:198:12: note: 'struct std::pair, int>' declared here struct pair ^~~~ In file included from ../../src/test/test_concurrent_hash_map.cpp:85: ../../src/test/harness_allocator.h: In instantiation of 'debug_allocator::pointer debug_allocator::allocate(debug_allocator::size_type, const void*) [with T = std::pair >; Allocator = std::allocator; debug_allocator::pointer = std::pair >*; debug_allocator::size_type = long unsigned int]': ../../src/test/test_concurrent_hash_map.cpp:1200:17: required from 'void Examine(Table, const std::__cxx11::list&) [with bool default_construction_present = false; Table = tbb::interface5::concurrent_hash_map, tbb::tbb_hash_compare, debug_allocator >, std::allocator> >; typename Table::value_type = std::pair >]' ../../src/test/test_concurrent_hash_map.cpp:1229:42: required from 'void TypeTester(const std::__cxx11::list&) [with bool default_construction_present = false; Value = std::pair >]' ../../src/test/test_concurrent_hash_map.cpp:1280:69: required from here ../../src/test/harness_allocator.h:518:20: warning: 'void* memset(void*, int, size_t)' writing to an object of type 'struct std::pair >' with no trivial copy-assignment [-Wclass-memaccess] std::memset( ptr, 0xE3E3E3E3, n * sizeof(value_type) ); ~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ In file included from /usr/include/c++/8/bits/stl_algobase.h:64, from /usr/include/c++/8/memory:62, from ../../include/tbb/tbb_stddef.h:427, from ../../src/test/test_concurrent_hash_map.cpp:28: /usr/include/c++/8/bits/stl_pair.h:198:12: note: 'struct std::pair >' declared here struct pair ^~~~ In file included from ../../src/test/test_concurrent_hash_map.cpp:85: ../../src/test/harness_allocator.h: In instantiation of 'debug_allocator::pointer debug_allocator::allocate(debug_allocator::size_type, const void*) [with T = std::pair >; Allocator = std::allocator; debug_allocator::pointer = std::pair >*; debug_allocator::size_type = long unsigned int]': ../../src/test/test_concurrent_hash_map.cpp:1200:17: required from 'void Examine(Table, const std::__cxx11::list&) [with bool default_construction_present = true; Table = tbb::interface5::concurrent_hash_map, tbb::tbb_hash_compare, debug_allocator >, std::allocator> >; typename Table::value_type = std::pair >]' ../../src/test/test_concurrent_hash_map.cpp:1229:42: required from 'void TypeTester(const std::__cxx11::list&) [with bool default_construction_present = true; Value = std::pair >]' ../../src/test/test_concurrent_hash_map.cpp:1292:68: required from here ../../src/test/harness_allocator.h:518:20: warning: 'void* memset(void*, int, size_t)' writing to an object of type 'struct std::pair >' with no trivial copy-assignment [-Wclass-memaccess] std::memset( ptr, 0xE3E3E3E3, n * sizeof(value_type) ); ~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ In file included from /usr/include/c++/8/bits/stl_algobase.h:64, from /usr/include/c++/8/memory:62, from ../../include/tbb/tbb_stddef.h:427, from ../../src/test/test_concurrent_hash_map.cpp:28: /usr/include/c++/8/bits/stl_pair.h:198:12: note: 'struct std::pair >' declared here struct pair ^~~~ In file included from ../../src/test/test_concurrent_hash_map.cpp:85: ../../src/test/harness_allocator.h: In instantiation of 'debug_allocator::pointer debug_allocator::allocate(debug_allocator::size_type, const void*) [with T = std::pair, std::shared_ptr >; Allocator = std::allocator; debug_allocator::pointer = std::pair, std::shared_ptr >*; debug_allocator::size_type = long unsigned int]': ../../src/test/test_concurrent_hash_map.cpp:1200:17: required from 'void Examine(Table, const std::__cxx11::list&) [with bool default_construction_present = true; Table = tbb::interface5::concurrent_hash_map, std::shared_ptr, tbb::tbb_hash_compare >, debug_allocator, std::shared_ptr >, std::allocator> >; typename Table::value_type = std::pair, std::shared_ptr >]' ../../src/test/test_concurrent_hash_map.cpp:1229:42: required from 'void TypeTester(const std::__cxx11::list&) [with bool default_construction_present = true; Value = std::pair, std::shared_ptr >]' ../../src/test/test_concurrent_hash_map.cpp:1301:69: required from here ../../src/test/harness_allocator.h:518:20: warning: 'void* memset(void*, int, size_t)' writing to an object of type 'struct std::pair, std::shared_ptr >' with no trivial copy-assignment [-Wclass-memaccess] std::memset( ptr, 0xE3E3E3E3, n * sizeof(value_type) ); ~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ In file included from /usr/include/c++/8/bits/stl_algobase.h:64, from /usr/include/c++/8/memory:62, from ../../include/tbb/tbb_stddef.h:427, from ../../src/test/test_concurrent_hash_map.cpp:28: /usr/include/c++/8/bits/stl_pair.h:198:12: note: 'struct std::pair, std::shared_ptr >' declared here struct pair ^~~~ In file included from ../../src/test/test_concurrent_hash_map.cpp:85: ../../src/test/harness_allocator.h: In instantiation of 'debug_allocator::pointer debug_allocator::allocate(debug_allocator::size_type, const void*) [with T = std::pair, std::weak_ptr >; Allocator = std::allocator; debug_allocator::pointer = std::pair, std::weak_ptr >*; debug_allocator::size_type = long unsigned int]': ../../src/test/test_concurrent_hash_map.cpp:1200:17: required from 'void Examine(Table, const std::__cxx11::list&) [with bool default_construction_present = true; Table = tbb::interface5::concurrent_hash_map, std::weak_ptr, tbb::tbb_hash_compare >, debug_allocator, std::weak_ptr >, std::allocator> >; typename Table::value_type = std::pair, std::weak_ptr >]' ../../src/test/test_concurrent_hash_map.cpp:1229:42: required from 'void TypeTester(const std::__cxx11::list&) [with bool default_construction_present = true; Value = std::pair, std::weak_ptr >]' ../../src/test/test_concurrent_hash_map.cpp:1306:67: required from here ../../src/test/harness_allocator.h:518:20: warning: 'void* memset(void*, int, size_t)' writing to an object of type 'struct std::pair, std::weak_ptr >' with no trivial copy-assignment [-Wclass-memaccess] std::memset( ptr, 0xE3E3E3E3, n * sizeof(value_type) ); ~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ In file included from /usr/include/c++/8/bits/stl_algobase.h:64, from /usr/include/c++/8/memory:62, from ../../include/tbb/tbb_stddef.h:427, from ../../src/test/test_concurrent_hash_map.cpp:28: /usr/include/c++/8/bits/stl_pair.h:198:12: note: 'struct std::pair, std::weak_ptr >' declared here struct pair ^~~~ In file included from ../../src/test/test_concurrent_hash_map.cpp:85: ../../src/test/harness_allocator.h: In instantiation of 'debug_allocator::pointer debug_allocator::allocate(debug_allocator::size_type, const void*) [with T = tbb::interface5::concurrent_hash_map, debug_allocator, std::allocator> >::node; Allocator = std::allocator; debug_allocator::pointer = tbb::interface5::concurrent_hash_map, debug_allocator, std::allocator> >::node*; debug_allocator::size_type = long unsigned int]': ../../include/tbb/concurrent_hash_map.h:580:19: required from 'static void* tbb::interface5::concurrent_hash_map::node::operator new(std::size_t, tbb::interface5::concurrent_hash_map::node_allocator_type&) [with Key = const int; T = int; HashCompare = tbb::tbb_hash_compare; Allocator = debug_allocator, std::allocator>; std::size_t = long unsigned int; tbb::interface5::concurrent_hash_map::node_allocator_type = debug_allocator, debug_allocator, std::allocator> >::node, std::allocator>]' ../../include/tbb/concurrent_hash_map.h:1449:37: required from 'void tbb::interface5::concurrent_hash_map::internal_copy(const tbb::interface5::concurrent_hash_map&) [with Key = const int; T = int; HashCompare = tbb::tbb_hash_compare; Allocator = debug_allocator, std::allocator>]' ../../include/tbb/concurrent_hash_map.h:774:9: required from 'tbb::interface5::concurrent_hash_map::concurrent_hash_map(const tbb::interface5::concurrent_hash_map&, const allocator_type&) [with Key = const int; T = int; HashCompare = tbb::tbb_hash_compare; Allocator = debug_allocator, std::allocator>; tbb::interface5::concurrent_hash_map::allocator_type = debug_allocator, std::allocator>]' ../../src/test/test_concurrent_hash_map.cpp:1229:42: required from 'void TypeTester(const std::__cxx11::list&) [with bool default_construction_present = true; Value = std::pair]' ../../src/test/test_concurrent_hash_map.cpp:1267:68: required from here ../../src/test/harness_allocator.h:518:20: warning: 'void* memset(void*, int, size_t)' writing to an object of type 'struct tbb::interface5::concurrent_hash_map, debug_allocator, std::allocator> >::node' with no trivial copy-assignment [-Wclass-memaccess] std::memset( ptr, 0xE3E3E3E3, n * sizeof(value_type) ); ~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ In file included from ../../src/test/test_concurrent_hash_map.cpp:45: ../../include/tbb/concurrent_hash_map.h:561:12: note: 'struct tbb::interface5::concurrent_hash_map, debug_allocator, std::allocator> >::node' declared here struct node : public node_base { ^~~~ In file included from ../../src/test/test_concurrent_hash_map.cpp:85: ../../src/test/harness_allocator.h: In instantiation of 'debug_allocator::pointer debug_allocator::allocate(debug_allocator::size_type, const void*) [with T = tbb::interface5::concurrent_hash_map, int, tbb::tbb_hash_compare >, debug_allocator, int>, std::allocator> >::node; Allocator = std::allocator; debug_allocator::pointer = tbb::interface5::concurrent_hash_map, int, tbb::tbb_hash_compare >, debug_allocator, int>, std::allocator> >::node*; debug_allocator::size_type = long unsigned int]': ../../include/tbb/concurrent_hash_map.h:580:19: required from 'static void* tbb::interface5::concurrent_hash_map::node::operator new(std::size_t, tbb::interface5::concurrent_hash_map::node_allocator_type&) [with Key = const std::reference_wrapper; T = int; HashCompare = tbb::tbb_hash_compare >; Allocator = debug_allocator, int>, std::allocator>; std::size_t = long unsigned int; tbb::interface5::concurrent_hash_map::node_allocator_type = debug_allocator, int, tbb::tbb_hash_compare >, debug_allocator, int>, std::allocator> >::node, std::allocator>]' ../../include/tbb/concurrent_hash_map.h:1449:37: required from 'void tbb::interface5::concurrent_hash_map::internal_copy(const tbb::interface5::concurrent_hash_map&) [with Key = const std::reference_wrapper; T = int; HashCompare = tbb::tbb_hash_compare >; Allocator = debug_allocator, int>, std::allocator>]' ../../include/tbb/concurrent_hash_map.h:774:9: required from 'tbb::interface5::concurrent_hash_map::concurrent_hash_map(const tbb::interface5::concurrent_hash_map&, const allocator_type&) [with Key = const std::reference_wrapper; T = int; HashCompare = tbb::tbb_hash_compare >; Allocator = debug_allocator, int>, std::allocator>; tbb::interface5::concurrent_hash_map::allocator_type = debug_allocator, int>, std::allocator>]' ../../src/test/test_concurrent_hash_map.cpp:1229:42: required from 'void TypeTester(const std::__cxx11::list&) [with bool default_construction_present = true; Value = std::pair, int>]' ../../src/test/test_concurrent_hash_map.cpp:1274:68: required from here ../../src/test/harness_allocator.h:518:20: warning: 'void* memset(void*, int, size_t)' writing to an object of type 'struct tbb::interface5::concurrent_hash_map, int, tbb::tbb_hash_compare >, debug_allocator, int>, std::allocator> >::node' with no trivial copy-assignment [-Wclass-memaccess] std::memset( ptr, 0xE3E3E3E3, n * sizeof(value_type) ); ~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ In file included from ../../src/test/test_concurrent_hash_map.cpp:45: ../../include/tbb/concurrent_hash_map.h:561:12: note: 'struct tbb::interface5::concurrent_hash_map, int, tbb::tbb_hash_compare >, debug_allocator, int>, std::allocator> >::node' declared here struct node : public node_base { ^~~~ In file included from ../../src/test/test_concurrent_hash_map.cpp:85: ../../src/test/harness_allocator.h: In instantiation of 'debug_allocator::pointer debug_allocator::allocate(debug_allocator::size_type, const void*) [with T = tbb::interface5::concurrent_hash_map, tbb::tbb_hash_compare, debug_allocator >, std::allocator> >::node; Allocator = std::allocator; debug_allocator::pointer = tbb::interface5::concurrent_hash_map, tbb::tbb_hash_compare, debug_allocator >, std::allocator> >::node*; debug_allocator::size_type = long unsigned int]': ../../include/tbb/concurrent_hash_map.h:580:19: required from 'static void* tbb::interface5::concurrent_hash_map::node::operator new(std::size_t, tbb::interface5::concurrent_hash_map::node_allocator_type&) [with Key = const int; T = std::reference_wrapper; HashCompare = tbb::tbb_hash_compare; Allocator = debug_allocator >, std::allocator>; std::size_t = long unsigned int; tbb::interface5::concurrent_hash_map::node_allocator_type = debug_allocator, tbb::tbb_hash_compare, debug_allocator >, std::allocator> >::node, std::allocator>]' ../../include/tbb/concurrent_hash_map.h:1449:37: required from 'void tbb::interface5::concurrent_hash_map::internal_copy(const tbb::interface5::concurrent_hash_map&) [with Key = const int; T = std::reference_wrapper; HashCompare = tbb::tbb_hash_compare; Allocator = debug_allocator >, std::allocator>]' ../../include/tbb/concurrent_hash_map.h:774:9: required from 'tbb::interface5::concurrent_hash_map::concurrent_hash_map(const tbb::interface5::concurrent_hash_map&, const allocator_type&) [with Key = const int; T = std::reference_wrapper; HashCompare = tbb::tbb_hash_compare; Allocator = debug_allocator >, std::allocator>; tbb::interface5::concurrent_hash_map::allocator_type = debug_allocator >, std::allocator>]' ../../src/test/test_concurrent_hash_map.cpp:1229:42: required from 'void TypeTester(const std::__cxx11::list&) [with bool default_construction_present = false; Value = std::pair >]' ../../src/test/test_concurrent_hash_map.cpp:1280:69: required from here ../../src/test/harness_allocator.h:518:20: warning: 'void* memset(void*, int, size_t)' writing to an object of type 'struct tbb::interface5::concurrent_hash_map, tbb::tbb_hash_compare, debug_allocator >, std::allocator> >::node' with no trivial copy-assignment [-Wclass-memaccess] std::memset( ptr, 0xE3E3E3E3, n * sizeof(value_type) ); ~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ In file included from ../../src/test/test_concurrent_hash_map.cpp:45: ../../include/tbb/concurrent_hash_map.h:561:12: note: 'struct tbb::interface5::concurrent_hash_map, tbb::tbb_hash_compare, debug_allocator >, std::allocator> >::node' declared here struct node : public node_base { ^~~~ In file included from ../../src/test/test_concurrent_hash_map.cpp:85: ../../src/test/harness_allocator.h: In instantiation of 'debug_allocator::pointer debug_allocator::allocate(debug_allocator::size_type, const void*) [with T = tbb::interface5::concurrent_hash_map, tbb::tbb_hash_compare, debug_allocator >, std::allocator> >::node; Allocator = std::allocator; debug_allocator::pointer = tbb::interface5::concurrent_hash_map, tbb::tbb_hash_compare, debug_allocator >, std::allocator> >::node*; debug_allocator::size_type = long unsigned int]': ../../include/tbb/concurrent_hash_map.h:580:19: required from 'static void* tbb::interface5::concurrent_hash_map::node::operator new(std::size_t, tbb::interface5::concurrent_hash_map::node_allocator_type&) [with Key = const int; T = tbb::atomic; HashCompare = tbb::tbb_hash_compare; Allocator = debug_allocator >, std::allocator>; std::size_t = long unsigned int; tbb::interface5::concurrent_hash_map::node_allocator_type = debug_allocator, tbb::tbb_hash_compare, debug_allocator >, std::allocator> >::node, std::allocator>]' ../../include/tbb/concurrent_hash_map.h:1449:37: required from 'void tbb::interface5::concurrent_hash_map::internal_copy(const tbb::interface5::concurrent_hash_map&) [with Key = const int; T = tbb::atomic; HashCompare = tbb::tbb_hash_compare; Allocator = debug_allocator >, std::allocator>]' ../../include/tbb/concurrent_hash_map.h:774:9: required from 'tbb::interface5::concurrent_hash_map::concurrent_hash_map(const tbb::interface5::concurrent_hash_map&, const allocator_type&) [with Key = const int; T = tbb::atomic; HashCompare = tbb::tbb_hash_compare; Allocator = debug_allocator >, std::allocator>; tbb::interface5::concurrent_hash_map::allocator_type = debug_allocator >, std::allocator>]' ../../src/test/test_concurrent_hash_map.cpp:1229:42: required from 'void TypeTester(const std::__cxx11::list&) [with bool default_construction_present = true; Value = std::pair >]' ../../src/test/test_concurrent_hash_map.cpp:1292:68: required from here ../../src/test/harness_allocator.h:518:20: warning: 'void* memset(void*, int, size_t)' writing to an object of type 'struct tbb::interface5::concurrent_hash_map, tbb::tbb_hash_compare, debug_allocator >, std::allocator> >::node' with no trivial copy-assignment [-Wclass-memaccess] std::memset( ptr, 0xE3E3E3E3, n * sizeof(value_type) ); ~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ In file included from ../../src/test/test_concurrent_hash_map.cpp:45: ../../include/tbb/concurrent_hash_map.h:561:12: note: 'struct tbb::interface5::concurrent_hash_map, tbb::tbb_hash_compare, debug_allocator >, std::allocator> >::node' declared here struct node : public node_base { ^~~~ In file included from ../../src/test/test_concurrent_hash_map.cpp:85: ../../src/test/harness_allocator.h: In instantiation of 'debug_allocator::pointer debug_allocator::allocate(debug_allocator::size_type, const void*) [with T = tbb::interface5::concurrent_hash_map, std::shared_ptr, tbb::tbb_hash_compare >, debug_allocator, std::shared_ptr >, std::allocator> >::node; Allocator = std::allocator; debug_allocator::pointer = tbb::interface5::concurrent_hash_map, std::shared_ptr, tbb::tbb_hash_compare >, debug_allocator, std::shared_ptr >, std::allocator> >::node*; debug_allocator::size_type = long unsigned int]': ../../include/tbb/concurrent_hash_map.h:580:19: required from 'static void* tbb::interface5::concurrent_hash_map::node::operator new(std::size_t, tbb::interface5::concurrent_hash_map::node_allocator_type&) [with Key = const std::shared_ptr; T = std::shared_ptr; HashCompare = tbb::tbb_hash_compare >; Allocator = debug_allocator, std::shared_ptr >, std::allocator>; std::size_t = long unsigned int; tbb::interface5::concurrent_hash_map::node_allocator_type = debug_allocator, std::shared_ptr, tbb::tbb_hash_compare >, debug_allocator, std::shared_ptr >, std::allocator> >::node, std::allocator>]' ../../include/tbb/concurrent_hash_map.h:1449:37: required from 'void tbb::interface5::concurrent_hash_map::internal_copy(const tbb::interface5::concurrent_hash_map&) [with Key = const std::shared_ptr; T = std::shared_ptr; HashCompare = tbb::tbb_hash_compare >; Allocator = debug_allocator, std::shared_ptr >, std::allocator>]' ../../include/tbb/concurrent_hash_map.h:774:9: required from 'tbb::interface5::concurrent_hash_map::concurrent_hash_map(const tbb::interface5::concurrent_hash_map&, const allocator_type&) [with Key = const std::shared_ptr; T = std::shared_ptr; HashCompare = tbb::tbb_hash_compare >; Allocator = debug_allocator, std::shared_ptr >, std::allocator>; tbb::interface5::concurrent_hash_map::allocator_type = debug_allocator, std::shared_ptr >, std::allocator>]' ../../src/test/test_concurrent_hash_map.cpp:1229:42: required from 'void TypeTester(const std::__cxx11::list&) [with bool default_construction_present = true; Value = std::pair, std::shared_ptr >]' ../../src/test/test_concurrent_hash_map.cpp:1301:69: required from here ../../src/test/harness_allocator.h:518:20: warning: 'void* memset(void*, int, size_t)' writing to an object of type 'struct tbb::interface5::concurrent_hash_map, std::shared_ptr, tbb::tbb_hash_compare >, debug_allocator, std::shared_ptr >, std::allocator> >::node' with no trivial copy-assignment [-Wclass-memaccess] std::memset( ptr, 0xE3E3E3E3, n * sizeof(value_type) ); ~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ In file included from ../../src/test/test_concurrent_hash_map.cpp:45: ../../include/tbb/concurrent_hash_map.h:561:12: note: 'struct tbb::interface5::concurrent_hash_map, std::shared_ptr, tbb::tbb_hash_compare >, debug_allocator, std::shared_ptr >, std::allocator> >::node' declared here struct node : public node_base { ^~~~ In file included from ../../src/test/test_concurrent_hash_map.cpp:85: ../../src/test/harness_allocator.h: In instantiation of 'debug_allocator::pointer debug_allocator::allocate(debug_allocator::size_type, const void*) [with T = tbb::interface5::concurrent_hash_map, std::weak_ptr, tbb::tbb_hash_compare >, debug_allocator, std::weak_ptr >, std::allocator> >::node; Allocator = std::allocator; debug_allocator::pointer = tbb::interface5::concurrent_hash_map, std::weak_ptr, tbb::tbb_hash_compare >, debug_allocator, std::weak_ptr >, std::allocator> >::node*; debug_allocator::size_type = long unsigned int]': ../../include/tbb/concurrent_hash_map.h:580:19: required from 'static void* tbb::interface5::concurrent_hash_map::node::operator new(std::size_t, tbb::interface5::concurrent_hash_map::node_allocator_type&) [with Key = const std::weak_ptr; T = std::weak_ptr; HashCompare = tbb::tbb_hash_compare >; Allocator = debug_allocator, std::weak_ptr >, std::allocator>; std::size_t = long unsigned int; tbb::interface5::concurrent_hash_map::node_allocator_type = debug_allocator, std::weak_ptr, tbb::tbb_hash_compare >, debug_allocator, std::weak_ptr >, std::allocator> >::node, std::allocator>]' ../../include/tbb/concurrent_hash_map.h:1449:37: required from 'void tbb::interface5::concurrent_hash_map::internal_copy(const tbb::interface5::concurrent_hash_map&) [with Key = const std::weak_ptr; T = std::weak_ptr; HashCompare = tbb::tbb_hash_compare >; Allocator = debug_allocator, std::weak_ptr >, std::allocator>]' ../../include/tbb/concurrent_hash_map.h:774:9: required from 'tbb::interface5::concurrent_hash_map::concurrent_hash_map(const tbb::interface5::concurrent_hash_map&, const allocator_type&) [with Key = const std::weak_ptr; T = std::weak_ptr; HashCompare = tbb::tbb_hash_compare >; Allocator = debug_allocator, std::weak_ptr >, std::allocator>; tbb::interface5::concurrent_hash_map::allocator_type = debug_allocator, std::weak_ptr >, std::allocator>]' ../../src/test/test_concurrent_hash_map.cpp:1229:42: required from 'void TypeTester(const std::__cxx11::list&) [with bool default_construction_present = true; Value = std::pair, std::weak_ptr >]' ../../src/test/test_concurrent_hash_map.cpp:1306:67: required from here ../../src/test/harness_allocator.h:518:20: warning: 'void* memset(void*, int, size_t)' writing to an object of type 'struct tbb::interface5::concurrent_hash_map, std::weak_ptr, tbb::tbb_hash_compare >, debug_allocator, std::weak_ptr >, std::allocator> >::node' with no trivial copy-assignment [-Wclass-memaccess] std::memset( ptr, 0xE3E3E3E3, n * sizeof(value_type) ); ~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ In file included from ../../src/test/test_concurrent_hash_map.cpp:45: ../../include/tbb/concurrent_hash_map.h:561:12: note: 'struct tbb::interface5::concurrent_hash_map, std::weak_ptr, tbb::tbb_hash_compare >, debug_allocator, std::weak_ptr >, std::allocator> >::node' declared here struct node : public node_base { ^~~~ ../../src/test/test_concurrent_hash_map.cpp: In function 'void TestExceptions()': ../../src/test/test_concurrent_hash_map.cpp:932:35: warning: this statement may fall through [-Wimplicit-fallthrough=] CheckAllocator(victim, 100+t, t); ~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~ ../../src/test/test_concurrent_hash_map.cpp:933:17: note: here case ctor_copy: ^~~~ g++ -o test_concurrent_hash_map.exe -O2 -g -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -fexceptions -fstack-protector-strong -grecord-gcc-switches -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -mcpu=power8 -mtune=power8 -funwind-tables -fstack-clash-protection -DTBB_USE_DEBUG -g -O0 -DUSE_PTHREAD -DTEST_USES_TBB=1 -Wall -Wshadow -Wcast-qual -Woverloaded-virtual -Wnon-virtual-dtor -Wextra -O2 -g -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -fexceptions -fstack-protector-strong -grecord-gcc-switches -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -mcpu=power8 -mtune=power8 -funwind-tables -fstack-clash-protection test_concurrent_hash_map.o libtbb_debug.so -lpthread -lrt -Wl,-rpath-link=. -rdynamic g++ -o test_enumerable_thread_specific.o -c -MMD -O2 -g -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -fexceptions -fstack-protector-strong -grecord-gcc-switches -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -mcpu=power8 -mtune=power8 -funwind-tables -fstack-clash-protection -DTBB_USE_DEBUG -g -O0 -DUSE_PTHREAD -DTEST_USES_TBB=1 -Wall -Wshadow -Wcast-qual -Woverloaded-virtual -Wnon-virtual-dtor -Wextra -O2 -g -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -fexceptions -fstack-protector-strong -grecord-gcc-switches -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -mcpu=power8 -mtune=power8 -funwind-tables -fstack-clash-protection -std=c++14 -I../../src -I../../src/rml/include -I../../include -I. -include ../../src/test/harness_preload.h ../../src/test/test_enumerable_thread_specific.cpp In file included from ../../include/tbb/tbb_machine.h:243, from ../../include/tbb/atomic.h:32, from ../../include/tbb/enumerable_thread_specific.h:24, from ../../src/test/test_enumerable_thread_specific.cpp:24: ../../include/tbb/machine/mac_ppc.h: In function 'int32_t __TBB_machine_cmpswp4(volatile void*, int32_t, int32_t)': ../../include/tbb/machine/mac_ppc.h:91:46: warning: cast from type 'volatile void*' to type 'int32_t*' {aka 'int*'} casts away qualifiers [-Wcast-qual] , "+m"(* (int32_t*) ptr) /* redundant with "memory" */ ^~~ ../../include/tbb/machine/mac_ppc.h: In function 'int64_t __TBB_machine_cmpswp8(volatile void*, int64_t, int64_t)': ../../include/tbb/machine/mac_ppc.h:116:46: warning: cast from type 'volatile void*' to type 'int64_t*' {aka 'long int*'} casts away qualifiers [-Wcast-qual] , "+m"(* (int64_t*) ptr) /* redundant with "memory" */ ^~~ In file included from ../../include/tbb/enumerable_thread_specific.h:25, from ../../src/test/test_enumerable_thread_specific.cpp:24: ../../include/tbb/concurrent_vector.h: In static member function 'static void tbb::concurrent_vector::copy_range(void*, const void*, tbb::concurrent_vector::size_type)': ../../include/tbb/concurrent_vector.h:1296:18: warning: declaration of 'iterator' shadows a previous local [-Wshadow] I & iterator ((*const_cast(static_cast(p_type_erased_iterator)))); ^ ../../include/tbb/concurrent_vector.h:578:60: note: shadowed declaration is here typedef internal::vector_iterator iterator; ^~~~~~~~ In file included from ../../include/tbb/enumerable_thread_specific.h:25, from ../../src/test/test_enumerable_thread_specific.cpp:24: ../../include/tbb/concurrent_vector.h: In instantiation of 'void tbb::internal::handle_unconstructed_elements(T*, std::size_t) [with T = tbb::internal::padded > >, 128>; std::size_t = long unsigned int]': ../../include/tbb/concurrent_vector.h:1123:56: required from 'tbb::concurrent_vector::internal_loop_guide::~internal_loop_guide() [with T = tbb::internal::padded > >, 128>; A = tbb::tbb_allocator > >, 128> >]' ../../include/tbb/concurrent_vector.h:1262:25: required from 'static void tbb::concurrent_vector::initialize_array(void*, const void*, tbb::concurrent_vector::size_type) [with T = tbb::internal::padded > >, 128>; A = tbb::tbb_allocator > >, 128> >; tbb::concurrent_vector::size_type = long unsigned int]' ../../include/tbb/concurrent_vector.h:780:76: required from 'tbb::concurrent_vector::iterator tbb::concurrent_vector::grow_by(tbb::concurrent_vector::size_type) [with T = tbb::internal::padded > >, 128>; A = tbb::tbb_allocator > >, 128> >; tbb::concurrent_vector::iterator = tbb::internal::vector_iterator > >, 128>, tbb::tbb_allocator > >, 128> > >, tbb::internal::padded > >, 128> >; tbb::concurrent_vector::size_type = long unsigned int]' ../../include/tbb/enumerable_thread_specific.h:804:36: required from 'static void* tbb::interface6::enumerable_thread_specific::create_local_by_copy(tbb::interface6::internal::ets_base<(tbb::ets_key_usage_type)1>&, void*) [with T = std::vector >; Allocator = tbb::tbb_allocator > >; tbb::ets_key_usage_type ETS_key_type = (tbb::ets_key_usage_type)0]' ../../include/tbb/enumerable_thread_specific.h:948:13: required from 'void tbb::interface6::enumerable_thread_specific::internal_copy(const tbb::interface6::enumerable_thread_specific&) [with A2 = tbb::tbb_allocator > >; tbb::ets_key_usage_type C2 = (tbb::ets_key_usage_type)1; T = std::vector >; Allocator = tbb::tbb_allocator > >; tbb::ets_key_usage_type ETS_key_type = (tbb::ets_key_usage_type)0]' ../../include/tbb/enumerable_thread_specific.h:987:13: required from 'tbb::interface6::enumerable_thread_specific::enumerable_thread_specific(const tbb::interface6::enumerable_thread_specific&) [with Alloc = tbb::tbb_allocator > >; tbb::ets_key_usage_type Cachetype = (tbb::ets_key_usage_type)1; T = std::vector >; Allocator = tbb::tbb_allocator > >; tbb::ets_key_usage_type ETS_key_type = (tbb::ets_key_usage_type)0]' ../../src/test/test_enumerable_thread_specific.cpp:735:29: required from 'void run_cross_type_vector_tests(const char*) [with T = int; Allocator = tbb::tbb_allocator]' ../../src/test/test_enumerable_thread_specific.cpp:815:102: required from here ../../include/tbb/concurrent_vector.h:77:20: warning: 'void* memset(void*, int, size_t)' clearing an object of non-trivial type 'struct tbb::internal::padded > >, 128>'; use assignment or value-initialization instead [-Wclass-memaccess] std::memset( array, 0, n_of_elements * sizeof( T ) ); ~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ In file included from ../../include/tbb/tbb_machine.h:117, from ../../include/tbb/atomic.h:32, from ../../include/tbb/enumerable_thread_specific.h:24, from ../../src/test/test_enumerable_thread_specific.cpp:24: ../../include/tbb/tbb_stddef.h:257:8: note: 'struct tbb::internal::padded > >, 128>' declared here struct padded : padded_base {}; ^~~~~~ In file included from ../../include/tbb/enumerable_thread_specific.h:25, from ../../src/test/test_enumerable_thread_specific.cpp:24: ../../include/tbb/concurrent_vector.h: In instantiation of 'void tbb::internal::handle_unconstructed_elements(T*, std::size_t) [with T = tbb::internal::padded > >, 128>; std::size_t = long unsigned int]': ../../include/tbb/concurrent_vector.h:1123:56: required from 'tbb::concurrent_vector::internal_loop_guide::~internal_loop_guide() [with T = tbb::internal::padded > >, 128>; A = tbb::tbb_allocator > >, 128> >]' ../../include/tbb/concurrent_vector.h:1262:25: required from 'static void tbb::concurrent_vector::initialize_array(void*, const void*, tbb::concurrent_vector::size_type) [with T = tbb::internal::padded > >, 128>; A = tbb::tbb_allocator > >, 128> >; tbb::concurrent_vector::size_type = long unsigned int]' ../../include/tbb/concurrent_vector.h:780:76: required from 'tbb::concurrent_vector::iterator tbb::concurrent_vector::grow_by(tbb::concurrent_vector::size_type) [with T = tbb::internal::padded > >, 128>; A = tbb::tbb_allocator > >, 128> >; tbb::concurrent_vector::iterator = tbb::internal::vector_iterator > >, 128>, tbb::tbb_allocator > >, 128> > >, tbb::internal::padded > >, 128> >; tbb::concurrent_vector::size_type = long unsigned int]' ../../include/tbb/enumerable_thread_specific.h:804:36: required from 'static void* tbb::interface6::enumerable_thread_specific::create_local_by_copy(tbb::interface6::internal::ets_base<(tbb::ets_key_usage_type)1>&, void*) [with T = std::vector >; Allocator = tbb::tbb_allocator > >; tbb::ets_key_usage_type ETS_key_type = (tbb::ets_key_usage_type)0]' ../../include/tbb/enumerable_thread_specific.h:948:13: required from 'void tbb::interface6::enumerable_thread_specific::internal_copy(const tbb::interface6::enumerable_thread_specific&) [with A2 = tbb::tbb_allocator > >; tbb::ets_key_usage_type C2 = (tbb::ets_key_usage_type)1; T = std::vector >; Allocator = tbb::tbb_allocator > >; tbb::ets_key_usage_type ETS_key_type = (tbb::ets_key_usage_type)0]' ../../include/tbb/enumerable_thread_specific.h:987:13: required from 'tbb::interface6::enumerable_thread_specific::enumerable_thread_specific(const tbb::interface6::enumerable_thread_specific&) [with Alloc = tbb::tbb_allocator > >; tbb::ets_key_usage_type Cachetype = (tbb::ets_key_usage_type)1; T = std::vector >; Allocator = tbb::tbb_allocator > >; tbb::ets_key_usage_type ETS_key_type = (tbb::ets_key_usage_type)0]' ../../src/test/test_enumerable_thread_specific.cpp:735:29: required from 'void run_cross_type_vector_tests(const char*) [with T = double; Allocator = tbb::tbb_allocator]' ../../src/test/test_enumerable_thread_specific.cpp:816:111: required from here ../../include/tbb/concurrent_vector.h:77:20: warning: 'void* memset(void*, int, size_t)' clearing an object of non-trivial type 'struct tbb::internal::padded > >, 128>'; use assignment or value-initialization instead [-Wclass-memaccess] std::memset( array, 0, n_of_elements * sizeof( T ) ); ~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ In file included from ../../include/tbb/tbb_machine.h:117, from ../../include/tbb/atomic.h:32, from ../../include/tbb/enumerable_thread_specific.h:24, from ../../src/test/test_enumerable_thread_specific.cpp:24: ../../include/tbb/tbb_stddef.h:257:8: note: 'struct tbb::internal::padded > >, 128>' declared here struct padded : padded_base {}; ^~~~~~ In file included from ../../include/tbb/enumerable_thread_specific.h:25, from ../../src/test/test_enumerable_thread_specific.cpp:24: ../../include/tbb/concurrent_vector.h: In instantiation of 'void tbb::internal::handle_unconstructed_elements(T*, std::size_t) [with T = tbb::internal::padded, 128>; std::size_t = long unsigned int]': ../../include/tbb/concurrent_vector.h:1123:56: required from 'tbb::concurrent_vector::internal_loop_guide::~internal_loop_guide() [with T = tbb::internal::padded, 128>; A = tbb::cache_aligned_allocator, 128> >]' ../../include/tbb/concurrent_vector.h:1262:25: required from 'static void tbb::concurrent_vector::initialize_array(void*, const void*, tbb::concurrent_vector::size_type) [with T = tbb::internal::padded, 128>; A = tbb::cache_aligned_allocator, 128> >; tbb::concurrent_vector::size_type = long unsigned int]' ../../include/tbb/concurrent_vector.h:780:76: required from 'tbb::concurrent_vector::iterator tbb::concurrent_vector::grow_by(tbb::concurrent_vector::size_type) [with T = tbb::internal::padded, 128>; A = tbb::cache_aligned_allocator, 128> >; tbb::concurrent_vector::iterator = tbb::internal::vector_iterator, 128>, tbb::cache_aligned_allocator, 128> > >, tbb::internal::padded, 128> >; tbb::concurrent_vector::size_type = long unsigned int]' ../../include/tbb/enumerable_thread_specific.h:812:36: required from 'static void* tbb::interface6::enumerable_thread_specific::create_local_by_move(tbb::interface6::internal::ets_base<(tbb::ets_key_usage_type)1>&, void*) [with T = HasSpecialAndMoveCtor; Allocator = tbb::cache_aligned_allocator; tbb::ets_key_usage_type ETS_key_type = (tbb::ets_key_usage_type)1]' ../../include/tbb/enumerable_thread_specific.h:972:13: required from 'void tbb::interface6::enumerable_thread_specific::internal_move(tbb::interface6::enumerable_thread_specific&&) [with A2 = tbb::tbb_allocator; tbb::ets_key_usage_type C2 = (tbb::ets_key_usage_type)1; T = HasSpecialAndMoveCtor; Allocator = tbb::cache_aligned_allocator; tbb::ets_key_usage_type ETS_key_type = (tbb::ets_key_usage_type)1]' ../../include/tbb/enumerable_thread_specific.h:999:13: required from 'tbb::interface6::enumerable_thread_specific::enumerable_thread_specific(tbb::interface6::enumerable_thread_specific&&) [with Alloc = tbb::tbb_allocator; tbb::ets_key_usage_type Cachetype = (tbb::ets_key_usage_type)1; T = HasSpecialAndMoveCtor; Allocator = tbb::cache_aligned_allocator; tbb::ets_key_usage_type ETS_key_type = (tbb::ets_key_usage_type)1]' ../../src/test/test_enumerable_thread_specific.cpp:1307:60: required from 'void TestInstantiation(const char*) [with Allocator = tbb::tbb_allocator]' ../../src/test/test_enumerable_thread_specific.cpp:1351:63: required from here ../../include/tbb/concurrent_vector.h:77:20: warning: 'void* memset(void*, int, size_t)' clearing an object of non-trivial type 'struct tbb::internal::padded, 128>'; use assignment or value-initialization instead [-Wclass-memaccess] std::memset( array, 0, n_of_elements * sizeof( T ) ); ~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ In file included from ../../include/tbb/tbb_machine.h:117, from ../../include/tbb/atomic.h:32, from ../../include/tbb/enumerable_thread_specific.h:24, from ../../src/test/test_enumerable_thread_specific.cpp:24: ../../include/tbb/tbb_stddef.h:257:8: note: 'struct tbb::internal::padded, 128>' declared here struct padded : padded_base {}; ^~~~~~ In file included from ../../include/tbb/enumerable_thread_specific.h:25, from ../../src/test/test_enumerable_thread_specific.cpp:24: ../../include/tbb/concurrent_vector.h: In instantiation of 'void tbb::internal::handle_unconstructed_elements(T*, std::size_t) [with T = tbb::internal::padded, 128>; std::size_t = long unsigned int]': ../../include/tbb/concurrent_vector.h:1123:56: required from 'tbb::concurrent_vector::internal_loop_guide::~internal_loop_guide() [with T = tbb::internal::padded, 128>; A = tbb::cache_aligned_allocator, 128> >]' ../../include/tbb/concurrent_vector.h:1262:25: required from 'static void tbb::concurrent_vector::initialize_array(void*, const void*, tbb::concurrent_vector::size_type) [with T = tbb::internal::padded, 128>; A = tbb::cache_aligned_allocator, 128> >; tbb::concurrent_vector::size_type = long unsigned int]' ../../include/tbb/concurrent_vector.h:780:76: required from 'tbb::concurrent_vector::iterator tbb::concurrent_vector::grow_by(tbb::concurrent_vector::size_type) [with T = tbb::internal::padded, 128>; A = tbb::cache_aligned_allocator, 128> >; tbb::concurrent_vector::iterator = tbb::internal::vector_iterator, 128>, tbb::cache_aligned_allocator, 128> > >, tbb::internal::padded, 128> >; tbb::concurrent_vector::size_type = long unsigned int]' ../../include/tbb/enumerable_thread_specific.h:804:36: required from 'static void* tbb::interface6::enumerable_thread_specific::create_local_by_copy(tbb::interface6::internal::ets_base<(tbb::ets_key_usage_type)1>&, void*) [with T = BigType; Allocator = tbb::cache_aligned_allocator; tbb::ets_key_usage_type ETS_key_type = (tbb::ets_key_usage_type)1]' ../../include/tbb/enumerable_thread_specific.h:948:13: required from 'void tbb::interface6::enumerable_thread_specific::internal_copy(const tbb::interface6::enumerable_thread_specific&) [with A2 = tbb::cache_aligned_allocator; tbb::ets_key_usage_type C2 = (tbb::ets_key_usage_type)1; T = BigType; Allocator = tbb::cache_aligned_allocator; tbb::ets_key_usage_type ETS_key_type = (tbb::ets_key_usage_type)1]' ../../include/tbb/enumerable_thread_specific.h:981:13: required from 'tbb::interface6::enumerable_thread_specific::enumerable_thread_specific(const tbb::interface6::enumerable_thread_specific&) [with T = BigType; Allocator = tbb::cache_aligned_allocator; tbb::ets_key_usage_type ETS_key_type = (tbb::ets_key_usage_type)1]' ../../src/test/test_enumerable_thread_specific.cpp:1329:20: required from 'void TestConstructorWithBigType(const char*) [with Allocator = tbb::cache_aligned_allocator]' ../../src/test/test_enumerable_thread_specific.cpp:1372:92: required from here ../../include/tbb/concurrent_vector.h:77:20: warning: 'void* memset(void*, int, size_t)' clearing an object of non-trivial type 'struct tbb::internal::padded, 128>'; use assignment or value-initialization instead [-Wclass-memaccess] std::memset( array, 0, n_of_elements * sizeof( T ) ); ~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ In file included from ../../include/tbb/tbb_machine.h:117, from ../../include/tbb/atomic.h:32, from ../../include/tbb/enumerable_thread_specific.h:24, from ../../src/test/test_enumerable_thread_specific.cpp:24: ../../include/tbb/tbb_stddef.h:257:8: note: 'struct tbb::internal::padded, 128>' declared here struct padded : padded_base {}; ^~~~~~ In file included from ../../include/tbb/enumerable_thread_specific.h:25, from ../../src/test/test_enumerable_thread_specific.cpp:24: ../../include/tbb/concurrent_vector.h: In instantiation of 'void tbb::internal::handle_unconstructed_elements(T*, std::size_t) [with T = tbb::internal::padded >, 128>; std::size_t = long unsigned int]': ../../include/tbb/concurrent_vector.h:1123:56: required from 'tbb::concurrent_vector::internal_loop_guide::~internal_loop_guide() [with T = tbb::internal::padded >, 128>; A = tbb::cache_aligned_allocator >, 128> >]' ../../include/tbb/concurrent_vector.h:1262:25: required from 'static void tbb::concurrent_vector::initialize_array(void*, const void*, tbb::concurrent_vector::size_type) [with T = tbb::internal::padded >, 128>; A = tbb::cache_aligned_allocator >, 128> >; tbb::concurrent_vector::size_type = long unsigned int]' ../../include/tbb/concurrent_vector.h:780:76: required from 'tbb::concurrent_vector::iterator tbb::concurrent_vector::grow_by(tbb::concurrent_vector::size_type) [with T = tbb::internal::padded >, 128>; A = tbb::cache_aligned_allocator >, 128> >; tbb::concurrent_vector::iterator = tbb::internal::vector_iterator >, 128>, tbb::cache_aligned_allocator >, 128> > >, tbb::internal::padded >, 128> >; tbb::concurrent_vector::size_type = long unsigned int]' ../../include/tbb/enumerable_thread_specific.h:804:36: required from 'static void* tbb::interface6::enumerable_thread_specific::create_local_by_copy(tbb::interface6::internal::ets_base<(tbb::ets_key_usage_type)1>&, void*) [with T = minimal<>; Allocator = tbb::cache_aligned_allocator >; tbb::ets_key_usage_type ETS_key_type = (tbb::ets_key_usage_type)0]' ../../include/tbb/enumerable_thread_specific.h:948:13: required from 'void tbb::interface6::enumerable_thread_specific::internal_copy(const tbb::interface6::enumerable_thread_specific&) [with A2 = tbb::cache_aligned_allocator >; tbb::ets_key_usage_type C2 = (tbb::ets_key_usage_type)1; T = minimal<>; Allocator = tbb::cache_aligned_allocator >; tbb::ets_key_usage_type ETS_key_type = (tbb::ets_key_usage_type)0]' ../../include/tbb/enumerable_thread_specific.h:987:13: required from 'tbb::interface6::enumerable_thread_specific::enumerable_thread_specific(const tbb::interface6::enumerable_thread_specific&) [with Alloc = tbb::cache_aligned_allocator >; tbb::ets_key_usage_type Cachetype = (tbb::ets_key_usage_type)1; T = minimal<>; Allocator = tbb::cache_aligned_allocator >; tbb::ets_key_usage_type ETS_key_type = (tbb::ets_key_usage_type)0]' ../../src/test/test_enumerable_thread_specific.cpp:415:33: required from 'void run_parallel_scalar_tests_nocombine(const char*, const char*) [with T = minimal<>; Allocator = tbb::cache_aligned_allocator]' ../../src/test/test_enumerable_thread_specific.cpp:807:61: required from 'void run_parallel_tests(const char*) [with Allocator = tbb::cache_aligned_allocator]' ../../src/test/test_enumerable_thread_specific.cpp:1365:88: required from here ../../include/tbb/concurrent_vector.h:77:20: warning: 'void* memset(void*, int, size_t)' clearing an object of non-trivial type 'struct tbb::internal::padded >, 128>'; use assignment or value-initialization instead [-Wclass-memaccess] std::memset( array, 0, n_of_elements * sizeof( T ) ); ~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ In file included from ../../include/tbb/tbb_machine.h:117, from ../../include/tbb/atomic.h:32, from ../../include/tbb/enumerable_thread_specific.h:24, from ../../src/test/test_enumerable_thread_specific.cpp:24: ../../include/tbb/tbb_stddef.h:257:8: note: 'struct tbb::internal::padded >, 128>' declared here struct padded : padded_base {}; ^~~~~~ In file included from ../../include/tbb/enumerable_thread_specific.h:25, from ../../src/test/test_enumerable_thread_specific.cpp:24: ../../include/tbb/concurrent_vector.h: In instantiation of 'void tbb::internal::handle_unconstructed_elements(T*, std::size_t) [with T = tbb::internal::padded, 128>; std::size_t = long unsigned int]': ../../include/tbb/concurrent_vector.h:1123:56: required from 'tbb::concurrent_vector::internal_loop_guide::~internal_loop_guide() [with T = tbb::internal::padded, 128>; A = tbb::cache_aligned_allocator, 128> >]' ../../include/tbb/concurrent_vector.h:1262:25: required from 'static void tbb::concurrent_vector::initialize_array(void*, const void*, tbb::concurrent_vector::size_type) [with T = tbb::internal::padded, 128>; A = tbb::cache_aligned_allocator, 128> >; tbb::concurrent_vector::size_type = long unsigned int]' ../../include/tbb/concurrent_vector.h:780:76: required from 'tbb::concurrent_vector::iterator tbb::concurrent_vector::grow_by(tbb::concurrent_vector::size_type) [with T = tbb::internal::padded, 128>; A = tbb::cache_aligned_allocator, 128> >; tbb::concurrent_vector::iterator = tbb::internal::vector_iterator, 128>, tbb::cache_aligned_allocator, 128> > >, tbb::internal::padded, 128> >; tbb::concurrent_vector::size_type = long unsigned int]' ../../include/tbb/enumerable_thread_specific.h:804:36: required from 'static void* tbb::interface6::enumerable_thread_specific::create_local_by_copy(tbb::interface6::internal::ets_base<(tbb::ets_key_usage_type)1>&, void*) [with T = int; Allocator = tbb::cache_aligned_allocator; tbb::ets_key_usage_type ETS_key_type = (tbb::ets_key_usage_type)1]' ../../include/tbb/enumerable_thread_specific.h:948:13: required from 'void tbb::interface6::enumerable_thread_specific::internal_copy(const tbb::interface6::enumerable_thread_specific&) [with A2 = tbb::cache_aligned_allocator; tbb::ets_key_usage_type C2 = (tbb::ets_key_usage_type)1; T = int; Allocator = tbb::cache_aligned_allocator; tbb::ets_key_usage_type ETS_key_type = (tbb::ets_key_usage_type)1]' ../../include/tbb/enumerable_thread_specific.h:981:13: required from 'tbb::interface6::enumerable_thread_specific::enumerable_thread_specific(const tbb::interface6::enumerable_thread_specific&) [with T = int; Allocator = tbb::cache_aligned_allocator; tbb::ets_key_usage_type ETS_key_type = (tbb::ets_key_usage_type)1]' ../../src/test/test_enumerable_thread_specific.cpp:1105:14: required from 'void ets_copy_assign_test(InitSrc, InitDst, Validator, const char*) [with T = int; Allocator = tbb::cache_aligned_allocator; InitSrc = int; InitDst = int; Validator = Validator]' ../../src/test/test_enumerable_thread_specific.cpp:1165:39: required from 'void run_assign_and_copy_constructor_test(const char*, const char*) [with T = int; Allocator = tbb::cache_aligned_allocator]' ../../src/test/test_enumerable_thread_specific.cpp:1184:57: required from 'void run_assignment_and_copy_constructor_tests(const char*) [with Allocator = tbb::cache_aligned_allocator]' ../../src/test/test_enumerable_thread_specific.cpp:1353:107: required from here ../../include/tbb/concurrent_vector.h:77:20: warning: 'void* memset(void*, int, size_t)' clearing an object of non-trivial type 'struct tbb::internal::padded, 128>'; use assignment or value-initialization instead [-Wclass-memaccess] std::memset( array, 0, n_of_elements * sizeof( T ) ); ~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ In file included from ../../include/tbb/tbb_machine.h:117, from ../../include/tbb/atomic.h:32, from ../../include/tbb/enumerable_thread_specific.h:24, from ../../src/test/test_enumerable_thread_specific.cpp:24: ../../include/tbb/tbb_stddef.h:257:8: note: 'struct tbb::internal::padded, 128>' declared here struct padded : padded_base {}; ^~~~~~ In file included from ../../include/tbb/enumerable_thread_specific.h:25, from ../../src/test/test_enumerable_thread_specific.cpp:24: ../../include/tbb/concurrent_vector.h: In instantiation of 'void tbb::internal::handle_unconstructed_elements(T*, std::size_t) [with T = tbb::internal::padded >, 128>; std::size_t = long unsigned int]': ../../include/tbb/concurrent_vector.h:1123:56: required from 'tbb::concurrent_vector::internal_loop_guide::~internal_loop_guide() [with T = tbb::internal::padded >, 128>; A = tbb::cache_aligned_allocator >, 128> >]' ../../include/tbb/concurrent_vector.h:1262:25: required from 'static void tbb::concurrent_vector::initialize_array(void*, const void*, tbb::concurrent_vector::size_type) [with T = tbb::internal::padded >, 128>; A = tbb::cache_aligned_allocator >, 128> >; tbb::concurrent_vector::size_type = long unsigned int]' ../../include/tbb/concurrent_vector.h:780:76: required from 'tbb::concurrent_vector::iterator tbb::concurrent_vector::grow_by(tbb::concurrent_vector::size_type) [with T = tbb::internal::padded >, 128>; A = tbb::cache_aligned_allocator >, 128> >; tbb::concurrent_vector::iterator = tbb::internal::vector_iterator >, 128>, tbb::cache_aligned_allocator >, 128> > >, tbb::internal::padded >, 128> >; tbb::concurrent_vector::size_type = long unsigned int]' ../../include/tbb/enumerable_thread_specific.h:804:36: required from 'static void* tbb::interface6::enumerable_thread_specific::create_local_by_copy(tbb::interface6::internal::ets_base<(tbb::ets_key_usage_type)1>&, void*) [with T = std::pair; Allocator = tbb::cache_aligned_allocator >; tbb::ets_key_usage_type ETS_key_type = (tbb::ets_key_usage_type)1]' ../../include/tbb/enumerable_thread_specific.h:948:13: required from 'void tbb::interface6::enumerable_thread_specific::internal_copy(const tbb::interface6::enumerable_thread_specific&) [with A2 = tbb::cache_aligned_allocator >; tbb::ets_key_usage_type C2 = (tbb::ets_key_usage_type)1; T = std::pair; Allocator = tbb::cache_aligned_allocator >; tbb::ets_key_usage_type ETS_key_type = (tbb::ets_key_usage_type)1]' ../../include/tbb/enumerable_thread_specific.h:981:13: required from 'tbb::interface6::enumerable_thread_specific::enumerable_thread_specific(const tbb::interface6::enumerable_thread_specific&) [with T = std::pair; Allocator = tbb::cache_aligned_allocator >; tbb::ets_key_usage_type ETS_key_type = (tbb::ets_key_usage_type)1]' ../../src/test/test_enumerable_thread_specific.cpp:1105:14: required from 'void ets_copy_assign_test(InitSrc, InitDst, Validator, const char*) [with T = std::pair; Allocator = tbb::cache_aligned_allocator; InitSrc = tbb::internal::stored_pack; InitDst = std::pair; Validator = Validator]' ../../src/test/test_enumerable_thread_specific.cpp:1176:55: required from 'void run_assign_and_copy_constructor_test(const char*, const char*) [with T = int; Allocator = tbb::cache_aligned_allocator]' ../../src/test/test_enumerable_thread_specific.cpp:1184:57: required from 'void run_assignment_and_copy_constructor_tests(const char*) [with Allocator = tbb::cache_aligned_allocator]' ../../src/test/test_enumerable_thread_specific.cpp:1353:107: required from here ../../include/tbb/concurrent_vector.h:77:20: warning: 'void* memset(void*, int, size_t)' clearing an object of non-trivial type 'struct tbb::internal::padded >, 128>'; use assignment or value-initialization instead [-Wclass-memaccess] std::memset( array, 0, n_of_elements * sizeof( T ) ); ~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ In file included from ../../include/tbb/tbb_machine.h:117, from ../../include/tbb/atomic.h:32, from ../../include/tbb/enumerable_thread_specific.h:24, from ../../src/test/test_enumerable_thread_specific.cpp:24: ../../include/tbb/tbb_stddef.h:257:8: note: 'struct tbb::internal::padded >, 128>' declared here struct padded : padded_base {}; ^~~~~~ In file included from ../../include/tbb/enumerable_thread_specific.h:25, from ../../src/test/test_enumerable_thread_specific.cpp:24: ../../include/tbb/concurrent_vector.h: In instantiation of 'void tbb::internal::handle_unconstructed_elements(T*, std::size_t) [with T = tbb::internal::padded, 128>; std::size_t = long unsigned int]': ../../include/tbb/concurrent_vector.h:1123:56: required from 'tbb::concurrent_vector::internal_loop_guide::~internal_loop_guide() [with T = tbb::internal::padded, 128>; A = tbb::cache_aligned_allocator, 128> >]' ../../include/tbb/concurrent_vector.h:1262:25: required from 'static void tbb::concurrent_vector::initialize_array(void*, const void*, tbb::concurrent_vector::size_type) [with T = tbb::internal::padded, 128>; A = tbb::cache_aligned_allocator, 128> >; tbb::concurrent_vector::size_type = long unsigned int]' ../../include/tbb/concurrent_vector.h:780:76: required from 'tbb::concurrent_vector::iterator tbb::concurrent_vector::grow_by(tbb::concurrent_vector::size_type) [with T = tbb::internal::padded, 128>; A = tbb::cache_aligned_allocator, 128> >; tbb::concurrent_vector::iterator = tbb::internal::vector_iterator, 128>, tbb::cache_aligned_allocator, 128> > >, tbb::internal::padded, 128> >; tbb::concurrent_vector::size_type = long unsigned int]' ../../include/tbb/enumerable_thread_specific.h:804:36: required from 'static void* tbb::interface6::enumerable_thread_specific::create_local_by_copy(tbb::interface6::internal::ets_base<(tbb::ets_key_usage_type)1>&, void*) [with T = double; Allocator = tbb::cache_aligned_allocator; tbb::ets_key_usage_type ETS_key_type = (tbb::ets_key_usage_type)1]' ../../include/tbb/enumerable_thread_specific.h:948:13: required from 'void tbb::interface6::enumerable_thread_specific::internal_copy(const tbb::interface6::enumerable_thread_specific&) [with A2 = tbb::cache_aligned_allocator; tbb::ets_key_usage_type C2 = (tbb::ets_key_usage_type)1; T = double; Allocator = tbb::cache_aligned_allocator; tbb::ets_key_usage_type ETS_key_type = (tbb::ets_key_usage_type)1]' ../../include/tbb/enumerable_thread_specific.h:981:13: required from 'tbb::interface6::enumerable_thread_specific::enumerable_thread_specific(const tbb::interface6::enumerable_thread_specific&) [with T = double; Allocator = tbb::cache_aligned_allocator; tbb::ets_key_usage_type ETS_key_type = (tbb::ets_key_usage_type)1]' ../../src/test/test_enumerable_thread_specific.cpp:1105:14: required from 'void ets_copy_assign_test(InitSrc, InitDst, Validator, const char*) [with T = double; Allocator = tbb::cache_aligned_allocator; InitSrc = double; InitDst = double; Validator = Validator]' ../../src/test/test_enumerable_thread_specific.cpp:1165:39: required from 'void run_assign_and_copy_constructor_test(const char*, const char*) [with T = double; Allocator = tbb::cache_aligned_allocator]' ../../src/test/test_enumerable_thread_specific.cpp:1185:60: required from 'void run_assignment_and_copy_constructor_tests(const char*) [with Allocator = tbb::cache_aligned_allocator]' ../../src/test/test_enumerable_thread_specific.cpp:1353:107: required from here ../../include/tbb/concurrent_vector.h:77:20: warning: 'void* memset(void*, int, size_t)' clearing an object of non-trivial type 'struct tbb::internal::padded, 128>'; use assignment or value-initialization instead [-Wclass-memaccess] std::memset( array, 0, n_of_elements * sizeof( T ) ); ~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ In file included from ../../include/tbb/tbb_machine.h:117, from ../../include/tbb/atomic.h:32, from ../../include/tbb/enumerable_thread_specific.h:24, from ../../src/test/test_enumerable_thread_specific.cpp:24: ../../include/tbb/tbb_stddef.h:257:8: note: 'struct tbb::internal::padded, 128>' declared here struct padded : padded_base {}; ^~~~~~ In file included from ../../include/tbb/enumerable_thread_specific.h:25, from ../../src/test/test_enumerable_thread_specific.cpp:24: ../../include/tbb/concurrent_vector.h: In instantiation of 'void tbb::internal::handle_unconstructed_elements(T*, std::size_t) [with T = tbb::internal::padded >, 128>; std::size_t = long unsigned int]': ../../include/tbb/concurrent_vector.h:1123:56: required from 'tbb::concurrent_vector::internal_loop_guide::~internal_loop_guide() [with T = tbb::internal::padded >, 128>; A = tbb::cache_aligned_allocator >, 128> >]' ../../include/tbb/concurrent_vector.h:1262:25: required from 'static void tbb::concurrent_vector::initialize_array(void*, const void*, tbb::concurrent_vector::size_type) [with T = tbb::internal::padded >, 128>; A = tbb::cache_aligned_allocator >, 128> >; tbb::concurrent_vector::size_type = long unsigned int]' ../../include/tbb/concurrent_vector.h:780:76: required from 'tbb::concurrent_vector::iterator tbb::concurrent_vector::grow_by(tbb::concurrent_vector::size_type) [with T = tbb::internal::padded >, 128>; A = tbb::cache_aligned_allocator >, 128> >; tbb::concurrent_vector::iterator = tbb::internal::vector_iterator >, 128>, tbb::cache_aligned_allocator >, 128> > >, tbb::internal::padded >, 128> >; tbb::concurrent_vector::size_type = long unsigned int]' ../../include/tbb/enumerable_thread_specific.h:804:36: required from 'static void* tbb::interface6::enumerable_thread_specific::create_local_by_copy(tbb::interface6::internal::ets_base<(tbb::ets_key_usage_type)1>&, void*) [with T = std::pair; Allocator = tbb::cache_aligned_allocator >; tbb::ets_key_usage_type ETS_key_type = (tbb::ets_key_usage_type)1]' ../../include/tbb/enumerable_thread_specific.h:948:13: required from 'void tbb::interface6::enumerable_thread_specific::internal_copy(const tbb::interface6::enumerable_thread_specific&) [with A2 = tbb::cache_aligned_allocator >; tbb::ets_key_usage_type C2 = (tbb::ets_key_usage_type)1; T = std::pair; Allocator = tbb::cache_aligned_allocator >; tbb::ets_key_usage_type ETS_key_type = (tbb::ets_key_usage_type)1]' ../../include/tbb/enumerable_thread_specific.h:981:13: required from 'tbb::interface6::enumerable_thread_specific::enumerable_thread_specific(const tbb::interface6::enumerable_thread_specific&) [with T = std::pair; Allocator = tbb::cache_aligned_allocator >; tbb::ets_key_usage_type ETS_key_type = (tbb::ets_key_usage_type)1]' ../../src/test/test_enumerable_thread_specific.cpp:1105:14: required from 'void ets_copy_assign_test(InitSrc, InitDst, Validator, const char*) [with T = std::pair; Allocator = tbb::cache_aligned_allocator; InitSrc = tbb::internal::stored_pack; InitDst = std::pair; Validator = Validator]' ../../src/test/test_enumerable_thread_specific.cpp:1176:55: required from 'void run_assign_and_copy_constructor_test(const char*, const char*) [with T = double; Allocator = tbb::cache_aligned_allocator]' ../../src/test/test_enumerable_thread_specific.cpp:1185:60: required from 'void run_assignment_and_copy_constructor_tests(const char*) [with Allocator = tbb::cache_aligned_allocator]' ../../src/test/test_enumerable_thread_specific.cpp:1353:107: required from here ../../include/tbb/concurrent_vector.h:77:20: warning: 'void* memset(void*, int, size_t)' clearing an object of non-trivial type 'struct tbb::internal::padded >, 128>'; use assignment or value-initialization instead [-Wclass-memaccess] std::memset( array, 0, n_of_elements * sizeof( T ) ); ~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ In file included from ../../include/tbb/tbb_machine.h:117, from ../../include/tbb/atomic.h:32, from ../../include/tbb/enumerable_thread_specific.h:24, from ../../src/test/test_enumerable_thread_specific.cpp:24: ../../include/tbb/tbb_stddef.h:257:8: note: 'struct tbb::internal::padded >, 128>' declared here struct padded : padded_base {}; ^~~~~~ In file included from ../../include/tbb/enumerable_thread_specific.h:25, from ../../src/test/test_enumerable_thread_specific.cpp:24: ../../include/tbb/concurrent_vector.h: In instantiation of 'void tbb::internal::handle_unconstructed_elements(T*, std::size_t) [with T = tbb::internal::padded >, 128>; std::size_t = long unsigned int]': ../../include/tbb/concurrent_vector.h:1123:56: required from 'tbb::concurrent_vector::internal_loop_guide::~internal_loop_guide() [with T = tbb::internal::padded >, 128>; A = tbb::cache_aligned_allocator >, 128> >]' ../../include/tbb/concurrent_vector.h:1262:25: required from 'static void tbb::concurrent_vector::initialize_array(void*, const void*, tbb::concurrent_vector::size_type) [with T = tbb::internal::padded >, 128>; A = tbb::cache_aligned_allocator >, 128> >; tbb::concurrent_vector::size_type = long unsigned int]' ../../include/tbb/concurrent_vector.h:780:76: required from 'tbb::concurrent_vector::iterator tbb::concurrent_vector::grow_by(tbb::concurrent_vector::size_type) [with T = tbb::internal::padded >, 128>; A = tbb::cache_aligned_allocator >, 128> >; tbb::concurrent_vector::iterator = tbb::internal::vector_iterator >, 128>, tbb::cache_aligned_allocator >, 128> > >, tbb::internal::padded >, 128> >; tbb::concurrent_vector::size_type = long unsigned int]' ../../include/tbb/enumerable_thread_specific.h:804:36: required from 'static void* tbb::interface6::enumerable_thread_specific::create_local_by_copy(tbb::interface6::internal::ets_base<(tbb::ets_key_usage_type)1>&, void*) [with T = minimal<127>; Allocator = tbb::cache_aligned_allocator >; tbb::ets_key_usage_type ETS_key_type = (tbb::ets_key_usage_type)1]' ../../include/tbb/enumerable_thread_specific.h:948:13: required from 'void tbb::interface6::enumerable_thread_specific::internal_copy(const tbb::interface6::enumerable_thread_specific&) [with A2 = tbb::cache_aligned_allocator >; tbb::ets_key_usage_type C2 = (tbb::ets_key_usage_type)1; T = minimal<127>; Allocator = tbb::cache_aligned_allocator >; tbb::ets_key_usage_type ETS_key_type = (tbb::ets_key_usage_type)1]' ../../include/tbb/enumerable_thread_specific.h:981:13: required from 'tbb::interface6::enumerable_thread_specific::enumerable_thread_specific(const tbb::interface6::enumerable_thread_specific&) [with T = minimal<127>; Allocator = tbb::cache_aligned_allocator >; tbb::ets_key_usage_type ETS_key_type = (tbb::ets_key_usage_type)1]' ../../src/test/test_enumerable_thread_specific.cpp:1105:14: required from 'void ets_copy_assign_test(InitSrc, InitDst, Validator, const char*) [with T = minimal<127>; Allocator = tbb::cache_aligned_allocator; InitSrc = minimal<127>; InitDst = minimal<127>; Validator = Validator, 3142>]' ../../src/test/test_enumerable_thread_specific.cpp:1165:39: required from 'void run_assign_and_copy_constructor_test(const char*, const char*) [with T = minimal<127>; Allocator = tbb::cache_aligned_allocator]' ../../src/test/test_enumerable_thread_specific.cpp:1187:75: required from 'void run_assignment_and_copy_constructor_tests(const char*) [with Allocator = tbb::cache_aligned_allocator]' ../../src/test/test_enumerable_thread_specific.cpp:1353:107: required from here ../../include/tbb/concurrent_vector.h:77:20: warning: 'void* memset(void*, int, size_t)' clearing an object of non-trivial type 'struct tbb::internal::padded >, 128>'; use assignment or value-initialization instead [-Wclass-memaccess] std::memset( array, 0, n_of_elements * sizeof( T ) ); ~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ In file included from ../../include/tbb/tbb_machine.h:117, from ../../include/tbb/atomic.h:32, from ../../include/tbb/enumerable_thread_specific.h:24, from ../../src/test/test_enumerable_thread_specific.cpp:24: ../../include/tbb/tbb_stddef.h:257:8: note: 'struct tbb::internal::padded >, 128>' declared here struct padded : padded_base {}; ^~~~~~ In file included from ../../include/tbb/enumerable_thread_specific.h:25, from ../../src/test/test_enumerable_thread_specific.cpp:24: ../../include/tbb/concurrent_vector.h: In instantiation of 'void tbb::internal::handle_unconstructed_elements(T*, std::size_t) [with T = tbb::internal::padded > >, 128>; std::size_t = long unsigned int]': ../../include/tbb/concurrent_vector.h:1123:56: required from 'tbb::concurrent_vector::internal_loop_guide::~internal_loop_guide() [with T = tbb::internal::padded > >, 128>; A = tbb::cache_aligned_allocator > >, 128> >]' ../../include/tbb/concurrent_vector.h:1262:25: required from 'static void tbb::concurrent_vector::initialize_array(void*, const void*, tbb::concurrent_vector::size_type) [with T = tbb::internal::padded > >, 128>; A = tbb::cache_aligned_allocator > >, 128> >; tbb::concurrent_vector::size_type = long unsigned int]' ../../include/tbb/concurrent_vector.h:780:76: required from 'tbb::concurrent_vector::iterator tbb::concurrent_vector::grow_by(tbb::concurrent_vector::size_type) [with T = tbb::internal::padded > >, 128>; A = tbb::cache_aligned_allocator > >, 128> >; tbb::concurrent_vector::iterator = tbb::internal::vector_iterator > >, 128>, tbb::cache_aligned_allocator > >, 128> > >, tbb::internal::padded > >, 128> >; tbb::concurrent_vector::size_type = long unsigned int]' ../../include/tbb/enumerable_thread_specific.h:804:36: required from 'static void* tbb::interface6::enumerable_thread_specific::create_local_by_copy(tbb::interface6::internal::ets_base<(tbb::ets_key_usage_type)1>&, void*) [with T = std::pair >; Allocator = tbb::cache_aligned_allocator > >; tbb::ets_key_usage_type ETS_key_type = (tbb::ets_key_usage_type)1]' ../../include/tbb/enumerable_thread_specific.h:948:13: required from 'void tbb::interface6::enumerable_thread_specific::internal_copy(const tbb::interface6::enumerable_thread_specific&) [with A2 = tbb::cache_aligned_allocator > >; tbb::ets_key_usage_type C2 = (tbb::ets_key_usage_type)1; T = std::pair >; Allocator = tbb::cache_aligned_allocator > >; tbb::ets_key_usage_type ETS_key_type = (tbb::ets_key_usage_type)1]' ../../include/tbb/enumerable_thread_specific.h:981:13: required from 'tbb::interface6::enumerable_thread_specific::enumerable_thread_specific(const tbb::interface6::enumerable_thread_specific&) [with T = std::pair >; Allocator = tbb::cache_aligned_allocator > >; tbb::ets_key_usage_type ETS_key_type = (tbb::ets_key_usage_type)1]' ../../src/test/test_enumerable_thread_specific.cpp:1105:14: required from 'void ets_copy_assign_test(InitSrc, InitDst, Validator, const char*) [with T = std::pair >; Allocator = tbb::cache_aligned_allocator; InitSrc = tbb::internal::stored_pack&>; InitDst = std::pair >; Validator = Validator, 3142>]' ../../src/test/test_enumerable_thread_specific.cpp:1176:55: required from 'void run_assign_and_copy_constructor_test(const char*, const char*) [with T = minimal<127>; Allocator = tbb::cache_aligned_allocator]' ../../src/test/test_enumerable_thread_specific.cpp:1187:75: required from 'void run_assignment_and_copy_constructor_tests(const char*) [with Allocator = tbb::cache_aligned_allocator]' ../../src/test/test_enumerable_thread_specific.cpp:1353:107: required from here ../../include/tbb/concurrent_vector.h:77:20: warning: 'void* memset(void*, int, size_t)' clearing an object of non-trivial type 'struct tbb::internal::padded > >, 128>'; use assignment or value-initialization instead [-Wclass-memaccess] std::memset( array, 0, n_of_elements * sizeof( T ) ); ~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ In file included from ../../include/tbb/tbb_machine.h:117, from ../../include/tbb/atomic.h:32, from ../../include/tbb/enumerable_thread_specific.h:24, from ../../src/test/test_enumerable_thread_specific.cpp:24: ../../include/tbb/tbb_stddef.h:257:8: note: 'struct tbb::internal::padded > >, 128>' declared here struct padded : padded_base {}; ^~~~~~ In file included from ../../include/tbb/enumerable_thread_specific.h:25, from ../../src/test/test_enumerable_thread_specific.cpp:24: ../../include/tbb/concurrent_vector.h: In instantiation of 'void tbb::internal::handle_unconstructed_elements(T*, std::size_t) [with T = tbb::internal::padded > >, 128>; std::size_t = long unsigned int]': ../../include/tbb/concurrent_vector.h:1123:56: required from 'tbb::concurrent_vector::internal_loop_guide::~internal_loop_guide() [with T = tbb::internal::padded > >, 128>; A = tbb::cache_aligned_allocator > >, 128> >]' ../../include/tbb/concurrent_vector.h:1262:25: required from 'static void tbb::concurrent_vector::initialize_array(void*, const void*, tbb::concurrent_vector::size_type) [with T = tbb::internal::padded > >, 128>; A = tbb::cache_aligned_allocator > >, 128> >; tbb::concurrent_vector::size_type = long unsigned int]' ../../include/tbb/concurrent_vector.h:780:76: required from 'tbb::concurrent_vector::iterator tbb::concurrent_vector::grow_by(tbb::concurrent_vector::size_type) [with T = tbb::internal::padded > >, 128>; A = tbb::cache_aligned_allocator > >, 128> >; tbb::concurrent_vector::iterator = tbb::internal::vector_iterator > >, 128>, tbb::cache_aligned_allocator > >, 128> > >, tbb::internal::padded > >, 128> >; tbb::concurrent_vector::size_type = long unsigned int]' ../../include/tbb/enumerable_thread_specific.h:804:36: required from 'static void* tbb::interface6::enumerable_thread_specific::create_local_by_copy(tbb::interface6::internal::ets_base<(tbb::ets_key_usage_type)1>&, void*) [with T = std::pair >; Allocator = tbb::cache_aligned_allocator > >; tbb::ets_key_usage_type ETS_key_type = (tbb::ets_key_usage_type)1]' ../../include/tbb/enumerable_thread_specific.h:948:13: required from 'void tbb::interface6::enumerable_thread_specific::internal_copy(const tbb::interface6::enumerable_thread_specific&) [with A2 = tbb::cache_aligned_allocator > >; tbb::ets_key_usage_type C2 = (tbb::ets_key_usage_type)1; T = std::pair >; Allocator = tbb::cache_aligned_allocator > >; tbb::ets_key_usage_type ETS_key_type = (tbb::ets_key_usage_type)1]' ../../include/tbb/enumerable_thread_specific.h:981:13: required from 'tbb::interface6::enumerable_thread_specific::enumerable_thread_specific(const tbb::interface6::enumerable_thread_specific&) [with T = std::pair >; Allocator = tbb::cache_aligned_allocator > >; tbb::ets_key_usage_type ETS_key_type = (tbb::ets_key_usage_type)1]' ../../src/test/test_enumerable_thread_specific.cpp:1105:14: required from 'void ets_copy_assign_test(InitSrc, InitDst, Validator, const char*) [with T = std::pair >; Allocator = tbb::cache_aligned_allocator; InitSrc = tbb::internal::stored_pack&>; InitDst = std::pair >; Validator = Validator, 3142>]' ../../src/test/test_enumerable_thread_specific.cpp:1176:55: required from 'void run_assign_and_copy_constructor_test(const char*, const char*) [with T = minimal<>; Allocator = tbb::cache_aligned_allocator]' ../../src/test/test_enumerable_thread_specific.cpp:1188:73: required from 'void run_assignment_and_copy_constructor_tests(const char*) [with Allocator = tbb::cache_aligned_allocator]' ../../src/test/test_enumerable_thread_specific.cpp:1353:107: required from here ../../include/tbb/concurrent_vector.h:77:20: warning: 'void* memset(void*, int, size_t)' clearing an object of non-trivial type 'struct tbb::internal::padded > >, 128>'; use assignment or value-initialization instead [-Wclass-memaccess] std::memset( array, 0, n_of_elements * sizeof( T ) ); ~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ In file included from ../../include/tbb/tbb_machine.h:117, from ../../include/tbb/atomic.h:32, from ../../include/tbb/enumerable_thread_specific.h:24, from ../../src/test/test_enumerable_thread_specific.cpp:24: ../../include/tbb/tbb_stddef.h:257:8: note: 'struct tbb::internal::padded > >, 128>' declared here struct padded : padded_base {}; ^~~~~~ In file included from ../../include/tbb/enumerable_thread_specific.h:25, from ../../src/test/test_enumerable_thread_specific.cpp:24: ../../include/tbb/concurrent_vector.h: In instantiation of 'void tbb::internal::handle_unconstructed_elements(T*, std::size_t) [with T = tbb::internal::padded >, 128>; std::size_t = long unsigned int]': ../../include/tbb/concurrent_vector.h:1123:56: required from 'tbb::concurrent_vector::internal_loop_guide::~internal_loop_guide() [with T = tbb::internal::padded >, 128>; A = tbb::cache_aligned_allocator >, 128> >]' ../../include/tbb/concurrent_vector.h:1262:25: required from 'static void tbb::concurrent_vector::initialize_array(void*, const void*, tbb::concurrent_vector::size_type) [with T = tbb::internal::padded >, 128>; A = tbb::cache_aligned_allocator >, 128> >; tbb::concurrent_vector::size_type = long unsigned int]' ../../include/tbb/concurrent_vector.h:780:76: required from 'tbb::concurrent_vector::iterator tbb::concurrent_vector::grow_by(tbb::concurrent_vector::size_type) [with T = tbb::internal::padded >, 128>; A = tbb::cache_aligned_allocator >, 128> >; tbb::concurrent_vector::iterator = tbb::internal::vector_iterator >, 128>, tbb::cache_aligned_allocator >, 128> > >, tbb::internal::padded >, 128> >; tbb::concurrent_vector::size_type = long unsigned int]' ../../include/tbb/enumerable_thread_specific.h:804:36: required from 'static void* tbb::interface6::enumerable_thread_specific::create_local_by_copy(tbb::interface6::internal::ets_base<(tbb::ets_key_usage_type)1>&, void*) [with T = minimal<129>; Allocator = tbb::cache_aligned_allocator >; tbb::ets_key_usage_type ETS_key_type = (tbb::ets_key_usage_type)1]' ../../include/tbb/enumerable_thread_specific.h:948:13: required from 'void tbb::interface6::enumerable_thread_specific::internal_copy(const tbb::interface6::enumerable_thread_specific&) [with A2 = tbb::cache_aligned_allocator >; tbb::ets_key_usage_type C2 = (tbb::ets_key_usage_type)1; T = minimal<129>; Allocator = tbb::cache_aligned_allocator >; tbb::ets_key_usage_type ETS_key_type = (tbb::ets_key_usage_type)1]' ../../include/tbb/enumerable_thread_specific.h:981:13: required from 'tbb::interface6::enumerable_thread_specific::enumerable_thread_specific(const tbb::interface6::enumerable_thread_specific&) [with T = minimal<129>; Allocator = tbb::cache_aligned_allocator >; tbb::ets_key_usage_type ETS_key_type = (tbb::ets_key_usage_type)1]' ../../src/test/test_enumerable_thread_specific.cpp:1105:14: required from 'void ets_copy_assign_test(InitSrc, InitDst, Validator, const char*) [with T = minimal<129>; Allocator = tbb::cache_aligned_allocator; InitSrc = minimal<129>; InitDst = minimal<129>; Validator = Validator, 3142>]' ../../src/test/test_enumerable_thread_specific.cpp:1165:39: required from 'void run_assign_and_copy_constructor_test(const char*, const char*) [with T = minimal<129>; Allocator = tbb::cache_aligned_allocator]' ../../src/test/test_enumerable_thread_specific.cpp:1189:75: required from 'void run_assignment_and_copy_constructor_tests(const char*) [with Allocator = tbb::cache_aligned_allocator]' ../../src/test/test_enumerable_thread_specific.cpp:1353:107: required from here ../../include/tbb/concurrent_vector.h:77:20: warning: 'void* memset(void*, int, size_t)' clearing an object of non-trivial type 'struct tbb::internal::padded >, 128>'; use assignment or value-initialization instead [-Wclass-memaccess] std::memset( array, 0, n_of_elements * sizeof( T ) ); ~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ In file included from ../../include/tbb/tbb_machine.h:117, from ../../include/tbb/atomic.h:32, from ../../include/tbb/enumerable_thread_specific.h:24, from ../../src/test/test_enumerable_thread_specific.cpp:24: ../../include/tbb/tbb_stddef.h:257:8: note: 'struct tbb::internal::padded >, 128>' declared here struct padded : padded_base {}; ^~~~~~ In file included from ../../include/tbb/enumerable_thread_specific.h:25, from ../../src/test/test_enumerable_thread_specific.cpp:24: ../../include/tbb/concurrent_vector.h: In instantiation of 'void tbb::internal::handle_unconstructed_elements(T*, std::size_t) [with T = tbb::internal::padded > >, 128>; std::size_t = long unsigned int]': ../../include/tbb/concurrent_vector.h:1123:56: required from 'tbb::concurrent_vector::internal_loop_guide::~internal_loop_guide() [with T = tbb::internal::padded > >, 128>; A = tbb::cache_aligned_allocator > >, 128> >]' ../../include/tbb/concurrent_vector.h:1262:25: required from 'static void tbb::concurrent_vector::initialize_array(void*, const void*, tbb::concurrent_vector::size_type) [with T = tbb::internal::padded > >, 128>; A = tbb::cache_aligned_allocator > >, 128> >; tbb::concurrent_vector::size_type = long unsigned int]' ../../include/tbb/concurrent_vector.h:780:76: required from 'tbb::concurrent_vector::iterator tbb::concurrent_vector::grow_by(tbb::concurrent_vector::size_type) [with T = tbb::internal::padded > >, 128>; A = tbb::cache_aligned_allocator > >, 128> >; tbb::concurrent_vector::iterator = tbb::internal::vector_iterator > >, 128>, tbb::cache_aligned_allocator > >, 128> > >, tbb::internal::padded > >, 128> >; tbb::concurrent_vector::size_type = long unsigned int]' ../../include/tbb/enumerable_thread_specific.h:804:36: required from 'static void* tbb::interface6::enumerable_thread_specific::create_local_by_copy(tbb::interface6::internal::ets_base<(tbb::ets_key_usage_type)1>&, void*) [with T = std::pair >; Allocator = tbb::cache_aligned_allocator > >; tbb::ets_key_usage_type ETS_key_type = (tbb::ets_key_usage_type)1]' ../../include/tbb/enumerable_thread_specific.h:948:13: required from 'void tbb::interface6::enumerable_thread_specific::internal_copy(const tbb::interface6::enumerable_thread_specific&) [with A2 = tbb::cache_aligned_allocator > >; tbb::ets_key_usage_type C2 = (tbb::ets_key_usage_type)1; T = std::pair >; Allocator = tbb::cache_aligned_allocator > >; tbb::ets_key_usage_type ETS_key_type = (tbb::ets_key_usage_type)1]' ../../include/tbb/enumerable_thread_specific.h:981:13: required from 'tbb::interface6::enumerable_thread_specific::enumerable_thread_specific(const tbb::interface6::enumerable_thread_specific&) [with T = std::pair >; Allocator = tbb::cache_aligned_allocator > >; tbb::ets_key_usage_type ETS_key_type = (tbb::ets_key_usage_type)1]' ../../src/test/test_enumerable_thread_specific.cpp:1105:14: required from 'void ets_copy_assign_test(InitSrc, InitDst, Validator, const char*) [with T = std::pair >; Allocator = tbb::cache_aligned_allocator; InitSrc = tbb::internal::stored_pack&>; InitDst = std::pair >; Validator = Validator, 3142>]' ../../src/test/test_enumerable_thread_specific.cpp:1176:55: required from 'void run_assign_and_copy_constructor_test(const char*, const char*) [with T = minimal<129>; Allocator = tbb::cache_aligned_allocator]' ../../src/test/test_enumerable_thread_specific.cpp:1189:75: required from 'void run_assignment_and_copy_constructor_tests(const char*) [with Allocator = tbb::cache_aligned_allocator]' ../../src/test/test_enumerable_thread_specific.cpp:1353:107: required from here ../../include/tbb/concurrent_vector.h:77:20: warning: 'void* memset(void*, int, size_t)' clearing an object of non-trivial type 'struct tbb::internal::padded > >, 128>'; use assignment or value-initialization instead [-Wclass-memaccess] std::memset( array, 0, n_of_elements * sizeof( T ) ); ~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ In file included from ../../include/tbb/tbb_machine.h:117, from ../../include/tbb/atomic.h:32, from ../../include/tbb/enumerable_thread_specific.h:24, from ../../src/test/test_enumerable_thread_specific.cpp:24: ../../include/tbb/tbb_stddef.h:257:8: note: 'struct tbb::internal::padded > >, 128>' declared here struct padded : padded_base {}; ^~~~~~ In file included from ../../include/tbb/enumerable_thread_specific.h:25, from ../../src/test/test_enumerable_thread_specific.cpp:24: ../../include/tbb/concurrent_vector.h: In instantiation of 'void tbb::internal::handle_unconstructed_elements(T*, std::size_t) [with T = tbb::internal::padded, 128>; std::size_t = long unsigned int]': ../../include/tbb/concurrent_vector.h:1123:56: required from 'tbb::concurrent_vector::internal_loop_guide::~internal_loop_guide() [with T = tbb::internal::padded, 128>; A = tbb::cache_aligned_allocator, 128> >]' ../../include/tbb/concurrent_vector.h:1262:25: required from 'static void tbb::concurrent_vector::initialize_array(void*, const void*, tbb::concurrent_vector::size_type) [with T = tbb::internal::padded, 128>; A = tbb::cache_aligned_allocator, 128> >; tbb::concurrent_vector::size_type = long unsigned int]' ../../include/tbb/concurrent_vector.h:780:76: required from 'tbb::concurrent_vector::iterator tbb::concurrent_vector::grow_by(tbb::concurrent_vector::size_type) [with T = tbb::internal::padded, 128>; A = tbb::cache_aligned_allocator, 128> >; tbb::concurrent_vector::iterator = tbb::internal::vector_iterator, 128>, tbb::cache_aligned_allocator, 128> > >, tbb::internal::padded, 128> >; tbb::concurrent_vector::size_type = long unsigned int]' ../../include/tbb/enumerable_thread_specific.h:804:36: required from 'static void* tbb::interface6::enumerable_thread_specific::create_local_by_copy(tbb::interface6::internal::ets_base<(tbb::ets_key_usage_type)1>&, void*) [with T = ThrowingConstructor; Allocator = tbb::cache_aligned_allocator; tbb::ets_key_usage_type ETS_key_type = (tbb::ets_key_usage_type)0]' ../../include/tbb/enumerable_thread_specific.h:948:13: required from 'void tbb::interface6::enumerable_thread_specific::internal_copy(const tbb::interface6::enumerable_thread_specific&) [with A2 = tbb::cache_aligned_allocator; tbb::ets_key_usage_type C2 = (tbb::ets_key_usage_type)1; T = ThrowingConstructor; Allocator = tbb::cache_aligned_allocator; tbb::ets_key_usage_type ETS_key_type = (tbb::ets_key_usage_type)0]' ../../include/tbb/enumerable_thread_specific.h:987:13: required from 'tbb::interface6::enumerable_thread_specific::enumerable_thread_specific(const tbb::interface6::enumerable_thread_specific&) [with Alloc = tbb::cache_aligned_allocator; tbb::ets_key_usage_type Cachetype = (tbb::ets_key_usage_type)1; T = ThrowingConstructor; Allocator = tbb::cache_aligned_allocator; tbb::ets_key_usage_type ETS_key_type = (tbb::ets_key_usage_type)0]' ../../src/test/test_enumerable_thread_specific.cpp:415:33: required from 'void run_parallel_scalar_tests_nocombine(const char*, const char*) [with T = ThrowingConstructor; Allocator = tbb::cache_aligned_allocator]' ../../src/test/test_enumerable_thread_specific.cpp:494:61: required from 'void run_parallel_scalar_tests(const char*, const char*) [with T = ThrowingConstructor; Allocator = tbb::cache_aligned_allocator]' ../../src/test/test_enumerable_thread_specific.cpp:808:62: required from 'void run_parallel_tests(const char*) [with Allocator = tbb::cache_aligned_allocator]' ../../src/test/test_enumerable_thread_specific.cpp:1365:88: required from here ../../include/tbb/concurrent_vector.h:77:20: warning: 'void* memset(void*, int, size_t)' clearing an object of non-trivial type 'struct tbb::internal::padded, 128>'; use assignment or value-initialization instead [-Wclass-memaccess] std::memset( array, 0, n_of_elements * sizeof( T ) ); ~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ In file included from ../../include/tbb/tbb_machine.h:117, from ../../include/tbb/atomic.h:32, from ../../include/tbb/enumerable_thread_specific.h:24, from ../../src/test/test_enumerable_thread_specific.cpp:24: ../../include/tbb/tbb_stddef.h:257:8: note: 'struct tbb::internal::padded, 128>' declared here struct padded : padded_base {}; ^~~~~~ In file included from ../../include/tbb/enumerable_thread_specific.h:25, from ../../src/test/test_enumerable_thread_specific.cpp:24: ../../include/tbb/concurrent_vector.h: In instantiation of 'void tbb::internal::handle_unconstructed_elements(T*, std::size_t) [with T = tbb::internal::padded, 128>; std::size_t = long unsigned int]': ../../include/tbb/concurrent_vector.h:1123:56: required from 'tbb::concurrent_vector::internal_loop_guide::~internal_loop_guide() [with T = tbb::internal::padded, 128>; A = tbb::tbb_allocator, 128> >]' ../../include/tbb/concurrent_vector.h:1262:25: required from 'static void tbb::concurrent_vector::initialize_array(void*, const void*, tbb::concurrent_vector::size_type) [with T = tbb::internal::padded, 128>; A = tbb::tbb_allocator, 128> >; tbb::concurrent_vector::size_type = long unsigned int]' ../../include/tbb/concurrent_vector.h:780:76: required from 'tbb::concurrent_vector::iterator tbb::concurrent_vector::grow_by(tbb::concurrent_vector::size_type) [with T = tbb::internal::padded, 128>; A = tbb::tbb_allocator, 128> >; tbb::concurrent_vector::iterator = tbb::internal::vector_iterator, 128>, tbb::tbb_allocator, 128> > >, tbb::internal::padded, 128> >; tbb::concurrent_vector::size_type = long unsigned int]' ../../include/tbb/enumerable_thread_specific.h:797:36: required from 'void* tbb::interface6::enumerable_thread_specific::create_local() [with T = HasNoDefaultConstructor; Allocator = tbb::tbb_allocator; tbb::ets_key_usage_type ETS_key_type = (tbb::ets_key_usage_type)1]' ../../include/tbb/enumerable_thread_specific.h:796:15: required from here ../../include/tbb/concurrent_vector.h:77:20: warning: 'void* memset(void*, int, size_t)' clearing an object of non-trivial type 'struct tbb::internal::padded, 128>'; use assignment or value-initialization instead [-Wclass-memaccess] std::memset( array, 0, n_of_elements * sizeof( T ) ); ~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ In file included from ../../include/tbb/tbb_machine.h:117, from ../../include/tbb/atomic.h:32, from ../../include/tbb/enumerable_thread_specific.h:24, from ../../src/test/test_enumerable_thread_specific.cpp:24: ../../include/tbb/tbb_stddef.h:257:8: note: 'struct tbb::internal::padded, 128>' declared here struct padded : padded_base {}; ^~~~~~ In file included from ../../include/tbb/enumerable_thread_specific.h:25, from ../../src/test/test_enumerable_thread_specific.cpp:24: ../../include/tbb/concurrent_vector.h: In instantiation of 'void tbb::internal::handle_unconstructed_elements(T*, std::size_t) [with T = tbb::internal::padded, 128>; std::size_t = long unsigned int]': ../../include/tbb/concurrent_vector.h:1123:56: required from 'tbb::concurrent_vector::internal_loop_guide::~internal_loop_guide() [with T = tbb::internal::padded, 128>; A = tbb::tbb_allocator, 128> >]' ../../include/tbb/concurrent_vector.h:1262:25: required from 'static void tbb::concurrent_vector::initialize_array(void*, const void*, tbb::concurrent_vector::size_type) [with T = tbb::internal::padded, 128>; A = tbb::tbb_allocator, 128> >; tbb::concurrent_vector::size_type = long unsigned int]' ../../include/tbb/concurrent_vector.h:780:76: required from 'tbb::concurrent_vector::iterator tbb::concurrent_vector::grow_by(tbb::concurrent_vector::size_type) [with T = tbb::internal::padded, 128>; A = tbb::tbb_allocator, 128> >; tbb::concurrent_vector::iterator = tbb::internal::vector_iterator, 128>, tbb::tbb_allocator, 128> > >, tbb::internal::padded, 128> >; tbb::concurrent_vector::size_type = long unsigned int]' ../../include/tbb/enumerable_thread_specific.h:797:36: required from 'void* tbb::interface6::enumerable_thread_specific::create_local() [with T = NoCopy; Allocator = tbb::tbb_allocator; tbb::ets_key_usage_type ETS_key_type = (tbb::ets_key_usage_type)1]' ../../include/tbb/enumerable_thread_specific.h:796:15: required from here ../../include/tbb/concurrent_vector.h:77:20: warning: 'void* memset(void*, int, size_t)' clearing an object of non-trivial type 'struct tbb::internal::padded, 128>'; use assignment or value-initialization instead [-Wclass-memaccess] std::memset( array, 0, n_of_elements * sizeof( T ) ); ~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ In file included from ../../include/tbb/tbb_machine.h:117, from ../../include/tbb/atomic.h:32, from ../../include/tbb/enumerable_thread_specific.h:24, from ../../src/test/test_enumerable_thread_specific.cpp:24: ../../include/tbb/tbb_stddef.h:257:8: note: 'struct tbb::internal::padded, 128>' declared here struct padded : padded_base {}; ^~~~~~ g++ -o test_enumerable_thread_specific.exe -O2 -g -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -fexceptions -fstack-protector-strong -grecord-gcc-switches -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -mcpu=power8 -mtune=power8 -funwind-tables -fstack-clash-protection -DTBB_USE_DEBUG -g -O0 -DUSE_PTHREAD -DTEST_USES_TBB=1 -Wall -Wshadow -Wcast-qual -Woverloaded-virtual -Wnon-virtual-dtor -Wextra -O2 -g -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -fexceptions -fstack-protector-strong -grecord-gcc-switches -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -mcpu=power8 -mtune=power8 -funwind-tables -fstack-clash-protection test_enumerable_thread_specific.o libtbb_debug.so -lpthread -lrt -Wl,-rpath-link=. -rdynamic g++ -o test_handle_perror.o -c -MMD -O2 -g -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -fexceptions -fstack-protector-strong -grecord-gcc-switches -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -mcpu=power8 -mtune=power8 -funwind-tables -fstack-clash-protection -DTBB_USE_DEBUG -g -O0 -DUSE_PTHREAD -DTEST_USES_TBB=1 -Wall -Wshadow -Wcast-qual -Woverloaded-virtual -Wnon-virtual-dtor -Wextra -O2 -g -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -fexceptions -fstack-protector-strong -grecord-gcc-switches -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -mcpu=power8 -mtune=power8 -funwind-tables -fstack-clash-protection -std=c++14 -I../../src -I../../src/rml/include -I../../include -I. -include ../../src/test/harness_preload.h ../../src/test/test_handle_perror.cpp In file included from ../../include/tbb/tbb_machine.h:243, from ../../src/test/../tbb/tbb_misc.h:25, from ../../src/test/test_handle_perror.cpp:27: ../../include/tbb/machine/mac_ppc.h: In function 'int32_t __TBB_machine_cmpswp4(volatile void*, int32_t, int32_t)': ../../include/tbb/machine/mac_ppc.h:91:46: warning: cast from type 'volatile void*' to type 'int32_t*' {aka 'int*'} casts away qualifiers [-Wcast-qual] , "+m"(* (int32_t*) ptr) /* redundant with "memory" */ ^~~ ../../include/tbb/machine/mac_ppc.h: In function 'int64_t __TBB_machine_cmpswp8(volatile void*, int64_t, int64_t)': ../../include/tbb/machine/mac_ppc.h:116:46: warning: cast from type 'volatile void*' to type 'int64_t*' {aka 'long int*'} casts away qualifiers [-Wcast-qual] , "+m"(* (int64_t*) ptr) /* redundant with "memory" */ ^~~ g++ -o test_handle_perror.exe -O2 -g -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -fexceptions -fstack-protector-strong -grecord-gcc-switches -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -mcpu=power8 -mtune=power8 -funwind-tables -fstack-clash-protection -DTBB_USE_DEBUG -g -O0 -DUSE_PTHREAD -DTEST_USES_TBB=1 -Wall -Wshadow -Wcast-qual -Woverloaded-virtual -Wnon-virtual-dtor -Wextra -O2 -g -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -fexceptions -fstack-protector-strong -grecord-gcc-switches -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -mcpu=power8 -mtune=power8 -funwind-tables -fstack-clash-protection test_handle_perror.o libtbb_debug.so -lpthread -lrt -Wl,-rpath-link=. -rdynamic g++ -o test_halt.o -c -MMD -O2 -g -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -fexceptions -fstack-protector-strong -grecord-gcc-switches -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -mcpu=power8 -mtune=power8 -funwind-tables -fstack-clash-protection -DTBB_USE_DEBUG -g -O0 -DUSE_PTHREAD -DTEST_USES_TBB=1 -Wall -Wshadow -Wcast-qual -Woverloaded-virtual -Wnon-virtual-dtor -Wextra -O2 -g -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -fexceptions -fstack-protector-strong -grecord-gcc-switches -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -mcpu=power8 -mtune=power8 -funwind-tables -fstack-clash-protection -std=c++14 -I../../src -I../../src/rml/include -I../../include -I. -include ../../src/test/harness_preload.h ../../src/test/test_halt.cpp In file included from ../../include/tbb/tbb_machine.h:243, from ../../include/tbb/task.h:25, from ../../src/test/test_halt.cpp:29: ../../include/tbb/machine/mac_ppc.h: In function 'int32_t __TBB_machine_cmpswp4(volatile void*, int32_t, int32_t)': ../../include/tbb/machine/mac_ppc.h:91:46: warning: cast from type 'volatile void*' to type 'int32_t*' {aka 'int*'} casts away qualifiers [-Wcast-qual] , "+m"(* (int32_t*) ptr) /* redundant with "memory" */ ^~~ ../../include/tbb/machine/mac_ppc.h: In function 'int64_t __TBB_machine_cmpswp8(volatile void*, int64_t, int64_t)': ../../include/tbb/machine/mac_ppc.h:116:46: warning: cast from type 'volatile void*' to type 'int64_t*' {aka 'long int*'} casts away qualifiers [-Wcast-qual] , "+m"(* (int64_t*) ptr) /* redundant with "memory" */ ^~~ g++ -o test_halt.exe -O2 -g -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -fexceptions -fstack-protector-strong -grecord-gcc-switches -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -mcpu=power8 -mtune=power8 -funwind-tables -fstack-clash-protection -DTBB_USE_DEBUG -g -O0 -DUSE_PTHREAD -DTEST_USES_TBB=1 -Wall -Wshadow -Wcast-qual -Woverloaded-virtual -Wnon-virtual-dtor -Wextra -O2 -g -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -fexceptions -fstack-protector-strong -grecord-gcc-switches -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -mcpu=power8 -mtune=power8 -funwind-tables -fstack-clash-protection test_halt.o libtbb_debug.so -lpthread -lrt -Wl,-rpath-link=. -rdynamic g++ -o test_mutex.o -c -MMD -O2 -g -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -fexceptions -fstack-protector-strong -grecord-gcc-switches -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -mcpu=power8 -mtune=power8 -funwind-tables -fstack-clash-protection -DTBB_USE_DEBUG -g -O0 -DUSE_PTHREAD -DTEST_USES_TBB=1 -Wall -Wshadow -Wcast-qual -Woverloaded-virtual -Wnon-virtual-dtor -Wextra -O2 -g -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -fexceptions -fstack-protector-strong -grecord-gcc-switches -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -mcpu=power8 -mtune=power8 -funwind-tables -fstack-clash-protection -std=c++14 -I../../src -I../../src/rml/include -I../../include -I. -include ../../src/test/harness_preload.h ../../src/test/test_mutex.cpp In file included from ../../include/tbb/tbb_machine.h:243, from ../../include/tbb/aligned_space.h:25, from ../../include/tbb/spin_mutex.h:26, from ../../src/test/test_mutex.cpp:31: ../../include/tbb/machine/mac_ppc.h: In function 'int32_t __TBB_machine_cmpswp4(volatile void*, int32_t, int32_t)': ../../include/tbb/machine/mac_ppc.h:91:46: warning: cast from type 'volatile void*' to type 'int32_t*' {aka 'int*'} casts away qualifiers [-Wcast-qual] , "+m"(* (int32_t*) ptr) /* redundant with "memory" */ ^~~ ../../include/tbb/machine/mac_ppc.h: In function 'int64_t __TBB_machine_cmpswp8(volatile void*, int64_t, int64_t)': ../../include/tbb/machine/mac_ppc.h:116:46: warning: cast from type 'volatile void*' to type 'int64_t*' {aka 'long int*'} casts away qualifiers [-Wcast-qual] , "+m"(* (int64_t*) ptr) /* redundant with "memory" */ ^~~ g++ -o test_mutex.exe -O2 -g -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -fexceptions -fstack-protector-strong -grecord-gcc-switches -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -mcpu=power8 -mtune=power8 -funwind-tables -fstack-clash-protection -DTBB_USE_DEBUG -g -O0 -DUSE_PTHREAD -DTEST_USES_TBB=1 -Wall -Wshadow -Wcast-qual -Woverloaded-virtual -Wnon-virtual-dtor -Wextra -O2 -g -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -fexceptions -fstack-protector-strong -grecord-gcc-switches -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -mcpu=power8 -mtune=power8 -funwind-tables -fstack-clash-protection test_mutex.o libtbb_debug.so -lpthread -lrt -Wl,-rpath-link=. -rdynamic g++ -o test_mutex_native_threads.o -c -MMD -O2 -g -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -fexceptions -fstack-protector-strong -grecord-gcc-switches -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -mcpu=power8 -mtune=power8 -funwind-tables -fstack-clash-protection -DTBB_USE_DEBUG -g -O0 -DUSE_PTHREAD -DTEST_USES_TBB=1 -Wall -Wshadow -Wcast-qual -Woverloaded-virtual -Wnon-virtual-dtor -Wextra -O2 -g -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -fexceptions -fstack-protector-strong -grecord-gcc-switches -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -mcpu=power8 -mtune=power8 -funwind-tables -fstack-clash-protection -std=c++14 -I../../src -I../../src/rml/include -I../../include -I. -include ../../src/test/harness_preload.h ../../src/test/test_mutex_native_threads.cpp In file included from ../../include/tbb/tbb_machine.h:243, from ../../include/tbb/aligned_space.h:25, from ../../include/tbb/spin_mutex.h:26, from ../../src/test/test_mutex_native_threads.cpp:21: ../../include/tbb/machine/mac_ppc.h: In function 'int32_t __TBB_machine_cmpswp4(volatile void*, int32_t, int32_t)': ../../include/tbb/machine/mac_ppc.h:91:46: warning: cast from type 'volatile void*' to type 'int32_t*' {aka 'int*'} casts away qualifiers [-Wcast-qual] , "+m"(* (int32_t*) ptr) /* redundant with "memory" */ ^~~ ../../include/tbb/machine/mac_ppc.h: In function 'int64_t __TBB_machine_cmpswp8(volatile void*, int64_t, int64_t)': ../../include/tbb/machine/mac_ppc.h:116:46: warning: cast from type 'volatile void*' to type 'int64_t*' {aka 'long int*'} casts away qualifiers [-Wcast-qual] , "+m"(* (int64_t*) ptr) /* redundant with "memory" */ ^~~ g++ -o test_mutex_native_threads.exe -O2 -g -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -fexceptions -fstack-protector-strong -grecord-gcc-switches -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -mcpu=power8 -mtune=power8 -funwind-tables -fstack-clash-protection -DTBB_USE_DEBUG -g -O0 -DUSE_PTHREAD -DTEST_USES_TBB=1 -Wall -Wshadow -Wcast-qual -Woverloaded-virtual -Wnon-virtual-dtor -Wextra -O2 -g -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -fexceptions -fstack-protector-strong -grecord-gcc-switches -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -mcpu=power8 -mtune=power8 -funwind-tables -fstack-clash-protection test_mutex_native_threads.o libtbb_debug.so -lpthread -lrt -Wl,-rpath-link=. -rdynamic g++ -o test_rwm_upgrade_downgrade.o -c -MMD -O2 -g -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -fexceptions -fstack-protector-strong -grecord-gcc-switches -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -mcpu=power8 -mtune=power8 -funwind-tables -fstack-clash-protection -DTBB_USE_DEBUG -g -O0 -DUSE_PTHREAD -DTEST_USES_TBB=1 -Wall -Wshadow -Wcast-qual -Woverloaded-virtual -Wnon-virtual-dtor -Wextra -O2 -g -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -fexceptions -fstack-protector-strong -grecord-gcc-switches -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -mcpu=power8 -mtune=power8 -funwind-tables -fstack-clash-protection -std=c++14 -I../../src -I../../src/rml/include -I../../include -I. -include ../../src/test/harness_preload.h ../../src/test/test_rwm_upgrade_downgrade.cpp In file included from ../../include/tbb/tbb_machine.h:243, from ../../include/tbb/atomic.h:32, from ../../include/tbb/queuing_rw_mutex.h:25, from ../../src/test/test_rwm_upgrade_downgrade.cpp:24: ../../include/tbb/machine/mac_ppc.h: In function 'int32_t __TBB_machine_cmpswp4(volatile void*, int32_t, int32_t)': ../../include/tbb/machine/mac_ppc.h:91:46: warning: cast from type 'volatile void*' to type 'int32_t*' {aka 'int*'} casts away qualifiers [-Wcast-qual] , "+m"(* (int32_t*) ptr) /* redundant with "memory" */ ^~~ ../../include/tbb/machine/mac_ppc.h: In function 'int64_t __TBB_machine_cmpswp8(volatile void*, int64_t, int64_t)': ../../include/tbb/machine/mac_ppc.h:116:46: warning: cast from type 'volatile void*' to type 'int64_t*' {aka 'long int*'} casts away qualifiers [-Wcast-qual] , "+m"(* (int64_t*) ptr) /* redundant with "memory" */ ^~~ g++ -o test_rwm_upgrade_downgrade.exe -O2 -g -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -fexceptions -fstack-protector-strong -grecord-gcc-switches -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -mcpu=power8 -mtune=power8 -funwind-tables -fstack-clash-protection -DTBB_USE_DEBUG -g -O0 -DUSE_PTHREAD -DTEST_USES_TBB=1 -Wall -Wshadow -Wcast-qual -Woverloaded-virtual -Wnon-virtual-dtor -Wextra -O2 -g -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -fexceptions -fstack-protector-strong -grecord-gcc-switches -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -mcpu=power8 -mtune=power8 -funwind-tables -fstack-clash-protection test_rwm_upgrade_downgrade.o libtbb_debug.so -lpthread -lrt -Wl,-rpath-link=. -rdynamic g++ -o test_cache_aligned_allocator.o -c -MMD -O2 -g -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -fexceptions -fstack-protector-strong -grecord-gcc-switches -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -mcpu=power8 -mtune=power8 -funwind-tables -fstack-clash-protection -DTBB_USE_DEBUG -g -O0 -DUSE_PTHREAD -DTEST_USES_TBB=1 -Wall -Wshadow -Wcast-qual -Woverloaded-virtual -Wnon-virtual-dtor -Wextra -O2 -g -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -fexceptions -fstack-protector-strong -grecord-gcc-switches -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -mcpu=power8 -mtune=power8 -funwind-tables -fstack-clash-protection -std=c++14 -I../../src -I../../src/rml/include -I../../include -I. -include ../../src/test/harness_preload.h ../../src/test/test_cache_aligned_allocator.cpp ../../src/test/test_cache_aligned_allocator.cpp: In function 'void Test_NFS_Allocate_Throws()': ../../src/test/test_cache_aligned_allocator.cpp:57:19: warning: catching polymorphic type 'class std::bad_alloc' by value [-Wcatch-value=] } catch( std::bad_alloc ) { ^~~~~~~~~ In file included from ../../src/test/test_cache_aligned_allocator.cpp:28: ../../src/test/test_allocator.h: In instantiation of 'void TestBasic(A&) [with T = Foo; A = tbb::cache_aligned_allocator >]': ../../src/test/test_allocator.h:256:17: required from 'void Test(A&) [with U = Foo; A = tbb::cache_aligned_allocator >]' ../../src/test/test_allocator.h:272:23: required from 'int TestMain(const Allocator&) [with Allocator = tbb::cache_aligned_allocator]' ../../src/test/test_cache_aligned_allocator.cpp:74:64: required from here ../../src/test/test_allocator.h:174:7: warning: catching polymorphic type 'class std::bad_alloc' by value [-Wcatch-value=] } catch ( std::bad_alloc ) { ^~~~~ ../../src/test/test_allocator.h: In instantiation of 'void TestBasic(A&) [with T = Foo; A = tbb::cache_aligned_allocator >]': ../../src/test/test_allocator.h:257:38: required from 'void Test(A&) [with U = Foo; A = tbb::cache_aligned_allocator >]' ../../src/test/test_allocator.h:272:23: required from 'int TestMain(const Allocator&) [with Allocator = tbb::cache_aligned_allocator]' ../../src/test/test_cache_aligned_allocator.cpp:74:64: required from here ../../src/test/test_allocator.h:174:7: warning: catching polymorphic type 'class std::bad_alloc' by value [-Wcatch-value=] ../../src/test/test_allocator.h: In instantiation of 'void TestBasic(A&) [with T = Foo; A = tbb::cache_aligned_allocator >]': ../../src/test/test_allocator.h:256:17: required from 'void Test(A&) [with U = Foo; A = tbb::cache_aligned_allocator >]' ../../src/test/test_allocator.h:273:25: required from 'int TestMain(const Allocator&) [with Allocator = tbb::cache_aligned_allocator]' ../../src/test/test_cache_aligned_allocator.cpp:74:64: required from here ../../src/test/test_allocator.h:174:7: warning: catching polymorphic type 'class std::bad_alloc' by value [-Wcatch-value=] ../../src/test/test_allocator.h: In instantiation of 'void TestBasic(A&) [with T = Foo; A = tbb::cache_aligned_allocator >]': ../../src/test/test_allocator.h:257:38: required from 'void Test(A&) [with U = Foo; A = tbb::cache_aligned_allocator >]' ../../src/test/test_allocator.h:273:25: required from 'int TestMain(const Allocator&) [with Allocator = tbb::cache_aligned_allocator]' ../../src/test/test_cache_aligned_allocator.cpp:74:64: required from here ../../src/test/test_allocator.h:174:7: warning: catching polymorphic type 'class std::bad_alloc' by value [-Wcatch-value=] ../../src/test/test_allocator.h: In instantiation of 'void TestBasic(A&) [with T = Foo; A = tbb::tbb_allocator >]': ../../src/test/test_allocator.h:256:17: required from 'void Test(A&) [with U = Foo; A = tbb::tbb_allocator >]' ../../src/test/test_allocator.h:272:23: required from 'int TestMain(const Allocator&) [with Allocator = tbb::tbb_allocator]' ../../src/test/test_cache_aligned_allocator.cpp:75:51: required from here ../../src/test/test_allocator.h:174:7: warning: catching polymorphic type 'class std::bad_alloc' by value [-Wcatch-value=] ../../src/test/test_allocator.h: In instantiation of 'void TestBasic(A&) [with T = Foo; A = tbb::tbb_allocator >]': ../../src/test/test_allocator.h:257:38: required from 'void Test(A&) [with U = Foo; A = tbb::tbb_allocator >]' ../../src/test/test_allocator.h:272:23: required from 'int TestMain(const Allocator&) [with Allocator = tbb::tbb_allocator]' ../../src/test/test_cache_aligned_allocator.cpp:75:51: required from here ../../src/test/test_allocator.h:174:7: warning: catching polymorphic type 'class std::bad_alloc' by value [-Wcatch-value=] ../../src/test/test_allocator.h: In instantiation of 'void TestBasic(A&) [with T = Foo; A = tbb::tbb_allocator >]': ../../src/test/test_allocator.h:256:17: required from 'void Test(A&) [with U = Foo; A = tbb::tbb_allocator >]' ../../src/test/test_allocator.h:273:25: required from 'int TestMain(const Allocator&) [with Allocator = tbb::tbb_allocator]' ../../src/test/test_cache_aligned_allocator.cpp:75:51: required from here ../../src/test/test_allocator.h:174:7: warning: catching polymorphic type 'class std::bad_alloc' by value [-Wcatch-value=] ../../src/test/test_allocator.h: In instantiation of 'void TestBasic(A&) [with T = Foo; A = tbb::tbb_allocator >]': ../../src/test/test_allocator.h:257:38: required from 'void Test(A&) [with U = Foo; A = tbb::tbb_allocator >]' ../../src/test/test_allocator.h:273:25: required from 'int TestMain(const Allocator&) [with Allocator = tbb::tbb_allocator]' ../../src/test/test_cache_aligned_allocator.cpp:75:51: required from here ../../src/test/test_allocator.h:174:7: warning: catching polymorphic type 'class std::bad_alloc' by value [-Wcatch-value=] ../../src/test/test_allocator.h: In instantiation of 'void TestBasic(A&) [with T = Foo; A = tbb::zero_allocator, tbb::tbb_allocator>]': ../../src/test/test_allocator.h:256:17: required from 'void Test(A&) [with U = Foo; A = tbb::zero_allocator, tbb::tbb_allocator>]' ../../src/test/test_allocator.h:272:23: required from 'int TestMain(const Allocator&) [with Allocator = tbb::zero_allocator]' ../../src/test/test_cache_aligned_allocator.cpp:76:52: required from here ../../src/test/test_allocator.h:174:7: warning: catching polymorphic type 'class std::bad_alloc' by value [-Wcatch-value=] ../../src/test/test_allocator.h: In instantiation of 'void TestBasic(A&) [with T = Foo; A = tbb::zero_allocator, tbb::tbb_allocator>]': ../../src/test/test_allocator.h:257:38: required from 'void Test(A&) [with U = Foo; A = tbb::zero_allocator, tbb::tbb_allocator>]' ../../src/test/test_allocator.h:272:23: required from 'int TestMain(const Allocator&) [with Allocator = tbb::zero_allocator]' ../../src/test/test_cache_aligned_allocator.cpp:76:52: required from here ../../src/test/test_allocator.h:174:7: warning: catching polymorphic type 'class std::bad_alloc' by value [-Wcatch-value=] ../../src/test/test_allocator.h: In instantiation of 'void TestBasic(A&) [with T = Foo; A = tbb::zero_allocator, tbb::tbb_allocator>]': ../../src/test/test_allocator.h:256:17: required from 'void Test(A&) [with U = Foo; A = tbb::zero_allocator, tbb::tbb_allocator>]' ../../src/test/test_allocator.h:273:25: required from 'int TestMain(const Allocator&) [with Allocator = tbb::zero_allocator]' ../../src/test/test_cache_aligned_allocator.cpp:76:52: required from here ../../src/test/test_allocator.h:174:7: warning: catching polymorphic type 'class std::bad_alloc' by value [-Wcatch-value=] ../../src/test/test_allocator.h: In instantiation of 'void TestBasic(A&) [with T = Foo; A = tbb::zero_allocator, tbb::tbb_allocator>]': ../../src/test/test_allocator.h:257:38: required from 'void Test(A&) [with U = Foo; A = tbb::zero_allocator, tbb::tbb_allocator>]' ../../src/test/test_allocator.h:273:25: required from 'int TestMain(const Allocator&) [with Allocator = tbb::zero_allocator]' ../../src/test/test_cache_aligned_allocator.cpp:76:52: required from here ../../src/test/test_allocator.h:174:7: warning: catching polymorphic type 'class std::bad_alloc' by value [-Wcatch-value=] In file included from ../../src/test/test_cache_aligned_allocator.cpp:24: ../../include/tbb/tbb_allocator.h: In instantiation of 'tbb::zero_allocator::pointer tbb::zero_allocator::allocate(tbb::zero_allocator::size_type, const void*) [with T = Foo; Allocator = tbb::tbb_allocator; tbb::zero_allocator::pointer = Foo*; tbb::zero_allocator::size_type = long unsigned int]': ../../src/test/test_allocator.h:126:24: required from 'void TestBasic(A&) [with T = Foo; A = tbb::zero_allocator, tbb::tbb_allocator>]' ../../src/test/test_allocator.h:256:17: required from 'void Test(A&) [with U = Foo; A = tbb::zero_allocator, tbb::tbb_allocator>]' ../../src/test/test_allocator.h:272:23: required from 'int TestMain(const Allocator&) [with Allocator = tbb::zero_allocator]' ../../src/test/test_cache_aligned_allocator.cpp:76:52: required from here ../../include/tbb/tbb_allocator.h:177:20: warning: 'void* memset(void*, int, size_t)' clearing an object of non-trivial type 'tbb::tbb_allocator >::value_type' {aka 'struct Foo'}; use assignment or value-initialization instead [-Wclass-memaccess] std::memset( ptr, 0, n * sizeof(value_type) ); ~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ In file included from ../../src/test/test_cache_aligned_allocator.cpp:28: ../../src/test/test_allocator.h:43:8: note: 'tbb::tbb_allocator >::value_type' {aka 'struct Foo'} declared here struct Foo { ^~~ In file included from ../../src/test/test_cache_aligned_allocator.cpp:24: ../../include/tbb/tbb_allocator.h: In instantiation of 'tbb::zero_allocator::pointer tbb::zero_allocator::allocate(tbb::zero_allocator::size_type, const void*) [with T = std::pair, Foo >; Allocator = tbb::tbb_allocator; tbb::zero_allocator::pointer = std::pair, Foo >*; tbb::zero_allocator::size_type = long unsigned int]': ../../src/test/test_allocator.h:186:47: required from 'void TestBasic(A&) [with T = Foo; A = tbb::zero_allocator, tbb::tbb_allocator>]' ../../src/test/test_allocator.h:256:17: required from 'void Test(A&) [with U = Foo; A = tbb::zero_allocator, tbb::tbb_allocator>]' ../../src/test/test_allocator.h:272:23: required from 'int TestMain(const Allocator&) [with Allocator = tbb::zero_allocator]' ../../src/test/test_cache_aligned_allocator.cpp:76:52: required from here ../../include/tbb/tbb_allocator.h:177:20: warning: 'void* memset(void*, int, size_t)' clearing an object of type 'tbb::tbb_allocator, Foo > >::value_type' {aka 'struct std::pair, Foo >'} with no trivial copy-assignment; use assignment instead [-Wclass-memaccess] std::memset( ptr, 0, n * sizeof(value_type) ); ~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ In file included from /usr/include/c++/8/bits/stl_algobase.h:64, from /usr/include/c++/8/memory:62, from ../../include/tbb/tbb_stddef.h:427, from ../../include/tbb/cache_aligned_allocator.h:25, from ../../src/test/test_cache_aligned_allocator.cpp:23: /usr/include/c++/8/bits/stl_pair.h:198:12: note: 'tbb::tbb_allocator, Foo > >::value_type' {aka 'struct std::pair, Foo >'} declared here struct pair ^~~~ In file included from ../../src/test/test_cache_aligned_allocator.cpp:24: ../../include/tbb/tbb_allocator.h: In instantiation of 'tbb::zero_allocator::pointer tbb::zero_allocator::allocate(tbb::zero_allocator::size_type, const void*) [with T = Foo; Allocator = tbb::tbb_allocator; tbb::zero_allocator::pointer = Foo*; tbb::zero_allocator::size_type = long unsigned int]': ../../src/test/test_allocator.h:126:24: required from 'void TestBasic(A&) [with T = Foo; A = tbb::zero_allocator, tbb::tbb_allocator>]' ../../src/test/test_allocator.h:257:38: required from 'void Test(A&) [with U = Foo; A = tbb::zero_allocator, tbb::tbb_allocator>]' ../../src/test/test_allocator.h:272:23: required from 'int TestMain(const Allocator&) [with Allocator = tbb::zero_allocator]' ../../src/test/test_cache_aligned_allocator.cpp:76:52: required from here ../../include/tbb/tbb_allocator.h:177:20: warning: 'void* memset(void*, int, size_t)' clearing an object of non-trivial type 'tbb::tbb_allocator >::value_type' {aka 'struct Foo'}; use assignment or value-initialization instead [-Wclass-memaccess] std::memset( ptr, 0, n * sizeof(value_type) ); ~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ In file included from ../../src/test/test_cache_aligned_allocator.cpp:28: ../../src/test/test_allocator.h:43:8: note: 'tbb::tbb_allocator >::value_type' {aka 'struct Foo'} declared here struct Foo { ^~~ In file included from ../../src/test/test_cache_aligned_allocator.cpp:24: ../../include/tbb/tbb_allocator.h: In instantiation of 'tbb::zero_allocator::pointer tbb::zero_allocator::allocate(tbb::zero_allocator::size_type, const void*) [with T = std::pair, Foo >; Allocator = tbb::tbb_allocator; tbb::zero_allocator::pointer = std::pair, Foo >*; tbb::zero_allocator::size_type = long unsigned int]': ../../src/test/test_allocator.h:186:47: required from 'void TestBasic(A&) [with T = Foo; A = tbb::zero_allocator, tbb::tbb_allocator>]' ../../src/test/test_allocator.h:257:38: required from 'void Test(A&) [with U = Foo; A = tbb::zero_allocator, tbb::tbb_allocator>]' ../../src/test/test_allocator.h:272:23: required from 'int TestMain(const Allocator&) [with Allocator = tbb::zero_allocator]' ../../src/test/test_cache_aligned_allocator.cpp:76:52: required from here ../../include/tbb/tbb_allocator.h:177:20: warning: 'void* memset(void*, int, size_t)' clearing an object of type 'tbb::tbb_allocator, Foo > >::value_type' {aka 'struct std::pair, Foo >'} with no trivial copy-assignment; use assignment instead [-Wclass-memaccess] std::memset( ptr, 0, n * sizeof(value_type) ); ~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ In file included from /usr/include/c++/8/bits/stl_algobase.h:64, from /usr/include/c++/8/memory:62, from ../../include/tbb/tbb_stddef.h:427, from ../../include/tbb/cache_aligned_allocator.h:25, from ../../src/test/test_cache_aligned_allocator.cpp:23: /usr/include/c++/8/bits/stl_pair.h:198:12: note: 'tbb::tbb_allocator, Foo > >::value_type' {aka 'struct std::pair, Foo >'} declared here struct pair ^~~~ In file included from ../../src/test/test_cache_aligned_allocator.cpp:24: ../../include/tbb/tbb_allocator.h: In instantiation of 'tbb::zero_allocator::pointer tbb::zero_allocator::allocate(tbb::zero_allocator::size_type, const void*) [with T = Foo; Allocator = tbb::tbb_allocator; tbb::zero_allocator::pointer = Foo*; tbb::zero_allocator::size_type = long unsigned int]': ../../src/test/test_allocator.h:126:24: required from 'void TestBasic(A&) [with T = Foo; A = tbb::zero_allocator, tbb::tbb_allocator>]' ../../src/test/test_allocator.h:256:17: required from 'void Test(A&) [with U = Foo; A = tbb::zero_allocator, tbb::tbb_allocator>]' ../../src/test/test_allocator.h:273:25: required from 'int TestMain(const Allocator&) [with Allocator = tbb::zero_allocator]' ../../src/test/test_cache_aligned_allocator.cpp:76:52: required from here ../../include/tbb/tbb_allocator.h:177:20: warning: 'void* memset(void*, int, size_t)' clearing an object of non-trivial type 'tbb::tbb_allocator >::value_type' {aka 'struct Foo'}; use assignment or value-initialization instead [-Wclass-memaccess] std::memset( ptr, 0, n * sizeof(value_type) ); ~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ In file included from ../../src/test/test_cache_aligned_allocator.cpp:28: ../../src/test/test_allocator.h:43:8: note: 'tbb::tbb_allocator >::value_type' {aka 'struct Foo'} declared here struct Foo { ^~~ In file included from ../../src/test/test_cache_aligned_allocator.cpp:24: ../../include/tbb/tbb_allocator.h: In instantiation of 'tbb::zero_allocator::pointer tbb::zero_allocator::allocate(tbb::zero_allocator::size_type, const void*) [with T = std::pair, Foo >; Allocator = tbb::tbb_allocator; tbb::zero_allocator::pointer = std::pair, Foo >*; tbb::zero_allocator::size_type = long unsigned int]': ../../src/test/test_allocator.h:186:47: required from 'void TestBasic(A&) [with T = Foo; A = tbb::zero_allocator, tbb::tbb_allocator>]' ../../src/test/test_allocator.h:256:17: required from 'void Test(A&) [with U = Foo; A = tbb::zero_allocator, tbb::tbb_allocator>]' ../../src/test/test_allocator.h:273:25: required from 'int TestMain(const Allocator&) [with Allocator = tbb::zero_allocator]' ../../src/test/test_cache_aligned_allocator.cpp:76:52: required from here ../../include/tbb/tbb_allocator.h:177:20: warning: 'void* memset(void*, int, size_t)' clearing an object of type 'tbb::tbb_allocator, Foo > >::value_type' {aka 'struct std::pair, Foo >'} with no trivial copy-assignment; use assignment instead [-Wclass-memaccess] std::memset( ptr, 0, n * sizeof(value_type) ); ~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ In file included from /usr/include/c++/8/bits/stl_algobase.h:64, from /usr/include/c++/8/memory:62, from ../../include/tbb/tbb_stddef.h:427, from ../../include/tbb/cache_aligned_allocator.h:25, from ../../src/test/test_cache_aligned_allocator.cpp:23: /usr/include/c++/8/bits/stl_pair.h:198:12: note: 'tbb::tbb_allocator, Foo > >::value_type' {aka 'struct std::pair, Foo >'} declared here struct pair ^~~~ In file included from ../../src/test/test_cache_aligned_allocator.cpp:24: ../../include/tbb/tbb_allocator.h: In instantiation of 'tbb::zero_allocator::pointer tbb::zero_allocator::allocate(tbb::zero_allocator::size_type, const void*) [with T = Foo; Allocator = tbb::tbb_allocator; tbb::zero_allocator::pointer = Foo*; tbb::zero_allocator::size_type = long unsigned int]': ../../src/test/test_allocator.h:126:24: required from 'void TestBasic(A&) [with T = Foo; A = tbb::zero_allocator, tbb::tbb_allocator>]' ../../src/test/test_allocator.h:257:38: required from 'void Test(A&) [with U = Foo; A = tbb::zero_allocator, tbb::tbb_allocator>]' ../../src/test/test_allocator.h:273:25: required from 'int TestMain(const Allocator&) [with Allocator = tbb::zero_allocator]' ../../src/test/test_cache_aligned_allocator.cpp:76:52: required from here ../../include/tbb/tbb_allocator.h:177:20: warning: 'void* memset(void*, int, size_t)' clearing an object of non-trivial type 'tbb::tbb_allocator >::value_type' {aka 'struct Foo'}; use assignment or value-initialization instead [-Wclass-memaccess] std::memset( ptr, 0, n * sizeof(value_type) ); ~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ In file included from ../../src/test/test_cache_aligned_allocator.cpp:28: ../../src/test/test_allocator.h:43:8: note: 'tbb::tbb_allocator >::value_type' {aka 'struct Foo'} declared here struct Foo { ^~~ In file included from ../../src/test/test_cache_aligned_allocator.cpp:24: ../../include/tbb/tbb_allocator.h: In instantiation of 'tbb::zero_allocator::pointer tbb::zero_allocator::allocate(tbb::zero_allocator::size_type, const void*) [with T = std::pair, Foo >; Allocator = tbb::tbb_allocator; tbb::zero_allocator::pointer = std::pair, Foo >*; tbb::zero_allocator::size_type = long unsigned int]': ../../src/test/test_allocator.h:186:47: required from 'void TestBasic(A&) [with T = Foo; A = tbb::zero_allocator, tbb::tbb_allocator>]' ../../src/test/test_allocator.h:257:38: required from 'void Test(A&) [with U = Foo; A = tbb::zero_allocator, tbb::tbb_allocator>]' ../../src/test/test_allocator.h:273:25: required from 'int TestMain(const Allocator&) [with Allocator = tbb::zero_allocator]' ../../src/test/test_cache_aligned_allocator.cpp:76:52: required from here ../../include/tbb/tbb_allocator.h:177:20: warning: 'void* memset(void*, int, size_t)' clearing an object of type 'tbb::tbb_allocator, Foo > >::value_type' {aka 'struct std::pair, Foo >'} with no trivial copy-assignment; use assignment instead [-Wclass-memaccess] std::memset( ptr, 0, n * sizeof(value_type) ); ~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ In file included from /usr/include/c++/8/bits/stl_algobase.h:64, from /usr/include/c++/8/memory:62, from ../../include/tbb/tbb_stddef.h:427, from ../../include/tbb/cache_aligned_allocator.h:25, from ../../src/test/test_cache_aligned_allocator.cpp:23: /usr/include/c++/8/bits/stl_pair.h:198:12: note: 'tbb::tbb_allocator, Foo > >::value_type' {aka 'struct std::pair, Foo >'} declared here struct pair ^~~~ In file included from /usr/include/string.h:494, from /usr/include/c++/8/cstring:42, from ../../include/tbb/tbb_allocator.h:29, from ../../src/test/test_cache_aligned_allocator.cpp:24: In function 'void* memset(void*, int, size_t)', inlined from 'tbb::zero_allocator::pointer tbb::zero_allocator::allocate(tbb::zero_allocator::size_type, const void*) [with T = Foo; Allocator = tbb::tbb_allocator]' at ../../include/tbb/tbb_allocator.h:177:20, inlined from 'void TestBasic(A&) [with T = Foo; A = tbb::zero_allocator, tbb::tbb_allocator>]' at ../../src/test/test_allocator.h:173:12: /usr/include/bits/string_fortified.h:71:33: warning: 'void* __builtin_memset(void*, int, long unsigned int)' specified size 18446744073708503004 exceeds maximum object size 9223372036854775807 [-Wstringop-overflow=] return __builtin___memset_chk (__dest, __ch, __len, __bos0 (__dest)); ~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ In function 'void* memset(void*, int, size_t)', inlined from 'tbb::zero_allocator::pointer tbb::zero_allocator::allocate(tbb::zero_allocator::size_type, const void*) [with T = Foo; Allocator = tbb::tbb_allocator]' at ../../include/tbb/tbb_allocator.h:177:20, inlined from 'void TestBasic(A&) [with T = Foo; A = tbb::zero_allocator, tbb::tbb_allocator>]' at ../../src/test/test_allocator.h:173:12: /usr/include/bits/string_fortified.h:71:33: warning: 'void* __builtin_memset(void*, int, long unsigned int)' specified size 18446744073708503039 exceeds maximum object size 9223372036854775807 [-Wstringop-overflow=] return __builtin___memset_chk (__dest, __ch, __len, __bos0 (__dest)); ~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ In function 'void* memset(void*, int, size_t)', inlined from 'tbb::zero_allocator::pointer tbb::zero_allocator::allocate(tbb::zero_allocator::size_type, const void*) [with T = Foo; Allocator = tbb::tbb_allocator]' at ../../include/tbb/tbb_allocator.h:177:20, inlined from 'void TestBasic(A&) [with T = Foo; A = tbb::zero_allocator, tbb::tbb_allocator>]' at ../../src/test/test_allocator.h:173:12: /usr/include/bits/string_fortified.h:71:33: warning: 'void* __builtin_memset(void*, int, long unsigned int)' specified size 18446744073708502948 exceeds maximum object size 9223372036854775807 [-Wstringop-overflow=] return __builtin___memset_chk (__dest, __ch, __len, __bos0 (__dest)); ~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ In function 'void* memset(void*, int, size_t)', inlined from 'tbb::zero_allocator::pointer tbb::zero_allocator::allocate(tbb::zero_allocator::size_type, const void*) [with T = Foo; Allocator = tbb::tbb_allocator]' at ../../include/tbb/tbb_allocator.h:177:20, inlined from 'void TestBasic(A&) [with T = Foo; A = tbb::zero_allocator, tbb::tbb_allocator>]' at ../../src/test/test_allocator.h:173:12: /usr/include/bits/string_fortified.h:71:33: warning: 'void* __builtin_memset(void*, int, long unsigned int)' specified size 18446744073708503032 exceeds maximum object size 9223372036854775807 [-Wstringop-overflow=] return __builtin___memset_chk (__dest, __ch, __len, __bos0 (__dest)); ~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ g++ -o test_cache_aligned_allocator.exe -O2 -g -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -fexceptions -fstack-protector-strong -grecord-gcc-switches -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -mcpu=power8 -mtune=power8 -funwind-tables -fstack-clash-protection -DTBB_USE_DEBUG -g -O0 -DUSE_PTHREAD -DTEST_USES_TBB=1 -Wall -Wshadow -Wcast-qual -Woverloaded-virtual -Wnon-virtual-dtor -Wextra -O2 -g -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -fexceptions -fstack-protector-strong -grecord-gcc-switches -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -mcpu=power8 -mtune=power8 -funwind-tables -fstack-clash-protection test_cache_aligned_allocator.o libtbb_debug.so -lpthread -lrt -Wl,-rpath-link=. -rdynamic g++ -o test_cache_aligned_allocator_STL.o -c -MMD -O2 -g -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -fexceptions -fstack-protector-strong -grecord-gcc-switches -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -mcpu=power8 -mtune=power8 -funwind-tables -fstack-clash-protection -DTBB_USE_DEBUG -g -O0 -DUSE_PTHREAD -DTEST_USES_TBB=1 -Wall -Wshadow -Wcast-qual -Woverloaded-virtual -Wnon-virtual-dtor -Wextra -O2 -g -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -fexceptions -fstack-protector-strong -grecord-gcc-switches -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -mcpu=power8 -mtune=power8 -funwind-tables -fstack-clash-protection -std=c++14 -I../../src -I../../src/rml/include -I../../include -I. -include ../../src/test/harness_preload.h ../../src/test/test_cache_aligned_allocator_STL.cpp In file included from ../../src/test/test_cache_aligned_allocator_STL.cpp:24: ../../include/tbb/tbb_allocator.h: In instantiation of 'tbb::zero_allocator::pointer tbb::zero_allocator::allocate(tbb::zero_allocator::size_type, const void*) [with T = MoveOperationTracker; Allocator = tbb::tbb_allocator; tbb::zero_allocator::pointer = MoveOperationTracker*; tbb::zero_allocator::size_type = long unsigned int]': /usr/include/c++/8/bits/alloc_traits.h:301:32: required from 'static std::allocator_traits<_Alloc>::pointer std::allocator_traits<_Alloc>::allocate(_Alloc&, std::allocator_traits<_Alloc>::size_type) [with _Alloc = tbb::zero_allocator; std::allocator_traits<_Alloc>::pointer = MoveOperationTracker*; std::allocator_traits<_Alloc>::size_type = long unsigned int]' /usr/include/c++/8/bits/stl_vector.h:296:33: required from 'std::_Vector_base<_Tp, _Alloc>::pointer std::_Vector_base<_Tp, _Alloc>::_M_allocate(std::size_t) [with _Tp = MoveOperationTracker; _Alloc = tbb::zero_allocator; std::_Vector_base<_Tp, _Alloc>::pointer = MoveOperationTracker*; std::size_t = long unsigned int]' /usr/include/c++/8/bits/vector.tcc:604:16: required from 'void std::vector<_Tp, _Alloc>::_M_default_append(std::vector<_Tp, _Alloc>::size_type) [with _Tp = MoveOperationTracker; _Alloc = tbb::zero_allocator; std::vector<_Tp, _Alloc>::size_type = long unsigned int]' /usr/include/c++/8/bits/stl_vector.h:827:4: required from 'void std::vector<_Tp, _Alloc>::resize(std::vector<_Tp, _Alloc>::size_type) [with _Tp = MoveOperationTracker; _Alloc = tbb::zero_allocator; std::vector<_Tp, _Alloc>::size_type = long unsigned int]' ../../src/test/test_allocator_STL.h:36:5: required from 'void TestSequence(const typename Container::allocator_type&) [with Container = std::vector >; typename Container::allocator_type = tbb::zero_allocator]' ../../src/test/test_allocator_STL.h:113:59: required from 'void TestAllocatorWithSTL(const Allocator&) [with Allocator = tbb::zero_allocator]' ../../src/test/test_cache_aligned_allocator_STL.cpp:32:54: required from here ../../include/tbb/tbb_allocator.h:177:20: warning: 'void* memset(void*, int, size_t)' clearing an object of type 'tbb::tbb_allocator::value_type' {aka 'struct MoveOperationTracker'} with no trivial copy-assignment; use assignment or value-initialization instead [-Wclass-memaccess] std::memset( ptr, 0, n * sizeof(value_type) ); ~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ In file included from ../../src/test/test_cache_aligned_allocator_STL.cpp:27: ../../src/test/test_allocator_STL.h:67:8: note: 'tbb::tbb_allocator::value_type' {aka 'struct MoveOperationTracker'} declared here struct MoveOperationTracker { ^~~~~~~~~~~~~~~~~~~~ g++ -o test_cache_aligned_allocator_STL.exe -O2 -g -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -fexceptions -fstack-protector-strong -grecord-gcc-switches -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -mcpu=power8 -mtune=power8 -funwind-tables -fstack-clash-protection -DTBB_USE_DEBUG -g -O0 -DUSE_PTHREAD -DTEST_USES_TBB=1 -Wall -Wshadow -Wcast-qual -Woverloaded-virtual -Wnon-virtual-dtor -Wextra -O2 -g -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -fexceptions -fstack-protector-strong -grecord-gcc-switches -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -mcpu=power8 -mtune=power8 -funwind-tables -fstack-clash-protection test_cache_aligned_allocator_STL.o libtbb_debug.so -lpthread -lrt -Wl,-rpath-link=. -rdynamic g++ -o test_parallel_for.o -c -MMD -O2 -g -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -fexceptions -fstack-protector-strong -grecord-gcc-switches -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -mcpu=power8 -mtune=power8 -funwind-tables -fstack-clash-protection -DTBB_USE_DEBUG -g -O0 -DUSE_PTHREAD -DTEST_USES_TBB=1 -Wall -Wshadow -Wcast-qual -Woverloaded-virtual -Wnon-virtual-dtor -Wextra -O2 -g -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -fexceptions -fstack-protector-strong -grecord-gcc-switches -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -mcpu=power8 -mtune=power8 -funwind-tables -fstack-clash-protection -std=c++14 -I../../src -I../../src/rml/include -I../../include -I. -include ../../src/test/harness_preload.h ../../src/test/test_parallel_for.cpp In file included from ../../include/tbb/tbb_machine.h:243, from ../../include/tbb/task.h:25, from ../../include/tbb/parallel_for.h:25, from ../../src/test/test_parallel_for.cpp:42: ../../include/tbb/machine/mac_ppc.h: In function 'int32_t __TBB_machine_cmpswp4(volatile void*, int32_t, int32_t)': ../../include/tbb/machine/mac_ppc.h:91:46: warning: cast from type 'volatile void*' to type 'int32_t*' {aka 'int*'} casts away qualifiers [-Wcast-qual] , "+m"(* (int32_t*) ptr) /* redundant with "memory" */ ^~~ ../../include/tbb/machine/mac_ppc.h: In function 'int64_t __TBB_machine_cmpswp8(volatile void*, int64_t, int64_t)': ../../include/tbb/machine/mac_ppc.h:116:46: warning: cast from type 'volatile void*' to type 'int64_t*' {aka 'long int*'} casts away qualifiers [-Wcast-qual] , "+m"(* (int64_t*) ptr) /* redundant with "memory" */ ^~~ In file included from ../../include/tbb/enumerable_thread_specific.h:25, from ../../include/tbb/combinable.h:24, from ../../src/test/harness_concurrency_tracker.h:33, from ../../src/test/harness_eh.h:28, from ../../src/test/test_parallel_for.cpp:314: ../../include/tbb/concurrent_vector.h: In static member function 'static void tbb::concurrent_vector::copy_range(void*, const void*, tbb::concurrent_vector::size_type)': ../../include/tbb/concurrent_vector.h:1296:18: warning: declaration of 'iterator' shadows a previous local [-Wshadow] I & iterator ((*const_cast(static_cast(p_type_erased_iterator)))); ^ ../../include/tbb/concurrent_vector.h:578:60: note: shadowed declaration is here typedef internal::vector_iterator iterator; ^~~~~~~~ ../../src/test/test_parallel_for.cpp: In instantiation of 'void TestParallelForWithStepSupport() [with Flavor = parallel_tag; T = short int]': ../../src/test/test_parallel_for.cpp:701:64: required from here ../../src/test/test_parallel_for.cpp:301:6: warning: catching polymorphic type 'class std::invalid_argument' by value [-Wcatch-value=] }catch(std::invalid_argument){ ^~~~~ ../../src/test/test_parallel_for.cpp: In instantiation of 'void TestParallelForWithStepSupport() [with Flavor = parallel_tag; T = short unsigned int]': ../../src/test/test_parallel_for.cpp:702:73: required from here ../../src/test/test_parallel_for.cpp:301:6: warning: catching polymorphic type 'class std::invalid_argument' by value [-Wcatch-value=] ../../src/test/test_parallel_for.cpp: In instantiation of 'void TestParallelForWithStepSupport() [with Flavor = parallel_tag; T = int]': ../../src/test/test_parallel_for.cpp:703:62: required from here ../../src/test/test_parallel_for.cpp:301:6: warning: catching polymorphic type 'class std::invalid_argument' by value [-Wcatch-value=] ../../src/test/test_parallel_for.cpp: In instantiation of 'void TestParallelForWithStepSupport() [with Flavor = parallel_tag; T = unsigned int]': ../../src/test/test_parallel_for.cpp:704:71: required from here ../../src/test/test_parallel_for.cpp:301:6: warning: catching polymorphic type 'class std::invalid_argument' by value [-Wcatch-value=] ../../src/test/test_parallel_for.cpp: In instantiation of 'void TestParallelForWithStepSupport() [with Flavor = parallel_tag; T = long int]': ../../src/test/test_parallel_for.cpp:705:63: required from here ../../src/test/test_parallel_for.cpp:301:6: warning: catching polymorphic type 'class std::invalid_argument' by value [-Wcatch-value=] ../../src/test/test_parallel_for.cpp: In instantiation of 'void TestParallelForWithStepSupport() [with Flavor = parallel_tag; T = long unsigned int]': ../../src/test/test_parallel_for.cpp:706:72: required from here ../../src/test/test_parallel_for.cpp:301:6: warning: catching polymorphic type 'class std::invalid_argument' by value [-Wcatch-value=] ../../src/test/test_parallel_for.cpp: In instantiation of 'void TestParallelForWithStepSupport() [with Flavor = parallel_tag; T = long long int]': ../../src/test/test_parallel_for.cpp:707:68: required from here ../../src/test/test_parallel_for.cpp:301:6: warning: catching polymorphic type 'class std::invalid_argument' by value [-Wcatch-value=] ../../src/test/test_parallel_for.cpp: In instantiation of 'void TestParallelForWithStepSupport() [with Flavor = parallel_tag; T = long long unsigned int]': ../../src/test/test_parallel_for.cpp:708:77: required from here ../../src/test/test_parallel_for.cpp:301:6: warning: catching polymorphic type 'class std::invalid_argument' by value [-Wcatch-value=] ../../src/test/test_parallel_for.cpp: In instantiation of 'void TestParallelForWithStepSupport() [with Flavor = serial_tag; T = short int]': ../../src/test/test_parallel_for.cpp:717:66: required from here ../../src/test/test_parallel_for.cpp:301:6: warning: catching polymorphic type 'class std::invalid_argument' by value [-Wcatch-value=] ../../src/test/test_parallel_for.cpp: In instantiation of 'void TestParallelForWithStepSupport() [with Flavor = serial_tag; T = short unsigned int]': ../../src/test/test_parallel_for.cpp:718:75: required from here ../../src/test/test_parallel_for.cpp:301:6: warning: catching polymorphic type 'class std::invalid_argument' by value [-Wcatch-value=] ../../src/test/test_parallel_for.cpp: In instantiation of 'void TestParallelForWithStepSupport() [with Flavor = serial_tag; T = int]': ../../src/test/test_parallel_for.cpp:719:64: required from here ../../src/test/test_parallel_for.cpp:301:6: warning: catching polymorphic type 'class std::invalid_argument' by value [-Wcatch-value=] ../../src/test/test_parallel_for.cpp: In instantiation of 'void TestParallelForWithStepSupport() [with Flavor = serial_tag; T = unsigned int]': ../../src/test/test_parallel_for.cpp:720:73: required from here ../../src/test/test_parallel_for.cpp:301:6: warning: catching polymorphic type 'class std::invalid_argument' by value [-Wcatch-value=] ../../src/test/test_parallel_for.cpp: In instantiation of 'void TestParallelForWithStepSupport() [with Flavor = serial_tag; T = long int]': ../../src/test/test_parallel_for.cpp:721:65: required from here ../../src/test/test_parallel_for.cpp:301:6: warning: catching polymorphic type 'class std::invalid_argument' by value [-Wcatch-value=] ../../src/test/test_parallel_for.cpp: In instantiation of 'void TestParallelForWithStepSupport() [with Flavor = serial_tag; T = long unsigned int]': ../../src/test/test_parallel_for.cpp:722:74: required from here ../../src/test/test_parallel_for.cpp:301:6: warning: catching polymorphic type 'class std::invalid_argument' by value [-Wcatch-value=] ../../src/test/test_parallel_for.cpp: In instantiation of 'void TestParallelForWithStepSupport() [with Flavor = serial_tag; T = long long int]': ../../src/test/test_parallel_for.cpp:723:70: required from here ../../src/test/test_parallel_for.cpp:301:6: warning: catching polymorphic type 'class std::invalid_argument' by value [-Wcatch-value=] ../../src/test/test_parallel_for.cpp: In instantiation of 'void TestParallelForWithStepSupport() [with Flavor = serial_tag; T = long long unsigned int]': ../../src/test/test_parallel_for.cpp:724:79: required from here ../../src/test/test_parallel_for.cpp:301:6: warning: catching polymorphic type 'class std::invalid_argument' by value [-Wcatch-value=] In file included from ../../include/tbb/enumerable_thread_specific.h:25, from ../../include/tbb/combinable.h:24, from ../../src/test/harness_concurrency_tracker.h:33, from ../../src/test/harness_eh.h:28, from ../../src/test/test_parallel_for.cpp:314: ../../include/tbb/concurrent_vector.h: In instantiation of 'void tbb::internal::handle_unconstructed_elements(T*, std::size_t) [with T = tbb::internal::padded > >, 128>; std::size_t = long unsigned int]': ../../include/tbb/concurrent_vector.h:1123:56: required from 'tbb::concurrent_vector::internal_loop_guide::~internal_loop_guide() [with T = tbb::internal::padded > >, 128>; A = tbb::cache_aligned_allocator > >, 128> >]' ../../include/tbb/concurrent_vector.h:1262:25: required from 'static void tbb::concurrent_vector::initialize_array(void*, const void*, tbb::concurrent_vector::size_type) [with T = tbb::internal::padded > >, 128>; A = tbb::cache_aligned_allocator > >, 128> >; tbb::concurrent_vector::size_type = long unsigned int]' ../../include/tbb/concurrent_vector.h:780:76: required from 'tbb::concurrent_vector::iterator tbb::concurrent_vector::grow_by(tbb::concurrent_vector::size_type) [with T = tbb::internal::padded > >, 128>; A = tbb::cache_aligned_allocator > >, 128> >; tbb::concurrent_vector::iterator = tbb::internal::vector_iterator > >, 128>, tbb::cache_aligned_allocator > >, 128> > >, tbb::internal::padded > >, 128> >; tbb::concurrent_vector::size_type = long unsigned int]' ../../include/tbb/enumerable_thread_specific.h:797:36: required from 'void* tbb::interface6::enumerable_thread_specific::create_local() [with T = std::multimap >; Allocator = tbb::cache_aligned_allocator > >; tbb::ets_key_usage_type ETS_key_type = (tbb::ets_key_usage_type)1]' ../../include/tbb/enumerable_thread_specific.h:796:15: required from here ../../include/tbb/concurrent_vector.h:77:20: warning: 'void* memset(void*, int, size_t)' clearing an object of non-trivial type 'struct tbb::internal::padded > >, 128>'; use assignment or value-initialization instead [-Wclass-memaccess] std::memset( array, 0, n_of_elements * sizeof( T ) ); ~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ In file included from ../../include/tbb/task.h:24, from ../../include/tbb/parallel_for.h:25, from ../../src/test/test_parallel_for.cpp:42: ../../include/tbb/tbb_stddef.h:257:8: note: 'struct tbb::internal::padded > >, 128>' declared here struct padded : padded_base {}; ^~~~~~ In file included from ../../include/tbb/enumerable_thread_specific.h:25, from ../../include/tbb/combinable.h:24, from ../../src/test/harness_concurrency_tracker.h:33, from ../../src/test/harness_eh.h:28, from ../../src/test/test_parallel_for.cpp:314: ../../include/tbb/concurrent_vector.h: In instantiation of 'void tbb::internal::handle_unconstructed_elements(T*, std::size_t) [with T = tbb::internal::padded, 128>; std::size_t = long unsigned int]': ../../include/tbb/concurrent_vector.h:1123:56: required from 'tbb::concurrent_vector::internal_loop_guide::~internal_loop_guide() [with T = tbb::internal::padded, 128>; A = tbb::cache_aligned_allocator, 128> >]' ../../include/tbb/concurrent_vector.h:1262:25: required from 'static void tbb::concurrent_vector::initialize_array(void*, const void*, tbb::concurrent_vector::size_type) [with T = tbb::internal::padded, 128>; A = tbb::cache_aligned_allocator, 128> >; tbb::concurrent_vector::size_type = long unsigned int]' ../../include/tbb/concurrent_vector.h:780:76: required from 'tbb::concurrent_vector::iterator tbb::concurrent_vector::grow_by(tbb::concurrent_vector::size_type) [with T = tbb::internal::padded, 128>; A = tbb::cache_aligned_allocator, 128> >; tbb::concurrent_vector::iterator = tbb::internal::vector_iterator, 128>, tbb::cache_aligned_allocator, 128> > >, tbb::internal::padded, 128> >; tbb::concurrent_vector::size_type = long unsigned int]' ../../include/tbb/enumerable_thread_specific.h:797:36: required from 'void* tbb::interface6::enumerable_thread_specific::create_local() [with T = long unsigned int; Allocator = tbb::cache_aligned_allocator; tbb::ets_key_usage_type ETS_key_type = (tbb::ets_key_usage_type)1]' ../../include/tbb/enumerable_thread_specific.h:796:15: required from here ../../include/tbb/concurrent_vector.h:77:20: warning: 'void* memset(void*, int, size_t)' clearing an object of non-trivial type 'struct tbb::internal::padded, 128>'; use assignment or value-initialization instead [-Wclass-memaccess] std::memset( array, 0, n_of_elements * sizeof( T ) ); ~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ In file included from ../../include/tbb/task.h:24, from ../../include/tbb/parallel_for.h:25, from ../../src/test/test_parallel_for.cpp:42: ../../include/tbb/tbb_stddef.h:257:8: note: 'struct tbb::internal::padded, 128>' declared here struct padded : padded_base {}; ^~~~~~ g++ -o test_parallel_for.exe -O2 -g -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -fexceptions -fstack-protector-strong -grecord-gcc-switches -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -mcpu=power8 -mtune=power8 -funwind-tables -fstack-clash-protection -DTBB_USE_DEBUG -g -O0 -DUSE_PTHREAD -DTEST_USES_TBB=1 -Wall -Wshadow -Wcast-qual -Woverloaded-virtual -Wnon-virtual-dtor -Wextra -O2 -g -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -fexceptions -fstack-protector-strong -grecord-gcc-switches -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -mcpu=power8 -mtune=power8 -funwind-tables -fstack-clash-protection test_parallel_for.o libtbb_debug.so -lpthread -lrt -Wl,-rpath-link=. -rdynamic g++ -o test_parallel_reduce.o -c -MMD -O2 -g -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -fexceptions -fstack-protector-strong -grecord-gcc-switches -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -mcpu=power8 -mtune=power8 -funwind-tables -fstack-clash-protection -DTBB_USE_DEBUG -g -O0 -DUSE_PTHREAD -DTEST_USES_TBB=1 -Wall -Wshadow -Wcast-qual -Woverloaded-virtual -Wnon-virtual-dtor -Wextra -O2 -g -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -fexceptions -fstack-protector-strong -grecord-gcc-switches -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -mcpu=power8 -mtune=power8 -funwind-tables -fstack-clash-protection -std=c++14 -I../../src -I../../src/rml/include -I../../include -I. -include ../../src/test/harness_preload.h ../../src/test/test_parallel_reduce.cpp In file included from ../../include/tbb/tbb_machine.h:243, from ../../include/tbb/task.h:25, from ../../include/tbb/parallel_reduce.h:25, from ../../src/test/test_parallel_reduce.cpp:22: ../../include/tbb/machine/mac_ppc.h: In function 'int32_t __TBB_machine_cmpswp4(volatile void*, int32_t, int32_t)': ../../include/tbb/machine/mac_ppc.h:91:46: warning: cast from type 'volatile void*' to type 'int32_t*' {aka 'int*'} casts away qualifiers [-Wcast-qual] , "+m"(* (int32_t*) ptr) /* redundant with "memory" */ ^~~ ../../include/tbb/machine/mac_ppc.h: In function 'int64_t __TBB_machine_cmpswp8(volatile void*, int64_t, int64_t)': ../../include/tbb/machine/mac_ppc.h:116:46: warning: cast from type 'volatile void*' to type 'int64_t*' {aka 'long int*'} casts away qualifiers [-Wcast-qual] , "+m"(* (int64_t*) ptr) /* redundant with "memory" */ ^~~ In file included from ../../include/tbb/enumerable_thread_specific.h:25, from ../../include/tbb/combinable.h:24, from ../../src/test/harness_concurrency_tracker.h:33, from ../../src/test/test_parallel_reduce.cpp:233: ../../include/tbb/concurrent_vector.h: In static member function 'static void tbb::concurrent_vector::copy_range(void*, const void*, tbb::concurrent_vector::size_type)': ../../include/tbb/concurrent_vector.h:1296:18: warning: declaration of 'iterator' shadows a previous local [-Wshadow] I & iterator ((*const_cast(static_cast(p_type_erased_iterator)))); ^ ../../include/tbb/concurrent_vector.h:578:60: note: shadowed declaration is here typedef internal::vector_iterator iterator; ^~~~~~~~ In file included from ../../include/tbb/enumerable_thread_specific.h:25, from ../../include/tbb/combinable.h:24, from ../../src/test/harness_concurrency_tracker.h:33, from ../../src/test/test_parallel_reduce.cpp:233: ../../include/tbb/concurrent_vector.h: In instantiation of 'void tbb::internal::handle_unconstructed_elements(T*, std::size_t) [with T = tbb::internal::padded, 128>; std::size_t = long unsigned int]': ../../include/tbb/concurrent_vector.h:1123:56: required from 'tbb::concurrent_vector::internal_loop_guide::~internal_loop_guide() [with T = tbb::internal::padded, 128>; A = tbb::cache_aligned_allocator, 128> >]' ../../include/tbb/concurrent_vector.h:1262:25: required from 'static void tbb::concurrent_vector::initialize_array(void*, const void*, tbb::concurrent_vector::size_type) [with T = tbb::internal::padded, 128>; A = tbb::cache_aligned_allocator, 128> >; tbb::concurrent_vector::size_type = long unsigned int]' ../../include/tbb/concurrent_vector.h:780:76: required from 'tbb::concurrent_vector::iterator tbb::concurrent_vector::grow_by(tbb::concurrent_vector::size_type) [with T = tbb::internal::padded, 128>; A = tbb::cache_aligned_allocator, 128> >; tbb::concurrent_vector::iterator = tbb::internal::vector_iterator, 128>, tbb::cache_aligned_allocator, 128> > >, tbb::internal::padded, 128> >; tbb::concurrent_vector::size_type = long unsigned int]' ../../include/tbb/enumerable_thread_specific.h:797:36: required from 'void* tbb::interface6::enumerable_thread_specific::create_local() [with T = long unsigned int; Allocator = tbb::cache_aligned_allocator; tbb::ets_key_usage_type ETS_key_type = (tbb::ets_key_usage_type)1]' ../../include/tbb/enumerable_thread_specific.h:796:15: required from here ../../include/tbb/concurrent_vector.h:77:20: warning: 'void* memset(void*, int, size_t)' clearing an object of non-trivial type 'struct tbb::internal::padded, 128>'; use assignment or value-initialization instead [-Wclass-memaccess] std::memset( array, 0, n_of_elements * sizeof( T ) ); ~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ In file included from ../../include/tbb/task.h:24, from ../../include/tbb/parallel_reduce.h:25, from ../../src/test/test_parallel_reduce.cpp:22: ../../include/tbb/tbb_stddef.h:257:8: note: 'struct tbb::internal::padded, 128>' declared here struct padded : padded_base {}; ^~~~~~ g++ -o test_parallel_reduce.exe -O2 -g -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -fexceptions -fstack-protector-strong -grecord-gcc-switches -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -mcpu=power8 -mtune=power8 -funwind-tables -fstack-clash-protection -DTBB_USE_DEBUG -g -O0 -DUSE_PTHREAD -DTEST_USES_TBB=1 -Wall -Wshadow -Wcast-qual -Woverloaded-virtual -Wnon-virtual-dtor -Wextra -O2 -g -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -fexceptions -fstack-protector-strong -grecord-gcc-switches -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -mcpu=power8 -mtune=power8 -funwind-tables -fstack-clash-protection test_parallel_reduce.o libtbb_debug.so -lpthread -lrt -Wl,-rpath-link=. -rdynamic g++ -o test_parallel_sort.o -c -MMD -O2 -g -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -fexceptions -fstack-protector-strong -grecord-gcc-switches -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -mcpu=power8 -mtune=power8 -funwind-tables -fstack-clash-protection -DTBB_USE_DEBUG -g -O0 -DUSE_PTHREAD -DTEST_USES_TBB=1 -Wall -Wshadow -Wcast-qual -Woverloaded-virtual -Wnon-virtual-dtor -Wextra -O2 -g -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -fexceptions -fstack-protector-strong -grecord-gcc-switches -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -mcpu=power8 -mtune=power8 -funwind-tables -fstack-clash-protection -std=c++14 -I../../src -I../../src/rml/include -I../../include -I. -include ../../src/test/harness_preload.h ../../src/test/test_parallel_sort.cpp In file included from ../../include/tbb/tbb_machine.h:243, from ../../include/tbb/task.h:25, from ../../include/tbb/parallel_for.h:25, from ../../include/tbb/parallel_sort.h:24, from ../../src/test/test_parallel_sort.cpp:21: ../../include/tbb/machine/mac_ppc.h: In function 'int32_t __TBB_machine_cmpswp4(volatile void*, int32_t, int32_t)': ../../include/tbb/machine/mac_ppc.h:91:46: warning: cast from type 'volatile void*' to type 'int32_t*' {aka 'int*'} casts away qualifiers [-Wcast-qual] , "+m"(* (int32_t*) ptr) /* redundant with "memory" */ ^~~ ../../include/tbb/machine/mac_ppc.h: In function 'int64_t __TBB_machine_cmpswp8(volatile void*, int64_t, int64_t)': ../../include/tbb/machine/mac_ppc.h:116:46: warning: cast from type 'volatile void*' to type 'int64_t*' {aka 'long int*'} casts away qualifiers [-Wcast-qual] , "+m"(* (int64_t*) ptr) /* redundant with "memory" */ ^~~ In file included from ../../src/test/test_parallel_sort.cpp:23: ../../include/tbb/concurrent_vector.h: In static member function 'static void tbb::concurrent_vector::copy_range(void*, const void*, tbb::concurrent_vector::size_type)': ../../include/tbb/concurrent_vector.h:1296:18: warning: declaration of 'iterator' shadows a previous local [-Wshadow] I & iterator ((*const_cast(static_cast(p_type_erased_iterator)))); ^ ../../include/tbb/concurrent_vector.h:578:60: note: shadowed declaration is here typedef internal::vector_iterator iterator; ^~~~~~~~ In file included from ../../src/test/test_parallel_sort.cpp:23: ../../include/tbb/concurrent_vector.h: In instantiation of 'void tbb::internal::handle_unconstructed_elements(T*, std::size_t) [with T = Minimal; std::size_t = long unsigned int]': ../../include/tbb/concurrent_vector.h:1123:56: required from 'tbb::concurrent_vector::internal_loop_guide::~internal_loop_guide() [with T = Minimal; A = tbb::cache_aligned_allocator]' ../../include/tbb/concurrent_vector.h:1262:25: required from 'static void tbb::concurrent_vector::initialize_array(void*, const void*, tbb::concurrent_vector::size_type) [with T = Minimal; A = tbb::cache_aligned_allocator; tbb::concurrent_vector::size_type = long unsigned int]' ../../include/tbb/concurrent_vector.h:813:70: required from 'tbb::concurrent_vector::iterator tbb::concurrent_vector::grow_to_at_least(tbb::concurrent_vector::size_type) [with T = Minimal; A = tbb::cache_aligned_allocator; tbb::concurrent_vector::iterator = tbb::internal::vector_iterator, Minimal>; tbb::concurrent_vector::size_type = long unsigned int]' ../../src/test/test_parallel_sort.cpp:426:35: required from here ../../include/tbb/concurrent_vector.h:77:20: warning: 'void* memset(void*, int, size_t)' clearing an object of non-trivial type 'class Minimal'; use assignment or value-initialization instead [-Wclass-memaccess] std::memset( array, 0, n_of_elements * sizeof( T ) ); ~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ../../src/test/test_parallel_sort.cpp:36:7: note: 'class Minimal' declared here class Minimal { ^~~~~~~ g++ -o test_parallel_sort.exe -O2 -g -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -fexceptions -fstack-protector-strong -grecord-gcc-switches -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -mcpu=power8 -mtune=power8 -funwind-tables -fstack-clash-protection -DTBB_USE_DEBUG -g -O0 -DUSE_PTHREAD -DTEST_USES_TBB=1 -Wall -Wshadow -Wcast-qual -Woverloaded-virtual -Wnon-virtual-dtor -Wextra -O2 -g -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -fexceptions -fstack-protector-strong -grecord-gcc-switches -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -mcpu=power8 -mtune=power8 -funwind-tables -fstack-clash-protection test_parallel_sort.o libtbb_debug.so -lpthread -lrt -Wl,-rpath-link=. -rdynamic g++ -o test_parallel_scan.o -c -MMD -O2 -g -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -fexceptions -fstack-protector-strong -grecord-gcc-switches -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -mcpu=power8 -mtune=power8 -funwind-tables -fstack-clash-protection -DTBB_USE_DEBUG -g -O0 -DUSE_PTHREAD -DTEST_USES_TBB=1 -Wall -Wshadow -Wcast-qual -Woverloaded-virtual -Wnon-virtual-dtor -Wextra -O2 -g -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -fexceptions -fstack-protector-strong -grecord-gcc-switches -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -mcpu=power8 -mtune=power8 -funwind-tables -fstack-clash-protection -std=c++14 -I../../src -I../../src/rml/include -I../../include -I. -include ../../src/test/harness_preload.h ../../src/test/test_parallel_scan.cpp In file included from ../../include/tbb/tbb_machine.h:243, from ../../include/tbb/task.h:25, from ../../include/tbb/parallel_scan.h:24, from ../../src/test/test_parallel_scan.cpp:21: ../../include/tbb/machine/mac_ppc.h: In function 'int32_t __TBB_machine_cmpswp4(volatile void*, int32_t, int32_t)': ../../include/tbb/machine/mac_ppc.h:91:46: warning: cast from type 'volatile void*' to type 'int32_t*' {aka 'int*'} casts away qualifiers [-Wcast-qual] , "+m"(* (int32_t*) ptr) /* redundant with "memory" */ ^~~ ../../include/tbb/machine/mac_ppc.h: In function 'int64_t __TBB_machine_cmpswp8(volatile void*, int64_t, int64_t)': ../../include/tbb/machine/mac_ppc.h:116:46: warning: cast from type 'volatile void*' to type 'int64_t*' {aka 'long int*'} casts away qualifiers [-Wcast-qual] , "+m"(* (int64_t*) ptr) /* redundant with "memory" */ ^~~ g++ -o test_parallel_scan.exe -O2 -g -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -fexceptions -fstack-protector-strong -grecord-gcc-switches -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -mcpu=power8 -mtune=power8 -funwind-tables -fstack-clash-protection -DTBB_USE_DEBUG -g -O0 -DUSE_PTHREAD -DTEST_USES_TBB=1 -Wall -Wshadow -Wcast-qual -Woverloaded-virtual -Wnon-virtual-dtor -Wextra -O2 -g -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -fexceptions -fstack-protector-strong -grecord-gcc-switches -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -mcpu=power8 -mtune=power8 -funwind-tables -fstack-clash-protection test_parallel_scan.o libtbb_debug.so -lpthread -lrt -Wl,-rpath-link=. -rdynamic g++ -o test_parallel_while.o -c -MMD -O2 -g -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -fexceptions -fstack-protector-strong -grecord-gcc-switches -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -mcpu=power8 -mtune=power8 -funwind-tables -fstack-clash-protection -DTBB_USE_DEBUG -g -O0 -DUSE_PTHREAD -DTEST_USES_TBB=1 -Wall -Wshadow -Wcast-qual -Woverloaded-virtual -Wnon-virtual-dtor -Wextra -O2 -g -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -fexceptions -fstack-protector-strong -grecord-gcc-switches -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -mcpu=power8 -mtune=power8 -funwind-tables -fstack-clash-protection -std=c++14 -I../../src -I../../src/rml/include -I../../include -I. -include ../../src/test/harness_preload.h ../../src/test/test_parallel_while.cpp In file included from ../../include/tbb/tbb_machine.h:243, from ../../include/tbb/task.h:25, from ../../include/tbb/parallel_while.h:24, from ../../src/test/test_parallel_while.cpp:21: ../../include/tbb/machine/mac_ppc.h: In function 'int32_t __TBB_machine_cmpswp4(volatile void*, int32_t, int32_t)': ../../include/tbb/machine/mac_ppc.h:91:46: warning: cast from type 'volatile void*' to type 'int32_t*' {aka 'int*'} casts away qualifiers [-Wcast-qual] , "+m"(* (int32_t*) ptr) /* redundant with "memory" */ ^~~ ../../include/tbb/machine/mac_ppc.h: In function 'int64_t __TBB_machine_cmpswp8(volatile void*, int64_t, int64_t)': ../../include/tbb/machine/mac_ppc.h:116:46: warning: cast from type 'volatile void*' to type 'int64_t*' {aka 'long int*'} casts away qualifiers [-Wcast-qual] , "+m"(* (int64_t*) ptr) /* redundant with "memory" */ ^~~ g++ -o test_parallel_while.exe -O2 -g -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -fexceptions -fstack-protector-strong -grecord-gcc-switches -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -mcpu=power8 -mtune=power8 -funwind-tables -fstack-clash-protection -DTBB_USE_DEBUG -g -O0 -DUSE_PTHREAD -DTEST_USES_TBB=1 -Wall -Wshadow -Wcast-qual -Woverloaded-virtual -Wnon-virtual-dtor -Wextra -O2 -g -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -fexceptions -fstack-protector-strong -grecord-gcc-switches -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -mcpu=power8 -mtune=power8 -funwind-tables -fstack-clash-protection test_parallel_while.o libtbb_debug.so -lpthread -lrt -Wl,-rpath-link=. -rdynamic g++ -o test_parallel_do.o -c -MMD -O2 -g -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -fexceptions -fstack-protector-strong -grecord-gcc-switches -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -mcpu=power8 -mtune=power8 -funwind-tables -fstack-clash-protection -DTBB_USE_DEBUG -g -O0 -DUSE_PTHREAD -DTEST_USES_TBB=1 -Wall -Wshadow -Wcast-qual -Woverloaded-virtual -Wnon-virtual-dtor -Wextra -O2 -g -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -fexceptions -fstack-protector-strong -grecord-gcc-switches -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -mcpu=power8 -mtune=power8 -funwind-tables -fstack-clash-protection -std=c++14 -I../../src -I../../src/rml/include -I../../include -I. -include ../../src/test/harness_preload.h ../../src/test/test_parallel_do.cpp In file included from ../../include/tbb/tbb_machine.h:243, from ../../include/tbb/task.h:25, from ../../include/tbb/parallel_do.h:26, from ../../src/test/test_parallel_do.cpp:21: ../../include/tbb/machine/mac_ppc.h: In function 'int32_t __TBB_machine_cmpswp4(volatile void*, int32_t, int32_t)': ../../include/tbb/machine/mac_ppc.h:91:46: warning: cast from type 'volatile void*' to type 'int32_t*' {aka 'int*'} casts away qualifiers [-Wcast-qual] , "+m"(* (int32_t*) ptr) /* redundant with "memory" */ ^~~ ../../include/tbb/machine/mac_ppc.h: In function 'int64_t __TBB_machine_cmpswp8(volatile void*, int64_t, int64_t)': ../../include/tbb/machine/mac_ppc.h:116:46: warning: cast from type 'volatile void*' to type 'int64_t*' {aka 'long int*'} casts away qualifiers [-Wcast-qual] , "+m"(* (int64_t*) ptr) /* redundant with "memory" */ ^~~ g++ -o test_parallel_do.exe -O2 -g -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -fexceptions -fstack-protector-strong -grecord-gcc-switches -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -mcpu=power8 -mtune=power8 -funwind-tables -fstack-clash-protection -DTBB_USE_DEBUG -g -O0 -DUSE_PTHREAD -DTEST_USES_TBB=1 -Wall -Wshadow -Wcast-qual -Woverloaded-virtual -Wnon-virtual-dtor -Wextra -O2 -g -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -fexceptions -fstack-protector-strong -grecord-gcc-switches -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -mcpu=power8 -mtune=power8 -funwind-tables -fstack-clash-protection test_parallel_do.o libtbb_debug.so -lpthread -lrt -Wl,-rpath-link=. -rdynamic g++ -o test_pipeline.o -c -MMD -O2 -g -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -fexceptions -fstack-protector-strong -grecord-gcc-switches -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -mcpu=power8 -mtune=power8 -funwind-tables -fstack-clash-protection -DTBB_USE_DEBUG -g -O0 -DUSE_PTHREAD -DTEST_USES_TBB=1 -Wall -Wshadow -Wcast-qual -Woverloaded-virtual -Wnon-virtual-dtor -Wextra -O2 -g -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -fexceptions -fstack-protector-strong -grecord-gcc-switches -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -mcpu=power8 -mtune=power8 -funwind-tables -fstack-clash-protection -std=c++14 -I../../src -I../../src/rml/include -I../../include -I. -include ../../src/test/harness_preload.h ../../src/test/test_pipeline.cpp In file included from ../../include/tbb/tbb_machine.h:243, from ../../include/tbb/atomic.h:32, from ../../include/tbb/pipeline.h:24, from ../../src/test/test_pipeline.cpp:22: ../../include/tbb/machine/mac_ppc.h: In function 'int32_t __TBB_machine_cmpswp4(volatile void*, int32_t, int32_t)': ../../include/tbb/machine/mac_ppc.h:91:46: warning: cast from type 'volatile void*' to type 'int32_t*' {aka 'int*'} casts away qualifiers [-Wcast-qual] , "+m"(* (int32_t*) ptr) /* redundant with "memory" */ ^~~ ../../include/tbb/machine/mac_ppc.h: In function 'int64_t __TBB_machine_cmpswp8(volatile void*, int64_t, int64_t)': ../../include/tbb/machine/mac_ppc.h:116:46: warning: cast from type 'volatile void*' to type 'int64_t*' {aka 'long int*'} casts away qualifiers [-Wcast-qual] , "+m"(* (int64_t*) ptr) /* redundant with "memory" */ ^~~ In file included from ../../include/tbb/enumerable_thread_specific.h:25, from ../../include/tbb/combinable.h:24, from ../../src/test/harness_concurrency_tracker.h:33, from ../../src/test/test_pipeline.cpp:63: ../../include/tbb/concurrent_vector.h: In static member function 'static void tbb::concurrent_vector::copy_range(void*, const void*, tbb::concurrent_vector::size_type)': ../../include/tbb/concurrent_vector.h:1296:18: warning: declaration of 'iterator' shadows a previous local [-Wshadow] I & iterator ((*const_cast(static_cast(p_type_erased_iterator)))); ^ ../../include/tbb/concurrent_vector.h:578:60: note: shadowed declaration is here typedef internal::vector_iterator iterator; ^~~~~~~~ In file included from ../../include/tbb/enumerable_thread_specific.h:25, from ../../include/tbb/combinable.h:24, from ../../src/test/harness_concurrency_tracker.h:33, from ../../src/test/test_pipeline.cpp:63: ../../include/tbb/concurrent_vector.h: In instantiation of 'void tbb::internal::handle_unconstructed_elements(T*, std::size_t) [with T = tbb::internal::padded, 128>; std::size_t = long unsigned int]': ../../include/tbb/concurrent_vector.h:1123:56: required from 'tbb::concurrent_vector::internal_loop_guide::~internal_loop_guide() [with T = tbb::internal::padded, 128>; A = tbb::cache_aligned_allocator, 128> >]' ../../include/tbb/concurrent_vector.h:1262:25: required from 'static void tbb::concurrent_vector::initialize_array(void*, const void*, tbb::concurrent_vector::size_type) [with T = tbb::internal::padded, 128>; A = tbb::cache_aligned_allocator, 128> >; tbb::concurrent_vector::size_type = long unsigned int]' ../../include/tbb/concurrent_vector.h:780:76: required from 'tbb::concurrent_vector::iterator tbb::concurrent_vector::grow_by(tbb::concurrent_vector::size_type) [with T = tbb::internal::padded, 128>; A = tbb::cache_aligned_allocator, 128> >; tbb::concurrent_vector::iterator = tbb::internal::vector_iterator, 128>, tbb::cache_aligned_allocator, 128> > >, tbb::internal::padded, 128> >; tbb::concurrent_vector::size_type = long unsigned int]' ../../include/tbb/enumerable_thread_specific.h:797:36: required from 'void* tbb::interface6::enumerable_thread_specific::create_local() [with T = long unsigned int; Allocator = tbb::cache_aligned_allocator; tbb::ets_key_usage_type ETS_key_type = (tbb::ets_key_usage_type)1]' ../../include/tbb/enumerable_thread_specific.h:796:15: required from here ../../include/tbb/concurrent_vector.h:77:20: warning: 'void* memset(void*, int, size_t)' clearing an object of non-trivial type 'struct tbb::internal::padded, 128>'; use assignment or value-initialization instead [-Wclass-memaccess] std::memset( array, 0, n_of_elements * sizeof( T ) ); ~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ In file included from ../../src/test/test_pipeline.cpp:21: ../../include/tbb/tbb_stddef.h:257:8: note: 'struct tbb::internal::padded, 128>' declared here struct padded : padded_base {}; ^~~~~~ g++ -o test_pipeline.exe -O2 -g -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -fexceptions -fstack-protector-strong -grecord-gcc-switches -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -mcpu=power8 -mtune=power8 -funwind-tables -fstack-clash-protection -DTBB_USE_DEBUG -g -O0 -DUSE_PTHREAD -DTEST_USES_TBB=1 -Wall -Wshadow -Wcast-qual -Woverloaded-virtual -Wnon-virtual-dtor -Wextra -O2 -g -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -fexceptions -fstack-protector-strong -grecord-gcc-switches -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -mcpu=power8 -mtune=power8 -funwind-tables -fstack-clash-protection test_pipeline.o libtbb_debug.so -lpthread -lrt -Wl,-rpath-link=. -rdynamic g++ -o test_pipeline_with_tbf.o -c -MMD -O2 -g -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -fexceptions -fstack-protector-strong -grecord-gcc-switches -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -mcpu=power8 -mtune=power8 -funwind-tables -fstack-clash-protection -DTBB_USE_DEBUG -g -O0 -DUSE_PTHREAD -DTEST_USES_TBB=1 -Wall -Wshadow -Wcast-qual -Woverloaded-virtual -Wnon-virtual-dtor -Wextra -O2 -g -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -fexceptions -fstack-protector-strong -grecord-gcc-switches -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -mcpu=power8 -mtune=power8 -funwind-tables -fstack-clash-protection -std=c++14 -I../../src -I../../src/rml/include -I../../include -I. -include ../../src/test/harness_preload.h ../../src/test/test_pipeline_with_tbf.cpp In file included from ../../include/tbb/tbb_machine.h:243, from ../../include/tbb/atomic.h:32, from ../../include/tbb/pipeline.h:24, from ../../src/test/test_pipeline_with_tbf.cpp:21: ../../include/tbb/machine/mac_ppc.h: In function 'int32_t __TBB_machine_cmpswp4(volatile void*, int32_t, int32_t)': ../../include/tbb/machine/mac_ppc.h:91:46: warning: cast from type 'volatile void*' to type 'int32_t*' {aka 'int*'} casts away qualifiers [-Wcast-qual] , "+m"(* (int32_t*) ptr) /* redundant with "memory" */ ^~~ ../../include/tbb/machine/mac_ppc.h: In function 'int64_t __TBB_machine_cmpswp8(volatile void*, int64_t, int64_t)': ../../include/tbb/machine/mac_ppc.h:116:46: warning: cast from type 'volatile void*' to type 'int64_t*' {aka 'long int*'} casts away qualifiers [-Wcast-qual] , "+m"(* (int64_t*) ptr) /* redundant with "memory" */ ^~~ In file included from ../../include/tbb/enumerable_thread_specific.h:25, from ../../include/tbb/combinable.h:24, from ../../src/test/harness_concurrency_tracker.h:33, from ../../src/test/test_pipeline_with_tbf.cpp:70: ../../include/tbb/concurrent_vector.h: In static member function 'static void tbb::concurrent_vector::copy_range(void*, const void*, tbb::concurrent_vector::size_type)': ../../include/tbb/concurrent_vector.h:1296:18: warning: declaration of 'iterator' shadows a previous local [-Wshadow] I & iterator ((*const_cast(static_cast(p_type_erased_iterator)))); ^ ../../include/tbb/concurrent_vector.h:578:60: note: shadowed declaration is here typedef internal::vector_iterator iterator; ^~~~~~~~ In file included from ../../include/tbb/enumerable_thread_specific.h:25, from ../../include/tbb/combinable.h:24, from ../../src/test/harness_concurrency_tracker.h:33, from ../../src/test/test_pipeline_with_tbf.cpp:70: ../../include/tbb/concurrent_vector.h: In instantiation of 'void tbb::internal::handle_unconstructed_elements(T*, std::size_t) [with T = tbb::internal::padded, 128>; std::size_t = long unsigned int]': ../../include/tbb/concurrent_vector.h:1123:56: required from 'tbb::concurrent_vector::internal_loop_guide::~internal_loop_guide() [with T = tbb::internal::padded, 128>; A = tbb::cache_aligned_allocator, 128> >]' ../../include/tbb/concurrent_vector.h:1262:25: required from 'static void tbb::concurrent_vector::initialize_array(void*, const void*, tbb::concurrent_vector::size_type) [with T = tbb::internal::padded, 128>; A = tbb::cache_aligned_allocator, 128> >; tbb::concurrent_vector::size_type = long unsigned int]' ../../include/tbb/concurrent_vector.h:780:76: required from 'tbb::concurrent_vector::iterator tbb::concurrent_vector::grow_by(tbb::concurrent_vector::size_type) [with T = tbb::internal::padded, 128>; A = tbb::cache_aligned_allocator, 128> >; tbb::concurrent_vector::iterator = tbb::internal::vector_iterator, 128>, tbb::cache_aligned_allocator, 128> > >, tbb::internal::padded, 128> >; tbb::concurrent_vector::size_type = long unsigned int]' ../../include/tbb/enumerable_thread_specific.h:797:36: required from 'void* tbb::interface6::enumerable_thread_specific::create_local() [with T = long unsigned int; Allocator = tbb::cache_aligned_allocator; tbb::ets_key_usage_type ETS_key_type = (tbb::ets_key_usage_type)1]' ../../include/tbb/enumerable_thread_specific.h:796:15: required from here ../../include/tbb/concurrent_vector.h:77:20: warning: 'void* memset(void*, int, size_t)' clearing an object of non-trivial type 'struct tbb::internal::padded, 128>'; use assignment or value-initialization instead [-Wclass-memaccess] std::memset( array, 0, n_of_elements * sizeof( T ) ); ~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ In file included from ../../include/tbb/tbb_machine.h:117, from ../../include/tbb/atomic.h:32, from ../../include/tbb/pipeline.h:24, from ../../src/test/test_pipeline_with_tbf.cpp:21: ../../include/tbb/tbb_stddef.h:257:8: note: 'struct tbb::internal::padded, 128>' declared here struct padded : padded_base {}; ^~~~~~ g++ -o test_pipeline_with_tbf.exe -O2 -g -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -fexceptions -fstack-protector-strong -grecord-gcc-switches -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -mcpu=power8 -mtune=power8 -funwind-tables -fstack-clash-protection -DTBB_USE_DEBUG -g -O0 -DUSE_PTHREAD -DTEST_USES_TBB=1 -Wall -Wshadow -Wcast-qual -Woverloaded-virtual -Wnon-virtual-dtor -Wextra -O2 -g -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -fexceptions -fstack-protector-strong -grecord-gcc-switches -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -mcpu=power8 -mtune=power8 -funwind-tables -fstack-clash-protection test_pipeline_with_tbf.o libtbb_debug.so -lpthread -lrt -Wl,-rpath-link=. -rdynamic g++ -o test_parallel_pipeline.o -c -MMD -O2 -g -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -fexceptions -fstack-protector-strong -grecord-gcc-switches -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -mcpu=power8 -mtune=power8 -funwind-tables -fstack-clash-protection -DTBB_USE_DEBUG -g -O0 -DUSE_PTHREAD -DTEST_USES_TBB=1 -Wall -Wshadow -Wcast-qual -Woverloaded-virtual -Wnon-virtual-dtor -Wextra -O2 -g -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -fexceptions -fstack-protector-strong -grecord-gcc-switches -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -mcpu=power8 -mtune=power8 -funwind-tables -fstack-clash-protection -std=c++14 -I../../src -I../../src/rml/include -I../../include -I. -include ../../src/test/harness_preload.h ../../src/test/test_parallel_pipeline.cpp In file included from ../../include/tbb/tbb_machine.h:243, from ../../include/tbb/atomic.h:32, from ../../include/tbb/pipeline.h:24, from ../../src/test/test_parallel_pipeline.cpp:25: ../../include/tbb/machine/mac_ppc.h: In function 'int32_t __TBB_machine_cmpswp4(volatile void*, int32_t, int32_t)': ../../include/tbb/machine/mac_ppc.h:91:46: warning: cast from type 'volatile void*' to type 'int32_t*' {aka 'int*'} casts away qualifiers [-Wcast-qual] , "+m"(* (int32_t*) ptr) /* redundant with "memory" */ ^~~ ../../include/tbb/machine/mac_ppc.h: In function 'int64_t __TBB_machine_cmpswp8(volatile void*, int64_t, int64_t)': ../../include/tbb/machine/mac_ppc.h:116:46: warning: cast from type 'volatile void*' to type 'int64_t*' {aka 'long int*'} casts away qualifiers [-Wcast-qual] , "+m"(* (int64_t*) ptr) /* redundant with "memory" */ ^~~ g++ -o test_parallel_pipeline.exe -O2 -g -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -fexceptions -fstack-protector-strong -grecord-gcc-switches -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -mcpu=power8 -mtune=power8 -funwind-tables -fstack-clash-protection -DTBB_USE_DEBUG -g -O0 -DUSE_PTHREAD -DTEST_USES_TBB=1 -Wall -Wshadow -Wcast-qual -Woverloaded-virtual -Wnon-virtual-dtor -Wextra -O2 -g -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -fexceptions -fstack-protector-strong -grecord-gcc-switches -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -mcpu=power8 -mtune=power8 -funwind-tables -fstack-clash-protection test_parallel_pipeline.o libtbb_debug.so -lpthread -lrt -Wl,-rpath-link=. -rdynamic g++ -o test_lambda.o -c -MMD -O2 -g -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -fexceptions -fstack-protector-strong -grecord-gcc-switches -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -mcpu=power8 -mtune=power8 -funwind-tables -fstack-clash-protection -DTBB_USE_DEBUG -g -O0 -DUSE_PTHREAD -DTEST_USES_TBB=1 -Wall -Wshadow -Wcast-qual -Woverloaded-virtual -Wnon-virtual-dtor -Wextra -O2 -g -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -fexceptions -fstack-protector-strong -grecord-gcc-switches -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -mcpu=power8 -mtune=power8 -funwind-tables -fstack-clash-protection -std=c++14 -I../../src -I../../src/rml/include -I../../include -I. -include ../../src/test/harness_preload.h ../../src/test/test_lambda.cpp In file included from ../../include/tbb/tbb_machine.h:243, from ../../include/tbb/aligned_space.h:25, from ../../include/tbb/tbb.h:35, from ../../src/test/test_lambda.cpp:33: ../../include/tbb/machine/mac_ppc.h: In function 'int32_t __TBB_machine_cmpswp4(volatile void*, int32_t, int32_t)': ../../include/tbb/machine/mac_ppc.h:91:46: warning: cast from type 'volatile void*' to type 'int32_t*' {aka 'int*'} casts away qualifiers [-Wcast-qual] , "+m"(* (int32_t*) ptr) /* redundant with "memory" */ ^~~ ../../include/tbb/machine/mac_ppc.h: In function 'int64_t __TBB_machine_cmpswp8(volatile void*, int64_t, int64_t)': ../../include/tbb/machine/mac_ppc.h:116:46: warning: cast from type 'volatile void*' to type 'int64_t*' {aka 'long int*'} casts away qualifiers [-Wcast-qual] , "+m"(* (int64_t*) ptr) /* redundant with "memory" */ ^~~ In file included from ../../include/tbb/enumerable_thread_specific.h:25, from ../../include/tbb/combinable.h:24, from ../../include/tbb/tbb.h:41, from ../../src/test/test_lambda.cpp:33: ../../include/tbb/concurrent_vector.h: In static member function 'static void tbb::concurrent_vector::copy_range(void*, const void*, tbb::concurrent_vector::size_type)': ../../include/tbb/concurrent_vector.h:1296:18: warning: declaration of 'iterator' shadows a previous local [-Wshadow] I & iterator ((*const_cast(static_cast(p_type_erased_iterator)))); ^ ../../include/tbb/concurrent_vector.h:578:60: note: shadowed declaration is here typedef internal::vector_iterator iterator; ^~~~~~~~ In file included from ../../include/tbb/tbb.h:42, from ../../src/test/test_lambda.cpp:33: ../../include/tbb/concurrent_hash_map.h: In static member function 'static void tbb::interface5::internal::hash_map_base::init_buckets(tbb::interface5::internal::hash_map_base::segment_ptr_t, tbb::interface5::internal::hash_map_base::size_type, bool)': ../../include/tbb/concurrent_hash_map.h:158:68: warning: 'void* memset(void*, int, size_t)' clearing an object of type 'struct tbb::interface5::internal::hash_map_base::bucket' with no trivial copy-assignment; use value-initialization instead [-Wclass-memaccess] if( is_initial ) std::memset(ptr, 0, sz*sizeof(bucket) ); ^ ../../include/tbb/concurrent_hash_map.h:87:16: note: 'struct tbb::interface5::internal::hash_map_base::bucket' declared here struct bucket : tbb::internal::no_copy { ^~~~~~ In file included from ../../include/tbb/enumerable_thread_specific.h:25, from ../../include/tbb/combinable.h:24, from ../../include/tbb/tbb.h:41, from ../../src/test/test_lambda.cpp:33: ../../include/tbb/concurrent_vector.h: In instantiation of 'void tbb::internal::handle_unconstructed_elements(T*, std::size_t) [with T = tbb::internal::padded >, 128>; std::size_t = long unsigned int]': ../../include/tbb/concurrent_vector.h:1123:56: required from 'tbb::concurrent_vector::internal_loop_guide::~internal_loop_guide() [with T = tbb::internal::padded >, 128>; A = tbb::cache_aligned_allocator >, 128> >]' ../../include/tbb/concurrent_vector.h:1262:25: required from 'static void tbb::concurrent_vector::initialize_array(void*, const void*, tbb::concurrent_vector::size_type) [with T = tbb::internal::padded >, 128>; A = tbb::cache_aligned_allocator >, 128> >; tbb::concurrent_vector::size_type = long unsigned int]' ../../include/tbb/concurrent_vector.h:780:76: required from 'tbb::concurrent_vector::iterator tbb::concurrent_vector::grow_by(tbb::concurrent_vector::size_type) [with T = tbb::internal::padded >, 128>; A = tbb::cache_aligned_allocator >, 128> >; tbb::concurrent_vector::iterator = tbb::internal::vector_iterator >, 128>, tbb::cache_aligned_allocator >, 128> > >, tbb::internal::padded >, 128> >; tbb::concurrent_vector::size_type = long unsigned int]' ../../include/tbb/enumerable_thread_specific.h:797:36: required from 'void* tbb::interface6::enumerable_thread_specific::create_local() [with T = std::pair; Allocator = tbb::cache_aligned_allocator >; tbb::ets_key_usage_type ETS_key_type = (tbb::ets_key_usage_type)1]' ../../include/tbb/enumerable_thread_specific.h:796:15: required from here ../../include/tbb/concurrent_vector.h:77:20: warning: 'void* memset(void*, int, size_t)' clearing an object of non-trivial type 'struct tbb::internal::padded >, 128>'; use assignment or value-initialization instead [-Wclass-memaccess] std::memset( array, 0, n_of_elements * sizeof( T ) ); ~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ In file included from ../../include/tbb/aligned_space.h:24, from ../../include/tbb/tbb.h:35, from ../../src/test/test_lambda.cpp:33: ../../include/tbb/tbb_stddef.h:257:8: note: 'struct tbb::internal::padded >, 128>' declared here struct padded : padded_base {}; ^~~~~~ g++ -o test_lambda.exe -O2 -g -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -fexceptions -fstack-protector-strong -grecord-gcc-switches -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -mcpu=power8 -mtune=power8 -funwind-tables -fstack-clash-protection -DTBB_USE_DEBUG -g -O0 -DUSE_PTHREAD -DTEST_USES_TBB=1 -Wall -Wshadow -Wcast-qual -Woverloaded-virtual -Wnon-virtual-dtor -Wextra -O2 -g -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -fexceptions -fstack-protector-strong -grecord-gcc-switches -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -mcpu=power8 -mtune=power8 -funwind-tables -fstack-clash-protection test_lambda.o libtbb_debug.so -lpthread -lrt -Wl,-rpath-link=. -rdynamic g++ -o test_task_scheduler_init.o -c -MMD -O2 -g -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -fexceptions -fstack-protector-strong -grecord-gcc-switches -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -mcpu=power8 -mtune=power8 -funwind-tables -fstack-clash-protection -DTBB_USE_DEBUG -g -O0 -DUSE_PTHREAD -DTEST_USES_TBB=1 -Wall -Wshadow -Wcast-qual -Woverloaded-virtual -Wnon-virtual-dtor -Wextra -O2 -g -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -fexceptions -fstack-protector-strong -grecord-gcc-switches -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -mcpu=power8 -mtune=power8 -funwind-tables -fstack-clash-protection -std=c++14 -I../../src -I../../src/rml/include -I../../include -I. -include ../../src/test/harness_preload.h ../../src/test/test_task_scheduler_init.cpp In file included from ../../include/tbb/tbb_machine.h:243, from ../../include/tbb/task.h:25, from ../../include/tbb/parallel_for.h:25, from ../../src/test/test_task_scheduler_init.cpp:41: ../../include/tbb/machine/mac_ppc.h: In function 'int32_t __TBB_machine_cmpswp4(volatile void*, int32_t, int32_t)': ../../include/tbb/machine/mac_ppc.h:91:46: warning: cast from type 'volatile void*' to type 'int32_t*' {aka 'int*'} casts away qualifiers [-Wcast-qual] , "+m"(* (int32_t*) ptr) /* redundant with "memory" */ ^~~ ../../include/tbb/machine/mac_ppc.h: In function 'int64_t __TBB_machine_cmpswp8(volatile void*, int64_t, int64_t)': ../../include/tbb/machine/mac_ppc.h:116:46: warning: cast from type 'volatile void*' to type 'int64_t*' {aka 'long int*'} casts away qualifiers [-Wcast-qual] , "+m"(* (int64_t*) ptr) /* redundant with "memory" */ ^~~ In file included from ../../include/tbb/enumerable_thread_specific.h:25, from ../../include/tbb/combinable.h:24, from ../../src/test/harness_concurrency_tracker.h:33, from ../../src/test/test_task_scheduler_init.cpp:46: ../../include/tbb/concurrent_vector.h: In static member function 'static void tbb::concurrent_vector::copy_range(void*, const void*, tbb::concurrent_vector::size_type)': ../../include/tbb/concurrent_vector.h:1296:18: warning: declaration of 'iterator' shadows a previous local [-Wshadow] I & iterator ((*const_cast(static_cast(p_type_erased_iterator)))); ^ ../../include/tbb/concurrent_vector.h:578:60: note: shadowed declaration is here typedef internal::vector_iterator iterator; ^~~~~~~~ In file included from ../../include/tbb/enumerable_thread_specific.h:25, from ../../include/tbb/combinable.h:24, from ../../src/test/harness_concurrency_tracker.h:33, from ../../src/test/test_task_scheduler_init.cpp:46: ../../include/tbb/concurrent_vector.h: In instantiation of 'void tbb::internal::handle_unconstructed_elements(T*, std::size_t) [with T = tbb::internal::padded, 128>; std::size_t = long unsigned int]': ../../include/tbb/concurrent_vector.h:1123:56: required from 'tbb::concurrent_vector::internal_loop_guide::~internal_loop_guide() [with T = tbb::internal::padded, 128>; A = tbb::cache_aligned_allocator, 128> >]' ../../include/tbb/concurrent_vector.h:1262:25: required from 'static void tbb::concurrent_vector::initialize_array(void*, const void*, tbb::concurrent_vector::size_type) [with T = tbb::internal::padded, 128>; A = tbb::cache_aligned_allocator, 128> >; tbb::concurrent_vector::size_type = long unsigned int]' ../../include/tbb/concurrent_vector.h:780:76: required from 'tbb::concurrent_vector::iterator tbb::concurrent_vector::grow_by(tbb::concurrent_vector::size_type) [with T = tbb::internal::padded, 128>; A = tbb::cache_aligned_allocator, 128> >; tbb::concurrent_vector::iterator = tbb::internal::vector_iterator, 128>, tbb::cache_aligned_allocator, 128> > >, tbb::internal::padded, 128> >; tbb::concurrent_vector::size_type = long unsigned int]' ../../include/tbb/enumerable_thread_specific.h:797:36: required from 'void* tbb::interface6::enumerable_thread_specific::create_local() [with T = long unsigned int; Allocator = tbb::cache_aligned_allocator; tbb::ets_key_usage_type ETS_key_type = (tbb::ets_key_usage_type)1]' ../../include/tbb/enumerable_thread_specific.h:796:15: required from here ../../include/tbb/concurrent_vector.h:77:20: warning: 'void* memset(void*, int, size_t)' clearing an object of non-trivial type 'struct tbb::internal::padded, 128>'; use assignment or value-initialization instead [-Wclass-memaccess] std::memset( array, 0, n_of_elements * sizeof( T ) ); ~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ In file included from ../../include/tbb/task_scheduler_init.h:24, from ../../src/test/test_task_scheduler_init.cpp:27: ../../include/tbb/tbb_stddef.h:257:8: note: 'struct tbb::internal::padded, 128>' declared here struct padded : padded_base {}; ^~~~~~ g++ -o test_task_scheduler_init.exe -O2 -g -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -fexceptions -fstack-protector-strong -grecord-gcc-switches -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -mcpu=power8 -mtune=power8 -funwind-tables -fstack-clash-protection -DTBB_USE_DEBUG -g -O0 -DUSE_PTHREAD -DTEST_USES_TBB=1 -Wall -Wshadow -Wcast-qual -Woverloaded-virtual -Wnon-virtual-dtor -Wextra -O2 -g -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -fexceptions -fstack-protector-strong -grecord-gcc-switches -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -mcpu=power8 -mtune=power8 -funwind-tables -fstack-clash-protection test_task_scheduler_init.o libtbb_debug.so -lpthread -lrt -Wl,-rpath-link=. -rdynamic g++ -o test_task_scheduler_observer.o -c -MMD -O2 -g -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -fexceptions -fstack-protector-strong -grecord-gcc-switches -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -mcpu=power8 -mtune=power8 -funwind-tables -fstack-clash-protection -DTBB_USE_DEBUG -g -O0 -DUSE_PTHREAD -DTEST_USES_TBB=1 -Wall -Wshadow -Wcast-qual -Woverloaded-virtual -Wnon-virtual-dtor -Wextra -O2 -g -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -fexceptions -fstack-protector-strong -grecord-gcc-switches -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -mcpu=power8 -mtune=power8 -funwind-tables -fstack-clash-protection -std=c++14 -I../../src -I../../src/rml/include -I../../include -I. -include ../../src/test/harness_preload.h ../../src/test/test_task_scheduler_observer.cpp In file included from ../../include/tbb/tbb_machine.h:243, from ../../include/tbb/atomic.h:32, from ../../include/tbb/task_scheduler_observer.h:24, from ../../src/test/test_task_scheduler_observer.cpp:34: ../../include/tbb/machine/mac_ppc.h: In function 'int32_t __TBB_machine_cmpswp4(volatile void*, int32_t, int32_t)': ../../include/tbb/machine/mac_ppc.h:91:46: warning: cast from type 'volatile void*' to type 'int32_t*' {aka 'int*'} casts away qualifiers [-Wcast-qual] , "+m"(* (int32_t*) ptr) /* redundant with "memory" */ ^~~ ../../include/tbb/machine/mac_ppc.h: In function 'int64_t __TBB_machine_cmpswp8(volatile void*, int64_t, int64_t)': ../../include/tbb/machine/mac_ppc.h:116:46: warning: cast from type 'volatile void*' to type 'int64_t*' {aka 'long int*'} casts away qualifiers [-Wcast-qual] , "+m"(* (int64_t*) ptr) /* redundant with "memory" */ ^~~ In file included from ../../include/tbb/enumerable_thread_specific.h:25, from ../../src/test/test_task_scheduler_observer.cpp:38: ../../include/tbb/concurrent_vector.h: In static member function 'static void tbb::concurrent_vector::copy_range(void*, const void*, tbb::concurrent_vector::size_type)': ../../include/tbb/concurrent_vector.h:1296:18: warning: declaration of 'iterator' shadows a previous local [-Wshadow] I & iterator ((*const_cast(static_cast(p_type_erased_iterator)))); ^ ../../include/tbb/concurrent_vector.h:578:60: note: shadowed declaration is here typedef internal::vector_iterator iterator; ^~~~~~~~ In file included from ../../include/tbb/enumerable_thread_specific.h:25, from ../../src/test/test_task_scheduler_observer.cpp:38: ../../include/tbb/concurrent_vector.h: In instantiation of 'void tbb::internal::handle_unconstructed_elements(T*, std::size_t) [with T = tbb::internal::padded, 128>; std::size_t = long unsigned int]': ../../include/tbb/concurrent_vector.h:1123:56: required from 'tbb::concurrent_vector::internal_loop_guide::~internal_loop_guide() [with T = tbb::internal::padded, 128>; A = tbb::cache_aligned_allocator, 128> >]' ../../include/tbb/concurrent_vector.h:1262:25: required from 'static void tbb::concurrent_vector::initialize_array(void*, const void*, tbb::concurrent_vector::size_type) [with T = tbb::internal::padded, 128>; A = tbb::cache_aligned_allocator, 128> >; tbb::concurrent_vector::size_type = long unsigned int]' ../../include/tbb/concurrent_vector.h:780:76: required from 'tbb::concurrent_vector::iterator tbb::concurrent_vector::grow_by(tbb::concurrent_vector::size_type) [with T = tbb::internal::padded, 128>; A = tbb::cache_aligned_allocator, 128> >; tbb::concurrent_vector::iterator = tbb::internal::vector_iterator, 128>, tbb::cache_aligned_allocator, 128> > >, tbb::internal::padded, 128> >; tbb::concurrent_vector::size_type = long unsigned int]' ../../include/tbb/enumerable_thread_specific.h:797:36: required from 'void* tbb::interface6::enumerable_thread_specific::create_local() [with T = ThreadState; Allocator = tbb::cache_aligned_allocator; tbb::ets_key_usage_type ETS_key_type = (tbb::ets_key_usage_type)1]' ../../include/tbb/enumerable_thread_specific.h:796:15: required from here ../../include/tbb/concurrent_vector.h:77:20: warning: 'void* memset(void*, int, size_t)' clearing an object of non-trivial type 'struct tbb::internal::padded, 128>'; use assignment or value-initialization instead [-Wclass-memaccess] std::memset( array, 0, n_of_elements * sizeof( T ) ); ~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ In file included from ../../src/test/harness.h:189, from ../../src/test/test_task_scheduler_observer.cpp:31: ../../include/tbb/tbb_stddef.h:257:8: note: 'struct tbb::internal::padded, 128>' declared here struct padded : padded_base {}; ^~~~~~ g++ -o test_task_scheduler_observer.exe -O2 -g -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -fexceptions -fstack-protector-strong -grecord-gcc-switches -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -mcpu=power8 -mtune=power8 -funwind-tables -fstack-clash-protection -DTBB_USE_DEBUG -g -O0 -DUSE_PTHREAD -DTEST_USES_TBB=1 -Wall -Wshadow -Wcast-qual -Woverloaded-virtual -Wnon-virtual-dtor -Wextra -O2 -g -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -fexceptions -fstack-protector-strong -grecord-gcc-switches -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -mcpu=power8 -mtune=power8 -funwind-tables -fstack-clash-protection test_task_scheduler_observer.o libtbb_debug.so -lpthread -lrt -Wl,-rpath-link=. -rdynamic g++ -o test_task.o -c -MMD -O2 -g -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -fexceptions -fstack-protector-strong -grecord-gcc-switches -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -mcpu=power8 -mtune=power8 -funwind-tables -fstack-clash-protection -DTBB_USE_DEBUG -g -O0 -DUSE_PTHREAD -DTEST_USES_TBB=1 -Wall -Wshadow -Wcast-qual -Woverloaded-virtual -Wnon-virtual-dtor -Wextra -O2 -g -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -fexceptions -fstack-protector-strong -grecord-gcc-switches -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -mcpu=power8 -mtune=power8 -funwind-tables -fstack-clash-protection -std=c++14 -I../../src -I../../src/rml/include -I../../include -I. -include ../../src/test/harness_preload.h ../../src/test/test_task.cpp In file included from ../../include/tbb/tbb_machine.h:243, from ../../include/tbb/task.h:25, from ../../src/test/harness_task.h:21, from ../../src/test/test_task.cpp:21: ../../include/tbb/machine/mac_ppc.h: In function 'int32_t __TBB_machine_cmpswp4(volatile void*, int32_t, int32_t)': ../../include/tbb/machine/mac_ppc.h:91:46: warning: cast from type 'volatile void*' to type 'int32_t*' {aka 'int*'} casts away qualifiers [-Wcast-qual] , "+m"(* (int32_t*) ptr) /* redundant with "memory" */ ^~~ ../../include/tbb/machine/mac_ppc.h: In function 'int64_t __TBB_machine_cmpswp8(volatile void*, int64_t, int64_t)': ../../include/tbb/machine/mac_ppc.h:116:46: warning: cast from type 'volatile void*' to type 'int64_t*' {aka 'long int*'} casts away qualifiers [-Wcast-qual] , "+m"(* (int64_t*) ptr) /* redundant with "memory" */ ^~~ g++ -o test_task.exe -O2 -g -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -fexceptions -fstack-protector-strong -grecord-gcc-switches -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -mcpu=power8 -mtune=power8 -funwind-tables -fstack-clash-protection -DTBB_USE_DEBUG -g -O0 -DUSE_PTHREAD -DTEST_USES_TBB=1 -Wall -Wshadow -Wcast-qual -Woverloaded-virtual -Wnon-virtual-dtor -Wextra -O2 -g -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -fexceptions -fstack-protector-strong -grecord-gcc-switches -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -mcpu=power8 -mtune=power8 -funwind-tables -fstack-clash-protection test_task.o libtbb_debug.so -lpthread -lrt -Wl,-rpath-link=. -rdynamic g++ -o test_tbb_thread.o -c -MMD -O2 -g -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -fexceptions -fstack-protector-strong -grecord-gcc-switches -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -mcpu=power8 -mtune=power8 -funwind-tables -fstack-clash-protection -DTBB_USE_DEBUG -g -O0 -DUSE_PTHREAD -DTEST_USES_TBB=1 -Wall -Wshadow -Wcast-qual -Woverloaded-virtual -Wnon-virtual-dtor -Wextra -O2 -g -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -fexceptions -fstack-protector-strong -grecord-gcc-switches -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -mcpu=power8 -mtune=power8 -funwind-tables -fstack-clash-protection -std=c++14 -I../../src -I../../src/rml/include -I../../include -I. -include ../../src/test/harness_preload.h ../../src/test/test_tbb_thread.cpp In file included from ../../include/tbb/tbb_machine.h:243, from ../../include/tbb/atomic.h:32, from ../../include/tbb/tbb_thread.h:46, from ../../src/test/test_tbb_thread.cpp:21: ../../include/tbb/machine/mac_ppc.h: In function 'int32_t __TBB_machine_cmpswp4(volatile void*, int32_t, int32_t)': ../../include/tbb/machine/mac_ppc.h:91:46: warning: cast from type 'volatile void*' to type 'int32_t*' {aka 'int*'} casts away qualifiers [-Wcast-qual] , "+m"(* (int32_t*) ptr) /* redundant with "memory" */ ^~~ ../../include/tbb/machine/mac_ppc.h: In function 'int64_t __TBB_machine_cmpswp8(volatile void*, int64_t, int64_t)': ../../include/tbb/machine/mac_ppc.h:116:46: warning: cast from type 'volatile void*' to type 'int64_t*' {aka 'long int*'} casts away qualifiers [-Wcast-qual] , "+m"(* (int64_t*) ptr) /* redundant with "memory" */ ^~~ g++ -o test_tbb_thread.exe -O2 -g -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -fexceptions -fstack-protector-strong -grecord-gcc-switches -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -mcpu=power8 -mtune=power8 -funwind-tables -fstack-clash-protection -DTBB_USE_DEBUG -g -O0 -DUSE_PTHREAD -DTEST_USES_TBB=1 -Wall -Wshadow -Wcast-qual -Woverloaded-virtual -Wnon-virtual-dtor -Wextra -O2 -g -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -fexceptions -fstack-protector-strong -grecord-gcc-switches -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -mcpu=power8 -mtune=power8 -funwind-tables -fstack-clash-protection test_tbb_thread.o libtbb_debug.so -lpthread -lrt -Wl,-rpath-link=. -rdynamic g++ -o test_std_thread.o -c -MMD -O2 -g -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -fexceptions -fstack-protector-strong -grecord-gcc-switches -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -mcpu=power8 -mtune=power8 -funwind-tables -fstack-clash-protection -DTBB_USE_DEBUG -g -O0 -DUSE_PTHREAD -DTEST_USES_TBB=1 -Wall -Wshadow -Wcast-qual -Woverloaded-virtual -Wnon-virtual-dtor -Wextra -O2 -g -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -fexceptions -fstack-protector-strong -grecord-gcc-switches -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -mcpu=power8 -mtune=power8 -funwind-tables -fstack-clash-protection -std=c++14 -I../../src -I../../src/rml/include -I../../include -I. -include ../../src/test/harness_preload.h ../../src/test/test_std_thread.cpp In file included from ../../include/tbb/compat/../tbb_machine.h:243, from ../../include/tbb/compat/../atomic.h:32, from ../../include/tbb/compat/../tbb_thread.h:46, from ../../include/tbb/compat/thread:28, from ../../src/test/test_std_thread.cpp:31: ../../include/tbb/compat/../machine/mac_ppc.h: In function 'int32_t __TBB_machine_cmpswp4(volatile void*, int32_t, int32_t)': ../../include/tbb/compat/../machine/mac_ppc.h:91:46: warning: cast from type 'volatile void*' to type 'int32_t*' {aka 'int*'} casts away qualifiers [-Wcast-qual] , "+m"(* (int32_t*) ptr) /* redundant with "memory" */ ^~~ ../../include/tbb/compat/../machine/mac_ppc.h: In function 'int64_t __TBB_machine_cmpswp8(volatile void*, int64_t, int64_t)': ../../include/tbb/compat/../machine/mac_ppc.h:116:46: warning: cast from type 'volatile void*' to type 'int64_t*' {aka 'long int*'} casts away qualifiers [-Wcast-qual] , "+m"(* (int64_t*) ptr) /* redundant with "memory" */ ^~~ g++ -o test_std_thread.exe -O2 -g -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -fexceptions -fstack-protector-strong -grecord-gcc-switches -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -mcpu=power8 -mtune=power8 -funwind-tables -fstack-clash-protection -DTBB_USE_DEBUG -g -O0 -DUSE_PTHREAD -DTEST_USES_TBB=1 -Wall -Wshadow -Wcast-qual -Woverloaded-virtual -Wnon-virtual-dtor -Wextra -O2 -g -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -fexceptions -fstack-protector-strong -grecord-gcc-switches -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -mcpu=power8 -mtune=power8 -funwind-tables -fstack-clash-protection test_std_thread.o libtbb_debug.so -lpthread -lrt -Wl,-rpath-link=. -rdynamic g++ -o test_tick_count.o -c -MMD -O2 -g -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -fexceptions -fstack-protector-strong -grecord-gcc-switches -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -mcpu=power8 -mtune=power8 -funwind-tables -fstack-clash-protection -DTBB_USE_DEBUG -g -O0 -DUSE_PTHREAD -DTEST_USES_TBB=1 -Wall -Wshadow -Wcast-qual -Woverloaded-virtual -Wnon-virtual-dtor -Wextra -O2 -g -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -fexceptions -fstack-protector-strong -grecord-gcc-switches -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -mcpu=power8 -mtune=power8 -funwind-tables -fstack-clash-protection -std=c++14 -I../../src -I../../src/rml/include -I../../include -I. -include ../../src/test/harness_preload.h ../../src/test/test_tick_count.cpp In file included from ../../include/tbb/tbb_machine.h:243, from ../../include/tbb/atomic.h:32, from ../../src/test/test_tick_count.cpp:95: ../../include/tbb/machine/mac_ppc.h: In function 'int32_t __TBB_machine_cmpswp4(volatile void*, int32_t, int32_t)': ../../include/tbb/machine/mac_ppc.h:91:46: warning: cast from type 'volatile void*' to type 'int32_t*' {aka 'int*'} casts away qualifiers [-Wcast-qual] , "+m"(* (int32_t*) ptr) /* redundant with "memory" */ ^~~ ../../include/tbb/machine/mac_ppc.h: In function 'int64_t __TBB_machine_cmpswp8(volatile void*, int64_t, int64_t)': ../../include/tbb/machine/mac_ppc.h:116:46: warning: cast from type 'volatile void*' to type 'int64_t*' {aka 'long int*'} casts away qualifiers [-Wcast-qual] , "+m"(* (int64_t*) ptr) /* redundant with "memory" */ ^~~ g++ -o test_tick_count.exe -O2 -g -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -fexceptions -fstack-protector-strong -grecord-gcc-switches -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -mcpu=power8 -mtune=power8 -funwind-tables -fstack-clash-protection -DTBB_USE_DEBUG -g -O0 -DUSE_PTHREAD -DTEST_USES_TBB=1 -Wall -Wshadow -Wcast-qual -Woverloaded-virtual -Wnon-virtual-dtor -Wextra -O2 -g -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -fexceptions -fstack-protector-strong -grecord-gcc-switches -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -mcpu=power8 -mtune=power8 -funwind-tables -fstack-clash-protection test_tick_count.o libtbb_debug.so -lpthread -lrt -Wl,-rpath-link=. -rdynamic g++ -o test_inits_loop.o -c -MMD -O2 -g -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -fexceptions -fstack-protector-strong -grecord-gcc-switches -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -mcpu=power8 -mtune=power8 -funwind-tables -fstack-clash-protection -DTBB_USE_DEBUG -g -O0 -DUSE_PTHREAD -DTEST_USES_TBB=1 -Wall -Wshadow -Wcast-qual -Woverloaded-virtual -Wnon-virtual-dtor -Wextra -O2 -g -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -fexceptions -fstack-protector-strong -grecord-gcc-switches -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -mcpu=power8 -mtune=power8 -funwind-tables -fstack-clash-protection -std=c++14 -I../../src -I../../src/rml/include -I../../include -I. -include ../../src/test/harness_preload.h ../../src/test/test_inits_loop.cpp g++ -o test_inits_loop.exe -O2 -g -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -fexceptions -fstack-protector-strong -grecord-gcc-switches -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -mcpu=power8 -mtune=power8 -funwind-tables -fstack-clash-protection -DTBB_USE_DEBUG -g -O0 -DUSE_PTHREAD -DTEST_USES_TBB=1 -Wall -Wshadow -Wcast-qual -Woverloaded-virtual -Wnon-virtual-dtor -Wextra -O2 -g -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -fexceptions -fstack-protector-strong -grecord-gcc-switches -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -mcpu=power8 -mtune=power8 -funwind-tables -fstack-clash-protection test_inits_loop.o libtbb_debug.so -lpthread -lrt -Wl,-rpath-link=. -rdynamic g++ -o test_yield.o -c -MMD -O2 -g -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -fexceptions -fstack-protector-strong -grecord-gcc-switches -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -mcpu=power8 -mtune=power8 -funwind-tables -fstack-clash-protection -DTBB_USE_DEBUG -g -O0 -DUSE_PTHREAD -DTEST_USES_TBB=1 -Wall -Wshadow -Wcast-qual -Woverloaded-virtual -Wnon-virtual-dtor -Wextra -O2 -g -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -fexceptions -fstack-protector-strong -grecord-gcc-switches -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -mcpu=power8 -mtune=power8 -funwind-tables -fstack-clash-protection -std=c++14 -I../../src -I../../src/rml/include -I../../include -I. -include ../../src/test/harness_preload.h ../../src/test/test_yield.cpp In file included from ../../include/tbb/tbb_machine.h:243, from ../../src/test/test_yield.cpp:27: ../../include/tbb/machine/mac_ppc.h: In function 'int32_t __TBB_machine_cmpswp4(volatile void*, int32_t, int32_t)': ../../include/tbb/machine/mac_ppc.h:91:46: warning: cast from type 'volatile void*' to type 'int32_t*' {aka 'int*'} casts away qualifiers [-Wcast-qual] , "+m"(* (int32_t*) ptr) /* redundant with "memory" */ ^~~ ../../include/tbb/machine/mac_ppc.h: In function 'int64_t __TBB_machine_cmpswp8(volatile void*, int64_t, int64_t)': ../../include/tbb/machine/mac_ppc.h:116:46: warning: cast from type 'volatile void*' to type 'int64_t*' {aka 'long int*'} casts away qualifiers [-Wcast-qual] , "+m"(* (int64_t*) ptr) /* redundant with "memory" */ ^~~ g++ -o test_yield.exe -O2 -g -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -fexceptions -fstack-protector-strong -grecord-gcc-switches -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -mcpu=power8 -mtune=power8 -funwind-tables -fstack-clash-protection -DTBB_USE_DEBUG -g -O0 -DUSE_PTHREAD -DTEST_USES_TBB=1 -Wall -Wshadow -Wcast-qual -Woverloaded-virtual -Wnon-virtual-dtor -Wextra -O2 -g -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -fexceptions -fstack-protector-strong -grecord-gcc-switches -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -mcpu=power8 -mtune=power8 -funwind-tables -fstack-clash-protection test_yield.o libtbb_debug.so -lpthread -lrt -Wl,-rpath-link=. -rdynamic g++ -o test_eh_tasks.o -c -MMD -O2 -g -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -fexceptions -fstack-protector-strong -grecord-gcc-switches -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -mcpu=power8 -mtune=power8 -funwind-tables -fstack-clash-protection -DTBB_USE_DEBUG -g -O0 -DUSE_PTHREAD -DTEST_USES_TBB=1 -Wall -Wshadow -Wcast-qual -Woverloaded-virtual -Wnon-virtual-dtor -Wextra -O2 -g -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -fexceptions -fstack-protector-strong -grecord-gcc-switches -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -mcpu=power8 -mtune=power8 -funwind-tables -fstack-clash-protection -std=c++14 -I../../src -I../../src/rml/include -I../../include -I. -include ../../src/test/harness_preload.h ../../src/test/test_eh_tasks.cpp In file included from ../../include/tbb/tbb_machine.h:243, from ../../include/tbb/task.h:25, from ../../src/test/test_eh_tasks.cpp:36: ../../include/tbb/machine/mac_ppc.h: In function 'int32_t __TBB_machine_cmpswp4(volatile void*, int32_t, int32_t)': ../../include/tbb/machine/mac_ppc.h:91:46: warning: cast from type 'volatile void*' to type 'int32_t*' {aka 'int*'} casts away qualifiers [-Wcast-qual] , "+m"(* (int32_t*) ptr) /* redundant with "memory" */ ^~~ ../../include/tbb/machine/mac_ppc.h: In function 'int64_t __TBB_machine_cmpswp8(volatile void*, int64_t, int64_t)': ../../include/tbb/machine/mac_ppc.h:116:46: warning: cast from type 'volatile void*' to type 'int64_t*' {aka 'long int*'} casts away qualifiers [-Wcast-qual] , "+m"(* (int64_t*) ptr) /* redundant with "memory" */ ^~~ In file included from ../../include/tbb/enumerable_thread_specific.h:25, from ../../include/tbb/combinable.h:24, from ../../src/test/harness_concurrency_tracker.h:33, from ../../src/test/harness_eh.h:28, from ../../src/test/test_eh_tasks.cpp:85: ../../include/tbb/concurrent_vector.h: In static member function 'static void tbb::concurrent_vector::copy_range(void*, const void*, tbb::concurrent_vector::size_type)': ../../include/tbb/concurrent_vector.h:1296:18: warning: declaration of 'iterator' shadows a previous local [-Wshadow] I & iterator ((*const_cast(static_cast(p_type_erased_iterator)))); ^ ../../include/tbb/concurrent_vector.h:578:60: note: shadowed declaration is here typedef internal::vector_iterator iterator; ^~~~~~~~ ../../src/test/test_eh_tasks.cpp: In member function 'void CtxConcurrentDestroyer::operator()(int) const': ../../src/test/test_eh_tasks.cpp:727:71: warning: 'void* memset(void*, int, size_t)' clearing an object of type 'class tbb::task_group_context' with no trivial copy-assignment; use value-initialization instead [-Wclass-memaccess] memset( s_Contexts[i], 0, sizeof(tbb::task_group_context) ); ^ In file included from ../../src/test/test_eh_tasks.cpp:36: ../../include/tbb/task.h:319:7: note: 'class tbb::task_group_context' declared here class task_group_context : internal::no_copy { ^~~~~~~~~~~~~~~~~~ In file included from ../../include/tbb/enumerable_thread_specific.h:25, from ../../include/tbb/combinable.h:24, from ../../src/test/harness_concurrency_tracker.h:33, from ../../src/test/harness_eh.h:28, from ../../src/test/test_eh_tasks.cpp:85: ../../include/tbb/concurrent_vector.h: In instantiation of 'void tbb::internal::handle_unconstructed_elements(T*, std::size_t) [with T = tbb::internal::padded, 128>; std::size_t = long unsigned int]': ../../include/tbb/concurrent_vector.h:1123:56: required from 'tbb::concurrent_vector::internal_loop_guide::~internal_loop_guide() [with T = tbb::internal::padded, 128>; A = tbb::cache_aligned_allocator, 128> >]' ../../include/tbb/concurrent_vector.h:1262:25: required from 'static void tbb::concurrent_vector::initialize_array(void*, const void*, tbb::concurrent_vector::size_type) [with T = tbb::internal::padded, 128>; A = tbb::cache_aligned_allocator, 128> >; tbb::concurrent_vector::size_type = long unsigned int]' ../../include/tbb/concurrent_vector.h:780:76: required from 'tbb::concurrent_vector::iterator tbb::concurrent_vector::grow_by(tbb::concurrent_vector::size_type) [with T = tbb::internal::padded, 128>; A = tbb::cache_aligned_allocator, 128> >; tbb::concurrent_vector::iterator = tbb::internal::vector_iterator, 128>, tbb::cache_aligned_allocator, 128> > >, tbb::internal::padded, 128> >; tbb::concurrent_vector::size_type = long unsigned int]' ../../include/tbb/enumerable_thread_specific.h:797:36: required from 'void* tbb::interface6::enumerable_thread_specific::create_local() [with T = long unsigned int; Allocator = tbb::cache_aligned_allocator; tbb::ets_key_usage_type ETS_key_type = (tbb::ets_key_usage_type)1]' ../../include/tbb/enumerable_thread_specific.h:796:15: required from here ../../include/tbb/concurrent_vector.h:77:20: warning: 'void* memset(void*, int, size_t)' clearing an object of non-trivial type 'struct tbb::internal::padded, 128>'; use assignment or value-initialization instead [-Wclass-memaccess] std::memset( array, 0, n_of_elements * sizeof( T ) ); ~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ In file included from ../../src/test/harness.h:189, from ../../src/test/test_eh_tasks.cpp:25: ../../include/tbb/tbb_stddef.h:257:8: note: 'struct tbb::internal::padded, 128>' declared here struct padded : padded_base {}; ^~~~~~ g++ -o test_eh_tasks.exe -O2 -g -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -fexceptions -fstack-protector-strong -grecord-gcc-switches -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -mcpu=power8 -mtune=power8 -funwind-tables -fstack-clash-protection -DTBB_USE_DEBUG -g -O0 -DUSE_PTHREAD -DTEST_USES_TBB=1 -Wall -Wshadow -Wcast-qual -Woverloaded-virtual -Wnon-virtual-dtor -Wextra -O2 -g -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -fexceptions -fstack-protector-strong -grecord-gcc-switches -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -mcpu=power8 -mtune=power8 -funwind-tables -fstack-clash-protection test_eh_tasks.o libtbb_debug.so -lpthread -lrt -Wl,-rpath-link=. -rdynamic g++ -o test_eh_algorithms.o -c -MMD -O2 -g -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -fexceptions -fstack-protector-strong -grecord-gcc-switches -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -mcpu=power8 -mtune=power8 -funwind-tables -fstack-clash-protection -DTBB_USE_DEBUG -g -O0 -DUSE_PTHREAD -DTEST_USES_TBB=1 -Wall -Wshadow -Wcast-qual -Woverloaded-virtual -Wnon-virtual-dtor -Wextra -O2 -g -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -fexceptions -fstack-protector-strong -grecord-gcc-switches -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -mcpu=power8 -mtune=power8 -funwind-tables -fstack-clash-protection -std=c++14 -I../../src -I../../src/rml/include -I../../include -I. -include ../../src/test/harness_preload.h ../../src/test/test_eh_algorithms.cpp In file included from ../../include/tbb/tbb_machine.h:243, from ../../include/tbb/task.h:25, from ../../src/test/test_eh_algorithms.cpp:31: ../../include/tbb/machine/mac_ppc.h: In function 'int32_t __TBB_machine_cmpswp4(volatile void*, int32_t, int32_t)': ../../include/tbb/machine/mac_ppc.h:91:46: warning: cast from type 'volatile void*' to type 'int32_t*' {aka 'int*'} casts away qualifiers [-Wcast-qual] , "+m"(* (int32_t*) ptr) /* redundant with "memory" */ ^~~ ../../include/tbb/machine/mac_ppc.h: In function 'int64_t __TBB_machine_cmpswp8(volatile void*, int64_t, int64_t)': ../../include/tbb/machine/mac_ppc.h:116:46: warning: cast from type 'volatile void*' to type 'int64_t*' {aka 'long int*'} casts away qualifiers [-Wcast-qual] , "+m"(* (int64_t*) ptr) /* redundant with "memory" */ ^~~ In file included from ../../include/tbb/enumerable_thread_specific.h:25, from ../../include/tbb/combinable.h:24, from ../../src/test/harness_concurrency_tracker.h:33, from ../../src/test/harness_eh.h:28, from ../../src/test/test_eh_algorithms.cpp:54: ../../include/tbb/concurrent_vector.h: In static member function 'static void tbb::concurrent_vector::copy_range(void*, const void*, tbb::concurrent_vector::size_type)': ../../include/tbb/concurrent_vector.h:1296:18: warning: declaration of 'iterator' shadows a previous local [-Wshadow] I & iterator ((*const_cast(static_cast(p_type_erased_iterator)))); ^ ../../include/tbb/concurrent_vector.h:578:60: note: shadowed declaration is here typedef internal::vector_iterator iterator; ^~~~~~~~ In file included from ../../include/tbb/enumerable_thread_specific.h:25, from ../../include/tbb/combinable.h:24, from ../../src/test/harness_concurrency_tracker.h:33, from ../../src/test/harness_eh.h:28, from ../../src/test/test_eh_algorithms.cpp:54: ../../include/tbb/concurrent_vector.h: In instantiation of 'void tbb::internal::handle_unconstructed_elements(T*, std::size_t) [with T = tbb::internal::padded, 128>; std::size_t = long unsigned int]': ../../include/tbb/concurrent_vector.h:1123:56: required from 'tbb::concurrent_vector::internal_loop_guide::~internal_loop_guide() [with T = tbb::internal::padded, 128>; A = tbb::cache_aligned_allocator, 128> >]' ../../include/tbb/concurrent_vector.h:1262:25: required from 'static void tbb::concurrent_vector::initialize_array(void*, const void*, tbb::concurrent_vector::size_type) [with T = tbb::internal::padded, 128>; A = tbb::cache_aligned_allocator, 128> >; tbb::concurrent_vector::size_type = long unsigned int]' ../../include/tbb/concurrent_vector.h:780:76: required from 'tbb::concurrent_vector::iterator tbb::concurrent_vector::grow_by(tbb::concurrent_vector::size_type) [with T = tbb::internal::padded, 128>; A = tbb::cache_aligned_allocator, 128> >; tbb::concurrent_vector::iterator = tbb::internal::vector_iterator, 128>, tbb::cache_aligned_allocator, 128> > >, tbb::internal::padded, 128> >; tbb::concurrent_vector::size_type = long unsigned int]' ../../include/tbb/enumerable_thread_specific.h:797:36: required from 'void* tbb::interface6::enumerable_thread_specific::create_local() [with T = long unsigned int; Allocator = tbb::cache_aligned_allocator; tbb::ets_key_usage_type ETS_key_type = (tbb::ets_key_usage_type)1]' ../../include/tbb/enumerable_thread_specific.h:796:15: required from here ../../include/tbb/concurrent_vector.h:77:20: warning: 'void* memset(void*, int, size_t)' clearing an object of non-trivial type 'struct tbb::internal::padded, 128>'; use assignment or value-initialization instead [-Wclass-memaccess] std::memset( array, 0, n_of_elements * sizeof( T ) ); ~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ In file included from ../../src/test/harness.h:189, from ../../src/test/test_eh_algorithms.cpp:24: ../../include/tbb/tbb_stddef.h:257:8: note: 'struct tbb::internal::padded, 128>' declared here struct padded : padded_base {}; ^~~~~~ g++ -o test_eh_algorithms.exe -O2 -g -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -fexceptions -fstack-protector-strong -grecord-gcc-switches -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -mcpu=power8 -mtune=power8 -funwind-tables -fstack-clash-protection -DTBB_USE_DEBUG -g -O0 -DUSE_PTHREAD -DTEST_USES_TBB=1 -Wall -Wshadow -Wcast-qual -Woverloaded-virtual -Wnon-virtual-dtor -Wextra -O2 -g -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -fexceptions -fstack-protector-strong -grecord-gcc-switches -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -mcpu=power8 -mtune=power8 -funwind-tables -fstack-clash-protection test_eh_algorithms.o libtbb_debug.so -lpthread -lrt -Wl,-rpath-link=. -rdynamic g++ -o test_eh_flow_graph.o -c -MMD -O2 -g -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -fexceptions -fstack-protector-strong -grecord-gcc-switches -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -mcpu=power8 -mtune=power8 -funwind-tables -fstack-clash-protection -DTBB_USE_DEBUG -g -O0 -DUSE_PTHREAD -DTEST_USES_TBB=1 -Wall -Wshadow -Wcast-qual -Woverloaded-virtual -Wnon-virtual-dtor -Wextra -O2 -g -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -fexceptions -fstack-protector-strong -grecord-gcc-switches -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -mcpu=power8 -mtune=power8 -funwind-tables -fstack-clash-protection -std=c++14 -I../../src -I../../src/rml/include -I../../include -I. -include ../../src/test/harness_preload.h ../../src/test/test_eh_flow_graph.cpp In file included from ../../include/tbb/tbb_machine.h:243, from ../../include/tbb/atomic.h:32, from ../../include/tbb/flow_graph.h:25, from ../../src/test/test_eh_flow_graph.cpp:51: ../../include/tbb/machine/mac_ppc.h: In function 'int32_t __TBB_machine_cmpswp4(volatile void*, int32_t, int32_t)': ../../include/tbb/machine/mac_ppc.h:91:46: warning: cast from type 'volatile void*' to type 'int32_t*' {aka 'int*'} casts away qualifiers [-Wcast-qual] , "+m"(* (int32_t*) ptr) /* redundant with "memory" */ ^~~ ../../include/tbb/machine/mac_ppc.h: In function 'int64_t __TBB_machine_cmpswp8(volatile void*, int64_t, int64_t)': ../../include/tbb/machine/mac_ppc.h:116:46: warning: cast from type 'volatile void*' to type 'int64_t*' {aka 'long int*'} casts away qualifiers [-Wcast-qual] , "+m"(* (int64_t*) ptr) /* redundant with "memory" */ ^~~ In file included from ../../include/tbb/enumerable_thread_specific.h:25, from ../../include/tbb/combinable.h:24, from ../../src/test/harness_concurrency_tracker.h:33, from ../../src/test/harness_eh.h:28, from ../../src/test/test_eh_flow_graph.cpp:60: ../../include/tbb/concurrent_vector.h: In static member function 'static void tbb::concurrent_vector::copy_range(void*, const void*, tbb::concurrent_vector::size_type)': ../../include/tbb/concurrent_vector.h:1296:18: warning: declaration of 'iterator' shadows a previous local [-Wshadow] I & iterator ((*const_cast(static_cast(p_type_erased_iterator)))); ^ ../../include/tbb/concurrent_vector.h:578:60: note: shadowed declaration is here typedef internal::vector_iterator iterator; ^~~~~~~~ In file included from ../../include/tbb/enumerable_thread_specific.h:25, from ../../include/tbb/combinable.h:24, from ../../src/test/harness_concurrency_tracker.h:33, from ../../src/test/harness_eh.h:28, from ../../src/test/test_eh_flow_graph.cpp:60: ../../include/tbb/concurrent_vector.h: In instantiation of 'void tbb::internal::handle_unconstructed_elements(T*, std::size_t) [with T = tbb::internal::padded, 128>; std::size_t = long unsigned int]': ../../include/tbb/concurrent_vector.h:1123:56: required from 'tbb::concurrent_vector::internal_loop_guide::~internal_loop_guide() [with T = tbb::internal::padded, 128>; A = tbb::cache_aligned_allocator, 128> >]' ../../include/tbb/concurrent_vector.h:1262:25: required from 'static void tbb::concurrent_vector::initialize_array(void*, const void*, tbb::concurrent_vector::size_type) [with T = tbb::internal::padded, 128>; A = tbb::cache_aligned_allocator, 128> >; tbb::concurrent_vector::size_type = long unsigned int]' ../../include/tbb/concurrent_vector.h:780:76: required from 'tbb::concurrent_vector::iterator tbb::concurrent_vector::grow_by(tbb::concurrent_vector::size_type) [with T = tbb::internal::padded, 128>; A = tbb::cache_aligned_allocator, 128> >; tbb::concurrent_vector::iterator = tbb::internal::vector_iterator, 128>, tbb::cache_aligned_allocator, 128> > >, tbb::internal::padded, 128> >; tbb::concurrent_vector::size_type = long unsigned int]' ../../include/tbb/enumerable_thread_specific.h:797:36: required from 'void* tbb::interface6::enumerable_thread_specific::create_local() [with T = long unsigned int; Allocator = tbb::cache_aligned_allocator; tbb::ets_key_usage_type ETS_key_type = (tbb::ets_key_usage_type)1]' ../../include/tbb/enumerable_thread_specific.h:796:15: required from here ../../include/tbb/concurrent_vector.h:77:20: warning: 'void* memset(void*, int, size_t)' clearing an object of non-trivial type 'struct tbb::internal::padded, 128>'; use assignment or value-initialization instead [-Wclass-memaccess] std::memset( array, 0, n_of_elements * sizeof( T ) ); ~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ In file included from ../../src/test/harness.h:189, from ../../src/test/test_eh_flow_graph.cpp:34: ../../include/tbb/tbb_stddef.h:257:8: note: 'struct tbb::internal::padded, 128>' declared here struct padded : padded_base {}; ^~~~~~ g++ -o test_eh_flow_graph.exe -O2 -g -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -fexceptions -fstack-protector-strong -grecord-gcc-switches -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -mcpu=power8 -mtune=power8 -funwind-tables -fstack-clash-protection -DTBB_USE_DEBUG -g -O0 -DUSE_PTHREAD -DTEST_USES_TBB=1 -Wall -Wshadow -Wcast-qual -Woverloaded-virtual -Wnon-virtual-dtor -Wextra -O2 -g -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -fexceptions -fstack-protector-strong -grecord-gcc-switches -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -mcpu=power8 -mtune=power8 -funwind-tables -fstack-clash-protection test_eh_flow_graph.o libtbb_debug.so -lpthread -lrt -Wl,-rpath-link=. -rdynamic g++ -o test_parallel_invoke.o -c -MMD -O2 -g -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -fexceptions -fstack-protector-strong -grecord-gcc-switches -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -mcpu=power8 -mtune=power8 -funwind-tables -fstack-clash-protection -DTBB_USE_DEBUG -g -O0 -DUSE_PTHREAD -DTEST_USES_TBB=1 -Wall -Wshadow -Wcast-qual -Woverloaded-virtual -Wnon-virtual-dtor -Wextra -O2 -g -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -fexceptions -fstack-protector-strong -grecord-gcc-switches -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -mcpu=power8 -mtune=power8 -funwind-tables -fstack-clash-protection -std=c++14 -I../../src -I../../src/rml/include -I../../include -I. -include ../../src/test/harness_preload.h ../../src/test/test_parallel_invoke.cpp In file included from ../../include/tbb/tbb_machine.h:243, from ../../include/tbb/task.h:25, from ../../include/tbb/parallel_invoke.h:24, from ../../src/test/test_parallel_invoke.cpp:29: ../../include/tbb/machine/mac_ppc.h: In function 'int32_t __TBB_machine_cmpswp4(volatile void*, int32_t, int32_t)': ../../include/tbb/machine/mac_ppc.h:91:46: warning: cast from type 'volatile void*' to type 'int32_t*' {aka 'int*'} casts away qualifiers [-Wcast-qual] , "+m"(* (int32_t*) ptr) /* redundant with "memory" */ ^~~ ../../include/tbb/machine/mac_ppc.h: In function 'int64_t __TBB_machine_cmpswp8(volatile void*, int64_t, int64_t)': ../../include/tbb/machine/mac_ppc.h:116:46: warning: cast from type 'volatile void*' to type 'int64_t*' {aka 'long int*'} casts away qualifiers [-Wcast-qual] , "+m"(* (int64_t*) ptr) /* redundant with "memory" */ ^~~ In file included from ../../include/tbb/enumerable_thread_specific.h:25, from ../../include/tbb/combinable.h:24, from ../../src/test/harness_concurrency_tracker.h:33, from ../../src/test/harness_eh.h:28, from ../../src/test/test_parallel_invoke.cpp:209: ../../include/tbb/concurrent_vector.h: In static member function 'static void tbb::concurrent_vector::copy_range(void*, const void*, tbb::concurrent_vector::size_type)': ../../include/tbb/concurrent_vector.h:1296:18: warning: declaration of 'iterator' shadows a previous local [-Wshadow] I & iterator ((*const_cast(static_cast(p_type_erased_iterator)))); ^ ../../include/tbb/concurrent_vector.h:578:60: note: shadowed declaration is here typedef internal::vector_iterator iterator; ^~~~~~~~ In file included from ../../include/tbb/enumerable_thread_specific.h:25, from ../../include/tbb/combinable.h:24, from ../../src/test/harness_concurrency_tracker.h:33, from ../../src/test/harness_eh.h:28, from ../../src/test/test_parallel_invoke.cpp:209: ../../include/tbb/concurrent_vector.h: In instantiation of 'void tbb::internal::handle_unconstructed_elements(T*, std::size_t) [with T = tbb::internal::padded, 128>; std::size_t = long unsigned int]': ../../include/tbb/concurrent_vector.h:1123:56: required from 'tbb::concurrent_vector::internal_loop_guide::~internal_loop_guide() [with T = tbb::internal::padded, 128>; A = tbb::cache_aligned_allocator, 128> >]' ../../include/tbb/concurrent_vector.h:1262:25: required from 'static void tbb::concurrent_vector::initialize_array(void*, const void*, tbb::concurrent_vector::size_type) [with T = tbb::internal::padded, 128>; A = tbb::cache_aligned_allocator, 128> >; tbb::concurrent_vector::size_type = long unsigned int]' ../../include/tbb/concurrent_vector.h:780:76: required from 'tbb::concurrent_vector::iterator tbb::concurrent_vector::grow_by(tbb::concurrent_vector::size_type) [with T = tbb::internal::padded, 128>; A = tbb::cache_aligned_allocator, 128> >; tbb::concurrent_vector::iterator = tbb::internal::vector_iterator, 128>, tbb::cache_aligned_allocator, 128> > >, tbb::internal::padded, 128> >; tbb::concurrent_vector::size_type = long unsigned int]' ../../include/tbb/enumerable_thread_specific.h:797:36: required from 'void* tbb::interface6::enumerable_thread_specific::create_local() [with T = long unsigned int; Allocator = tbb::cache_aligned_allocator; tbb::ets_key_usage_type ETS_key_type = (tbb::ets_key_usage_type)1]' ../../include/tbb/enumerable_thread_specific.h:796:15: required from here ../../include/tbb/concurrent_vector.h:77:20: warning: 'void* memset(void*, int, size_t)' clearing an object of non-trivial type 'struct tbb::internal::padded, 128>'; use assignment or value-initialization instead [-Wclass-memaccess] std::memset( array, 0, n_of_elements * sizeof( T ) ); ~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ In file included from ../../include/tbb/task.h:24, from ../../include/tbb/parallel_invoke.h:24, from ../../src/test/test_parallel_invoke.cpp:29: ../../include/tbb/tbb_stddef.h:257:8: note: 'struct tbb::internal::padded, 128>' declared here struct padded : padded_base {}; ^~~~~~ In file included from ../../src/test/harness.h:187, from ../../src/test/test_parallel_invoke.cpp:33: ../../src/test/test_parallel_invoke.cpp: In function 'void call_parallel_invoke(size_t, F0&, F1&, F2&, F3&, F4&, F5&, F6&, F7&, F8&, F9&, tbb::task_group_context*) [with F0 = void (*)(); F1 = void (*)(); F2 = void (*)(); F3 = void (*)(); F4 = void (*)(); F5 = void (*)(); F6 = void (*)(); F7 = void (*)(); F8 = void (*)(); F9 = void (*)()]': ../../src/test/harness_assert.h:33:45: warning: this statement may fall through [-Wimplicit-fallthrough=] #define ASSERT_CUSTOM(p,message,file,line) ((p)?(void)0:ReportError(file,line,#p,message)) ^ ../../src/test/harness_assert.h:34:45: note: in expansion of macro 'ASSERT_CUSTOM' #define ASSERT(p,message) ASSERT_CUSTOM(p,message,__FILE__,__LINE__) ^~~~~~~~~~~~~ ../../src/test/test_parallel_invoke.cpp:97:9: note: in expansion of macro 'ASSERT' ASSERT(false, "number of arguments must be between 2 and 10"); ^~~~~~ ../../src/test/test_parallel_invoke.cpp:98:5: note: here case 2: ^~~~ In file included from ../../src/test/harness.h:187, from ../../src/test/test_parallel_invoke.cpp:33: ../../src/test/test_parallel_invoke.cpp: In function 'void call_parallel_invoke(size_t, F0&, F1&, F2&, F3&, F4&, F5&, F6&, F7&, F8&, F9&, tbb::task_group_context*) [with F0 = test_functor0; F1 = test_functor1; F2 = test_functor2; F3 = test_functor3; F4 = test_functor4; F5 = test_functor5; F6 = test_functor6; F7 = test_functor7; F8 = test_functor8; F9 = test_functor9]': ../../src/test/harness_assert.h:33:45: warning: this statement may fall through [-Wimplicit-fallthrough=] #define ASSERT_CUSTOM(p,message,file,line) ((p)?(void)0:ReportError(file,line,#p,message)) ^ ../../src/test/harness_assert.h:34:45: note: in expansion of macro 'ASSERT_CUSTOM' #define ASSERT(p,message) ASSERT_CUSTOM(p,message,__FILE__,__LINE__) ^~~~~~~~~~~~~ ../../src/test/test_parallel_invoke.cpp:97:9: note: in expansion of macro 'ASSERT' ASSERT(false, "number of arguments must be between 2 and 10"); ^~~~~~ ../../src/test/test_parallel_invoke.cpp:98:5: note: here case 2: ^~~~ In file included from ../../src/test/harness.h:187, from ../../src/test/test_parallel_invoke.cpp:33: ../../src/test/test_parallel_invoke.cpp: In function 'void call_parallel_invoke(size_t, F0&, F1&, F2&, F3&, F4&, F5&, F6&, F7&, F8&, F9&, tbb::task_group_context*) [with F0 = void(); F1 = void(); F2 = void(); F3 = void(); F4 = void(); F5 = void(); F6 = void(); F7 = void(); F8 = void(); F9 = void()]': ../../src/test/harness_assert.h:33:45: warning: this statement may fall through [-Wimplicit-fallthrough=] #define ASSERT_CUSTOM(p,message,file,line) ((p)?(void)0:ReportError(file,line,#p,message)) ^ ../../src/test/harness_assert.h:34:45: note: in expansion of macro 'ASSERT_CUSTOM' #define ASSERT(p,message) ASSERT_CUSTOM(p,message,__FILE__,__LINE__) ^~~~~~~~~~~~~ ../../src/test/test_parallel_invoke.cpp:97:9: note: in expansion of macro 'ASSERT' ASSERT(false, "number of arguments must be between 2 and 10"); ^~~~~~ ../../src/test/test_parallel_invoke.cpp:98:5: note: here case 2: ^~~~ In file included from ../../src/test/harness.h:187, from ../../src/test/test_parallel_invoke.cpp:33: ../../src/test/test_parallel_invoke.cpp: In function 'void call_parallel_invoke(size_t, F0&, F1&, F2&, F3&, F4&, F5&, F6&, F7&, F8&, F9&, tbb::task_group_context*) [with F0 = throwing_functor0; F1 = throwing_functor1; F2 = throwing_functor2; F3 = throwing_functor3; F4 = throwing_functor4; F5 = throwing_functor5; F6 = throwing_functor6; F7 = throwing_functor7; F8 = throwing_functor8; F9 = throwing_functor9]': ../../src/test/harness_assert.h:33:45: warning: this statement may fall through [-Wimplicit-fallthrough=] #define ASSERT_CUSTOM(p,message,file,line) ((p)?(void)0:ReportError(file,line,#p,message)) ^ ../../src/test/harness_assert.h:34:45: note: in expansion of macro 'ASSERT_CUSTOM' #define ASSERT(p,message) ASSERT_CUSTOM(p,message,__FILE__,__LINE__) ^~~~~~~~~~~~~ ../../src/test/test_parallel_invoke.cpp:97:9: note: in expansion of macro 'ASSERT' ASSERT(false, "number of arguments must be between 2 and 10"); ^~~~~~ ../../src/test/test_parallel_invoke.cpp:98:5: note: here case 2: ^~~~ g++ -o test_parallel_invoke.exe -O2 -g -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -fexceptions -fstack-protector-strong -grecord-gcc-switches -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -mcpu=power8 -mtune=power8 -funwind-tables -fstack-clash-protection -DTBB_USE_DEBUG -g -O0 -DUSE_PTHREAD -DTEST_USES_TBB=1 -Wall -Wshadow -Wcast-qual -Woverloaded-virtual -Wnon-virtual-dtor -Wextra -O2 -g -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -fexceptions -fstack-protector-strong -grecord-gcc-switches -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -mcpu=power8 -mtune=power8 -funwind-tables -fstack-clash-protection test_parallel_invoke.o libtbb_debug.so -lpthread -lrt -Wl,-rpath-link=. -rdynamic g++ -o test_task_group.o -c -MMD -O2 -g -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -fexceptions -fstack-protector-strong -grecord-gcc-switches -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -mcpu=power8 -mtune=power8 -funwind-tables -fstack-clash-protection -DTBB_USE_DEBUG -g -O0 -DUSE_PTHREAD -DTEST_USES_TBB=1 -Wall -Wshadow -Wcast-qual -Woverloaded-virtual -Wnon-virtual-dtor -Wextra -O2 -g -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -fexceptions -fstack-protector-strong -grecord-gcc-switches -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -mcpu=power8 -mtune=power8 -funwind-tables -fstack-clash-protection -std=c++14 -I../../src -I../../src/rml/include -I../../include -I. -include ../../src/test/harness_preload.h ../../src/test/test_task_group.cpp In file included from ../../include/tbb/compat/../tbb_machine.h:243, from ../../include/tbb/compat/../task.h:25, from ../../include/tbb/compat/../task_group.h:24, from ../../include/tbb/compat/ppl.h:24, from ../../src/test/test_task_group.cpp:47: ../../include/tbb/compat/../machine/mac_ppc.h: In function 'int32_t __TBB_machine_cmpswp4(volatile void*, int32_t, int32_t)': ../../include/tbb/compat/../machine/mac_ppc.h:91:46: warning: cast from type 'volatile void*' to type 'int32_t*' {aka 'int*'} casts away qualifiers [-Wcast-qual] , "+m"(* (int32_t*) ptr) /* redundant with "memory" */ ^~~ ../../include/tbb/compat/../machine/mac_ppc.h: In function 'int64_t __TBB_machine_cmpswp8(volatile void*, int64_t, int64_t)': ../../include/tbb/compat/../machine/mac_ppc.h:116:46: warning: cast from type 'volatile void*' to type 'int64_t*' {aka 'long int*'} casts away qualifiers [-Wcast-qual] , "+m"(* (int64_t*) ptr) /* redundant with "memory" */ ^~~ In file included from ../../include/tbb/compat/../enumerable_thread_specific.h:25, from ../../include/tbb/compat/../combinable.h:24, from ../../include/tbb/compat/ppl.h:31, from ../../src/test/test_task_group.cpp:47: ../../include/tbb/compat/../concurrent_vector.h: In static member function 'static void tbb::concurrent_vector::copy_range(void*, const void*, tbb::concurrent_vector::size_type)': ../../include/tbb/compat/../concurrent_vector.h:1296:18: warning: declaration of 'iterator' shadows a previous local [-Wshadow] I & iterator ((*const_cast(static_cast(p_type_erased_iterator)))); ^ ../../include/tbb/compat/../concurrent_vector.h:578:60: note: shadowed declaration is here typedef internal::vector_iterator iterator; ^~~~~~~~ In file included from ../../include/tbb/compat/../enumerable_thread_specific.h:25, from ../../include/tbb/compat/../combinable.h:24, from ../../include/tbb/compat/ppl.h:31, from ../../src/test/test_task_group.cpp:47: ../../include/tbb/compat/../concurrent_vector.h: In instantiation of 'void tbb::internal::handle_unconstructed_elements(T*, std::size_t) [with T = tbb::internal::padded, 128>; std::size_t = long unsigned int]': ../../include/tbb/compat/../concurrent_vector.h:1123:56: required from 'tbb::concurrent_vector::internal_loop_guide::~internal_loop_guide() [with T = tbb::internal::padded, 128>; A = tbb::cache_aligned_allocator, 128> >]' ../../include/tbb/compat/../concurrent_vector.h:1262:25: required from 'static void tbb::concurrent_vector::initialize_array(void*, const void*, tbb::concurrent_vector::size_type) [with T = tbb::internal::padded, 128>; A = tbb::cache_aligned_allocator, 128> >; tbb::concurrent_vector::size_type = long unsigned int]' ../../include/tbb/compat/../concurrent_vector.h:780:76: required from 'tbb::concurrent_vector::iterator tbb::concurrent_vector::grow_by(tbb::concurrent_vector::size_type) [with T = tbb::internal::padded, 128>; A = tbb::cache_aligned_allocator, 128> >; tbb::concurrent_vector::iterator = tbb::internal::vector_iterator, 128>, tbb::cache_aligned_allocator, 128> > >, tbb::internal::padded, 128> >; tbb::concurrent_vector::size_type = long unsigned int]' ../../include/tbb/compat/../enumerable_thread_specific.h:797:36: required from 'void* tbb::interface6::enumerable_thread_specific::create_local() [with T = long unsigned int; Allocator = tbb::cache_aligned_allocator; tbb::ets_key_usage_type ETS_key_type = (tbb::ets_key_usage_type)1]' ../../include/tbb/compat/../enumerable_thread_specific.h:796:15: required from here ../../include/tbb/compat/../concurrent_vector.h:77:20: warning: 'void* memset(void*, int, size_t)' clearing an object of non-trivial type 'struct tbb::internal::padded, 128>'; use assignment or value-initialization instead [-Wclass-memaccess] std::memset( array, 0, n_of_elements * sizeof( T ) ); ~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ In file included from ../../include/tbb/compat/../task.h:24, from ../../include/tbb/compat/../task_group.h:24, from ../../include/tbb/compat/ppl.h:24, from ../../src/test/test_task_group.cpp:47: ../../include/tbb/compat/../tbb_stddef.h:257:8: note: 'struct tbb::internal::padded, 128>' declared here struct padded : padded_base {}; ^~~~~~ g++ -o test_task_group.exe -O2 -g -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -fexceptions -fstack-protector-strong -grecord-gcc-switches -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -mcpu=power8 -mtune=power8 -funwind-tables -fstack-clash-protection -DTBB_USE_DEBUG -g -O0 -DUSE_PTHREAD -DTEST_USES_TBB=1 -Wall -Wshadow -Wcast-qual -Woverloaded-virtual -Wnon-virtual-dtor -Wextra -O2 -g -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -fexceptions -fstack-protector-strong -grecord-gcc-switches -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -mcpu=power8 -mtune=power8 -funwind-tables -fstack-clash-protection test_task_group.o libtbb_debug.so -lpthread -lrt -Wl,-rpath-link=. -rdynamic g++ -o test_ittnotify.o -c -MMD -O2 -g -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -fexceptions -fstack-protector-strong -grecord-gcc-switches -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -mcpu=power8 -mtune=power8 -funwind-tables -fstack-clash-protection -DTBB_USE_DEBUG -g -O0 -DUSE_PTHREAD -DTEST_USES_TBB=1 -Wall -Wshadow -Wcast-qual -Woverloaded-virtual -Wnon-virtual-dtor -Wextra -O2 -g -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -fexceptions -fstack-protector-strong -grecord-gcc-switches -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -mcpu=power8 -mtune=power8 -funwind-tables -fstack-clash-protection -std=c++14 -I../../src -I../../src/rml/include -I../../include -I. -include ../../src/test/harness_preload.h ../../src/test/test_ittnotify.cpp g++ -o test_ittnotify.exe -O2 -g -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -fexceptions -fstack-protector-strong -grecord-gcc-switches -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -mcpu=power8 -mtune=power8 -funwind-tables -fstack-clash-protection -DTBB_USE_DEBUG -g -O0 -DUSE_PTHREAD -DTEST_USES_TBB=1 -Wall -Wshadow -Wcast-qual -Woverloaded-virtual -Wnon-virtual-dtor -Wextra -O2 -g -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -fexceptions -fstack-protector-strong -grecord-gcc-switches -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -mcpu=power8 -mtune=power8 -funwind-tables -fstack-clash-protection test_ittnotify.o libtbb_debug.so -lpthread -lrt -Wl,-rpath-link=. -rdynamic g++ -o test_parallel_for_each.o -c -MMD -O2 -g -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -fexceptions -fstack-protector-strong -grecord-gcc-switches -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -mcpu=power8 -mtune=power8 -funwind-tables -fstack-clash-protection -DTBB_USE_DEBUG -g -O0 -DUSE_PTHREAD -DTEST_USES_TBB=1 -Wall -Wshadow -Wcast-qual -Woverloaded-virtual -Wnon-virtual-dtor -Wextra -O2 -g -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -fexceptions -fstack-protector-strong -grecord-gcc-switches -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -mcpu=power8 -mtune=power8 -funwind-tables -fstack-clash-protection -std=c++14 -I../../src -I../../src/rml/include -I../../include -I. -include ../../src/test/harness_preload.h ../../src/test/test_parallel_for_each.cpp In file included from ../../include/tbb/tbb_machine.h:243, from ../../include/tbb/task.h:25, from ../../include/tbb/parallel_do.h:26, from ../../include/tbb/parallel_for_each.h:24, from ../../src/test/test_parallel_for_each.cpp:25: ../../include/tbb/machine/mac_ppc.h: In function 'int32_t __TBB_machine_cmpswp4(volatile void*, int32_t, int32_t)': ../../include/tbb/machine/mac_ppc.h:91:46: warning: cast from type 'volatile void*' to type 'int32_t*' {aka 'int*'} casts away qualifiers [-Wcast-qual] , "+m"(* (int32_t*) ptr) /* redundant with "memory" */ ^~~ ../../include/tbb/machine/mac_ppc.h: In function 'int64_t __TBB_machine_cmpswp8(volatile void*, int64_t, int64_t)': ../../include/tbb/machine/mac_ppc.h:116:46: warning: cast from type 'volatile void*' to type 'int64_t*' {aka 'long int*'} casts away qualifiers [-Wcast-qual] , "+m"(* (int64_t*) ptr) /* redundant with "memory" */ ^~~ In file included from ../../include/tbb/enumerable_thread_specific.h:25, from ../../include/tbb/combinable.h:24, from ../../src/test/harness_concurrency_tracker.h:33, from ../../src/test/harness_eh.h:28, from ../../src/test/test_parallel_for_each.cpp:92: ../../include/tbb/concurrent_vector.h: In static member function 'static void tbb::concurrent_vector::copy_range(void*, const void*, tbb::concurrent_vector::size_type)': ../../include/tbb/concurrent_vector.h:1296:18: warning: declaration of 'iterator' shadows a previous local [-Wshadow] I & iterator ((*const_cast(static_cast(p_type_erased_iterator)))); ^ ../../include/tbb/concurrent_vector.h:578:60: note: shadowed declaration is here typedef internal::vector_iterator iterator; ^~~~~~~~ In file included from ../../include/tbb/enumerable_thread_specific.h:25, from ../../include/tbb/combinable.h:24, from ../../src/test/harness_concurrency_tracker.h:33, from ../../src/test/harness_eh.h:28, from ../../src/test/test_parallel_for_each.cpp:92: ../../include/tbb/concurrent_vector.h: In instantiation of 'void tbb::internal::handle_unconstructed_elements(T*, std::size_t) [with T = tbb::internal::padded, 128>; std::size_t = long unsigned int]': ../../include/tbb/concurrent_vector.h:1123:56: required from 'tbb::concurrent_vector::internal_loop_guide::~internal_loop_guide() [with T = tbb::internal::padded, 128>; A = tbb::cache_aligned_allocator, 128> >]' ../../include/tbb/concurrent_vector.h:1262:25: required from 'static void tbb::concurrent_vector::initialize_array(void*, const void*, tbb::concurrent_vector::size_type) [with T = tbb::internal::padded, 128>; A = tbb::cache_aligned_allocator, 128> >; tbb::concurrent_vector::size_type = long unsigned int]' ../../include/tbb/concurrent_vector.h:780:76: required from 'tbb::concurrent_vector::iterator tbb::concurrent_vector::grow_by(tbb::concurrent_vector::size_type) [with T = tbb::internal::padded, 128>; A = tbb::cache_aligned_allocator, 128> >; tbb::concurrent_vector::iterator = tbb::internal::vector_iterator, 128>, tbb::cache_aligned_allocator, 128> > >, tbb::internal::padded, 128> >; tbb::concurrent_vector::size_type = long unsigned int]' ../../include/tbb/enumerable_thread_specific.h:797:36: required from 'void* tbb::interface6::enumerable_thread_specific::create_local() [with T = long unsigned int; Allocator = tbb::cache_aligned_allocator; tbb::ets_key_usage_type ETS_key_type = (tbb::ets_key_usage_type)1]' ../../include/tbb/enumerable_thread_specific.h:796:15: required from here ../../include/tbb/concurrent_vector.h:77:20: warning: 'void* memset(void*, int, size_t)' clearing an object of non-trivial type 'struct tbb::internal::padded, 128>'; use assignment or value-initialization instead [-Wclass-memaccess] std::memset( array, 0, n_of_elements * sizeof( T ) ); ~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ In file included from ../../include/tbb/internal/_range_iterator.h:24, from ../../include/tbb/parallel_do.h:24, from ../../include/tbb/parallel_for_each.h:24, from ../../src/test/test_parallel_for_each.cpp:25: ../../include/tbb/internal/../tbb_stddef.h:257:8: note: 'struct tbb::internal::padded, 128>' declared here struct padded : padded_base {}; ^~~~~~ g++ -o test_parallel_for_each.exe -O2 -g -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -fexceptions -fstack-protector-strong -grecord-gcc-switches -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -mcpu=power8 -mtune=power8 -funwind-tables -fstack-clash-protection -DTBB_USE_DEBUG -g -O0 -DUSE_PTHREAD -DTEST_USES_TBB=1 -Wall -Wshadow -Wcast-qual -Woverloaded-virtual -Wnon-virtual-dtor -Wextra -O2 -g -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -fexceptions -fstack-protector-strong -grecord-gcc-switches -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -mcpu=power8 -mtune=power8 -funwind-tables -fstack-clash-protection test_parallel_for_each.o libtbb_debug.so -lpthread -lrt -Wl,-rpath-link=. -rdynamic g++ -o test_tbb_header.o -c -MMD -O2 -g -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -fexceptions -fstack-protector-strong -grecord-gcc-switches -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -mcpu=power8 -mtune=power8 -funwind-tables -fstack-clash-protection -DTBB_USE_DEBUG -g -O0 -DUSE_PTHREAD -DTEST_USES_TBB=1 -Wall -Wshadow -Wcast-qual -Woverloaded-virtual -Wnon-virtual-dtor -Wextra -O2 -g -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -fexceptions -fstack-protector-strong -grecord-gcc-switches -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -mcpu=power8 -mtune=power8 -funwind-tables -fstack-clash-protection -std=c++14 -I../../src -I../../src/rml/include -I../../include -I. -include ../../src/test/harness_preload.h ../../src/test/test_tbb_header.cpp In file included from ../../include/tbb/tbb_machine.h:243, from ../../include/tbb/aligned_space.h:25, from ../../include/tbb/tbb.h:35, from ../../src/test/test_tbb_header.cpp:83: ../../include/tbb/machine/mac_ppc.h: In function 'int32_t __TBB_machine_cmpswp4(volatile void*, int32_t, int32_t)': ../../include/tbb/machine/mac_ppc.h:91:46: warning: cast from type 'volatile void*' to type 'int32_t*' {aka 'int*'} casts away qualifiers [-Wcast-qual] , "+m"(* (int32_t*) ptr) /* redundant with "memory" */ ^~~ ../../include/tbb/machine/mac_ppc.h: In function 'int64_t __TBB_machine_cmpswp8(volatile void*, int64_t, int64_t)': ../../include/tbb/machine/mac_ppc.h:116:46: warning: cast from type 'volatile void*' to type 'int64_t*' {aka 'long int*'} casts away qualifiers [-Wcast-qual] , "+m"(* (int64_t*) ptr) /* redundant with "memory" */ ^~~ In file included from ../../include/tbb/enumerable_thread_specific.h:25, from ../../include/tbb/combinable.h:24, from ../../include/tbb/tbb.h:41, from ../../src/test/test_tbb_header.cpp:83: ../../include/tbb/concurrent_vector.h: In static member function 'static void tbb::concurrent_vector::copy_range(void*, const void*, tbb::concurrent_vector::size_type)': ../../include/tbb/concurrent_vector.h:1296:18: warning: declaration of 'iterator' shadows a previous local [-Wshadow] I & iterator ((*const_cast(static_cast(p_type_erased_iterator)))); ^ ../../include/tbb/concurrent_vector.h:578:60: note: shadowed declaration is here typedef internal::vector_iterator iterator; ^~~~~~~~ In file included from ../../include/tbb/tbb.h:42, from ../../src/test/test_tbb_header.cpp:83: ../../include/tbb/concurrent_hash_map.h: In static member function 'static void tbb::interface5::internal::hash_map_base::init_buckets(tbb::interface5::internal::hash_map_base::segment_ptr_t, tbb::interface5::internal::hash_map_base::size_type, bool)': ../../include/tbb/concurrent_hash_map.h:158:68: warning: 'void* memset(void*, int, size_t)' clearing an object of type 'struct tbb::interface5::internal::hash_map_base::bucket' with no trivial copy-assignment; use value-initialization instead [-Wclass-memaccess] if( is_initial ) std::memset(ptr, 0, sz*sizeof(bucket) ); ^ ../../include/tbb/concurrent_hash_map.h:87:16: note: 'struct tbb::interface5::internal::hash_map_base::bucket' declared here struct bucket : tbb::internal::no_copy { ^~~~~~ g++ -o test_tbb_header_secondary.o -c -MMD -O2 -g -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -fexceptions -fstack-protector-strong -grecord-gcc-switches -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -mcpu=power8 -mtune=power8 -funwind-tables -fstack-clash-protection -DTBB_USE_DEBUG -g -O0 -DUSE_PTHREAD -DTEST_USES_TBB=1 -Wall -Wshadow -Wcast-qual -Woverloaded-virtual -Wnon-virtual-dtor -Wextra -O2 -g -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -fexceptions -fstack-protector-strong -grecord-gcc-switches -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -mcpu=power8 -mtune=power8 -funwind-tables -fstack-clash-protection -D__TBB_TEST_SECONDARY=1 -std=c++14 -I../../src -I../../src/rml/include -I../../include -I. -include ../../src/test/harness_preload.h ../../src/test/test_tbb_header.cpp In file included from ../../include/tbb/tbb_machine.h:243, from ../../include/tbb/aligned_space.h:25, from ../../include/tbb/tbb.h:35, from ../../src/test/test_tbb_header.cpp:83: ../../include/tbb/machine/mac_ppc.h: In function 'int32_t __TBB_machine_cmpswp4(volatile void*, int32_t, int32_t)': ../../include/tbb/machine/mac_ppc.h:91:46: warning: cast from type 'volatile void*' to type 'int32_t*' {aka 'int*'} casts away qualifiers [-Wcast-qual] , "+m"(* (int32_t*) ptr) /* redundant with "memory" */ ^~~ ../../include/tbb/machine/mac_ppc.h: In function 'int64_t __TBB_machine_cmpswp8(volatile void*, int64_t, int64_t)': ../../include/tbb/machine/mac_ppc.h:116:46: warning: cast from type 'volatile void*' to type 'int64_t*' {aka 'long int*'} casts away qualifiers [-Wcast-qual] , "+m"(* (int64_t*) ptr) /* redundant with "memory" */ ^~~ In file included from ../../include/tbb/enumerable_thread_specific.h:25, from ../../include/tbb/combinable.h:24, from ../../include/tbb/tbb.h:41, from ../../src/test/test_tbb_header.cpp:83: ../../include/tbb/concurrent_vector.h: In static member function 'static void tbb::concurrent_vector::copy_range(void*, const void*, tbb::concurrent_vector::size_type)': ../../include/tbb/concurrent_vector.h:1296:18: warning: declaration of 'iterator' shadows a previous local [-Wshadow] I & iterator ((*const_cast(static_cast(p_type_erased_iterator)))); ^ ../../include/tbb/concurrent_vector.h:578:60: note: shadowed declaration is here typedef internal::vector_iterator iterator; ^~~~~~~~ In file included from ../../include/tbb/tbb.h:42, from ../../src/test/test_tbb_header.cpp:83: ../../include/tbb/concurrent_hash_map.h: In static member function 'static void tbb::interface5::internal::hash_map_base::init_buckets(tbb::interface5::internal::hash_map_base::segment_ptr_t, tbb::interface5::internal::hash_map_base::size_type, bool)': ../../include/tbb/concurrent_hash_map.h:158:68: warning: 'void* memset(void*, int, size_t)' clearing an object of type 'struct tbb::interface5::internal::hash_map_base::bucket' with no trivial copy-assignment; use value-initialization instead [-Wclass-memaccess] if( is_initial ) std::memset(ptr, 0, sz*sizeof(bucket) ); ^ ../../include/tbb/concurrent_hash_map.h:87:16: note: 'struct tbb::interface5::internal::hash_map_base::bucket' declared here struct bucket : tbb::internal::no_copy { ^~~~~~ g++ -o test_tbb_header.exe -O2 -g -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -fexceptions -fstack-protector-strong -grecord-gcc-switches -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -mcpu=power8 -mtune=power8 -funwind-tables -fstack-clash-protection -DTBB_USE_DEBUG -g -O0 -DUSE_PTHREAD -DTEST_USES_TBB=1 -Wall -Wshadow -Wcast-qual -Woverloaded-virtual -Wnon-virtual-dtor -Wextra -O2 -g -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -fexceptions -fstack-protector-strong -grecord-gcc-switches -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -mcpu=power8 -mtune=power8 -funwind-tables -fstack-clash-protection test_tbb_header.o libtbb_debug.so test_tbb_header_secondary.o -lpthread -lrt -Wl,-rpath-link=. -rdynamic g++ -o test_combinable.o -c -MMD -O2 -g -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -fexceptions -fstack-protector-strong -grecord-gcc-switches -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -mcpu=power8 -mtune=power8 -funwind-tables -fstack-clash-protection -DTBB_USE_DEBUG -g -O0 -DUSE_PTHREAD -DTEST_USES_TBB=1 -Wall -Wshadow -Wcast-qual -Woverloaded-virtual -Wnon-virtual-dtor -Wextra -O2 -g -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -fexceptions -fstack-protector-strong -grecord-gcc-switches -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -mcpu=power8 -mtune=power8 -funwind-tables -fstack-clash-protection -std=c++14 -I../../src -I../../src/rml/include -I../../include -I. -include ../../src/test/harness_preload.h ../../src/test/test_combinable.cpp In file included from ../../include/tbb/tbb_machine.h:243, from ../../include/tbb/atomic.h:32, from ../../include/tbb/enumerable_thread_specific.h:24, from ../../include/tbb/combinable.h:24, from ../../src/test/test_combinable.cpp:25: ../../include/tbb/machine/mac_ppc.h: In function 'int32_t __TBB_machine_cmpswp4(volatile void*, int32_t, int32_t)': ../../include/tbb/machine/mac_ppc.h:91:46: warning: cast from type 'volatile void*' to type 'int32_t*' {aka 'int*'} casts away qualifiers [-Wcast-qual] , "+m"(* (int32_t*) ptr) /* redundant with "memory" */ ^~~ ../../include/tbb/machine/mac_ppc.h: In function 'int64_t __TBB_machine_cmpswp8(volatile void*, int64_t, int64_t)': ../../include/tbb/machine/mac_ppc.h:116:46: warning: cast from type 'volatile void*' to type 'int64_t*' {aka 'long int*'} casts away qualifiers [-Wcast-qual] , "+m"(* (int64_t*) ptr) /* redundant with "memory" */ ^~~ In file included from ../../include/tbb/enumerable_thread_specific.h:25, from ../../include/tbb/combinable.h:24, from ../../src/test/test_combinable.cpp:25: ../../include/tbb/concurrent_vector.h: In static member function 'static void tbb::concurrent_vector::copy_range(void*, const void*, tbb::concurrent_vector::size_type)': ../../include/tbb/concurrent_vector.h:1296:18: warning: declaration of 'iterator' shadows a previous local [-Wshadow] I & iterator ((*const_cast(static_cast(p_type_erased_iterator)))); ^ ../../include/tbb/concurrent_vector.h:578:60: note: shadowed declaration is here typedef internal::vector_iterator iterator; ^~~~~~~~ In file included from ../../include/tbb/enumerable_thread_specific.h:25, from ../../include/tbb/combinable.h:24, from ../../src/test/test_combinable.cpp:25: ../../include/tbb/concurrent_vector.h: In instantiation of 'void tbb::internal::handle_unconstructed_elements(T*, std::size_t) [with T = tbb::internal::padded >, 128>; std::size_t = long unsigned int]': ../../include/tbb/concurrent_vector.h:1123:56: required from 'tbb::concurrent_vector::internal_loop_guide::~internal_loop_guide() [with T = tbb::internal::padded >, 128>; A = tbb::cache_aligned_allocator >, 128> >]' ../../include/tbb/concurrent_vector.h:1262:25: required from 'static void tbb::concurrent_vector::initialize_array(void*, const void*, tbb::concurrent_vector::size_type) [with T = tbb::internal::padded >, 128>; A = tbb::cache_aligned_allocator >, 128> >; tbb::concurrent_vector::size_type = long unsigned int]' ../../include/tbb/concurrent_vector.h:780:76: required from 'tbb::concurrent_vector::iterator tbb::concurrent_vector::grow_by(tbb::concurrent_vector::size_type) [with T = tbb::internal::padded >, 128>; A = tbb::cache_aligned_allocator >, 128> >; tbb::concurrent_vector::iterator = tbb::internal::vector_iterator >, 128>, tbb::cache_aligned_allocator >, 128> > >, tbb::internal::padded >, 128> >; tbb::concurrent_vector::size_type = long unsigned int]' ../../include/tbb/enumerable_thread_specific.h:804:36: required from 'static void* tbb::interface6::enumerable_thread_specific::create_local_by_copy(tbb::interface6::internal::ets_base<(tbb::ets_key_usage_type)1>&, void*) [with T = Harness::StateTrackable; Allocator = tbb::cache_aligned_allocator >; tbb::ets_key_usage_type ETS_key_type = (tbb::ets_key_usage_type)1]' ../../include/tbb/enumerable_thread_specific.h:948:13: required from 'void tbb::interface6::enumerable_thread_specific::internal_copy(const tbb::interface6::enumerable_thread_specific&) [with A2 = tbb::cache_aligned_allocator >; tbb::ets_key_usage_type C2 = (tbb::ets_key_usage_type)1; T = Harness::StateTrackable; Allocator = tbb::cache_aligned_allocator >; tbb::ets_key_usage_type ETS_key_type = (tbb::ets_key_usage_type)1]' ../../include/tbb/enumerable_thread_specific.h:981:13: required from 'tbb::interface6::enumerable_thread_specific::enumerable_thread_specific(const tbb::interface6::enumerable_thread_specific&) [with T = Harness::StateTrackable; Allocator = tbb::cache_aligned_allocator >; tbb::ets_key_usage_type ETS_key_type = (tbb::ets_key_usage_type)1]' ../../include/tbb/combinable.h:51:67: required from 'tbb::combinable::combinable(const tbb::combinable&) [with T = Harness::StateTrackable]' ../../src/test/test_combinable.cpp:424:67: required from here ../../include/tbb/concurrent_vector.h:77:20: warning: 'void* memset(void*, int, size_t)' clearing an object of non-trivial type 'struct tbb::internal::padded >, 128>'; use assignment or value-initialization instead [-Wclass-memaccess] std::memset( array, 0, n_of_elements * sizeof( T ) ); ~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ In file included from ../../include/tbb/tbb_machine.h:117, from ../../include/tbb/atomic.h:32, from ../../include/tbb/enumerable_thread_specific.h:24, from ../../include/tbb/combinable.h:24, from ../../src/test/test_combinable.cpp:25: ../../include/tbb/tbb_stddef.h:257:8: note: 'struct tbb::internal::padded >, 128>' declared here struct padded : padded_base {}; ^~~~~~ In file included from ../../include/tbb/enumerable_thread_specific.h:25, from ../../include/tbb/combinable.h:24, from ../../src/test/test_combinable.cpp:25: ../../include/tbb/concurrent_vector.h: In instantiation of 'void tbb::internal::handle_unconstructed_elements(T*, std::size_t) [with T = tbb::internal::padded, 128>; std::size_t = long unsigned int]': ../../include/tbb/concurrent_vector.h:1123:56: required from 'tbb::concurrent_vector::internal_loop_guide::~internal_loop_guide() [with T = tbb::internal::padded, 128>; A = tbb::cache_aligned_allocator, 128> >]' ../../include/tbb/concurrent_vector.h:1262:25: required from 'static void tbb::concurrent_vector::initialize_array(void*, const void*, tbb::concurrent_vector::size_type) [with T = tbb::internal::padded, 128>; A = tbb::cache_aligned_allocator, 128> >; tbb::concurrent_vector::size_type = long unsigned int]' ../../include/tbb/concurrent_vector.h:780:76: required from 'tbb::concurrent_vector::iterator tbb::concurrent_vector::grow_by(tbb::concurrent_vector::size_type) [with T = tbb::internal::padded, 128>; A = tbb::cache_aligned_allocator, 128> >; tbb::concurrent_vector::iterator = tbb::internal::vector_iterator, 128>, tbb::cache_aligned_allocator, 128> > >, tbb::internal::padded, 128> >; tbb::concurrent_vector::size_type = long unsigned int]' ../../include/tbb/enumerable_thread_specific.h:804:36: required from 'static void* tbb::interface6::enumerable_thread_specific::create_local_by_copy(tbb::interface6::internal::ets_base<(tbb::ets_key_usage_type)1>&, void*) [with T = int; Allocator = tbb::cache_aligned_allocator; tbb::ets_key_usage_type ETS_key_type = (tbb::ets_key_usage_type)1]' ../../include/tbb/enumerable_thread_specific.h:948:13: required from 'void tbb::interface6::enumerable_thread_specific::internal_copy(const tbb::interface6::enumerable_thread_specific&) [with A2 = tbb::cache_aligned_allocator; tbb::ets_key_usage_type C2 = (tbb::ets_key_usage_type)1; T = int; Allocator = tbb::cache_aligned_allocator; tbb::ets_key_usage_type ETS_key_type = (tbb::ets_key_usage_type)1]' ../../include/tbb/enumerable_thread_specific.h:981:13: required from 'tbb::interface6::enumerable_thread_specific::enumerable_thread_specific(const tbb::interface6::enumerable_thread_specific&) [with T = int; Allocator = tbb::cache_aligned_allocator; tbb::ets_key_usage_type ETS_key_type = (tbb::ets_key_usage_type)1]' ../../include/tbb/combinable.h:51:67: required from 'tbb::combinable::combinable(const tbb::combinable&) [with T = int]' ../../src/test/test_combinable.cpp:233:32: required from 'void RunParallelScalarTests(const char*) [with T = int]' ../../src/test/test_combinable.cpp:365:38: required from here ../../include/tbb/concurrent_vector.h:77:20: warning: 'void* memset(void*, int, size_t)' clearing an object of non-trivial type 'struct tbb::internal::padded, 128>'; use assignment or value-initialization instead [-Wclass-memaccess] std::memset( array, 0, n_of_elements * sizeof( T ) ); ~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ In file included from ../../include/tbb/tbb_machine.h:117, from ../../include/tbb/atomic.h:32, from ../../include/tbb/enumerable_thread_specific.h:24, from ../../include/tbb/combinable.h:24, from ../../src/test/test_combinable.cpp:25: ../../include/tbb/tbb_stddef.h:257:8: note: 'struct tbb::internal::padded, 128>' declared here struct padded : padded_base {}; ^~~~~~ In file included from ../../include/tbb/enumerable_thread_specific.h:25, from ../../include/tbb/combinable.h:24, from ../../src/test/test_combinable.cpp:25: ../../include/tbb/concurrent_vector.h: In instantiation of 'void tbb::internal::handle_unconstructed_elements(T*, std::size_t) [with T = tbb::internal::padded, 128>; std::size_t = long unsigned int]': ../../include/tbb/concurrent_vector.h:1123:56: required from 'tbb::concurrent_vector::internal_loop_guide::~internal_loop_guide() [with T = tbb::internal::padded, 128>; A = tbb::cache_aligned_allocator, 128> >]' ../../include/tbb/concurrent_vector.h:1262:25: required from 'static void tbb::concurrent_vector::initialize_array(void*, const void*, tbb::concurrent_vector::size_type) [with T = tbb::internal::padded, 128>; A = tbb::cache_aligned_allocator, 128> >; tbb::concurrent_vector::size_type = long unsigned int]' ../../include/tbb/concurrent_vector.h:780:76: required from 'tbb::concurrent_vector::iterator tbb::concurrent_vector::grow_by(tbb::concurrent_vector::size_type) [with T = tbb::internal::padded, 128>; A = tbb::cache_aligned_allocator, 128> >; tbb::concurrent_vector::iterator = tbb::internal::vector_iterator, 128>, tbb::cache_aligned_allocator, 128> > >, tbb::internal::padded, 128> >; tbb::concurrent_vector::size_type = long unsigned int]' ../../include/tbb/enumerable_thread_specific.h:804:36: required from 'static void* tbb::interface6::enumerable_thread_specific::create_local_by_copy(tbb::interface6::internal::ets_base<(tbb::ets_key_usage_type)1>&, void*) [with T = double; Allocator = tbb::cache_aligned_allocator; tbb::ets_key_usage_type ETS_key_type = (tbb::ets_key_usage_type)1]' ../../include/tbb/enumerable_thread_specific.h:948:13: required from 'void tbb::interface6::enumerable_thread_specific::internal_copy(const tbb::interface6::enumerable_thread_specific&) [with A2 = tbb::cache_aligned_allocator; tbb::ets_key_usage_type C2 = (tbb::ets_key_usage_type)1; T = double; Allocator = tbb::cache_aligned_allocator; tbb::ets_key_usage_type ETS_key_type = (tbb::ets_key_usage_type)1]' ../../include/tbb/enumerable_thread_specific.h:981:13: required from 'tbb::interface6::enumerable_thread_specific::enumerable_thread_specific(const tbb::interface6::enumerable_thread_specific&) [with T = double; Allocator = tbb::cache_aligned_allocator; tbb::ets_key_usage_type ETS_key_type = (tbb::ets_key_usage_type)1]' ../../include/tbb/combinable.h:51:67: required from 'tbb::combinable::combinable(const tbb::combinable&) [with T = double]' ../../src/test/test_combinable.cpp:233:32: required from 'void RunParallelScalarTests(const char*) [with T = double]' ../../src/test/test_combinable.cpp:366:44: required from here ../../include/tbb/concurrent_vector.h:77:20: warning: 'void* memset(void*, int, size_t)' clearing an object of non-trivial type 'struct tbb::internal::padded, 128>'; use assignment or value-initialization instead [-Wclass-memaccess] std::memset( array, 0, n_of_elements * sizeof( T ) ); ~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ In file included from ../../include/tbb/tbb_machine.h:117, from ../../include/tbb/atomic.h:32, from ../../include/tbb/enumerable_thread_specific.h:24, from ../../include/tbb/combinable.h:24, from ../../src/test/test_combinable.cpp:25: ../../include/tbb/tbb_stddef.h:257:8: note: 'struct tbb::internal::padded, 128>' declared here struct padded : padded_base {}; ^~~~~~ In file included from ../../include/tbb/enumerable_thread_specific.h:25, from ../../include/tbb/combinable.h:24, from ../../src/test/test_combinable.cpp:25: ../../include/tbb/concurrent_vector.h: In instantiation of 'void tbb::internal::handle_unconstructed_elements(T*, std::size_t) [with T = tbb::internal::padded, 128>; std::size_t = long unsigned int]': ../../include/tbb/concurrent_vector.h:1123:56: required from 'tbb::concurrent_vector::internal_loop_guide::~internal_loop_guide() [with T = tbb::internal::padded, 128>; A = tbb::cache_aligned_allocator, 128> >]' ../../include/tbb/concurrent_vector.h:1262:25: required from 'static void tbb::concurrent_vector::initialize_array(void*, const void*, tbb::concurrent_vector::size_type) [with T = tbb::internal::padded, 128>; A = tbb::cache_aligned_allocator, 128> >; tbb::concurrent_vector::size_type = long unsigned int]' ../../include/tbb/concurrent_vector.h:780:76: required from 'tbb::concurrent_vector::iterator tbb::concurrent_vector::grow_by(tbb::concurrent_vector::size_type) [with T = tbb::internal::padded, 128>; A = tbb::cache_aligned_allocator, 128> >; tbb::concurrent_vector::iterator = tbb::internal::vector_iterator, 128>, tbb::cache_aligned_allocator, 128> > >, tbb::internal::padded, 128> >; tbb::concurrent_vector::size_type = long unsigned int]' ../../include/tbb/enumerable_thread_specific.h:804:36: required from 'static void* tbb::interface6::enumerable_thread_specific::create_local_by_copy(tbb::interface6::internal::ets_base<(tbb::ets_key_usage_type)1>&, void*) [with T = minimal; Allocator = tbb::cache_aligned_allocator; tbb::ets_key_usage_type ETS_key_type = (tbb::ets_key_usage_type)1]' ../../include/tbb/enumerable_thread_specific.h:948:13: required from 'void tbb::interface6::enumerable_thread_specific::internal_copy(const tbb::interface6::enumerable_thread_specific&) [with A2 = tbb::cache_aligned_allocator; tbb::ets_key_usage_type C2 = (tbb::ets_key_usage_type)1; T = minimal; Allocator = tbb::cache_aligned_allocator; tbb::ets_key_usage_type ETS_key_type = (tbb::ets_key_usage_type)1]' ../../include/tbb/enumerable_thread_specific.h:981:13: required from 'tbb::interface6::enumerable_thread_specific::enumerable_thread_specific(const tbb::interface6::enumerable_thread_specific&) [with T = minimal; Allocator = tbb::cache_aligned_allocator; tbb::ets_key_usage_type ETS_key_type = (tbb::ets_key_usage_type)1]' ../../include/tbb/combinable.h:51:67: required from 'tbb::combinable::combinable(const tbb::combinable&) [with T = minimal]' ../../src/test/test_combinable.cpp:233:32: required from 'void RunParallelScalarTests(const char*) [with T = minimal]' ../../src/test/test_combinable.cpp:367:46: required from here ../../include/tbb/concurrent_vector.h:77:20: warning: 'void* memset(void*, int, size_t)' clearing an object of non-trivial type 'struct tbb::internal::padded, 128>'; use assignment or value-initialization instead [-Wclass-memaccess] std::memset( array, 0, n_of_elements * sizeof( T ) ); ~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ In file included from ../../include/tbb/tbb_machine.h:117, from ../../include/tbb/atomic.h:32, from ../../include/tbb/enumerable_thread_specific.h:24, from ../../include/tbb/combinable.h:24, from ../../src/test/test_combinable.cpp:25: ../../include/tbb/tbb_stddef.h:257:8: note: 'struct tbb::internal::padded, 128>' declared here struct padded : padded_base {}; ^~~~~~ In file included from ../../include/tbb/enumerable_thread_specific.h:25, from ../../include/tbb/combinable.h:24, from ../../src/test/test_combinable.cpp:25: ../../include/tbb/concurrent_vector.h: In instantiation of 'void tbb::internal::handle_unconstructed_elements(T*, std::size_t) [with T = tbb::internal::padded > >, 128>; std::size_t = long unsigned int]': ../../include/tbb/concurrent_vector.h:1123:56: required from 'tbb::concurrent_vector::internal_loop_guide::~internal_loop_guide() [with T = tbb::internal::padded > >, 128>; A = tbb::cache_aligned_allocator > >, 128> >]' ../../include/tbb/concurrent_vector.h:1262:25: required from 'static void tbb::concurrent_vector::initialize_array(void*, const void*, tbb::concurrent_vector::size_type) [with T = tbb::internal::padded > >, 128>; A = tbb::cache_aligned_allocator > >, 128> >; tbb::concurrent_vector::size_type = long unsigned int]' ../../include/tbb/concurrent_vector.h:780:76: required from 'tbb::concurrent_vector::iterator tbb::concurrent_vector::grow_by(tbb::concurrent_vector::size_type) [with T = tbb::internal::padded > >, 128>; A = tbb::cache_aligned_allocator > >, 128> >; tbb::concurrent_vector::iterator = tbb::internal::vector_iterator > >, 128>, tbb::cache_aligned_allocator > >, 128> > >, tbb::internal::padded > >, 128> >; tbb::concurrent_vector::size_type = long unsigned int]' ../../include/tbb/enumerable_thread_specific.h:804:36: required from 'static void* tbb::interface6::enumerable_thread_specific::create_local_by_copy(tbb::interface6::internal::ets_base<(tbb::ets_key_usage_type)1>&, void*) [with T = std::vector >; Allocator = tbb::cache_aligned_allocator > >; tbb::ets_key_usage_type ETS_key_type = (tbb::ets_key_usage_type)1]' ../../include/tbb/enumerable_thread_specific.h:948:13: required from 'void tbb::interface6::enumerable_thread_specific::internal_copy(const tbb::interface6::enumerable_thread_specific&) [with A2 = tbb::cache_aligned_allocator > >; tbb::ets_key_usage_type C2 = (tbb::ets_key_usage_type)1; T = std::vector >; Allocator = tbb::cache_aligned_allocator > >; tbb::ets_key_usage_type ETS_key_type = (tbb::ets_key_usage_type)1]' ../../include/tbb/enumerable_thread_specific.h:981:13: required from 'tbb::interface6::enumerable_thread_specific::enumerable_thread_specific(const tbb::interface6::enumerable_thread_specific&) [with T = std::vector >; Allocator = tbb::cache_aligned_allocator > >; tbb::ets_key_usage_type ETS_key_type = (tbb::ets_key_usage_type)1]' ../../include/tbb/combinable.h:51:67: required from 'tbb::combinable::combinable(const tbb::combinable&) [with T = std::vector >]' ../../src/test/test_combinable.cpp:322:28: required from 'void RunParallelVectorTests(const char*) [with T = int]' ../../src/test/test_combinable.cpp:368:77: required from here ../../include/tbb/concurrent_vector.h:77:20: warning: 'void* memset(void*, int, size_t)' clearing an object of non-trivial type 'struct tbb::internal::padded > >, 128>'; use assignment or value-initialization instead [-Wclass-memaccess] std::memset( array, 0, n_of_elements * sizeof( T ) ); ~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ In file included from ../../include/tbb/tbb_machine.h:117, from ../../include/tbb/atomic.h:32, from ../../include/tbb/enumerable_thread_specific.h:24, from ../../include/tbb/combinable.h:24, from ../../src/test/test_combinable.cpp:25: ../../include/tbb/tbb_stddef.h:257:8: note: 'struct tbb::internal::padded > >, 128>' declared here struct padded : padded_base {}; ^~~~~~ In file included from ../../include/tbb/enumerable_thread_specific.h:25, from ../../include/tbb/combinable.h:24, from ../../src/test/test_combinable.cpp:25: ../../include/tbb/concurrent_vector.h: In instantiation of 'void tbb::internal::handle_unconstructed_elements(T*, std::size_t) [with T = tbb::internal::padded > >, 128>; std::size_t = long unsigned int]': ../../include/tbb/concurrent_vector.h:1123:56: required from 'tbb::concurrent_vector::internal_loop_guide::~internal_loop_guide() [with T = tbb::internal::padded > >, 128>; A = tbb::cache_aligned_allocator > >, 128> >]' ../../include/tbb/concurrent_vector.h:1262:25: required from 'static void tbb::concurrent_vector::initialize_array(void*, const void*, tbb::concurrent_vector::size_type) [with T = tbb::internal::padded > >, 128>; A = tbb::cache_aligned_allocator > >, 128> >; tbb::concurrent_vector::size_type = long unsigned int]' ../../include/tbb/concurrent_vector.h:780:76: required from 'tbb::concurrent_vector::iterator tbb::concurrent_vector::grow_by(tbb::concurrent_vector::size_type) [with T = tbb::internal::padded > >, 128>; A = tbb::cache_aligned_allocator > >, 128> >; tbb::concurrent_vector::iterator = tbb::internal::vector_iterator > >, 128>, tbb::cache_aligned_allocator > >, 128> > >, tbb::internal::padded > >, 128> >; tbb::concurrent_vector::size_type = long unsigned int]' ../../include/tbb/enumerable_thread_specific.h:804:36: required from 'static void* tbb::interface6::enumerable_thread_specific::create_local_by_copy(tbb::interface6::internal::ets_base<(tbb::ets_key_usage_type)1>&, void*) [with T = std::vector >; Allocator = tbb::cache_aligned_allocator > >; tbb::ets_key_usage_type ETS_key_type = (tbb::ets_key_usage_type)1]' ../../include/tbb/enumerable_thread_specific.h:948:13: required from 'void tbb::interface6::enumerable_thread_specific::internal_copy(const tbb::interface6::enumerable_thread_specific&) [with A2 = tbb::cache_aligned_allocator > >; tbb::ets_key_usage_type C2 = (tbb::ets_key_usage_type)1; T = std::vector >; Allocator = tbb::cache_aligned_allocator > >; tbb::ets_key_usage_type ETS_key_type = (tbb::ets_key_usage_type)1]' ../../include/tbb/enumerable_thread_specific.h:981:13: required from 'tbb::interface6::enumerable_thread_specific::enumerable_thread_specific(const tbb::interface6::enumerable_thread_specific&) [with T = std::vector >; Allocator = tbb::cache_aligned_allocator > >; tbb::ets_key_usage_type ETS_key_type = (tbb::ets_key_usage_type)1]' ../../include/tbb/combinable.h:51:67: required from 'tbb::combinable::combinable(const tbb::combinable&) [with T = std::vector >]' ../../src/test/test_combinable.cpp:322:28: required from 'void RunParallelVectorTests(const char*) [with T = double]' ../../src/test/test_combinable.cpp:369:86: required from here ../../include/tbb/concurrent_vector.h:77:20: warning: 'void* memset(void*, int, size_t)' clearing an object of non-trivial type 'struct tbb::internal::padded > >, 128>'; use assignment or value-initialization instead [-Wclass-memaccess] std::memset( array, 0, n_of_elements * sizeof( T ) ); ~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ In file included from ../../include/tbb/tbb_machine.h:117, from ../../include/tbb/atomic.h:32, from ../../include/tbb/enumerable_thread_specific.h:24, from ../../include/tbb/combinable.h:24, from ../../src/test/test_combinable.cpp:25: ../../include/tbb/tbb_stddef.h:257:8: note: 'struct tbb::internal::padded > >, 128>' declared here struct padded : padded_base {}; ^~~~~~ g++ -o test_combinable.exe -O2 -g -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -fexceptions -fstack-protector-strong -grecord-gcc-switches -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -mcpu=power8 -mtune=power8 -funwind-tables -fstack-clash-protection -DTBB_USE_DEBUG -g -O0 -DUSE_PTHREAD -DTEST_USES_TBB=1 -Wall -Wshadow -Wcast-qual -Woverloaded-virtual -Wnon-virtual-dtor -Wextra -O2 -g -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -fexceptions -fstack-protector-strong -grecord-gcc-switches -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -mcpu=power8 -mtune=power8 -funwind-tables -fstack-clash-protection test_combinable.o libtbb_debug.so -lpthread -lrt -Wl,-rpath-link=. -rdynamic g++ -o test_task_auto_init.o -c -MMD -O2 -g -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -fexceptions -fstack-protector-strong -grecord-gcc-switches -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -mcpu=power8 -mtune=power8 -funwind-tables -fstack-clash-protection -DTBB_USE_DEBUG -g -O0 -DUSE_PTHREAD -DTEST_USES_TBB=1 -Wall -Wshadow -Wcast-qual -Woverloaded-virtual -Wnon-virtual-dtor -Wextra -O2 -g -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -fexceptions -fstack-protector-strong -grecord-gcc-switches -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -mcpu=power8 -mtune=power8 -funwind-tables -fstack-clash-protection -std=c++14 -I../../src -I../../src/rml/include -I../../include -I. -include ../../src/test/harness_preload.h ../../src/test/test_task_auto_init.cpp In file included from ../../include/tbb/tbb_machine.h:243, from ../../include/tbb/task.h:25, from ../../src/test/test_task_auto_init.cpp:23: ../../include/tbb/machine/mac_ppc.h: In function 'int32_t __TBB_machine_cmpswp4(volatile void*, int32_t, int32_t)': ../../include/tbb/machine/mac_ppc.h:91:46: warning: cast from type 'volatile void*' to type 'int32_t*' {aka 'int*'} casts away qualifiers [-Wcast-qual] , "+m"(* (int32_t*) ptr) /* redundant with "memory" */ ^~~ ../../include/tbb/machine/mac_ppc.h: In function 'int64_t __TBB_machine_cmpswp8(volatile void*, int64_t, int64_t)': ../../include/tbb/machine/mac_ppc.h:116:46: warning: cast from type 'volatile void*' to type 'int64_t*' {aka 'long int*'} casts away qualifiers [-Wcast-qual] , "+m"(* (int64_t*) ptr) /* redundant with "memory" */ ^~~ g++ -o test_task_auto_init.exe -O2 -g -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -fexceptions -fstack-protector-strong -grecord-gcc-switches -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -mcpu=power8 -mtune=power8 -funwind-tables -fstack-clash-protection -DTBB_USE_DEBUG -g -O0 -DUSE_PTHREAD -DTEST_USES_TBB=1 -Wall -Wshadow -Wcast-qual -Woverloaded-virtual -Wnon-virtual-dtor -Wextra -O2 -g -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -fexceptions -fstack-protector-strong -grecord-gcc-switches -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -mcpu=power8 -mtune=power8 -funwind-tables -fstack-clash-protection test_task_auto_init.o libtbb_debug.so -lpthread -lrt -Wl,-rpath-link=. -rdynamic g++ -o test_task_arena.o -c -MMD -O2 -g -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -fexceptions -fstack-protector-strong -grecord-gcc-switches -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -mcpu=power8 -mtune=power8 -funwind-tables -fstack-clash-protection -DTBB_USE_DEBUG -g -O0 -DUSE_PTHREAD -DTEST_USES_TBB=1 -Wall -Wshadow -Wcast-qual -Woverloaded-virtual -Wnon-virtual-dtor -Wextra -O2 -g -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -fexceptions -fstack-protector-strong -grecord-gcc-switches -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -mcpu=power8 -mtune=power8 -funwind-tables -fstack-clash-protection -std=c++14 -I../../src -I../../src/rml/include -I../../include -I. -include ../../src/test/harness_preload.h ../../src/test/test_task_arena.cpp In file included from ../../include/tbb/tbb_machine.h:243, from ../../src/test/harness_fp.h:24, from ../../src/test/test_task_arena.cpp:28: ../../include/tbb/machine/mac_ppc.h: In function 'int32_t __TBB_machine_cmpswp4(volatile void*, int32_t, int32_t)': ../../include/tbb/machine/mac_ppc.h:91:46: warning: cast from type 'volatile void*' to type 'int32_t*' {aka 'int*'} casts away qualifiers [-Wcast-qual] , "+m"(* (int32_t*) ptr) /* redundant with "memory" */ ^~~ ../../include/tbb/machine/mac_ppc.h: In function 'int64_t __TBB_machine_cmpswp8(volatile void*, int64_t, int64_t)': ../../include/tbb/machine/mac_ppc.h:116:46: warning: cast from type 'volatile void*' to type 'int64_t*' {aka 'long int*'} casts away qualifiers [-Wcast-qual] , "+m"(* (int64_t*) ptr) /* redundant with "memory" */ ^~~ In file included from ../../include/tbb/enumerable_thread_specific.h:25, from ../../src/test/test_task_arena.cpp:43: ../../include/tbb/concurrent_vector.h: In static member function 'static void tbb::concurrent_vector::copy_range(void*, const void*, tbb::concurrent_vector::size_type)': ../../include/tbb/concurrent_vector.h:1296:18: warning: declaration of 'iterator' shadows a previous local [-Wshadow] I & iterator ((*const_cast(static_cast(p_type_erased_iterator)))); ^ ../../include/tbb/concurrent_vector.h:578:60: note: shadowed declaration is here typedef internal::vector_iterator iterator; ^~~~~~~~ In file included from ../../include/tbb/enumerable_thread_specific.h:25, from ../../src/test/test_task_arena.cpp:43: ../../include/tbb/concurrent_vector.h: In instantiation of 'void tbb::internal::handle_unconstructed_elements(T*, std::size_t) [with T = tbb::internal::padded, 128>; std::size_t = long unsigned int]': ../../include/tbb/concurrent_vector.h:1123:56: required from 'tbb::concurrent_vector::internal_loop_guide::~internal_loop_guide() [with T = tbb::internal::padded, 128>; A = tbb::cache_aligned_allocator, 128> >]' ../../include/tbb/concurrent_vector.h:1262:25: required from 'static void tbb::concurrent_vector::initialize_array(void*, const void*, tbb::concurrent_vector::size_type) [with T = tbb::internal::padded, 128>; A = tbb::cache_aligned_allocator, 128> >; tbb::concurrent_vector::size_type = long unsigned int]' ../../include/tbb/concurrent_vector.h:780:76: required from 'tbb::concurrent_vector::iterator tbb::concurrent_vector::grow_by(tbb::concurrent_vector::size_type) [with T = tbb::internal::padded, 128>; A = tbb::cache_aligned_allocator, 128> >; tbb::concurrent_vector::iterator = tbb::internal::vector_iterator, 128>, tbb::cache_aligned_allocator, 128> > >, tbb::internal::padded, 128> >; tbb::concurrent_vector::size_type = long unsigned int]' ../../include/tbb/enumerable_thread_specific.h:797:36: required from 'void* tbb::interface6::enumerable_thread_specific::create_local() [with T = Harness::FastRandom; Allocator = tbb::cache_aligned_allocator; tbb::ets_key_usage_type ETS_key_type = (tbb::ets_key_usage_type)1]' ../../include/tbb/enumerable_thread_specific.h:796:15: required from here ../../include/tbb/concurrent_vector.h:77:20: warning: 'void* memset(void*, int, size_t)' clearing an object of non-trivial type 'struct tbb::internal::padded, 128>'; use assignment or value-initialization instead [-Wclass-memaccess] std::memset( array, 0, n_of_elements * sizeof( T ) ); ~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ In file included from ../../include/tbb/tbb_machine.h:117, from ../../src/test/harness_fp.h:24, from ../../src/test/test_task_arena.cpp:28: ../../include/tbb/tbb_stddef.h:257:8: note: 'struct tbb::internal::padded, 128>' declared here struct padded : padded_base {}; ^~~~~~ In file included from ../../include/tbb/enumerable_thread_specific.h:25, from ../../src/test/test_task_arena.cpp:43: ../../include/tbb/concurrent_vector.h: In instantiation of 'void tbb::internal::handle_unconstructed_elements(T*, std::size_t) [with T = tbb::internal::padded, 128>; std::size_t = long unsigned int]': ../../include/tbb/concurrent_vector.h:1123:56: required from 'tbb::concurrent_vector::internal_loop_guide::~internal_loop_guide() [with T = tbb::internal::padded, 128>; A = tbb::cache_aligned_allocator, 128> >]' ../../include/tbb/concurrent_vector.h:1262:25: required from 'static void tbb::concurrent_vector::initialize_array(void*, const void*, tbb::concurrent_vector::size_type) [with T = tbb::internal::padded, 128>; A = tbb::cache_aligned_allocator, 128> >; tbb::concurrent_vector::size_type = long unsigned int]' ../../include/tbb/concurrent_vector.h:780:76: required from 'tbb::concurrent_vector::iterator tbb::concurrent_vector::grow_by(tbb::concurrent_vector::size_type) [with T = tbb::internal::padded, 128>; A = tbb::cache_aligned_allocator, 128> >; tbb::concurrent_vector::iterator = tbb::internal::vector_iterator, 128>, tbb::cache_aligned_allocator, 128> > >, tbb::internal::padded, 128> >; tbb::concurrent_vector::size_type = long unsigned int]' ../../include/tbb/enumerable_thread_specific.h:797:36: required from 'void* tbb::interface6::enumerable_thread_specific::create_local() [with T = int; Allocator = tbb::cache_aligned_allocator; tbb::ets_key_usage_type ETS_key_type = (tbb::ets_key_usage_type)1]' ../../include/tbb/enumerable_thread_specific.h:796:15: required from here ../../include/tbb/concurrent_vector.h:77:20: warning: 'void* memset(void*, int, size_t)' clearing an object of non-trivial type 'struct tbb::internal::padded, 128>'; use assignment or value-initialization instead [-Wclass-memaccess] std::memset( array, 0, n_of_elements * sizeof( T ) ); ~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ In file included from ../../include/tbb/tbb_machine.h:117, from ../../src/test/harness_fp.h:24, from ../../src/test/test_task_arena.cpp:28: ../../include/tbb/tbb_stddef.h:257:8: note: 'struct tbb::internal::padded, 128>' declared here struct padded : padded_base {}; ^~~~~~ g++ -o test_task_arena.exe -O2 -g -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -fexceptions -fstack-protector-strong -grecord-gcc-switches -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -mcpu=power8 -mtune=power8 -funwind-tables -fstack-clash-protection -DTBB_USE_DEBUG -g -O0 -DUSE_PTHREAD -DTEST_USES_TBB=1 -Wall -Wshadow -Wcast-qual -Woverloaded-virtual -Wnon-virtual-dtor -Wextra -O2 -g -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -fexceptions -fstack-protector-strong -grecord-gcc-switches -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -mcpu=power8 -mtune=power8 -funwind-tables -fstack-clash-protection test_task_arena.o libtbb_debug.so -lpthread -lrt -Wl,-rpath-link=. -rdynamic g++ -o test_concurrent_monitor.o -c -MMD -O2 -g -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -fexceptions -fstack-protector-strong -grecord-gcc-switches -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -mcpu=power8 -mtune=power8 -funwind-tables -fstack-clash-protection -DTBB_USE_DEBUG -g -O0 -DUSE_PTHREAD -DTEST_USES_TBB=1 -Wall -Wshadow -Wcast-qual -Woverloaded-virtual -Wnon-virtual-dtor -Wextra -O2 -g -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -fexceptions -fstack-protector-strong -grecord-gcc-switches -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -mcpu=power8 -mtune=power8 -funwind-tables -fstack-clash-protection -std=c++14 -I../../src -I../../src/rml/include -I../../include -I. -include ../../src/test/harness_preload.h ../../src/test/test_concurrent_monitor.cpp In file included from ../../include/tbb/tbb_machine.h:243, from ../../include/tbb/atomic.h:32, from ../../src/tbb/concurrent_monitor.h:25, from ../../src/test/test_concurrent_monitor.cpp:24: ../../include/tbb/machine/mac_ppc.h: In function 'int32_t __TBB_machine_cmpswp4(volatile void*, int32_t, int32_t)': ../../include/tbb/machine/mac_ppc.h:91:46: warning: cast from type 'volatile void*' to type 'int32_t*' {aka 'int*'} casts away qualifiers [-Wcast-qual] , "+m"(* (int32_t*) ptr) /* redundant with "memory" */ ^~~ ../../include/tbb/machine/mac_ppc.h: In function 'int64_t __TBB_machine_cmpswp8(volatile void*, int64_t, int64_t)': ../../include/tbb/machine/mac_ppc.h:116:46: warning: cast from type 'volatile void*' to type 'int64_t*' {aka 'long int*'} casts away qualifiers [-Wcast-qual] , "+m"(* (int64_t*) ptr) /* redundant with "memory" */ ^~~ g++ -o test_concurrent_monitor.exe -O2 -g -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -fexceptions -fstack-protector-strong -grecord-gcc-switches -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -mcpu=power8 -mtune=power8 -funwind-tables -fstack-clash-protection -DTBB_USE_DEBUG -g -O0 -DUSE_PTHREAD -DTEST_USES_TBB=1 -Wall -Wshadow -Wcast-qual -Woverloaded-virtual -Wnon-virtual-dtor -Wextra -O2 -g -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -fexceptions -fstack-protector-strong -grecord-gcc-switches -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -mcpu=power8 -mtune=power8 -funwind-tables -fstack-clash-protection test_concurrent_monitor.o libtbb_debug.so -lpthread -lrt -Wl,-rpath-link=. -rdynamic g++ -o test_semaphore.o -c -MMD -O2 -g -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -fexceptions -fstack-protector-strong -grecord-gcc-switches -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -mcpu=power8 -mtune=power8 -funwind-tables -fstack-clash-protection -DTBB_USE_DEBUG -g -O0 -DUSE_PTHREAD -DTEST_USES_TBB=1 -Wall -Wshadow -Wcast-qual -Woverloaded-virtual -Wnon-virtual-dtor -Wextra -O2 -g -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -fexceptions -fstack-protector-strong -grecord-gcc-switches -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -mcpu=power8 -mtune=power8 -funwind-tables -fstack-clash-protection -std=c++14 -I../../src -I../../src/rml/include -I../../include -I. -include ../../src/test/harness_preload.h ../../src/test/test_semaphore.cpp In file included from ../../include/tbb/tbb_machine.h:243, from ../../include/tbb/atomic.h:32, from ../../src/test/test_semaphore.cpp:35: ../../include/tbb/machine/mac_ppc.h: In function 'int32_t __TBB_machine_cmpswp4(volatile void*, int32_t, int32_t)': ../../include/tbb/machine/mac_ppc.h:91:46: warning: cast from type 'volatile void*' to type 'int32_t*' {aka 'int*'} casts away qualifiers [-Wcast-qual] , "+m"(* (int32_t*) ptr) /* redundant with "memory" */ ^~~ ../../include/tbb/machine/mac_ppc.h: In function 'int64_t __TBB_machine_cmpswp8(volatile void*, int64_t, int64_t)': ../../include/tbb/machine/mac_ppc.h:116:46: warning: cast from type 'volatile void*' to type 'int64_t*' {aka 'long int*'} casts away qualifiers [-Wcast-qual] , "+m"(* (int64_t*) ptr) /* redundant with "memory" */ ^~~ g++ -o test_semaphore.exe -O2 -g -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -fexceptions -fstack-protector-strong -grecord-gcc-switches -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -mcpu=power8 -mtune=power8 -funwind-tables -fstack-clash-protection -DTBB_USE_DEBUG -g -O0 -DUSE_PTHREAD -DTEST_USES_TBB=1 -Wall -Wshadow -Wcast-qual -Woverloaded-virtual -Wnon-virtual-dtor -Wextra -O2 -g -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -fexceptions -fstack-protector-strong -grecord-gcc-switches -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -mcpu=power8 -mtune=power8 -funwind-tables -fstack-clash-protection test_semaphore.o libtbb_debug.so -lpthread -lrt -Wl,-rpath-link=. -rdynamic g++ -o test_critical_section.o -c -MMD -O2 -g -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -fexceptions -fstack-protector-strong -grecord-gcc-switches -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -mcpu=power8 -mtune=power8 -funwind-tables -fstack-clash-protection -DTBB_USE_DEBUG -g -O0 -DUSE_PTHREAD -DTEST_USES_TBB=1 -Wall -Wshadow -Wcast-qual -Woverloaded-virtual -Wnon-virtual-dtor -Wextra -O2 -g -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -fexceptions -fstack-protector-strong -grecord-gcc-switches -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -mcpu=power8 -mtune=power8 -funwind-tables -fstack-clash-protection -std=c++14 -I../../src -I../../src/rml/include -I../../include -I. -include ../../src/test/harness_preload.h ../../src/test/test_critical_section.cpp In file included from ../../include/tbb/tbb_machine.h:243, from ../../include/tbb/atomic.h:32, from ../../include/tbb/tbb_thread.h:46, from ../../include/tbb/critical_section.h:32, from ../../src/test/test_critical_section.cpp:23: ../../include/tbb/machine/mac_ppc.h: In function 'int32_t __TBB_machine_cmpswp4(volatile void*, int32_t, int32_t)': ../../include/tbb/machine/mac_ppc.h:91:46: warning: cast from type 'volatile void*' to type 'int32_t*' {aka 'int*'} casts away qualifiers [-Wcast-qual] , "+m"(* (int32_t*) ptr) /* redundant with "memory" */ ^~~ ../../include/tbb/machine/mac_ppc.h: In function 'int64_t __TBB_machine_cmpswp8(volatile void*, int64_t, int64_t)': ../../include/tbb/machine/mac_ppc.h:116:46: warning: cast from type 'volatile void*' to type 'int64_t*' {aka 'long int*'} casts away qualifiers [-Wcast-qual] , "+m"(* (int64_t*) ptr) /* redundant with "memory" */ ^~~ In file included from ../../include/tbb/enumerable_thread_specific.h:25, from ../../src/test/test_critical_section.cpp:25: ../../include/tbb/concurrent_vector.h: In static member function 'static void tbb::concurrent_vector::copy_range(void*, const void*, tbb::concurrent_vector::size_type)': ../../include/tbb/concurrent_vector.h:1296:18: warning: declaration of 'iterator' shadows a previous local [-Wshadow] I & iterator ((*const_cast(static_cast(p_type_erased_iterator)))); ^ ../../include/tbb/concurrent_vector.h:578:60: note: shadowed declaration is here typedef internal::vector_iterator iterator; ^~~~~~~~ In file included from ../../include/tbb/enumerable_thread_specific.h:25, from ../../src/test/test_critical_section.cpp:25: ../../include/tbb/concurrent_vector.h: In instantiation of 'void tbb::internal::handle_unconstructed_elements(T*, std::size_t) [with T = tbb::internal::padded, 128>; std::size_t = long unsigned int]': ../../include/tbb/concurrent_vector.h:1123:56: required from 'tbb::concurrent_vector::internal_loop_guide::~internal_loop_guide() [with T = tbb::internal::padded, 128>; A = tbb::cache_aligned_allocator, 128> >]' ../../include/tbb/concurrent_vector.h:1262:25: required from 'static void tbb::concurrent_vector::initialize_array(void*, const void*, tbb::concurrent_vector::size_type) [with T = tbb::internal::padded, 128>; A = tbb::cache_aligned_allocator, 128> >; tbb::concurrent_vector::size_type = long unsigned int]' ../../include/tbb/concurrent_vector.h:780:76: required from 'tbb::concurrent_vector::iterator tbb::concurrent_vector::grow_by(tbb::concurrent_vector::size_type) [with T = tbb::internal::padded, 128>; A = tbb::cache_aligned_allocator, 128> >; tbb::concurrent_vector::iterator = tbb::internal::vector_iterator, 128>, tbb::cache_aligned_allocator, 128> > >, tbb::internal::padded, 128> >; tbb::concurrent_vector::size_type = long unsigned int]' ../../include/tbb/enumerable_thread_specific.h:797:36: required from 'void* tbb::interface6::enumerable_thread_specific::create_local() [with T = double; Allocator = tbb::cache_aligned_allocator; tbb::ets_key_usage_type ETS_key_type = (tbb::ets_key_usage_type)1]' ../../include/tbb/enumerable_thread_specific.h:796:15: required from here ../../include/tbb/concurrent_vector.h:77:20: warning: 'void* memset(void*, int, size_t)' clearing an object of non-trivial type 'struct tbb::internal::padded, 128>'; use assignment or value-initialization instead [-Wclass-memaccess] std::memset( array, 0, n_of_elements * sizeof( T ) ); ~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ In file included from ../../include/tbb/critical_section.h:31, from ../../src/test/test_critical_section.cpp:23: ../../include/tbb/tbb_stddef.h:257:8: note: 'struct tbb::internal::padded, 128>' declared here struct padded : padded_base {}; ^~~~~~ g++ -o test_critical_section.exe -O2 -g -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -fexceptions -fstack-protector-strong -grecord-gcc-switches -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -mcpu=power8 -mtune=power8 -funwind-tables -fstack-clash-protection -DTBB_USE_DEBUG -g -O0 -DUSE_PTHREAD -DTEST_USES_TBB=1 -Wall -Wshadow -Wcast-qual -Woverloaded-virtual -Wnon-virtual-dtor -Wextra -O2 -g -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -fexceptions -fstack-protector-strong -grecord-gcc-switches -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -mcpu=power8 -mtune=power8 -funwind-tables -fstack-clash-protection test_critical_section.o libtbb_debug.so -lpthread -lrt -Wl,-rpath-link=. -rdynamic g++ -o test_reader_writer_lock.o -c -MMD -O2 -g -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -fexceptions -fstack-protector-strong -grecord-gcc-switches -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -mcpu=power8 -mtune=power8 -funwind-tables -fstack-clash-protection -DTBB_USE_DEBUG -g -O0 -DUSE_PTHREAD -DTEST_USES_TBB=1 -Wall -Wshadow -Wcast-qual -Woverloaded-virtual -Wnon-virtual-dtor -Wextra -O2 -g -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -fexceptions -fstack-protector-strong -grecord-gcc-switches -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -mcpu=power8 -mtune=power8 -funwind-tables -fstack-clash-protection -std=c++14 -I../../src -I../../src/rml/include -I../../include -I. -include ../../src/test/harness_preload.h ../../src/test/test_reader_writer_lock.cpp In file included from ../../include/tbb/tbb_machine.h:243, from ../../include/tbb/atomic.h:32, from ../../include/tbb/tbb_thread.h:46, from ../../include/tbb/reader_writer_lock.h:24, from ../../src/test/test_reader_writer_lock.cpp:22: ../../include/tbb/machine/mac_ppc.h: In function 'int32_t __TBB_machine_cmpswp4(volatile void*, int32_t, int32_t)': ../../include/tbb/machine/mac_ppc.h:91:46: warning: cast from type 'volatile void*' to type 'int32_t*' {aka 'int*'} casts away qualifiers [-Wcast-qual] , "+m"(* (int32_t*) ptr) /* redundant with "memory" */ ^~~ ../../include/tbb/machine/mac_ppc.h: In function 'int64_t __TBB_machine_cmpswp8(volatile void*, int64_t, int64_t)': ../../include/tbb/machine/mac_ppc.h:116:46: warning: cast from type 'volatile void*' to type 'int64_t*' {aka 'long int*'} casts away qualifiers [-Wcast-qual] , "+m"(* (int64_t*) ptr) /* redundant with "memory" */ ^~~ g++ -o test_reader_writer_lock.exe -O2 -g -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -fexceptions -fstack-protector-strong -grecord-gcc-switches -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -mcpu=power8 -mtune=power8 -funwind-tables -fstack-clash-protection -DTBB_USE_DEBUG -g -O0 -DUSE_PTHREAD -DTEST_USES_TBB=1 -Wall -Wshadow -Wcast-qual -Woverloaded-virtual -Wnon-virtual-dtor -Wextra -O2 -g -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -fexceptions -fstack-protector-strong -grecord-gcc-switches -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -mcpu=power8 -mtune=power8 -funwind-tables -fstack-clash-protection test_reader_writer_lock.o libtbb_debug.so -lpthread -lrt -Wl,-rpath-link=. -rdynamic g++ -o test_tbb_condition_variable.o -c -MMD -O2 -g -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -fexceptions -fstack-protector-strong -grecord-gcc-switches -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -mcpu=power8 -mtune=power8 -funwind-tables -fstack-clash-protection -DTBB_USE_DEBUG -g -O0 -DUSE_PTHREAD -DTEST_USES_TBB=1 -Wall -Wshadow -Wcast-qual -Woverloaded-virtual -Wnon-virtual-dtor -Wextra -O2 -g -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -fexceptions -fstack-protector-strong -grecord-gcc-switches -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -mcpu=power8 -mtune=power8 -funwind-tables -fstack-clash-protection -std=c++14 -I../../src -I../../src/rml/include -I../../include -I. -include ../../src/test/harness_preload.h ../../src/test/test_tbb_condition_variable.cpp In file included from ../../include/tbb/compat/../tbb_machine.h:243, from ../../include/tbb/compat/../aligned_space.h:25, from ../../include/tbb/compat/../mutex.h:31, from ../../include/tbb/compat/condition_variable:61, from ../../src/test/test_condition_variable.h:21, from ../../src/test/test_tbb_condition_variable.cpp:23: ../../include/tbb/compat/../machine/mac_ppc.h: In function 'int32_t __TBB_machine_cmpswp4(volatile void*, int32_t, int32_t)': ../../include/tbb/compat/../machine/mac_ppc.h:91:46: warning: cast from type 'volatile void*' to type 'int32_t*' {aka 'int*'} casts away qualifiers [-Wcast-qual] , "+m"(* (int32_t*) ptr) /* redundant with "memory" */ ^~~ ../../include/tbb/compat/../machine/mac_ppc.h: In function 'int64_t __TBB_machine_cmpswp8(volatile void*, int64_t, int64_t)': ../../include/tbb/compat/../machine/mac_ppc.h:116:46: warning: cast from type 'volatile void*' to type 'int64_t*' {aka 'long int*'} casts away qualifiers [-Wcast-qual] , "+m"(* (int64_t*) ptr) /* redundant with "memory" */ ^~~ g++ -o test_tbb_condition_variable.exe -O2 -g -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -fexceptions -fstack-protector-strong -grecord-gcc-switches -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -mcpu=power8 -mtune=power8 -funwind-tables -fstack-clash-protection -DTBB_USE_DEBUG -g -O0 -DUSE_PTHREAD -DTEST_USES_TBB=1 -Wall -Wshadow -Wcast-qual -Woverloaded-virtual -Wnon-virtual-dtor -Wextra -O2 -g -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -fexceptions -fstack-protector-strong -grecord-gcc-switches -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -mcpu=power8 -mtune=power8 -funwind-tables -fstack-clash-protection test_tbb_condition_variable.o libtbb_debug.so -lpthread -lrt -Wl,-rpath-link=. -rdynamic g++ -o test_intrusive_list.o -c -MMD -O2 -g -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -fexceptions -fstack-protector-strong -grecord-gcc-switches -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -mcpu=power8 -mtune=power8 -funwind-tables -fstack-clash-protection -DTBB_USE_DEBUG -g -O0 -DUSE_PTHREAD -DTEST_USES_TBB=1 -Wall -Wshadow -Wcast-qual -Woverloaded-virtual -Wnon-virtual-dtor -Wextra -O2 -g -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -fexceptions -fstack-protector-strong -grecord-gcc-switches -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -mcpu=power8 -mtune=power8 -funwind-tables -fstack-clash-protection -std=c++14 -I../../src -I../../src/rml/include -I../../include -I. -include ../../src/test/harness_preload.h ../../src/test/test_intrusive_list.cpp g++ -o test_intrusive_list.exe -O2 -g -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -fexceptions -fstack-protector-strong -grecord-gcc-switches -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -mcpu=power8 -mtune=power8 -funwind-tables -fstack-clash-protection -DTBB_USE_DEBUG -g -O0 -DUSE_PTHREAD -DTEST_USES_TBB=1 -Wall -Wshadow -Wcast-qual -Woverloaded-virtual -Wnon-virtual-dtor -Wextra -O2 -g -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -fexceptions -fstack-protector-strong -grecord-gcc-switches -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -mcpu=power8 -mtune=power8 -funwind-tables -fstack-clash-protection test_intrusive_list.o libtbb_debug.so -lpthread -lrt -Wl,-rpath-link=. -rdynamic g++ -o test_concurrent_priority_queue.o -c -MMD -O2 -g -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -fexceptions -fstack-protector-strong -grecord-gcc-switches -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -mcpu=power8 -mtune=power8 -funwind-tables -fstack-clash-protection -DTBB_USE_DEBUG -g -O0 -DUSE_PTHREAD -DTEST_USES_TBB=1 -Wall -Wshadow -Wcast-qual -Woverloaded-virtual -Wnon-virtual-dtor -Wextra -O2 -g -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -fexceptions -fstack-protector-strong -grecord-gcc-switches -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -mcpu=power8 -mtune=power8 -funwind-tables -fstack-clash-protection -std=c++14 -I../../src -I../../src/rml/include -I../../include -I. -include ../../src/test/harness_preload.h ../../src/test/test_concurrent_priority_queue.cpp In file included from ../../include/tbb/tbb_machine.h:243, from ../../include/tbb/atomic.h:32, from ../../include/tbb/concurrent_priority_queue.h:24, from ../../src/test/test_concurrent_priority_queue.cpp:22: ../../include/tbb/machine/mac_ppc.h: In function 'int32_t __TBB_machine_cmpswp4(volatile void*, int32_t, int32_t)': ../../include/tbb/machine/mac_ppc.h:91:46: warning: cast from type 'volatile void*' to type 'int32_t*' {aka 'int*'} casts away qualifiers [-Wcast-qual] , "+m"(* (int32_t*) ptr) /* redundant with "memory" */ ^~~ ../../include/tbb/machine/mac_ppc.h: In function 'int64_t __TBB_machine_cmpswp8(volatile void*, int64_t, int64_t)': ../../include/tbb/machine/mac_ppc.h:116:46: warning: cast from type 'volatile void*' to type 'int64_t*' {aka 'long int*'} casts away qualifiers [-Wcast-qual] , "+m"(* (int64_t*) ptr) /* redundant with "memory" */ ^~~ In file included from ../../src/test/test_concurrent_priority_queue.cpp:28: ../../src/test/harness_allocator.h: In instantiation of 'debug_allocator::pointer debug_allocator::allocate(debug_allocator::size_type, const void*) [with T = std::unique_ptr >; Allocator = std::allocator; debug_allocator::pointer = std::unique_ptr >*; debug_allocator::size_type = long unsigned int]': ../../src/test/test_concurrent_priority_queue.cpp:923:16: required from 'void Examine(Queue&, Queue&, const std::vector&) [with bool hasCopyCtor = false; Queue = tbb::interface5::concurrent_priority_queue >, SmartPointersCompare, debug_allocator >, std::allocator> >; typename Queue::value_type = std::unique_ptr >]' ../../src/test/test_concurrent_priority_queue.cpp:1000:34: required from 'void TypeTesterUniquePtr(const std::vector&) [with T = int]' ../../src/test/test_concurrent_priority_queue.cpp:1058:31: required from here ../../src/test/harness_allocator.h:518:20: warning: 'void* memset(void*, int, size_t)' writing to an object of type 'class std::unique_ptr >' with no trivial copy-assignment [-Wclass-memaccess] std::memset( ptr, 0xE3E3E3E3, n * sizeof(value_type) ); ~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ In file included from /usr/include/c++/8/memory:80, from ../../include/tbb/tbb_stddef.h:427, from ../../include/tbb/tbb_machine.h:117, from ../../include/tbb/atomic.h:32, from ../../include/tbb/concurrent_priority_queue.h:24, from ../../src/test/test_concurrent_priority_queue.cpp:22: /usr/include/c++/8/bits/unique_ptr.h:160:11: note: 'class std::unique_ptr >' declared here class unique_ptr ^~~~~~~~~~ In file included from ../../src/test/test_concurrent_priority_queue.cpp:28: ../../src/test/harness_allocator.h: In instantiation of 'debug_allocator::pointer debug_allocator::allocate(debug_allocator::size_type, const void*) [with T = std::shared_ptr; Allocator = std::allocator; debug_allocator::pointer = std::shared_ptr*; debug_allocator::size_type = long unsigned int]': ../../src/test/test_concurrent_priority_queue.cpp:923:16: required from 'void Examine(Queue&, Queue&, const std::vector&) [with bool hasCopyCtor = true; Queue = tbb::interface5::concurrent_priority_queue, SmartPointersCompare, debug_allocator, std::allocator> >; typename Queue::value_type = std::shared_ptr]' ../../src/test/test_concurrent_priority_queue.cpp:931:34: required from 'void Examine(const Queue&, const std::vector&) [with Queue = tbb::interface5::concurrent_priority_queue, SmartPointersCompare, debug_allocator, std::allocator> >; typename container_type::value_type = std::shared_ptr]' ../../src/test/test_concurrent_priority_queue.cpp:963:12: required from 'void TypeTester(const std::vector&, Compare) [with ValueType = std::shared_ptr; Compare = SmartPointersCompare]' ../../src/test/test_concurrent_priority_queue.cpp:1051:46: required from here ../../src/test/harness_allocator.h:518:20: warning: 'void* memset(void*, int, size_t)' writing to an object of type 'class std::shared_ptr' with no trivial copy-assignment [-Wclass-memaccess] std::memset( ptr, 0xE3E3E3E3, n * sizeof(value_type) ); ~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ In file included from /usr/include/c++/8/memory:81, from ../../include/tbb/tbb_stddef.h:427, from ../../include/tbb/tbb_machine.h:117, from ../../include/tbb/atomic.h:32, from ../../include/tbb/concurrent_priority_queue.h:24, from ../../src/test/test_concurrent_priority_queue.cpp:22: /usr/include/c++/8/bits/shared_ptr.h:103:11: note: 'class std::shared_ptr' declared here class shared_ptr : public __shared_ptr<_Tp> ^~~~~~~~~~ In file included from ../../src/test/test_concurrent_priority_queue.cpp:28: ../../src/test/harness_allocator.h: In instantiation of 'debug_allocator::pointer debug_allocator::allocate(debug_allocator::size_type, const void*) [with T = std::weak_ptr; Allocator = std::allocator; debug_allocator::pointer = std::weak_ptr*; debug_allocator::size_type = long unsigned int]': ../../src/test/test_concurrent_priority_queue.cpp:923:16: required from 'void Examine(Queue&, Queue&, const std::vector&) [with bool hasCopyCtor = true; Queue = tbb::interface5::concurrent_priority_queue, SmartPointersCompare, debug_allocator, std::allocator> >; typename Queue::value_type = std::weak_ptr]' ../../src/test/test_concurrent_priority_queue.cpp:931:34: required from 'void Examine(const Queue&, const std::vector&) [with Queue = tbb::interface5::concurrent_priority_queue, SmartPointersCompare, debug_allocator, std::allocator> >; typename container_type::value_type = std::weak_ptr]' ../../src/test/test_concurrent_priority_queue.cpp:963:12: required from 'void TypeTester(const std::vector&, Compare) [with ValueType = std::weak_ptr; Compare = SmartPointersCompare]' ../../src/test/test_concurrent_priority_queue.cpp:1052:45: required from here ../../src/test/harness_allocator.h:518:20: warning: 'void* memset(void*, int, size_t)' writing to an object of type 'class std::weak_ptr' with no trivial copy-assignment [-Wclass-memaccess] std::memset( ptr, 0xE3E3E3E3, n * sizeof(value_type) ); ~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ In file included from /usr/include/c++/8/memory:81, from ../../include/tbb/tbb_stddef.h:427, from ../../include/tbb/tbb_machine.h:117, from ../../include/tbb/atomic.h:32, from ../../include/tbb/concurrent_priority_queue.h:24, from ../../src/test/test_concurrent_priority_queue.cpp:22: /usr/include/c++/8/bits/shared_ptr.h:536:11: note: 'class std::weak_ptr' declared here class weak_ptr : public __weak_ptr<_Tp> ^~~~~~~~ In file included from ../../src/test/test_concurrent_priority_queue.cpp:28: ../../src/test/harness_allocator.h: In instantiation of 'debug_allocator::pointer debug_allocator::allocate(debug_allocator::size_type, const void*) [with T = tbb::atomic; Allocator = std::allocator; debug_allocator::pointer = tbb::atomic*; debug_allocator::size_type = long unsigned int]': ../../src/test/test_concurrent_priority_queue.cpp:923:16: required from 'void Examine(Queue&, Queue&, const std::vector&) [with bool hasCopyCtor = true; Queue = tbb::interface5::concurrent_priority_queue, std::less >, debug_allocator, std::allocator> >; typename Queue::value_type = tbb::atomic]' ../../src/test/test_concurrent_priority_queue.cpp:931:34: required from 'void Examine(const Queue&, const std::vector&) [with Queue = tbb::interface5::concurrent_priority_queue, std::less >, debug_allocator, std::allocator> >; typename container_type::value_type = tbb::atomic]' ../../src/test/test_concurrent_priority_queue.cpp:963:12: required from 'void TypeTester(const std::vector&, Compare) [with ValueType = tbb::atomic; Compare = std::less >]' ../../src/test/test_concurrent_priority_queue.cpp:1024:64: required from 'void TypeTester(const std::vector&) [with ValueType = tbb::atomic]' ../../src/test/test_concurrent_priority_queue.cpp:1041:22: required from here ../../src/test/harness_allocator.h:518:20: warning: 'void* memset(void*, int, size_t)' writing to an object of type 'struct tbb::atomic' with no trivial copy-assignment [-Wclass-memaccess] std::memset( ptr, 0xE3E3E3E3, n * sizeof(value_type) ); ~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ In file included from ../../include/tbb/concurrent_priority_queue.h:24, from ../../src/test/test_concurrent_priority_queue.cpp:22: ../../include/tbb/atomic.h:421:27: note: 'struct tbb::atomic' declared here template<> struct atomic: internal::atomic_impl_with_arithmetic { \ ^~~~~~~~~ ../../include/tbb/atomic.h:471:1: note: in expansion of macro '__TBB_DECL_ATOMIC' __TBB_DECL_ATOMIC(int) ^~~~~~~~~~~~~~~~~ g++ -o test_concurrent_priority_queue.exe -O2 -g -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -fexceptions -fstack-protector-strong -grecord-gcc-switches -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -mcpu=power8 -mtune=power8 -funwind-tables -fstack-clash-protection -DTBB_USE_DEBUG -g -O0 -DUSE_PTHREAD -DTEST_USES_TBB=1 -Wall -Wshadow -Wcast-qual -Woverloaded-virtual -Wnon-virtual-dtor -Wextra -O2 -g -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -fexceptions -fstack-protector-strong -grecord-gcc-switches -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -mcpu=power8 -mtune=power8 -funwind-tables -fstack-clash-protection test_concurrent_priority_queue.o libtbb_debug.so -lpthread -lrt -Wl,-rpath-link=. -rdynamic g++ -o test_task_priority.o -c -MMD -O2 -g -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -fexceptions -fstack-protector-strong -grecord-gcc-switches -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -mcpu=power8 -mtune=power8 -funwind-tables -fstack-clash-protection -DTBB_USE_DEBUG -g -O0 -DUSE_PTHREAD -DTEST_USES_TBB=1 -Wall -Wshadow -Wcast-qual -Woverloaded-virtual -Wnon-virtual-dtor -Wextra -O2 -g -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -fexceptions -fstack-protector-strong -grecord-gcc-switches -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -mcpu=power8 -mtune=power8 -funwind-tables -fstack-clash-protection -std=c++14 -I../../src -I../../src/rml/include -I../../include -I. -include ../../src/test/harness_preload.h ../../src/test/test_task_priority.cpp In file included from ../../include/tbb/tbb_machine.h:243, from ../../include/tbb/task.h:25, from ../../src/test/test_task_priority.cpp:30: ../../include/tbb/machine/mac_ppc.h: In function 'int32_t __TBB_machine_cmpswp4(volatile void*, int32_t, int32_t)': ../../include/tbb/machine/mac_ppc.h:91:46: warning: cast from type 'volatile void*' to type 'int32_t*' {aka 'int*'} casts away qualifiers [-Wcast-qual] , "+m"(* (int32_t*) ptr) /* redundant with "memory" */ ^~~ ../../include/tbb/machine/mac_ppc.h: In function 'int64_t __TBB_machine_cmpswp8(volatile void*, int64_t, int64_t)': ../../include/tbb/machine/mac_ppc.h:116:46: warning: cast from type 'volatile void*' to type 'int64_t*' {aka 'long int*'} casts away qualifiers [-Wcast-qual] , "+m"(* (int64_t*) ptr) /* redundant with "memory" */ ^~~ g++ -o test_task_priority.exe -O2 -g -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -fexceptions -fstack-protector-strong -grecord-gcc-switches -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -mcpu=power8 -mtune=power8 -funwind-tables -fstack-clash-protection -DTBB_USE_DEBUG -g -O0 -DUSE_PTHREAD -DTEST_USES_TBB=1 -Wall -Wshadow -Wcast-qual -Woverloaded-virtual -Wnon-virtual-dtor -Wextra -O2 -g -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -fexceptions -fstack-protector-strong -grecord-gcc-switches -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -mcpu=power8 -mtune=power8 -funwind-tables -fstack-clash-protection test_task_priority.o libtbb_debug.so -lpthread -lrt -Wl,-rpath-link=. -rdynamic g++ -o test_task_enqueue.o -c -MMD -O2 -g -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -fexceptions -fstack-protector-strong -grecord-gcc-switches -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -mcpu=power8 -mtune=power8 -funwind-tables -fstack-clash-protection -DTBB_USE_DEBUG -g -O0 -DUSE_PTHREAD -DTEST_USES_TBB=1 -Wall -Wshadow -Wcast-qual -Woverloaded-virtual -Wnon-virtual-dtor -Wextra -O2 -g -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -fexceptions -fstack-protector-strong -grecord-gcc-switches -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -mcpu=power8 -mtune=power8 -funwind-tables -fstack-clash-protection -std=c++14 -I../../src -I../../src/rml/include -I../../include -I. -include ../../src/test/harness_preload.h ../../src/test/test_task_enqueue.cpp In file included from ../../include/tbb/tbb_machine.h:243, from ../../include/tbb/task.h:25, from ../../src/test/harness_task.h:21, from ../../src/test/test_task_enqueue.cpp:21: ../../include/tbb/machine/mac_ppc.h: In function 'int32_t __TBB_machine_cmpswp4(volatile void*, int32_t, int32_t)': ../../include/tbb/machine/mac_ppc.h:91:46: warning: cast from type 'volatile void*' to type 'int32_t*' {aka 'int*'} casts away qualifiers [-Wcast-qual] , "+m"(* (int32_t*) ptr) /* redundant with "memory" */ ^~~ ../../include/tbb/machine/mac_ppc.h: In function 'int64_t __TBB_machine_cmpswp8(volatile void*, int64_t, int64_t)': ../../include/tbb/machine/mac_ppc.h:116:46: warning: cast from type 'volatile void*' to type 'int64_t*' {aka 'long int*'} casts away qualifiers [-Wcast-qual] , "+m"(* (int64_t*) ptr) /* redundant with "memory" */ ^~~ g++ -o test_task_enqueue.exe -O2 -g -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -fexceptions -fstack-protector-strong -grecord-gcc-switches -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -mcpu=power8 -mtune=power8 -funwind-tables -fstack-clash-protection -DTBB_USE_DEBUG -g -O0 -DUSE_PTHREAD -DTEST_USES_TBB=1 -Wall -Wshadow -Wcast-qual -Woverloaded-virtual -Wnon-virtual-dtor -Wextra -O2 -g -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -fexceptions -fstack-protector-strong -grecord-gcc-switches -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -mcpu=power8 -mtune=power8 -funwind-tables -fstack-clash-protection test_task_enqueue.o libtbb_debug.so -lpthread -lrt -Wl,-rpath-link=. -rdynamic g++ -o test_task_steal_limit.o -c -MMD -O2 -g -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -fexceptions -fstack-protector-strong -grecord-gcc-switches -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -mcpu=power8 -mtune=power8 -funwind-tables -fstack-clash-protection -DTBB_USE_DEBUG -g -O0 -DUSE_PTHREAD -DTEST_USES_TBB=1 -Wall -Wshadow -Wcast-qual -Woverloaded-virtual -Wnon-virtual-dtor -Wextra -O2 -g -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -fexceptions -fstack-protector-strong -grecord-gcc-switches -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -mcpu=power8 -mtune=power8 -funwind-tables -fstack-clash-protection -std=c++14 -I../../src -I../../src/rml/include -I../../include -I. -include ../../src/test/harness_preload.h ../../src/test/test_task_steal_limit.cpp In file included from ../../include/tbb/tbb_machine.h:243, from ../../include/tbb/task.h:25, from ../../src/test/test_task_steal_limit.cpp:21: ../../include/tbb/machine/mac_ppc.h: In function 'int32_t __TBB_machine_cmpswp4(volatile void*, int32_t, int32_t)': ../../include/tbb/machine/mac_ppc.h:91:46: warning: cast from type 'volatile void*' to type 'int32_t*' {aka 'int*'} casts away qualifiers [-Wcast-qual] , "+m"(* (int32_t*) ptr) /* redundant with "memory" */ ^~~ ../../include/tbb/machine/mac_ppc.h: In function 'int64_t __TBB_machine_cmpswp8(volatile void*, int64_t, int64_t)': ../../include/tbb/machine/mac_ppc.h:116:46: warning: cast from type 'volatile void*' to type 'int64_t*' {aka 'long int*'} casts away qualifiers [-Wcast-qual] , "+m"(* (int64_t*) ptr) /* redundant with "memory" */ ^~~ g++ -o test_task_steal_limit.exe -O2 -g -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -fexceptions -fstack-protector-strong -grecord-gcc-switches -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -mcpu=power8 -mtune=power8 -funwind-tables -fstack-clash-protection -DTBB_USE_DEBUG -g -O0 -DUSE_PTHREAD -DTEST_USES_TBB=1 -Wall -Wshadow -Wcast-qual -Woverloaded-virtual -Wnon-virtual-dtor -Wextra -O2 -g -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -fexceptions -fstack-protector-strong -grecord-gcc-switches -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -mcpu=power8 -mtune=power8 -funwind-tables -fstack-clash-protection test_task_steal_limit.o libtbb_debug.so -lpthread -lrt -Wl,-rpath-link=. -rdynamic g++ -o test_hw_concurrency.o -c -MMD -O2 -g -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -fexceptions -fstack-protector-strong -grecord-gcc-switches -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -mcpu=power8 -mtune=power8 -funwind-tables -fstack-clash-protection -DTBB_USE_DEBUG -g -O0 -DUSE_PTHREAD -DTEST_USES_TBB=1 -Wall -Wshadow -Wcast-qual -Woverloaded-virtual -Wnon-virtual-dtor -Wextra -O2 -g -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -fexceptions -fstack-protector-strong -grecord-gcc-switches -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -mcpu=power8 -mtune=power8 -funwind-tables -fstack-clash-protection -std=c++14 -I../../src -I../../src/rml/include -I../../include -I. -include ../../src/test/harness_preload.h ../../src/test/test_hw_concurrency.cpp In file included from ../../include/tbb/tbb_machine.h:243, from ../../include/tbb/atomic.h:32, from ../../include/tbb/tbb_thread.h:46, from ../../src/test/test_hw_concurrency.cpp:35: ../../include/tbb/machine/mac_ppc.h: In function 'int32_t __TBB_machine_cmpswp4(volatile void*, int32_t, int32_t)': ../../include/tbb/machine/mac_ppc.h:91:46: warning: cast from type 'volatile void*' to type 'int32_t*' {aka 'int*'} casts away qualifiers [-Wcast-qual] , "+m"(* (int32_t*) ptr) /* redundant with "memory" */ ^~~ ../../include/tbb/machine/mac_ppc.h: In function 'int64_t __TBB_machine_cmpswp8(volatile void*, int64_t, int64_t)': ../../include/tbb/machine/mac_ppc.h:116:46: warning: cast from type 'volatile void*' to type 'int64_t*' {aka 'long int*'} casts away qualifiers [-Wcast-qual] , "+m"(* (int64_t*) ptr) /* redundant with "memory" */ ^~~ In file included from ../../include/tbb/enumerable_thread_specific.h:25, from ../../src/test/test_hw_concurrency.cpp:36: ../../include/tbb/concurrent_vector.h: In static member function 'static void tbb::concurrent_vector::copy_range(void*, const void*, tbb::concurrent_vector::size_type)': ../../include/tbb/concurrent_vector.h:1296:18: warning: declaration of 'iterator' shadows a previous local [-Wshadow] I & iterator ((*const_cast(static_cast(p_type_erased_iterator)))); ^ ../../include/tbb/concurrent_vector.h:578:60: note: shadowed declaration is here typedef internal::vector_iterator iterator; ^~~~~~~~ In file included from ../../include/tbb/enumerable_thread_specific.h:25, from ../../src/test/test_hw_concurrency.cpp:36: ../../include/tbb/concurrent_vector.h: In instantiation of 'void tbb::internal::handle_unconstructed_elements(T*, std::size_t) [with T = tbb::internal::padded, 128>; std::size_t = long unsigned int]': ../../include/tbb/concurrent_vector.h:1123:56: required from 'tbb::concurrent_vector::internal_loop_guide::~internal_loop_guide() [with T = tbb::internal::padded, 128>; A = tbb::cache_aligned_allocator, 128> >]' ../../include/tbb/concurrent_vector.h:1262:25: required from 'static void tbb::concurrent_vector::initialize_array(void*, const void*, tbb::concurrent_vector::size_type) [with T = tbb::internal::padded, 128>; A = tbb::cache_aligned_allocator, 128> >; tbb::concurrent_vector::size_type = long unsigned int]' ../../include/tbb/concurrent_vector.h:780:76: required from 'tbb::concurrent_vector::iterator tbb::concurrent_vector::grow_by(tbb::concurrent_vector::size_type) [with T = tbb::internal::padded, 128>; A = tbb::cache_aligned_allocator, 128> >; tbb::concurrent_vector::iterator = tbb::internal::vector_iterator, 128>, tbb::cache_aligned_allocator, 128> > >, tbb::internal::padded, 128> >; tbb::concurrent_vector::size_type = long unsigned int]' ../../include/tbb/enumerable_thread_specific.h:797:36: required from 'void* tbb::interface6::enumerable_thread_specific::create_local() [with T = long unsigned int; Allocator = tbb::cache_aligned_allocator; tbb::ets_key_usage_type ETS_key_type = (tbb::ets_key_usage_type)1]' ../../include/tbb/enumerable_thread_specific.h:796:15: required from here ../../include/tbb/concurrent_vector.h:77:20: warning: 'void* memset(void*, int, size_t)' clearing an object of non-trivial type 'struct tbb::internal::padded, 128>'; use assignment or value-initialization instead [-Wclass-memaccess] std::memset( array, 0, n_of_elements * sizeof( T ) ); ~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ In file included from ../../src/test/harness.h:189, from ../../src/test/test_hw_concurrency.cpp:31: ../../include/tbb/tbb_stddef.h:257:8: note: 'struct tbb::internal::padded, 128>' declared here struct padded : padded_base {}; ^~~~~~ g++ -o test_hw_concurrency.exe -O2 -g -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -fexceptions -fstack-protector-strong -grecord-gcc-switches -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -mcpu=power8 -mtune=power8 -funwind-tables -fstack-clash-protection -DTBB_USE_DEBUG -g -O0 -DUSE_PTHREAD -DTEST_USES_TBB=1 -Wall -Wshadow -Wcast-qual -Woverloaded-virtual -Wnon-virtual-dtor -Wextra -O2 -g -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -fexceptions -fstack-protector-strong -grecord-gcc-switches -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -mcpu=power8 -mtune=power8 -funwind-tables -fstack-clash-protection test_hw_concurrency.o libtbb_debug.so -lpthread -lrt -Wl,-rpath-link=. -rdynamic g++ -o test_fp.o -c -MMD -O2 -g -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -fexceptions -fstack-protector-strong -grecord-gcc-switches -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -mcpu=power8 -mtune=power8 -funwind-tables -fstack-clash-protection -DTBB_USE_DEBUG -g -O0 -DUSE_PTHREAD -DTEST_USES_TBB=1 -Wall -Wshadow -Wcast-qual -Woverloaded-virtual -Wnon-virtual-dtor -Wextra -O2 -g -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -fexceptions -fstack-protector-strong -grecord-gcc-switches -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -mcpu=power8 -mtune=power8 -funwind-tables -fstack-clash-protection -std=c++14 -I../../src -I../../src/rml/include -I../../include -I. -include ../../src/test/harness_preload.h ../../src/test/test_fp.cpp In file included from ../../include/tbb/tbb_machine.h:243, from ../../src/test/harness_fp.h:24, from ../../src/test/test_fp.cpp:24: ../../include/tbb/machine/mac_ppc.h: In function 'int32_t __TBB_machine_cmpswp4(volatile void*, int32_t, int32_t)': ../../include/tbb/machine/mac_ppc.h:91:46: warning: cast from type 'volatile void*' to type 'int32_t*' {aka 'int*'} casts away qualifiers [-Wcast-qual] , "+m"(* (int32_t*) ptr) /* redundant with "memory" */ ^~~ ../../include/tbb/machine/mac_ppc.h: In function 'int64_t __TBB_machine_cmpswp8(volatile void*, int64_t, int64_t)': ../../include/tbb/machine/mac_ppc.h:116:46: warning: cast from type 'volatile void*' to type 'int64_t*' {aka 'long int*'} casts away qualifiers [-Wcast-qual] , "+m"(* (int64_t*) ptr) /* redundant with "memory" */ ^~~ g++ -o test_fp.exe -O2 -g -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -fexceptions -fstack-protector-strong -grecord-gcc-switches -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -mcpu=power8 -mtune=power8 -funwind-tables -fstack-clash-protection -DTBB_USE_DEBUG -g -O0 -DUSE_PTHREAD -DTEST_USES_TBB=1 -Wall -Wshadow -Wcast-qual -Woverloaded-virtual -Wnon-virtual-dtor -Wextra -O2 -g -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -fexceptions -fstack-protector-strong -grecord-gcc-switches -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -mcpu=power8 -mtune=power8 -funwind-tables -fstack-clash-protection test_fp.o libtbb_debug.so -lpthread -lrt -Wl,-rpath-link=. -rdynamic g++ -o test_tuple.o -c -MMD -O2 -g -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -fexceptions -fstack-protector-strong -grecord-gcc-switches -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -mcpu=power8 -mtune=power8 -funwind-tables -fstack-clash-protection -DTBB_USE_DEBUG -g -O0 -DUSE_PTHREAD -DTEST_USES_TBB=1 -Wall -Wshadow -Wcast-qual -Woverloaded-virtual -Wnon-virtual-dtor -Wextra -O2 -g -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -fexceptions -fstack-protector-strong -grecord-gcc-switches -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -mcpu=power8 -mtune=power8 -funwind-tables -fstack-clash-protection -std=c++14 -I../../src -I../../src/rml/include -I../../include -I. -include ../../src/test/harness_preload.h ../../src/test/test_tuple.cpp g++ -o test_tuple.exe -O2 -g -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -fexceptions -fstack-protector-strong -grecord-gcc-switches -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -mcpu=power8 -mtune=power8 -funwind-tables -fstack-clash-protection -DTBB_USE_DEBUG -g -O0 -DUSE_PTHREAD -DTEST_USES_TBB=1 -Wall -Wshadow -Wcast-qual -Woverloaded-virtual -Wnon-virtual-dtor -Wextra -O2 -g -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -fexceptions -fstack-protector-strong -grecord-gcc-switches -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -mcpu=power8 -mtune=power8 -funwind-tables -fstack-clash-protection test_tuple.o libtbb_debug.so -lpthread -lrt -Wl,-rpath-link=. -rdynamic g++ -o test_flow_graph.o -c -MMD -O2 -g -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -fexceptions -fstack-protector-strong -grecord-gcc-switches -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -mcpu=power8 -mtune=power8 -funwind-tables -fstack-clash-protection -DTBB_USE_DEBUG -g -O0 -DUSE_PTHREAD -DTEST_USES_TBB=1 -Wall -Wshadow -Wcast-qual -Woverloaded-virtual -Wnon-virtual-dtor -Wextra -O2 -g -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -fexceptions -fstack-protector-strong -grecord-gcc-switches -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -mcpu=power8 -mtune=power8 -funwind-tables -fstack-clash-protection -std=c++14 -I../../src -I../../src/rml/include -I../../include -I. -include ../../src/test/harness_preload.h ../../src/test/test_flow_graph.cpp In file included from ../../include/tbb/tbb_machine.h:243, from ../../include/tbb/atomic.h:32, from ../../include/tbb/flow_graph.h:25, from ../../src/test/harness_graph.h:29, from ../../src/test/test_flow_graph.cpp:21: ../../include/tbb/machine/mac_ppc.h: In function 'int32_t __TBB_machine_cmpswp4(volatile void*, int32_t, int32_t)': ../../include/tbb/machine/mac_ppc.h:91:46: warning: cast from type 'volatile void*' to type 'int32_t*' {aka 'int*'} casts away qualifiers [-Wcast-qual] , "+m"(* (int32_t*) ptr) /* redundant with "memory" */ ^~~ ../../include/tbb/machine/mac_ppc.h: In function 'int64_t __TBB_machine_cmpswp8(volatile void*, int64_t, int64_t)': ../../include/tbb/machine/mac_ppc.h:116:46: warning: cast from type 'volatile void*' to type 'int64_t*' {aka 'long int*'} casts away qualifiers [-Wcast-qual] , "+m"(* (int64_t*) ptr) /* redundant with "memory" */ ^~~ In file included from ../../include/tbb/concurrent_unordered_map.h:27, from ../../src/test/harness_graph.h:32, from ../../src/test/test_flow_graph.cpp:21: ../../include/tbb/internal/_concurrent_unordered_impl.h: In instantiation of 'void tbb::interface5::internal::concurrent_unordered_base::set_bucket(tbb::interface5::internal::concurrent_unordered_base::size_type, tbb::interface5::internal::concurrent_unordered_base::raw_iterator) [with Traits = tbb::interface5::concurrent_unordered_map_traits, tbb::interface5::internal::hash_compare, std::equal_to >, tbb::tbb_allocator > >, false>; tbb::interface5::internal::concurrent_unordered_base::size_type = long unsigned int; tbb::interface5::internal::concurrent_unordered_base::raw_iterator = tbb::interface5::internal::flist_iterator >, tbb::tbb_allocator > > >, std::pair > >]': ../../include/tbb/internal/_concurrent_unordered_impl.h:1207:9: required from 'void tbb::interface5::internal::concurrent_unordered_base::internal_init() [with Traits = tbb::interface5::concurrent_unordered_map_traits, tbb::interface5::internal::hash_compare, std::equal_to >, tbb::tbb_allocator > >, false>]' ../../include/tbb/internal/_concurrent_unordered_impl.h:710:9: required from 'tbb::interface5::internal::concurrent_unordered_base::concurrent_unordered_base(tbb::interface5::internal::concurrent_unordered_base::size_type, const hash_compare&, const allocator_type&) [with Traits = tbb::interface5::concurrent_unordered_map_traits, tbb::interface5::internal::hash_compare, std::equal_to >, tbb::tbb_allocator > >, false>; tbb::interface5::internal::concurrent_unordered_base::size_type = long unsigned int; tbb::interface5::internal::concurrent_unordered_base::hash_compare = tbb::interface5::internal::hash_compare, std::equal_to >; tbb::interface5::internal::concurrent_unordered_base::allocator_type = tbb::tbb_allocator > >]' ../../include/tbb/concurrent_unordered_map.h:101:73: required from 'tbb::interface5::concurrent_unordered_map::concurrent_unordered_map(tbb::interface5::concurrent_unordered_map::size_type, const hasher&, const key_equal&, const allocator_type&) [with Key = int; T = tbb::atomic; Hasher = tbb::tbb_hash; Key_equality = std::equal_to; Allocator = tbb::tbb_allocator > >; tbb::interface5::concurrent_unordered_map::size_type = long unsigned int; tbb::interface5::concurrent_unordered_map::hasher = tbb::tbb_hash; tbb::interface5::concurrent_unordered_map::key_equal = std::equal_to; tbb::interface5::concurrent_unordered_map::allocator_type = tbb::tbb_allocator > >]' ../../src/test/harness_graph.h:347:17: required from 'void harness_mapped_receiver::initialize_map(const T&, size_t) [with T = int; size_t = long unsigned int]' ../../src/test/test_flow_graph.cpp:87:39: required from here ../../include/tbb/internal/_concurrent_unordered_impl.h:1471:24: warning: 'void* memset(void*, int, size_t)' clearing an object of non-trivial type 'tbb::interface5::internal::concurrent_unordered_base, tbb::interface5::internal::hash_compare, std::equal_to >, tbb::tbb_allocator > >, false> >::raw_iterator' {aka 'class tbb::interface5::internal::flist_iterator >, tbb::tbb_allocator > > >, std::pair > >'}; use assignment or value-initialization instead [-Wclass-memaccess] std::memset(new_segment, 0, sz*sizeof(raw_iterator)); ~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ In file included from ../../include/tbb/concurrent_unordered_map.h:27, from ../../src/test/harness_graph.h:32, from ../../src/test/test_flow_graph.cpp:21: ../../include/tbb/internal/_concurrent_unordered_impl.h:61:7: note: 'tbb::interface5::internal::concurrent_unordered_base, tbb::interface5::internal::hash_compare, std::equal_to >, tbb::tbb_allocator > >, false> >::raw_iterator' {aka 'class tbb::interface5::internal::flist_iterator >, tbb::tbb_allocator > > >, std::pair > >'} declared here class flist_iterator : public std::iterator ^~~~~~~~~~~~~~ g++ -o test_flow_graph.exe -O2 -g -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -fexceptions -fstack-protector-strong -grecord-gcc-switches -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -mcpu=power8 -mtune=power8 -funwind-tables -fstack-clash-protection -DTBB_USE_DEBUG -g -O0 -DUSE_PTHREAD -DTEST_USES_TBB=1 -Wall -Wshadow -Wcast-qual -Woverloaded-virtual -Wnon-virtual-dtor -Wextra -O2 -g -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -fexceptions -fstack-protector-strong -grecord-gcc-switches -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -mcpu=power8 -mtune=power8 -funwind-tables -fstack-clash-protection test_flow_graph.o libtbb_debug.so -lpthread -lrt -Wl,-rpath-link=. -rdynamic g++ -o test_broadcast_node.o -c -MMD -O2 -g -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -fexceptions -fstack-protector-strong -grecord-gcc-switches -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -mcpu=power8 -mtune=power8 -funwind-tables -fstack-clash-protection -DTBB_USE_DEBUG -g -O0 -DUSE_PTHREAD -DTEST_USES_TBB=1 -Wall -Wshadow -Wcast-qual -Woverloaded-virtual -Wnon-virtual-dtor -Wextra -O2 -g -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -fexceptions -fstack-protector-strong -grecord-gcc-switches -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -mcpu=power8 -mtune=power8 -funwind-tables -fstack-clash-protection -std=c++14 -I../../src -I../../src/rml/include -I../../include -I. -include ../../src/test/harness_preload.h ../../src/test/test_broadcast_node.cpp In file included from ../../include/tbb/tbb_machine.h:243, from ../../include/tbb/atomic.h:32, from ../../include/tbb/flow_graph.h:25, from ../../src/test/test_broadcast_node.cpp:22: ../../include/tbb/machine/mac_ppc.h: In function 'int32_t __TBB_machine_cmpswp4(volatile void*, int32_t, int32_t)': ../../include/tbb/machine/mac_ppc.h:91:46: warning: cast from type 'volatile void*' to type 'int32_t*' {aka 'int*'} casts away qualifiers [-Wcast-qual] , "+m"(* (int32_t*) ptr) /* redundant with "memory" */ ^~~ ../../include/tbb/machine/mac_ppc.h: In function 'int64_t __TBB_machine_cmpswp8(volatile void*, int64_t, int64_t)': ../../include/tbb/machine/mac_ppc.h:116:46: warning: cast from type 'volatile void*' to type 'int64_t*' {aka 'long int*'} casts away qualifiers [-Wcast-qual] , "+m"(* (int64_t*) ptr) /* redundant with "memory" */ ^~~ g++ -o test_broadcast_node.exe -O2 -g -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -fexceptions -fstack-protector-strong -grecord-gcc-switches -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -mcpu=power8 -mtune=power8 -funwind-tables -fstack-clash-protection -DTBB_USE_DEBUG -g -O0 -DUSE_PTHREAD -DTEST_USES_TBB=1 -Wall -Wshadow -Wcast-qual -Woverloaded-virtual -Wnon-virtual-dtor -Wextra -O2 -g -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -fexceptions -fstack-protector-strong -grecord-gcc-switches -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -mcpu=power8 -mtune=power8 -funwind-tables -fstack-clash-protection test_broadcast_node.o libtbb_debug.so -lpthread -lrt -Wl,-rpath-link=. -rdynamic g++ -o test_continue_node.o -c -MMD -O2 -g -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -fexceptions -fstack-protector-strong -grecord-gcc-switches -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -mcpu=power8 -mtune=power8 -funwind-tables -fstack-clash-protection -DTBB_USE_DEBUG -g -O0 -DUSE_PTHREAD -DTEST_USES_TBB=1 -Wall -Wshadow -Wcast-qual -Woverloaded-virtual -Wnon-virtual-dtor -Wextra -O2 -g -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -fexceptions -fstack-protector-strong -grecord-gcc-switches -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -mcpu=power8 -mtune=power8 -funwind-tables -fstack-clash-protection -std=c++14 -I../../src -I../../src/rml/include -I../../include -I. -include ../../src/test/harness_preload.h ../../src/test/test_continue_node.cpp In file included from ../../include/tbb/tbb_machine.h:243, from ../../include/tbb/atomic.h:32, from ../../include/tbb/flow_graph.h:25, from ../../src/test/harness_graph.h:29, from ../../src/test/test_continue_node.cpp:21: ../../include/tbb/machine/mac_ppc.h: In function 'int32_t __TBB_machine_cmpswp4(volatile void*, int32_t, int32_t)': ../../include/tbb/machine/mac_ppc.h:91:46: warning: cast from type 'volatile void*' to type 'int32_t*' {aka 'int*'} casts away qualifiers [-Wcast-qual] , "+m"(* (int32_t*) ptr) /* redundant with "memory" */ ^~~ ../../include/tbb/machine/mac_ppc.h: In function 'int64_t __TBB_machine_cmpswp8(volatile void*, int64_t, int64_t)': ../../include/tbb/machine/mac_ppc.h:116:46: warning: cast from type 'volatile void*' to type 'int64_t*' {aka 'long int*'} casts away qualifiers [-Wcast-qual] , "+m"(* (int64_t*) ptr) /* redundant with "memory" */ ^~~ g++ -o test_continue_node.exe -O2 -g -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -fexceptions -fstack-protector-strong -grecord-gcc-switches -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -mcpu=power8 -mtune=power8 -funwind-tables -fstack-clash-protection -DTBB_USE_DEBUG -g -O0 -DUSE_PTHREAD -DTEST_USES_TBB=1 -Wall -Wshadow -Wcast-qual -Woverloaded-virtual -Wnon-virtual-dtor -Wextra -O2 -g -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -fexceptions -fstack-protector-strong -grecord-gcc-switches -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -mcpu=power8 -mtune=power8 -funwind-tables -fstack-clash-protection test_continue_node.o libtbb_debug.so -lpthread -lrt -Wl,-rpath-link=. -rdynamic g++ -o test_function_node.o -c -MMD -O2 -g -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -fexceptions -fstack-protector-strong -grecord-gcc-switches -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -mcpu=power8 -mtune=power8 -funwind-tables -fstack-clash-protection -DTBB_USE_DEBUG -g -O0 -DUSE_PTHREAD -DTEST_USES_TBB=1 -Wall -Wshadow -Wcast-qual -Woverloaded-virtual -Wnon-virtual-dtor -Wextra -O2 -g -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -fexceptions -fstack-protector-strong -grecord-gcc-switches -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -mcpu=power8 -mtune=power8 -funwind-tables -fstack-clash-protection -std=c++14 -I../../src -I../../src/rml/include -I../../include -I. -include ../../src/test/harness_preload.h ../../src/test/test_function_node.cpp In file included from ../../include/tbb/tbb_machine.h:243, from ../../include/tbb/atomic.h:32, from ../../include/tbb/flow_graph.h:25, from ../../src/test/harness_graph.h:29, from ../../src/test/test_function_node.cpp:21: ../../include/tbb/machine/mac_ppc.h: In function 'int32_t __TBB_machine_cmpswp4(volatile void*, int32_t, int32_t)': ../../include/tbb/machine/mac_ppc.h:91:46: warning: cast from type 'volatile void*' to type 'int32_t*' {aka 'int*'} casts away qualifiers [-Wcast-qual] , "+m"(* (int32_t*) ptr) /* redundant with "memory" */ ^~~ ../../include/tbb/machine/mac_ppc.h: In function 'int64_t __TBB_machine_cmpswp8(volatile void*, int64_t, int64_t)': ../../include/tbb/machine/mac_ppc.h:116:46: warning: cast from type 'volatile void*' to type 'int64_t*' {aka 'long int*'} casts away qualifiers [-Wcast-qual] , "+m"(* (int64_t*) ptr) /* redundant with "memory" */ ^~~ In file included from ../../include/tbb/concurrent_unordered_map.h:27, from ../../src/test/harness_graph.h:32, from ../../src/test/test_function_node.cpp:21: ../../include/tbb/internal/_concurrent_unordered_impl.h: In instantiation of 'void tbb::interface5::internal::concurrent_unordered_base::set_bucket(tbb::interface5::internal::concurrent_unordered_base::size_type, tbb::interface5::internal::concurrent_unordered_base::raw_iterator) [with Traits = tbb::interface5::concurrent_unordered_map_traits, tbb::interface5::internal::hash_compare, std::equal_to >, tbb::tbb_allocator > >, false>; tbb::interface5::internal::concurrent_unordered_base::size_type = long unsigned int; tbb::interface5::internal::concurrent_unordered_base::raw_iterator = tbb::interface5::internal::flist_iterator >, tbb::tbb_allocator > > >, std::pair > >]': ../../include/tbb/internal/_concurrent_unordered_impl.h:1207:9: required from 'void tbb::interface5::internal::concurrent_unordered_base::internal_init() [with Traits = tbb::interface5::concurrent_unordered_map_traits, tbb::interface5::internal::hash_compare, std::equal_to >, tbb::tbb_allocator > >, false>]' ../../include/tbb/internal/_concurrent_unordered_impl.h:710:9: required from 'tbb::interface5::internal::concurrent_unordered_base::concurrent_unordered_base(tbb::interface5::internal::concurrent_unordered_base::size_type, const hash_compare&, const allocator_type&) [with Traits = tbb::interface5::concurrent_unordered_map_traits, tbb::interface5::internal::hash_compare, std::equal_to >, tbb::tbb_allocator > >, false>; tbb::interface5::internal::concurrent_unordered_base::size_type = long unsigned int; tbb::interface5::internal::concurrent_unordered_base::hash_compare = tbb::interface5::internal::hash_compare, std::equal_to >; tbb::interface5::internal::concurrent_unordered_base::allocator_type = tbb::tbb_allocator > >]' ../../include/tbb/concurrent_unordered_map.h:101:73: required from 'tbb::interface5::concurrent_unordered_map::concurrent_unordered_map(tbb::interface5::concurrent_unordered_map::size_type, const hasher&, const key_equal&, const allocator_type&) [with Key = int; T = tbb::atomic; Hasher = tbb::tbb_hash; Key_equality = std::equal_to; Allocator = tbb::tbb_allocator > >; tbb::interface5::concurrent_unordered_map::size_type = long unsigned int; tbb::interface5::concurrent_unordered_map::hasher = tbb::tbb_hash; tbb::interface5::concurrent_unordered_map::key_equal = std::equal_to; tbb::interface5::concurrent_unordered_map::allocator_type = tbb::tbb_allocator > >]' ../../src/test/harness_graph.h:347:17: required from 'void harness_mapped_receiver::initialize_map(const T&, size_t) [with T = int; size_t = long unsigned int]' ../../src/test/test_function_node.cpp:110:18: required from 'void buffered_levels(size_t, Body) [with InputType = int; OutputType = int; Body = run_buffered_levels(int) [with InputType = int; OutputType = int]::; size_t = long unsigned int]' ../../src/test/test_function_node.cpp:245:42: required from 'void run_buffered_levels(int) [with InputType = int; OutputType = int]' ../../src/test/test_function_node.cpp:463:46: required from here ../../include/tbb/internal/_concurrent_unordered_impl.h:1471:24: warning: 'void* memset(void*, int, size_t)' clearing an object of non-trivial type 'tbb::interface5::internal::concurrent_unordered_base, tbb::interface5::internal::hash_compare, std::equal_to >, tbb::tbb_allocator > >, false> >::raw_iterator' {aka 'class tbb::interface5::internal::flist_iterator >, tbb::tbb_allocator > > >, std::pair > >'}; use assignment or value-initialization instead [-Wclass-memaccess] std::memset(new_segment, 0, sz*sizeof(raw_iterator)); ~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ In file included from ../../include/tbb/concurrent_unordered_map.h:27, from ../../src/test/harness_graph.h:32, from ../../src/test/test_function_node.cpp:21: ../../include/tbb/internal/_concurrent_unordered_impl.h:61:7: note: 'tbb::interface5::internal::concurrent_unordered_base, tbb::interface5::internal::hash_compare, std::equal_to >, tbb::tbb_allocator > >, false> >::raw_iterator' {aka 'class tbb::interface5::internal::flist_iterator >, tbb::tbb_allocator > > >, std::pair > >'} declared here class flist_iterator : public std::iterator ^~~~~~~~~~~~~~ g++ -o test_function_node.exe -O2 -g -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -fexceptions -fstack-protector-strong -grecord-gcc-switches -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -mcpu=power8 -mtune=power8 -funwind-tables -fstack-clash-protection -DTBB_USE_DEBUG -g -O0 -DUSE_PTHREAD -DTEST_USES_TBB=1 -Wall -Wshadow -Wcast-qual -Woverloaded-virtual -Wnon-virtual-dtor -Wextra -O2 -g -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -fexceptions -fstack-protector-strong -grecord-gcc-switches -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -mcpu=power8 -mtune=power8 -funwind-tables -fstack-clash-protection test_function_node.o libtbb_debug.so -lpthread -lrt -Wl,-rpath-link=. -rdynamic g++ -o test_limiter_node.o -c -MMD -O2 -g -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -fexceptions -fstack-protector-strong -grecord-gcc-switches -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -mcpu=power8 -mtune=power8 -funwind-tables -fstack-clash-protection -DTBB_USE_DEBUG -g -O0 -DUSE_PTHREAD -DTEST_USES_TBB=1 -Wall -Wshadow -Wcast-qual -Woverloaded-virtual -Wnon-virtual-dtor -Wextra -O2 -g -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -fexceptions -fstack-protector-strong -grecord-gcc-switches -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -mcpu=power8 -mtune=power8 -funwind-tables -fstack-clash-protection -std=c++14 -I../../src -I../../src/rml/include -I../../include -I. -include ../../src/test/harness_preload.h ../../src/test/test_limiter_node.cpp In file included from ../../include/tbb/tbb_machine.h:243, from ../../include/tbb/atomic.h:32, from ../../include/tbb/flow_graph.h:25, from ../../src/test/test_limiter_node.cpp:25: ../../include/tbb/machine/mac_ppc.h: In function 'int32_t __TBB_machine_cmpswp4(volatile void*, int32_t, int32_t)': ../../include/tbb/machine/mac_ppc.h:91:46: warning: cast from type 'volatile void*' to type 'int32_t*' {aka 'int*'} casts away qualifiers [-Wcast-qual] , "+m"(* (int32_t*) ptr) /* redundant with "memory" */ ^~~ ../../include/tbb/machine/mac_ppc.h: In function 'int64_t __TBB_machine_cmpswp8(volatile void*, int64_t, int64_t)': ../../include/tbb/machine/mac_ppc.h:116:46: warning: cast from type 'volatile void*' to type 'int64_t*' {aka 'long int*'} casts away qualifiers [-Wcast-qual] , "+m"(* (int64_t*) ptr) /* redundant with "memory" */ ^~~ g++ -o test_limiter_node.exe -O2 -g -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -fexceptions -fstack-protector-strong -grecord-gcc-switches -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -mcpu=power8 -mtune=power8 -funwind-tables -fstack-clash-protection -DTBB_USE_DEBUG -g -O0 -DUSE_PTHREAD -DTEST_USES_TBB=1 -Wall -Wshadow -Wcast-qual -Woverloaded-virtual -Wnon-virtual-dtor -Wextra -O2 -g -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -fexceptions -fstack-protector-strong -grecord-gcc-switches -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -mcpu=power8 -mtune=power8 -funwind-tables -fstack-clash-protection test_limiter_node.o libtbb_debug.so -lpthread -lrt -Wl,-rpath-link=. -rdynamic g++ -o test_join_node.o -c -MMD -O2 -g -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -fexceptions -fstack-protector-strong -grecord-gcc-switches -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -mcpu=power8 -mtune=power8 -funwind-tables -fstack-clash-protection -DTBB_USE_DEBUG -g -O0 -DUSE_PTHREAD -DTEST_USES_TBB=1 -Wall -Wshadow -Wcast-qual -Woverloaded-virtual -Wnon-virtual-dtor -Wextra -O2 -g -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -fexceptions -fstack-protector-strong -grecord-gcc-switches -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -mcpu=power8 -mtune=power8 -funwind-tables -fstack-clash-protection -std=c++14 -I../../src -I../../src/rml/include -I../../include -I. -include ../../src/test/harness_preload.h ../../src/test/test_join_node.cpp In file included from ../../include/tbb/tbb_machine.h:243, from ../../include/tbb/atomic.h:32, from ../../include/tbb/flow_graph.h:25, from ../../src/test/harness_graph.h:29, from ../../src/test/test_join_node.h:34, from ../../src/test/test_join_node.cpp:21: ../../include/tbb/machine/mac_ppc.h: In function 'int32_t __TBB_machine_cmpswp4(volatile void*, int32_t, int32_t)': ../../include/tbb/machine/mac_ppc.h:91:46: warning: cast from type 'volatile void*' to type 'int32_t*' {aka 'int*'} casts away qualifiers [-Wcast-qual] , "+m"(* (int32_t*) ptr) /* redundant with "memory" */ ^~~ ../../include/tbb/machine/mac_ppc.h: In function 'int64_t __TBB_machine_cmpswp8(volatile void*, int64_t, int64_t)': ../../include/tbb/machine/mac_ppc.h:116:46: warning: cast from type 'volatile void*' to type 'int64_t*' {aka 'long int*'} casts away qualifiers [-Wcast-qual] , "+m"(* (int64_t*) ptr) /* redundant with "memory" */ ^~~ g++ -o test_join_node.exe -O2 -g -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -fexceptions -fstack-protector-strong -grecord-gcc-switches -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -mcpu=power8 -mtune=power8 -funwind-tables -fstack-clash-protection -DTBB_USE_DEBUG -g -O0 -DUSE_PTHREAD -DTEST_USES_TBB=1 -Wall -Wshadow -Wcast-qual -Woverloaded-virtual -Wnon-virtual-dtor -Wextra -O2 -g -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -fexceptions -fstack-protector-strong -grecord-gcc-switches -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -mcpu=power8 -mtune=power8 -funwind-tables -fstack-clash-protection test_join_node.o libtbb_debug.so -lpthread -lrt -Wl,-rpath-link=. -rdynamic g++ -o test_join_node_key_matching.o -c -MMD -O2 -g -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -fexceptions -fstack-protector-strong -grecord-gcc-switches -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -mcpu=power8 -mtune=power8 -funwind-tables -fstack-clash-protection -DTBB_USE_DEBUG -g -O0 -DUSE_PTHREAD -DTEST_USES_TBB=1 -Wall -Wshadow -Wcast-qual -Woverloaded-virtual -Wnon-virtual-dtor -Wextra -O2 -g -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -fexceptions -fstack-protector-strong -grecord-gcc-switches -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -mcpu=power8 -mtune=power8 -funwind-tables -fstack-clash-protection -std=c++14 -I../../src -I../../src/rml/include -I../../include -I. -include ../../src/test/harness_preload.h ../../src/test/test_join_node_key_matching.cpp In file included from ../../include/tbb/tbb_machine.h:243, from ../../include/tbb/atomic.h:32, from ../../include/tbb/flow_graph.h:25, from ../../src/test/harness_graph.h:29, from ../../src/test/test_join_node.h:34, from ../../src/test/test_join_node_key_matching.cpp:21: ../../include/tbb/machine/mac_ppc.h: In function 'int32_t __TBB_machine_cmpswp4(volatile void*, int32_t, int32_t)': ../../include/tbb/machine/mac_ppc.h:91:46: warning: cast from type 'volatile void*' to type 'int32_t*' {aka 'int*'} casts away qualifiers [-Wcast-qual] , "+m"(* (int32_t*) ptr) /* redundant with "memory" */ ^~~ ../../include/tbb/machine/mac_ppc.h: In function 'int64_t __TBB_machine_cmpswp8(volatile void*, int64_t, int64_t)': ../../include/tbb/machine/mac_ppc.h:116:46: warning: cast from type 'volatile void*' to type 'int64_t*' {aka 'long int*'} casts away qualifiers [-Wcast-qual] , "+m"(* (int64_t*) ptr) /* redundant with "memory" */ ^~~ g++ -o test_join_node_key_matching.exe -O2 -g -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -fexceptions -fstack-protector-strong -grecord-gcc-switches -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -mcpu=power8 -mtune=power8 -funwind-tables -fstack-clash-protection -DTBB_USE_DEBUG -g -O0 -DUSE_PTHREAD -DTEST_USES_TBB=1 -Wall -Wshadow -Wcast-qual -Woverloaded-virtual -Wnon-virtual-dtor -Wextra -O2 -g -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -fexceptions -fstack-protector-strong -grecord-gcc-switches -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -mcpu=power8 -mtune=power8 -funwind-tables -fstack-clash-protection test_join_node_key_matching.o libtbb_debug.so -lpthread -lrt -Wl,-rpath-link=. -rdynamic g++ -o test_join_node_msg_key_matching.o -c -MMD -O2 -g -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -fexceptions -fstack-protector-strong -grecord-gcc-switches -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -mcpu=power8 -mtune=power8 -funwind-tables -fstack-clash-protection -DTBB_USE_DEBUG -g -O0 -DUSE_PTHREAD -DTEST_USES_TBB=1 -Wall -Wshadow -Wcast-qual -Woverloaded-virtual -Wnon-virtual-dtor -Wextra -O2 -g -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -fexceptions -fstack-protector-strong -grecord-gcc-switches -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -mcpu=power8 -mtune=power8 -funwind-tables -fstack-clash-protection -std=c++14 -I../../src -I../../src/rml/include -I../../include -I. -include ../../src/test/harness_preload.h ../../src/test/test_join_node_msg_key_matching.cpp In file included from ../../include/tbb/tbb_machine.h:243, from ../../include/tbb/atomic.h:32, from ../../include/tbb/flow_graph.h:25, from ../../src/test/harness_graph.h:29, from ../../src/test/test_join_node.h:34, from ../../src/test/test_join_node_msg_key_matching.cpp:21: ../../include/tbb/machine/mac_ppc.h: In function 'int32_t __TBB_machine_cmpswp4(volatile void*, int32_t, int32_t)': ../../include/tbb/machine/mac_ppc.h:91:46: warning: cast from type 'volatile void*' to type 'int32_t*' {aka 'int*'} casts away qualifiers [-Wcast-qual] , "+m"(* (int32_t*) ptr) /* redundant with "memory" */ ^~~ ../../include/tbb/machine/mac_ppc.h: In function 'int64_t __TBB_machine_cmpswp8(volatile void*, int64_t, int64_t)': ../../include/tbb/machine/mac_ppc.h:116:46: warning: cast from type 'volatile void*' to type 'int64_t*' {aka 'long int*'} casts away qualifiers [-Wcast-qual] , "+m"(* (int64_t*) ptr) /* redundant with "memory" */ ^~~ g++ -o test_join_node_msg_key_matching.exe -O2 -g -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -fexceptions -fstack-protector-strong -grecord-gcc-switches -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -mcpu=power8 -mtune=power8 -funwind-tables -fstack-clash-protection -DTBB_USE_DEBUG -g -O0 -DUSE_PTHREAD -DTEST_USES_TBB=1 -Wall -Wshadow -Wcast-qual -Woverloaded-virtual -Wnon-virtual-dtor -Wextra -O2 -g -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -fexceptions -fstack-protector-strong -grecord-gcc-switches -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -mcpu=power8 -mtune=power8 -funwind-tables -fstack-clash-protection test_join_node_msg_key_matching.o libtbb_debug.so -lpthread -lrt -Wl,-rpath-link=. -rdynamic g++ -o test_buffer_node.o -c -MMD -O2 -g -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -fexceptions -fstack-protector-strong -grecord-gcc-switches -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -mcpu=power8 -mtune=power8 -funwind-tables -fstack-clash-protection -DTBB_USE_DEBUG -g -O0 -DUSE_PTHREAD -DTEST_USES_TBB=1 -Wall -Wshadow -Wcast-qual -Woverloaded-virtual -Wnon-virtual-dtor -Wextra -O2 -g -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -fexceptions -fstack-protector-strong -grecord-gcc-switches -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -mcpu=power8 -mtune=power8 -funwind-tables -fstack-clash-protection -std=c++14 -I../../src -I../../src/rml/include -I../../include -I. -include ../../src/test/harness_preload.h ../../src/test/test_buffer_node.cpp In file included from ../../include/tbb/tbb_machine.h:243, from ../../include/tbb/atomic.h:32, from ../../include/tbb/flow_graph.h:25, from ../../src/test/test_buffer_node.cpp:22: ../../include/tbb/machine/mac_ppc.h: In function 'int32_t __TBB_machine_cmpswp4(volatile void*, int32_t, int32_t)': ../../include/tbb/machine/mac_ppc.h:91:46: warning: cast from type 'volatile void*' to type 'int32_t*' {aka 'int*'} casts away qualifiers [-Wcast-qual] , "+m"(* (int32_t*) ptr) /* redundant with "memory" */ ^~~ ../../include/tbb/machine/mac_ppc.h: In function 'int64_t __TBB_machine_cmpswp8(volatile void*, int64_t, int64_t)': ../../include/tbb/machine/mac_ppc.h:116:46: warning: cast from type 'volatile void*' to type 'int64_t*' {aka 'long int*'} casts away qualifiers [-Wcast-qual] , "+m"(* (int64_t*) ptr) /* redundant with "memory" */ ^~~ g++ -o test_buffer_node.exe -O2 -g -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -fexceptions -fstack-protector-strong -grecord-gcc-switches -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -mcpu=power8 -mtune=power8 -funwind-tables -fstack-clash-protection -DTBB_USE_DEBUG -g -O0 -DUSE_PTHREAD -DTEST_USES_TBB=1 -Wall -Wshadow -Wcast-qual -Woverloaded-virtual -Wnon-virtual-dtor -Wextra -O2 -g -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -fexceptions -fstack-protector-strong -grecord-gcc-switches -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -mcpu=power8 -mtune=power8 -funwind-tables -fstack-clash-protection test_buffer_node.o libtbb_debug.so -lpthread -lrt -Wl,-rpath-link=. -rdynamic g++ -o test_queue_node.o -c -MMD -O2 -g -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -fexceptions -fstack-protector-strong -grecord-gcc-switches -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -mcpu=power8 -mtune=power8 -funwind-tables -fstack-clash-protection -DTBB_USE_DEBUG -g -O0 -DUSE_PTHREAD -DTEST_USES_TBB=1 -Wall -Wshadow -Wcast-qual -Woverloaded-virtual -Wnon-virtual-dtor -Wextra -O2 -g -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -fexceptions -fstack-protector-strong -grecord-gcc-switches -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -mcpu=power8 -mtune=power8 -funwind-tables -fstack-clash-protection -std=c++14 -I../../src -I../../src/rml/include -I../../include -I. -include ../../src/test/harness_preload.h ../../src/test/test_queue_node.cpp In file included from ../../include/tbb/tbb_machine.h:243, from ../../include/tbb/atomic.h:32, from ../../include/tbb/flow_graph.h:25, from ../../src/test/test_queue_node.cpp:24: ../../include/tbb/machine/mac_ppc.h: In function 'int32_t __TBB_machine_cmpswp4(volatile void*, int32_t, int32_t)': ../../include/tbb/machine/mac_ppc.h:91:46: warning: cast from type 'volatile void*' to type 'int32_t*' {aka 'int*'} casts away qualifiers [-Wcast-qual] , "+m"(* (int32_t*) ptr) /* redundant with "memory" */ ^~~ ../../include/tbb/machine/mac_ppc.h: In function 'int64_t __TBB_machine_cmpswp8(volatile void*, int64_t, int64_t)': ../../include/tbb/machine/mac_ppc.h:116:46: warning: cast from type 'volatile void*' to type 'int64_t*' {aka 'long int*'} casts away qualifiers [-Wcast-qual] , "+m"(* (int64_t*) ptr) /* redundant with "memory" */ ^~~ g++ -o test_queue_node.exe -O2 -g -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -fexceptions -fstack-protector-strong -grecord-gcc-switches -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -mcpu=power8 -mtune=power8 -funwind-tables -fstack-clash-protection -DTBB_USE_DEBUG -g -O0 -DUSE_PTHREAD -DTEST_USES_TBB=1 -Wall -Wshadow -Wcast-qual -Woverloaded-virtual -Wnon-virtual-dtor -Wextra -O2 -g -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -fexceptions -fstack-protector-strong -grecord-gcc-switches -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -mcpu=power8 -mtune=power8 -funwind-tables -fstack-clash-protection test_queue_node.o libtbb_debug.so -lpthread -lrt -Wl,-rpath-link=. -rdynamic g++ -o test_priority_queue_node.o -c -MMD -O2 -g -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -fexceptions -fstack-protector-strong -grecord-gcc-switches -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -mcpu=power8 -mtune=power8 -funwind-tables -fstack-clash-protection -DTBB_USE_DEBUG -g -O0 -DUSE_PTHREAD -DTEST_USES_TBB=1 -Wall -Wshadow -Wcast-qual -Woverloaded-virtual -Wnon-virtual-dtor -Wextra -O2 -g -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -fexceptions -fstack-protector-strong -grecord-gcc-switches -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -mcpu=power8 -mtune=power8 -funwind-tables -fstack-clash-protection -std=c++14 -I../../src -I../../src/rml/include -I../../include -I. -include ../../src/test/harness_preload.h ../../src/test/test_priority_queue_node.cpp In file included from ../../include/tbb/tbb_machine.h:243, from ../../include/tbb/atomic.h:32, from ../../include/tbb/flow_graph.h:25, from ../../src/test/test_priority_queue_node.cpp:24: ../../include/tbb/machine/mac_ppc.h: In function 'int32_t __TBB_machine_cmpswp4(volatile void*, int32_t, int32_t)': ../../include/tbb/machine/mac_ppc.h:91:46: warning: cast from type 'volatile void*' to type 'int32_t*' {aka 'int*'} casts away qualifiers [-Wcast-qual] , "+m"(* (int32_t*) ptr) /* redundant with "memory" */ ^~~ ../../include/tbb/machine/mac_ppc.h: In function 'int64_t __TBB_machine_cmpswp8(volatile void*, int64_t, int64_t)': ../../include/tbb/machine/mac_ppc.h:116:46: warning: cast from type 'volatile void*' to type 'int64_t*' {aka 'long int*'} casts away qualifiers [-Wcast-qual] , "+m"(* (int64_t*) ptr) /* redundant with "memory" */ ^~~ g++ -o test_priority_queue_node.exe -O2 -g -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -fexceptions -fstack-protector-strong -grecord-gcc-switches -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -mcpu=power8 -mtune=power8 -funwind-tables -fstack-clash-protection -DTBB_USE_DEBUG -g -O0 -DUSE_PTHREAD -DTEST_USES_TBB=1 -Wall -Wshadow -Wcast-qual -Woverloaded-virtual -Wnon-virtual-dtor -Wextra -O2 -g -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -fexceptions -fstack-protector-strong -grecord-gcc-switches -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -mcpu=power8 -mtune=power8 -funwind-tables -fstack-clash-protection test_priority_queue_node.o libtbb_debug.so -lpthread -lrt -Wl,-rpath-link=. -rdynamic g++ -o test_sequencer_node.o -c -MMD -O2 -g -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -fexceptions -fstack-protector-strong -grecord-gcc-switches -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -mcpu=power8 -mtune=power8 -funwind-tables -fstack-clash-protection -DTBB_USE_DEBUG -g -O0 -DUSE_PTHREAD -DTEST_USES_TBB=1 -Wall -Wshadow -Wcast-qual -Woverloaded-virtual -Wnon-virtual-dtor -Wextra -O2 -g -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -fexceptions -fstack-protector-strong -grecord-gcc-switches -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -mcpu=power8 -mtune=power8 -funwind-tables -fstack-clash-protection -std=c++14 -I../../src -I../../src/rml/include -I../../include -I. -include ../../src/test/harness_preload.h ../../src/test/test_sequencer_node.cpp In file included from ../../include/tbb/tbb_machine.h:243, from ../../include/tbb/atomic.h:32, from ../../include/tbb/flow_graph.h:25, from ../../src/test/test_sequencer_node.cpp:22: ../../include/tbb/machine/mac_ppc.h: In function 'int32_t __TBB_machine_cmpswp4(volatile void*, int32_t, int32_t)': ../../include/tbb/machine/mac_ppc.h:91:46: warning: cast from type 'volatile void*' to type 'int32_t*' {aka 'int*'} casts away qualifiers [-Wcast-qual] , "+m"(* (int32_t*) ptr) /* redundant with "memory" */ ^~~ ../../include/tbb/machine/mac_ppc.h: In function 'int64_t __TBB_machine_cmpswp8(volatile void*, int64_t, int64_t)': ../../include/tbb/machine/mac_ppc.h:116:46: warning: cast from type 'volatile void*' to type 'int64_t*' {aka 'long int*'} casts away qualifiers [-Wcast-qual] , "+m"(* (int64_t*) ptr) /* redundant with "memory" */ ^~~ g++ -o test_sequencer_node.exe -O2 -g -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -fexceptions -fstack-protector-strong -grecord-gcc-switches -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -mcpu=power8 -mtune=power8 -funwind-tables -fstack-clash-protection -DTBB_USE_DEBUG -g -O0 -DUSE_PTHREAD -DTEST_USES_TBB=1 -Wall -Wshadow -Wcast-qual -Woverloaded-virtual -Wnon-virtual-dtor -Wextra -O2 -g -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -fexceptions -fstack-protector-strong -grecord-gcc-switches -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -mcpu=power8 -mtune=power8 -funwind-tables -fstack-clash-protection test_sequencer_node.o libtbb_debug.so -lpthread -lrt -Wl,-rpath-link=. -rdynamic g++ -o test_source_node.o -c -MMD -O2 -g -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -fexceptions -fstack-protector-strong -grecord-gcc-switches -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -mcpu=power8 -mtune=power8 -funwind-tables -fstack-clash-protection -DTBB_USE_DEBUG -g -O0 -DUSE_PTHREAD -DTEST_USES_TBB=1 -Wall -Wshadow -Wcast-qual -Woverloaded-virtual -Wnon-virtual-dtor -Wextra -O2 -g -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -fexceptions -fstack-protector-strong -grecord-gcc-switches -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -mcpu=power8 -mtune=power8 -funwind-tables -fstack-clash-protection -std=c++14 -I../../src -I../../src/rml/include -I../../include -I. -include ../../src/test/harness_preload.h ../../src/test/test_source_node.cpp In file included from ../../include/tbb/tbb_machine.h:243, from ../../include/tbb/atomic.h:32, from ../../include/tbb/flow_graph.h:25, from ../../src/test/harness_graph.h:29, from ../../src/test/test_source_node.cpp:23: ../../include/tbb/machine/mac_ppc.h: In function 'int32_t __TBB_machine_cmpswp4(volatile void*, int32_t, int32_t)': ../../include/tbb/machine/mac_ppc.h:91:46: warning: cast from type 'volatile void*' to type 'int32_t*' {aka 'int*'} casts away qualifiers [-Wcast-qual] , "+m"(* (int32_t*) ptr) /* redundant with "memory" */ ^~~ ../../include/tbb/machine/mac_ppc.h: In function 'int64_t __TBB_machine_cmpswp8(volatile void*, int64_t, int64_t)': ../../include/tbb/machine/mac_ppc.h:116:46: warning: cast from type 'volatile void*' to type 'int64_t*' {aka 'long int*'} casts away qualifiers [-Wcast-qual] , "+m"(* (int64_t*) ptr) /* redundant with "memory" */ ^~~ g++ -o test_source_node.exe -O2 -g -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -fexceptions -fstack-protector-strong -grecord-gcc-switches -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -mcpu=power8 -mtune=power8 -funwind-tables -fstack-clash-protection -DTBB_USE_DEBUG -g -O0 -DUSE_PTHREAD -DTEST_USES_TBB=1 -Wall -Wshadow -Wcast-qual -Woverloaded-virtual -Wnon-virtual-dtor -Wextra -O2 -g -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -fexceptions -fstack-protector-strong -grecord-gcc-switches -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -mcpu=power8 -mtune=power8 -funwind-tables -fstack-clash-protection test_source_node.o libtbb_debug.so -lpthread -lrt -Wl,-rpath-link=. -rdynamic g++ -o test_overwrite_node.o -c -MMD -O2 -g -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -fexceptions -fstack-protector-strong -grecord-gcc-switches -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -mcpu=power8 -mtune=power8 -funwind-tables -fstack-clash-protection -DTBB_USE_DEBUG -g -O0 -DUSE_PTHREAD -DTEST_USES_TBB=1 -Wall -Wshadow -Wcast-qual -Woverloaded-virtual -Wnon-virtual-dtor -Wextra -O2 -g -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -fexceptions -fstack-protector-strong -grecord-gcc-switches -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -mcpu=power8 -mtune=power8 -funwind-tables -fstack-clash-protection -std=c++14 -I../../src -I../../src/rml/include -I../../include -I. -include ../../src/test/harness_preload.h ../../src/test/test_overwrite_node.cpp In file included from ../../include/tbb/tbb_machine.h:243, from ../../include/tbb/atomic.h:32, from ../../include/tbb/flow_graph.h:25, from ../../src/test/harness_graph.h:29, from ../../src/test/test_overwrite_node.cpp:25: ../../include/tbb/machine/mac_ppc.h: In function 'int32_t __TBB_machine_cmpswp4(volatile void*, int32_t, int32_t)': ../../include/tbb/machine/mac_ppc.h:91:46: warning: cast from type 'volatile void*' to type 'int32_t*' {aka 'int*'} casts away qualifiers [-Wcast-qual] , "+m"(* (int32_t*) ptr) /* redundant with "memory" */ ^~~ ../../include/tbb/machine/mac_ppc.h: In function 'int64_t __TBB_machine_cmpswp8(volatile void*, int64_t, int64_t)': ../../include/tbb/machine/mac_ppc.h:116:46: warning: cast from type 'volatile void*' to type 'int64_t*' {aka 'long int*'} casts away qualifiers [-Wcast-qual] , "+m"(* (int64_t*) ptr) /* redundant with "memory" */ ^~~ g++ -o test_overwrite_node.exe -O2 -g -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -fexceptions -fstack-protector-strong -grecord-gcc-switches -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -mcpu=power8 -mtune=power8 -funwind-tables -fstack-clash-protection -DTBB_USE_DEBUG -g -O0 -DUSE_PTHREAD -DTEST_USES_TBB=1 -Wall -Wshadow -Wcast-qual -Woverloaded-virtual -Wnon-virtual-dtor -Wextra -O2 -g -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -fexceptions -fstack-protector-strong -grecord-gcc-switches -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -mcpu=power8 -mtune=power8 -funwind-tables -fstack-clash-protection test_overwrite_node.o libtbb_debug.so -lpthread -lrt -Wl,-rpath-link=. -rdynamic g++ -o test_write_once_node.o -c -MMD -O2 -g -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -fexceptions -fstack-protector-strong -grecord-gcc-switches -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -mcpu=power8 -mtune=power8 -funwind-tables -fstack-clash-protection -DTBB_USE_DEBUG -g -O0 -DUSE_PTHREAD -DTEST_USES_TBB=1 -Wall -Wshadow -Wcast-qual -Woverloaded-virtual -Wnon-virtual-dtor -Wextra -O2 -g -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -fexceptions -fstack-protector-strong -grecord-gcc-switches -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -mcpu=power8 -mtune=power8 -funwind-tables -fstack-clash-protection -std=c++14 -I../../src -I../../src/rml/include -I../../include -I. -include ../../src/test/harness_preload.h ../../src/test/test_write_once_node.cpp In file included from ../../include/tbb/tbb_machine.h:243, from ../../include/tbb/atomic.h:32, from ../../include/tbb/flow_graph.h:25, from ../../src/test/harness_graph.h:29, from ../../src/test/test_write_once_node.cpp:25: ../../include/tbb/machine/mac_ppc.h: In function 'int32_t __TBB_machine_cmpswp4(volatile void*, int32_t, int32_t)': ../../include/tbb/machine/mac_ppc.h:91:46: warning: cast from type 'volatile void*' to type 'int32_t*' {aka 'int*'} casts away qualifiers [-Wcast-qual] , "+m"(* (int32_t*) ptr) /* redundant with "memory" */ ^~~ ../../include/tbb/machine/mac_ppc.h: In function 'int64_t __TBB_machine_cmpswp8(volatile void*, int64_t, int64_t)': ../../include/tbb/machine/mac_ppc.h:116:46: warning: cast from type 'volatile void*' to type 'int64_t*' {aka 'long int*'} casts away qualifiers [-Wcast-qual] , "+m"(* (int64_t*) ptr) /* redundant with "memory" */ ^~~ g++ -o test_write_once_node.exe -O2 -g -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -fexceptions -fstack-protector-strong -grecord-gcc-switches -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -mcpu=power8 -mtune=power8 -funwind-tables -fstack-clash-protection -DTBB_USE_DEBUG -g -O0 -DUSE_PTHREAD -DTEST_USES_TBB=1 -Wall -Wshadow -Wcast-qual -Woverloaded-virtual -Wnon-virtual-dtor -Wextra -O2 -g -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -fexceptions -fstack-protector-strong -grecord-gcc-switches -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -mcpu=power8 -mtune=power8 -funwind-tables -fstack-clash-protection test_write_once_node.o libtbb_debug.so -lpthread -lrt -Wl,-rpath-link=. -rdynamic g++ -o test_indexer_node.o -c -MMD -O2 -g -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -fexceptions -fstack-protector-strong -grecord-gcc-switches -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -mcpu=power8 -mtune=power8 -funwind-tables -fstack-clash-protection -DTBB_USE_DEBUG -g -O0 -DUSE_PTHREAD -DTEST_USES_TBB=1 -Wall -Wshadow -Wcast-qual -Woverloaded-virtual -Wnon-virtual-dtor -Wextra -O2 -g -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -fexceptions -fstack-protector-strong -grecord-gcc-switches -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -mcpu=power8 -mtune=power8 -funwind-tables -fstack-clash-protection -std=c++14 -I../../src -I../../src/rml/include -I../../include -I. -include ../../src/test/harness_preload.h ../../src/test/test_indexer_node.cpp In file included from ../../include/tbb/tbb_machine.h:243, from ../../include/tbb/atomic.h:32, from ../../include/tbb/flow_graph.h:25, from ../../src/test/harness_graph.h:29, from ../../src/test/test_indexer_node.cpp:21: ../../include/tbb/machine/mac_ppc.h: In function 'int32_t __TBB_machine_cmpswp4(volatile void*, int32_t, int32_t)': ../../include/tbb/machine/mac_ppc.h:91:46: warning: cast from type 'volatile void*' to type 'int32_t*' {aka 'int*'} casts away qualifiers [-Wcast-qual] , "+m"(* (int32_t*) ptr) /* redundant with "memory" */ ^~~ ../../include/tbb/machine/mac_ppc.h: In function 'int64_t __TBB_machine_cmpswp8(volatile void*, int64_t, int64_t)': ../../include/tbb/machine/mac_ppc.h:116:46: warning: cast from type 'volatile void*' to type 'int64_t*' {aka 'long int*'} casts away qualifiers [-Wcast-qual] , "+m"(* (int64_t*) ptr) /* redundant with "memory" */ ^~~ g++ -o test_indexer_node.exe -O2 -g -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -fexceptions -fstack-protector-strong -grecord-gcc-switches -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -mcpu=power8 -mtune=power8 -funwind-tables -fstack-clash-protection -DTBB_USE_DEBUG -g -O0 -DUSE_PTHREAD -DTEST_USES_TBB=1 -Wall -Wshadow -Wcast-qual -Woverloaded-virtual -Wnon-virtual-dtor -Wextra -O2 -g -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -fexceptions -fstack-protector-strong -grecord-gcc-switches -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -mcpu=power8 -mtune=power8 -funwind-tables -fstack-clash-protection test_indexer_node.o libtbb_debug.so -lpthread -lrt -Wl,-rpath-link=. -rdynamic g++ -o test_multifunction_node.o -c -MMD -O2 -g -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -fexceptions -fstack-protector-strong -grecord-gcc-switches -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -mcpu=power8 -mtune=power8 -funwind-tables -fstack-clash-protection -DTBB_USE_DEBUG -g -O0 -DUSE_PTHREAD -DTEST_USES_TBB=1 -Wall -Wshadow -Wcast-qual -Woverloaded-virtual -Wnon-virtual-dtor -Wextra -O2 -g -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -fexceptions -fstack-protector-strong -grecord-gcc-switches -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -mcpu=power8 -mtune=power8 -funwind-tables -fstack-clash-protection -std=c++14 -I../../src -I../../src/rml/include -I../../include -I. -include ../../src/test/harness_preload.h ../../src/test/test_multifunction_node.cpp In file included from ../../include/tbb/tbb_machine.h:243, from ../../include/tbb/atomic.h:32, from ../../include/tbb/flow_graph.h:25, from ../../src/test/harness_graph.h:29, from ../../src/test/test_multifunction_node.cpp:21: ../../include/tbb/machine/mac_ppc.h: In function 'int32_t __TBB_machine_cmpswp4(volatile void*, int32_t, int32_t)': ../../include/tbb/machine/mac_ppc.h:91:46: warning: cast from type 'volatile void*' to type 'int32_t*' {aka 'int*'} casts away qualifiers [-Wcast-qual] , "+m"(* (int32_t*) ptr) /* redundant with "memory" */ ^~~ ../../include/tbb/machine/mac_ppc.h: In function 'int64_t __TBB_machine_cmpswp8(volatile void*, int64_t, int64_t)': ../../include/tbb/machine/mac_ppc.h:116:46: warning: cast from type 'volatile void*' to type 'int64_t*' {aka 'long int*'} casts away qualifiers [-Wcast-qual] , "+m"(* (int64_t*) ptr) /* redundant with "memory" */ ^~~ In file included from ../../include/tbb/concurrent_unordered_map.h:27, from ../../src/test/harness_graph.h:32, from ../../src/test/test_multifunction_node.cpp:21: ../../include/tbb/internal/_concurrent_unordered_impl.h: In instantiation of 'void tbb::interface5::internal::concurrent_unordered_base::set_bucket(tbb::interface5::internal::concurrent_unordered_base::size_type, tbb::interface5::internal::concurrent_unordered_base::raw_iterator) [with Traits = tbb::interface5::concurrent_unordered_map_traits, tbb::interface5::internal::hash_compare, std::equal_to >, tbb::tbb_allocator > >, false>; tbb::interface5::internal::concurrent_unordered_base::size_type = long unsigned int; tbb::interface5::internal::concurrent_unordered_base::raw_iterator = tbb::interface5::internal::flist_iterator >, tbb::tbb_allocator > > >, std::pair > >]': ../../include/tbb/internal/_concurrent_unordered_impl.h:1207:9: required from 'void tbb::interface5::internal::concurrent_unordered_base::internal_init() [with Traits = tbb::interface5::concurrent_unordered_map_traits, tbb::interface5::internal::hash_compare, std::equal_to >, tbb::tbb_allocator > >, false>]' ../../include/tbb/internal/_concurrent_unordered_impl.h:710:9: required from 'tbb::interface5::internal::concurrent_unordered_base::concurrent_unordered_base(tbb::interface5::internal::concurrent_unordered_base::size_type, const hash_compare&, const allocator_type&) [with Traits = tbb::interface5::concurrent_unordered_map_traits, tbb::interface5::internal::hash_compare, std::equal_to >, tbb::tbb_allocator > >, false>; tbb::interface5::internal::concurrent_unordered_base::size_type = long unsigned int; tbb::interface5::internal::concurrent_unordered_base::hash_compare = tbb::interface5::internal::hash_compare, std::equal_to >; tbb::interface5::internal::concurrent_unordered_base::allocator_type = tbb::tbb_allocator > >]' ../../include/tbb/concurrent_unordered_map.h:101:73: required from 'tbb::interface5::concurrent_unordered_map::concurrent_unordered_map(tbb::interface5::concurrent_unordered_map::size_type, const hasher&, const key_equal&, const allocator_type&) [with Key = int; T = tbb::atomic; Hasher = tbb::tbb_hash; Key_equality = std::equal_to; Allocator = tbb::tbb_allocator > >; tbb::interface5::concurrent_unordered_map::size_type = long unsigned int; tbb::interface5::concurrent_unordered_map::hasher = tbb::tbb_hash; tbb::interface5::concurrent_unordered_map::key_equal = std::equal_to; tbb::interface5::concurrent_unordered_map::allocator_type = tbb::tbb_allocator > >]' ../../src/test/harness_graph.h:347:17: required from 'void harness_mapped_receiver::initialize_map(const T&, size_t) [with T = int; size_t = long unsigned int]' ../../src/test/test_multifunction_node.cpp:103:26: required from 'void buffered_levels(size_t, Body) [with InputType = int; OutputTuple = std::tuple; Body = run_buffered_levels(int) [with InputType = int; OutputTuple = std::tuple]::; size_t = long unsigned int]' ../../src/test/test_multifunction_node.cpp:234:43: required from 'void run_buffered_levels(int) [with InputType = int; OutputTuple = std::tuple]' ../../src/test/test_multifunction_node.cpp:475:65: required from here ../../include/tbb/internal/_concurrent_unordered_impl.h:1471:24: warning: 'void* memset(void*, int, size_t)' clearing an object of non-trivial type 'tbb::interface5::internal::concurrent_unordered_base, tbb::interface5::internal::hash_compare, std::equal_to >, tbb::tbb_allocator > >, false> >::raw_iterator' {aka 'class tbb::interface5::internal::flist_iterator >, tbb::tbb_allocator > > >, std::pair > >'}; use assignment or value-initialization instead [-Wclass-memaccess] std::memset(new_segment, 0, sz*sizeof(raw_iterator)); ~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ In file included from ../../include/tbb/concurrent_unordered_map.h:27, from ../../src/test/harness_graph.h:32, from ../../src/test/test_multifunction_node.cpp:21: ../../include/tbb/internal/_concurrent_unordered_impl.h:61:7: note: 'tbb::interface5::internal::concurrent_unordered_base, tbb::interface5::internal::hash_compare, std::equal_to >, tbb::tbb_allocator > >, false> >::raw_iterator' {aka 'class tbb::interface5::internal::flist_iterator >, tbb::tbb_allocator > > >, std::pair > >'} declared here class flist_iterator : public std::iterator ^~~~~~~~~~~~~~ g++ -o test_multifunction_node.exe -O2 -g -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -fexceptions -fstack-protector-strong -grecord-gcc-switches -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -mcpu=power8 -mtune=power8 -funwind-tables -fstack-clash-protection -DTBB_USE_DEBUG -g -O0 -DUSE_PTHREAD -DTEST_USES_TBB=1 -Wall -Wshadow -Wcast-qual -Woverloaded-virtual -Wnon-virtual-dtor -Wextra -O2 -g -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -fexceptions -fstack-protector-strong -grecord-gcc-switches -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -mcpu=power8 -mtune=power8 -funwind-tables -fstack-clash-protection test_multifunction_node.o libtbb_debug.so -lpthread -lrt -Wl,-rpath-link=. -rdynamic g++ -o test_split_node.o -c -MMD -O2 -g -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -fexceptions -fstack-protector-strong -grecord-gcc-switches -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -mcpu=power8 -mtune=power8 -funwind-tables -fstack-clash-protection -DTBB_USE_DEBUG -g -O0 -DUSE_PTHREAD -DTEST_USES_TBB=1 -Wall -Wshadow -Wcast-qual -Woverloaded-virtual -Wnon-virtual-dtor -Wextra -O2 -g -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -fexceptions -fstack-protector-strong -grecord-gcc-switches -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -mcpu=power8 -mtune=power8 -funwind-tables -fstack-clash-protection -std=c++14 -I../../src -I../../src/rml/include -I../../include -I. -include ../../src/test/harness_preload.h ../../src/test/test_split_node.cpp In file included from ../../include/tbb/tbb_machine.h:243, from ../../include/tbb/atomic.h:32, from ../../include/tbb/flow_graph.h:25, from ../../src/test/harness_graph.h:29, from ../../src/test/test_split_node.cpp:22: ../../include/tbb/machine/mac_ppc.h: In function 'int32_t __TBB_machine_cmpswp4(volatile void*, int32_t, int32_t)': ../../include/tbb/machine/mac_ppc.h:91:46: warning: cast from type 'volatile void*' to type 'int32_t*' {aka 'int*'} casts away qualifiers [-Wcast-qual] , "+m"(* (int32_t*) ptr) /* redundant with "memory" */ ^~~ ../../include/tbb/machine/mac_ppc.h: In function 'int64_t __TBB_machine_cmpswp8(volatile void*, int64_t, int64_t)': ../../include/tbb/machine/mac_ppc.h:116:46: warning: cast from type 'volatile void*' to type 'int64_t*' {aka 'long int*'} casts away qualifiers [-Wcast-qual] , "+m"(* (int64_t*) ptr) /* redundant with "memory" */ ^~~ g++ -o test_split_node.exe -O2 -g -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -fexceptions -fstack-protector-strong -grecord-gcc-switches -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -mcpu=power8 -mtune=power8 -funwind-tables -fstack-clash-protection -DTBB_USE_DEBUG -g -O0 -DUSE_PTHREAD -DTEST_USES_TBB=1 -Wall -Wshadow -Wcast-qual -Woverloaded-virtual -Wnon-virtual-dtor -Wextra -O2 -g -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -fexceptions -fstack-protector-strong -grecord-gcc-switches -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -mcpu=power8 -mtune=power8 -funwind-tables -fstack-clash-protection test_split_node.o libtbb_debug.so -lpthread -lrt -Wl,-rpath-link=. -rdynamic g++ -o test_static_assert.o -c -MMD -O2 -g -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -fexceptions -fstack-protector-strong -grecord-gcc-switches -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -mcpu=power8 -mtune=power8 -funwind-tables -fstack-clash-protection -DTBB_USE_DEBUG -g -O0 -DUSE_PTHREAD -DTEST_USES_TBB=1 -Wall -Wshadow -Wcast-qual -Woverloaded-virtual -Wnon-virtual-dtor -Wextra -O2 -g -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -fexceptions -fstack-protector-strong -grecord-gcc-switches -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -mcpu=power8 -mtune=power8 -funwind-tables -fstack-clash-protection -std=c++14 -I../../src -I../../src/rml/include -I../../include -I. -include ../../src/test/harness_preload.h ../../src/test/test_static_assert.cpp g++ -o test_static_assert.exe -O2 -g -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -fexceptions -fstack-protector-strong -grecord-gcc-switches -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -mcpu=power8 -mtune=power8 -funwind-tables -fstack-clash-protection -DTBB_USE_DEBUG -g -O0 -DUSE_PTHREAD -DTEST_USES_TBB=1 -Wall -Wshadow -Wcast-qual -Woverloaded-virtual -Wnon-virtual-dtor -Wextra -O2 -g -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -fexceptions -fstack-protector-strong -grecord-gcc-switches -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -mcpu=power8 -mtune=power8 -funwind-tables -fstack-clash-protection test_static_assert.o libtbb_debug.so -lpthread -lrt -Wl,-rpath-link=. -rdynamic g++ -o test_aggregator.o -c -MMD -O2 -g -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -fexceptions -fstack-protector-strong -grecord-gcc-switches -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -mcpu=power8 -mtune=power8 -funwind-tables -fstack-clash-protection -DTBB_USE_DEBUG -g -O0 -DUSE_PTHREAD -DTEST_USES_TBB=1 -Wall -Wshadow -Wcast-qual -Woverloaded-virtual -Wnon-virtual-dtor -Wextra -O2 -g -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -fexceptions -fstack-protector-strong -grecord-gcc-switches -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -mcpu=power8 -mtune=power8 -funwind-tables -fstack-clash-protection -std=c++14 -I../../src -I../../src/rml/include -I../../include -I. -include ../../src/test/harness_preload.h ../../src/test/test_aggregator.cpp In file included from ../../include/tbb/tbb_machine.h:243, from ../../include/tbb/atomic.h:32, from ../../include/tbb/aggregator.h:28, from ../../src/test/test_aggregator.cpp:25: ../../include/tbb/machine/mac_ppc.h: In function 'int32_t __TBB_machine_cmpswp4(volatile void*, int32_t, int32_t)': ../../include/tbb/machine/mac_ppc.h:91:46: warning: cast from type 'volatile void*' to type 'int32_t*' {aka 'int*'} casts away qualifiers [-Wcast-qual] , "+m"(* (int32_t*) ptr) /* redundant with "memory" */ ^~~ ../../include/tbb/machine/mac_ppc.h: In function 'int64_t __TBB_machine_cmpswp8(volatile void*, int64_t, int64_t)': ../../include/tbb/machine/mac_ppc.h:116:46: warning: cast from type 'volatile void*' to type 'int64_t*' {aka 'long int*'} casts away qualifiers [-Wcast-qual] , "+m"(* (int64_t*) ptr) /* redundant with "memory" */ ^~~ g++ -o test_aggregator.exe -O2 -g -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -fexceptions -fstack-protector-strong -grecord-gcc-switches -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -mcpu=power8 -mtune=power8 -funwind-tables -fstack-clash-protection -DTBB_USE_DEBUG -g -O0 -DUSE_PTHREAD -DTEST_USES_TBB=1 -Wall -Wshadow -Wcast-qual -Woverloaded-virtual -Wnon-virtual-dtor -Wextra -O2 -g -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -fexceptions -fstack-protector-strong -grecord-gcc-switches -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -mcpu=power8 -mtune=power8 -funwind-tables -fstack-clash-protection test_aggregator.o libtbb_debug.so -lpthread -lrt -Wl,-rpath-link=. -rdynamic g++ -o test_concurrent_lru_cache.o -c -MMD -O2 -g -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -fexceptions -fstack-protector-strong -grecord-gcc-switches -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -mcpu=power8 -mtune=power8 -funwind-tables -fstack-clash-protection -DTBB_USE_DEBUG -g -O0 -DUSE_PTHREAD -DTEST_USES_TBB=1 -Wall -Wshadow -Wcast-qual -Woverloaded-virtual -Wnon-virtual-dtor -Wextra -O2 -g -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -fexceptions -fstack-protector-strong -grecord-gcc-switches -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -mcpu=power8 -mtune=power8 -funwind-tables -fstack-clash-protection -std=c++14 -I../../src -I../../src/rml/include -I../../include -I. -include ../../src/test/harness_preload.h ../../src/test/test_concurrent_lru_cache.cpp In file included from ../../include/tbb/tbb_machine.h:243, from ../../include/tbb/atomic.h:32, from ../../include/tbb/concurrent_lru_cache.h:37, from ../../src/test/test_concurrent_lru_cache.cpp:30: ../../include/tbb/machine/mac_ppc.h: In function 'int32_t __TBB_machine_cmpswp4(volatile void*, int32_t, int32_t)': ../../include/tbb/machine/mac_ppc.h:91:46: warning: cast from type 'volatile void*' to type 'int32_t*' {aka 'int*'} casts away qualifiers [-Wcast-qual] , "+m"(* (int32_t*) ptr) /* redundant with "memory" */ ^~~ ../../include/tbb/machine/mac_ppc.h: In function 'int64_t __TBB_machine_cmpswp8(volatile void*, int64_t, int64_t)': ../../include/tbb/machine/mac_ppc.h:116:46: warning: cast from type 'volatile void*' to type 'int64_t*' {aka 'long int*'} casts away qualifiers [-Wcast-qual] , "+m"(* (int64_t*) ptr) /* redundant with "memory" */ ^~~ g++ -o test_concurrent_lru_cache.exe -O2 -g -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -fexceptions -fstack-protector-strong -grecord-gcc-switches -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -mcpu=power8 -mtune=power8 -funwind-tables -fstack-clash-protection -DTBB_USE_DEBUG -g -O0 -DUSE_PTHREAD -DTEST_USES_TBB=1 -Wall -Wshadow -Wcast-qual -Woverloaded-virtual -Wnon-virtual-dtor -Wextra -O2 -g -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -fexceptions -fstack-protector-strong -grecord-gcc-switches -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -mcpu=power8 -mtune=power8 -funwind-tables -fstack-clash-protection test_concurrent_lru_cache.o libtbb_debug.so -lpthread -lrt -Wl,-rpath-link=. -rdynamic g++ -o test_examples_common_utility.o -c -MMD -O2 -g -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -fexceptions -fstack-protector-strong -grecord-gcc-switches -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -mcpu=power8 -mtune=power8 -funwind-tables -fstack-clash-protection -DTBB_USE_DEBUG -g -O0 -DUSE_PTHREAD -DTEST_USES_TBB=1 -Wall -Wshadow -Wcast-qual -Woverloaded-virtual -Wnon-virtual-dtor -Wextra -O2 -g -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -fexceptions -fstack-protector-strong -grecord-gcc-switches -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -mcpu=power8 -mtune=power8 -funwind-tables -fstack-clash-protection -std=c++14 -I../../src -I../../src/rml/include -I../../include -I. -include ../../src/test/harness_preload.h ../../src/test/test_examples_common_utility.cpp g++ -o test_examples_common_utility.exe -O2 -g -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -fexceptions -fstack-protector-strong -grecord-gcc-switches -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -mcpu=power8 -mtune=power8 -funwind-tables -fstack-clash-protection -DTBB_USE_DEBUG -g -O0 -DUSE_PTHREAD -DTEST_USES_TBB=1 -Wall -Wshadow -Wcast-qual -Woverloaded-virtual -Wnon-virtual-dtor -Wextra -O2 -g -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -fexceptions -fstack-protector-strong -grecord-gcc-switches -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -mcpu=power8 -mtune=power8 -funwind-tables -fstack-clash-protection test_examples_common_utility.o libtbb_debug.so -lpthread -lrt -Wl,-rpath-link=. -rdynamic g++ -o test_dynamic_link.o -c -MMD -O2 -g -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -fexceptions -fstack-protector-strong -grecord-gcc-switches -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -mcpu=power8 -mtune=power8 -funwind-tables -fstack-clash-protection -DTBB_USE_DEBUG -g -O0 -DUSE_PTHREAD -DTEST_USES_TBB=1 -Wall -Wshadow -Wcast-qual -Woverloaded-virtual -Wnon-virtual-dtor -Wextra -O2 -g -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -fexceptions -fstack-protector-strong -grecord-gcc-switches -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -mcpu=power8 -mtune=power8 -funwind-tables -fstack-clash-protection -std=c++14 -I../../src -I../../src/rml/include -I../../include -I. -include ../../src/test/harness_preload.h ../../src/test/test_dynamic_link.cpp In file included from ../../include/tbb/tbb_machine.h:243, from ../../src/tbb/tbb_misc.h:25, from ../../src/tbb/dynamic_link.cpp:57, from ../../src/test/test_dynamic_link.cpp:59: ../../include/tbb/machine/mac_ppc.h: In function 'int32_t __TBB_machine_cmpswp4(volatile void*, int32_t, int32_t)': ../../include/tbb/machine/mac_ppc.h:91:46: warning: cast from type 'volatile void*' to type 'int32_t*' {aka 'int*'} casts away qualifiers [-Wcast-qual] , "+m"(* (int32_t*) ptr) /* redundant with "memory" */ ^~~ ../../include/tbb/machine/mac_ppc.h: In function 'int64_t __TBB_machine_cmpswp8(volatile void*, int64_t, int64_t)': ../../include/tbb/machine/mac_ppc.h:116:46: warning: cast from type 'volatile void*' to type 'int64_t*' {aka 'long int*'} casts away qualifiers [-Wcast-qual] , "+m"(* (int64_t*) ptr) /* redundant with "memory" */ ^~~ g++ -o test_dynamic_link.exe -O2 -g -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -fexceptions -fstack-protector-strong -grecord-gcc-switches -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -mcpu=power8 -mtune=power8 -funwind-tables -fstack-clash-protection -DTBB_USE_DEBUG -g -O0 -DUSE_PTHREAD -DTEST_USES_TBB=1 -Wall -Wshadow -Wcast-qual -Woverloaded-virtual -Wnon-virtual-dtor -Wextra -O2 -g -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -fexceptions -fstack-protector-strong -grecord-gcc-switches -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -mcpu=power8 -mtune=power8 -funwind-tables -fstack-clash-protection test_dynamic_link.o libtbb_debug.so -lpthread -lrt -ldl -Wl,-rpath-link=. -rdynamic g++ -o test_parallel_for_vectorization.o -c -MMD -O2 -g -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -fexceptions -fstack-protector-strong -grecord-gcc-switches -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -mcpu=power8 -mtune=power8 -funwind-tables -fstack-clash-protection -DTBB_USE_DEBUG -g -O0 -DUSE_PTHREAD -DTEST_USES_TBB=1 -Wall -Wshadow -Wcast-qual -Woverloaded-virtual -Wnon-virtual-dtor -Wextra -O2 -g -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -fexceptions -fstack-protector-strong -grecord-gcc-switches -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -mcpu=power8 -mtune=power8 -funwind-tables -fstack-clash-protection -std=c++14 -I../../src -I../../src/rml/include -I../../include -I. -include ../../src/test/harness_preload.h ../../src/test/test_parallel_for_vectorization.cpp In file included from ../../include/tbb/tbb_machine.h:243, from ../../include/tbb/task.h:25, from ../../include/tbb/parallel_for.h:25, from ../../src/test/test_parallel_for_vectorization.cpp:35: ../../include/tbb/machine/mac_ppc.h: In function 'int32_t __TBB_machine_cmpswp4(volatile void*, int32_t, int32_t)': ../../include/tbb/machine/mac_ppc.h:91:46: warning: cast from type 'volatile void*' to type 'int32_t*' {aka 'int*'} casts away qualifiers [-Wcast-qual] , "+m"(* (int32_t*) ptr) /* redundant with "memory" */ ^~~ ../../include/tbb/machine/mac_ppc.h: In function 'int64_t __TBB_machine_cmpswp8(volatile void*, int64_t, int64_t)': ../../include/tbb/machine/mac_ppc.h:116:46: warning: cast from type 'volatile void*' to type 'int64_t*' {aka 'long int*'} casts away qualifiers [-Wcast-qual] , "+m"(* (int64_t*) ptr) /* redundant with "memory" */ ^~~ g++ -o test_parallel_for_vectorization.exe -O2 -g -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -fexceptions -fstack-protector-strong -grecord-gcc-switches -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -mcpu=power8 -mtune=power8 -funwind-tables -fstack-clash-protection -DTBB_USE_DEBUG -g -O0 -DUSE_PTHREAD -DTEST_USES_TBB=1 -Wall -Wshadow -Wcast-qual -Woverloaded-virtual -Wnon-virtual-dtor -Wextra -O2 -g -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -fexceptions -fstack-protector-strong -grecord-gcc-switches -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -mcpu=power8 -mtune=power8 -funwind-tables -fstack-clash-protection test_parallel_for_vectorization.o libtbb_debug.so -lpthread -lrt -Wl,-rpath-link=. -rdynamic g++ -o test_tagged_msg.o -c -MMD -O2 -g -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -fexceptions -fstack-protector-strong -grecord-gcc-switches -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -mcpu=power8 -mtune=power8 -funwind-tables -fstack-clash-protection -DTBB_USE_DEBUG -g -O0 -DUSE_PTHREAD -DTEST_USES_TBB=1 -Wall -Wshadow -Wcast-qual -Woverloaded-virtual -Wnon-virtual-dtor -Wextra -O2 -g -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -fexceptions -fstack-protector-strong -grecord-gcc-switches -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -mcpu=power8 -mtune=power8 -funwind-tables -fstack-clash-protection -std=c++14 -I../../src -I../../src/rml/include -I../../include -I. -include ../../src/test/harness_preload.h ../../src/test/test_tagged_msg.cpp In file included from ../../include/tbb/tbb_machine.h:243, from ../../include/tbb/atomic.h:32, from ../../src/test/test_tagged_msg.cpp:23: ../../include/tbb/machine/mac_ppc.h: In function 'int32_t __TBB_machine_cmpswp4(volatile void*, int32_t, int32_t)': ../../include/tbb/machine/mac_ppc.h:91:46: warning: cast from type 'volatile void*' to type 'int32_t*' {aka 'int*'} casts away qualifiers [-Wcast-qual] , "+m"(* (int32_t*) ptr) /* redundant with "memory" */ ^~~ ../../include/tbb/machine/mac_ppc.h: In function 'int64_t __TBB_machine_cmpswp8(volatile void*, int64_t, int64_t)': ../../include/tbb/machine/mac_ppc.h:116:46: warning: cast from type 'volatile void*' to type 'int64_t*' {aka 'long int*'} casts away qualifiers [-Wcast-qual] , "+m"(* (int64_t*) ptr) /* redundant with "memory" */ ^~~ g++ -o test_tagged_msg.exe -O2 -g -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -fexceptions -fstack-protector-strong -grecord-gcc-switches -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -mcpu=power8 -mtune=power8 -funwind-tables -fstack-clash-protection -DTBB_USE_DEBUG -g -O0 -DUSE_PTHREAD -DTEST_USES_TBB=1 -Wall -Wshadow -Wcast-qual -Woverloaded-virtual -Wnon-virtual-dtor -Wextra -O2 -g -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -fexceptions -fstack-protector-strong -grecord-gcc-switches -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -mcpu=power8 -mtune=power8 -funwind-tables -fstack-clash-protection test_tagged_msg.o libtbb_debug.so -lpthread -lrt -Wl,-rpath-link=. -rdynamic g++ -o test_partitioner_whitebox.o -c -MMD -O2 -g -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -fexceptions -fstack-protector-strong -grecord-gcc-switches -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -mcpu=power8 -mtune=power8 -funwind-tables -fstack-clash-protection -DTBB_USE_DEBUG -g -O0 -DUSE_PTHREAD -DTEST_USES_TBB=1 -Wall -Wshadow -Wcast-qual -Woverloaded-virtual -Wnon-virtual-dtor -Wextra -O2 -g -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -fexceptions -fstack-protector-strong -grecord-gcc-switches -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -mcpu=power8 -mtune=power8 -funwind-tables -fstack-clash-protection -std=c++14 -I../../src -I../../src/rml/include -I../../include -I. -include ../../src/test/harness_preload.h ../../src/test/test_partitioner_whitebox.cpp In file included from ../../include/tbb/tbb_machine.h:243, from ../../include/tbb/atomic.h:32, from ../../include/tbb/tbb_thread.h:46, from ../../src/test/test_partitioner_whitebox.h:25, from ../../src/test/test_partitioner_whitebox.cpp:22: ../../include/tbb/machine/mac_ppc.h: In function 'int32_t __TBB_machine_cmpswp4(volatile void*, int32_t, int32_t)': ../../include/tbb/machine/mac_ppc.h:91:46: warning: cast from type 'volatile void*' to type 'int32_t*' {aka 'int*'} casts away qualifiers [-Wcast-qual] , "+m"(* (int32_t*) ptr) /* redundant with "memory" */ ^~~ ../../include/tbb/machine/mac_ppc.h: In function 'int64_t __TBB_machine_cmpswp8(volatile void*, int64_t, int64_t)': ../../include/tbb/machine/mac_ppc.h:116:46: warning: cast from type 'volatile void*' to type 'int64_t*' {aka 'long int*'} casts away qualifiers [-Wcast-qual] , "+m"(* (int64_t*) ptr) /* redundant with "memory" */ ^~~ In file included from ../../include/tbb/enumerable_thread_specific.h:25, from ../../src/test/test_partitioner_whitebox.h:26, from ../../src/test/test_partitioner_whitebox.cpp:22: ../../include/tbb/concurrent_vector.h: In static member function 'static void tbb::concurrent_vector::copy_range(void*, const void*, tbb::concurrent_vector::size_type)': ../../include/tbb/concurrent_vector.h:1296:18: warning: declaration of 'iterator' shadows a previous local [-Wshadow] I & iterator ((*const_cast(static_cast(p_type_erased_iterator)))); ^ ../../include/tbb/concurrent_vector.h:578:60: note: shadowed declaration is here typedef internal::vector_iterator iterator; ^~~~~~~~ In file included from ../../include/tbb/enumerable_thread_specific.h:25, from ../../src/test/test_partitioner_whitebox.h:26, from ../../src/test/test_partitioner_whitebox.cpp:22: ../../include/tbb/concurrent_vector.h: In instantiation of 'void tbb::internal::handle_unconstructed_elements(T*, std::size_t) [with T = tbb::internal::padded, 128>; std::size_t = long unsigned int]': ../../include/tbb/concurrent_vector.h:1123:56: required from 'tbb::concurrent_vector::internal_loop_guide::~internal_loop_guide() [with T = tbb::internal::padded, 128>; A = tbb::cache_aligned_allocator, 128> >]' ../../include/tbb/concurrent_vector.h:1262:25: required from 'static void tbb::concurrent_vector::initialize_array(void*, const void*, tbb::concurrent_vector::size_type) [with T = tbb::internal::padded, 128>; A = tbb::cache_aligned_allocator, 128> >; tbb::concurrent_vector::size_type = long unsigned int]' ../../include/tbb/concurrent_vector.h:780:76: required from 'tbb::concurrent_vector::iterator tbb::concurrent_vector::grow_by(tbb::concurrent_vector::size_type) [with T = tbb::internal::padded, 128>; A = tbb::cache_aligned_allocator, 128> >; tbb::concurrent_vector::iterator = tbb::internal::vector_iterator, 128>, tbb::cache_aligned_allocator, 128> > >, tbb::internal::padded, 128> >; tbb::concurrent_vector::size_type = long unsigned int]' ../../include/tbb/enumerable_thread_specific.h:797:36: required from 'void* tbb::interface6::enumerable_thread_specific::create_local() [with T = long unsigned int; Allocator = tbb::cache_aligned_allocator; tbb::ets_key_usage_type ETS_key_type = (tbb::ets_key_usage_type)1]' ../../include/tbb/enumerable_thread_specific.h:796:15: required from here ../../include/tbb/concurrent_vector.h:77:20: warning: 'void* memset(void*, int, size_t)' clearing an object of non-trivial type 'struct tbb::internal::padded, 128>'; use assignment or value-initialization instead [-Wclass-memaccess] std::memset( array, 0, n_of_elements * sizeof( T ) ); ~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ In file included from ../../include/tbb/tbb_thread.h:24, from ../../src/test/test_partitioner_whitebox.h:25, from ../../src/test/test_partitioner_whitebox.cpp:22: ../../include/tbb/tbb_stddef.h:257:8: note: 'struct tbb::internal::padded, 128>' declared here struct padded : padded_base {}; ^~~~~~ g++ -o test_partitioner_whitebox.exe -O2 -g -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -fexceptions -fstack-protector-strong -grecord-gcc-switches -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -mcpu=power8 -mtune=power8 -funwind-tables -fstack-clash-protection -DTBB_USE_DEBUG -g -O0 -DUSE_PTHREAD -DTEST_USES_TBB=1 -Wall -Wshadow -Wcast-qual -Woverloaded-virtual -Wnon-virtual-dtor -Wextra -O2 -g -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -fexceptions -fstack-protector-strong -grecord-gcc-switches -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -mcpu=power8 -mtune=power8 -funwind-tables -fstack-clash-protection test_partitioner_whitebox.o libtbb_debug.so -lpthread -lrt -Wl,-rpath-link=. -rdynamic g++ -o test_flow_graph_whitebox.o -c -MMD -O2 -g -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -fexceptions -fstack-protector-strong -grecord-gcc-switches -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -mcpu=power8 -mtune=power8 -funwind-tables -fstack-clash-protection -DTBB_USE_DEBUG -g -O0 -DUSE_PTHREAD -DTEST_USES_TBB=1 -Wall -Wshadow -Wcast-qual -Woverloaded-virtual -Wnon-virtual-dtor -Wextra -O2 -g -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -fexceptions -fstack-protector-strong -grecord-gcc-switches -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -mcpu=power8 -mtune=power8 -funwind-tables -fstack-clash-protection -std=c++14 -I../../src -I../../src/rml/include -I../../include -I. -include ../../src/test/harness_preload.h ../../src/test/test_flow_graph_whitebox.cpp In file included from ../../include/tbb/tbb_machine.h:243, from ../../include/tbb/aligned_space.h:25, from ../../include/tbb/spin_mutex.h:26, from ../../src/test/test_flow_graph_whitebox.cpp:36: ../../include/tbb/machine/mac_ppc.h: In function 'int32_t __TBB_machine_cmpswp4(volatile void*, int32_t, int32_t)': ../../include/tbb/machine/mac_ppc.h:91:46: warning: cast from type 'volatile void*' to type 'int32_t*' {aka 'int*'} casts away qualifiers [-Wcast-qual] , "+m"(* (int32_t*) ptr) /* redundant with "memory" */ ^~~ ../../include/tbb/machine/mac_ppc.h: In function 'int64_t __TBB_machine_cmpswp8(volatile void*, int64_t, int64_t)': ../../include/tbb/machine/mac_ppc.h:116:46: warning: cast from type 'volatile void*' to type 'int64_t*' {aka 'long int*'} casts away qualifiers [-Wcast-qual] , "+m"(* (int64_t*) ptr) /* redundant with "memory" */ ^~~ g++ -o test_flow_graph_whitebox.exe -O2 -g -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -fexceptions -fstack-protector-strong -grecord-gcc-switches -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -mcpu=power8 -mtune=power8 -funwind-tables -fstack-clash-protection -DTBB_USE_DEBUG -g -O0 -DUSE_PTHREAD -DTEST_USES_TBB=1 -Wall -Wshadow -Wcast-qual -Woverloaded-virtual -Wnon-virtual-dtor -Wextra -O2 -g -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -fexceptions -fstack-protector-strong -grecord-gcc-switches -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -mcpu=power8 -mtune=power8 -funwind-tables -fstack-clash-protection test_flow_graph_whitebox.o libtbb_debug.so -lpthread -lrt -Wl,-rpath-link=. -rdynamic g++ -o test_composite_node.o -c -MMD -O2 -g -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -fexceptions -fstack-protector-strong -grecord-gcc-switches -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -mcpu=power8 -mtune=power8 -funwind-tables -fstack-clash-protection -DTBB_USE_DEBUG -g -O0 -DUSE_PTHREAD -DTEST_USES_TBB=1 -Wall -Wshadow -Wcast-qual -Woverloaded-virtual -Wnon-virtual-dtor -Wextra -O2 -g -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -fexceptions -fstack-protector-strong -grecord-gcc-switches -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -mcpu=power8 -mtune=power8 -funwind-tables -fstack-clash-protection -std=c++14 -I../../src -I../../src/rml/include -I../../include -I. -include ../../src/test/harness_preload.h ../../src/test/test_composite_node.cpp In file included from ../../include/tbb/tbb_machine.h:243, from ../../include/tbb/atomic.h:32, from ../../include/tbb/flow_graph.h:25, from ../../src/test/test_composite_node.cpp:24: ../../include/tbb/machine/mac_ppc.h: In function 'int32_t __TBB_machine_cmpswp4(volatile void*, int32_t, int32_t)': ../../include/tbb/machine/mac_ppc.h:91:46: warning: cast from type 'volatile void*' to type 'int32_t*' {aka 'int*'} casts away qualifiers [-Wcast-qual] , "+m"(* (int32_t*) ptr) /* redundant with "memory" */ ^~~ ../../include/tbb/machine/mac_ppc.h: In function 'int64_t __TBB_machine_cmpswp8(volatile void*, int64_t, int64_t)': ../../include/tbb/machine/mac_ppc.h:116:46: warning: cast from type 'volatile void*' to type 'int64_t*' {aka 'long int*'} casts away qualifiers [-Wcast-qual] , "+m"(* (int64_t*) ptr) /* redundant with "memory" */ ^~~ g++ -o test_composite_node.exe -O2 -g -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -fexceptions -fstack-protector-strong -grecord-gcc-switches -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -mcpu=power8 -mtune=power8 -funwind-tables -fstack-clash-protection -DTBB_USE_DEBUG -g -O0 -DUSE_PTHREAD -DTEST_USES_TBB=1 -Wall -Wshadow -Wcast-qual -Woverloaded-virtual -Wnon-virtual-dtor -Wextra -O2 -g -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -fexceptions -fstack-protector-strong -grecord-gcc-switches -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -mcpu=power8 -mtune=power8 -funwind-tables -fstack-clash-protection test_composite_node.o libtbb_debug.so -lpthread -lrt -Wl,-rpath-link=. -rdynamic g++ -o test_async_node.o -c -MMD -O2 -g -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -fexceptions -fstack-protector-strong -grecord-gcc-switches -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -mcpu=power8 -mtune=power8 -funwind-tables -fstack-clash-protection -DTBB_USE_DEBUG -g -O0 -DUSE_PTHREAD -DTEST_USES_TBB=1 -Wall -Wshadow -Wcast-qual -Woverloaded-virtual -Wnon-virtual-dtor -Wextra -O2 -g -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -fexceptions -fstack-protector-strong -grecord-gcc-switches -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -mcpu=power8 -mtune=power8 -funwind-tables -fstack-clash-protection -std=c++14 -I../../src -I../../src/rml/include -I../../include -I. -include ../../src/test/harness_preload.h ../../src/test/test_async_node.cpp In file included from ../../include/tbb/tbb_machine.h:243, from ../../include/tbb/atomic.h:32, from ../../include/tbb/flow_graph.h:25, from ../../src/test/harness_graph.h:29, from ../../src/test/test_async_node.cpp:22: ../../include/tbb/machine/mac_ppc.h: In function 'int32_t __TBB_machine_cmpswp4(volatile void*, int32_t, int32_t)': ../../include/tbb/machine/mac_ppc.h:91:46: warning: cast from type 'volatile void*' to type 'int32_t*' {aka 'int*'} casts away qualifiers [-Wcast-qual] , "+m"(* (int32_t*) ptr) /* redundant with "memory" */ ^~~ ../../include/tbb/machine/mac_ppc.h: In function 'int64_t __TBB_machine_cmpswp8(volatile void*, int64_t, int64_t)': ../../include/tbb/machine/mac_ppc.h:116:46: warning: cast from type 'volatile void*' to type 'int64_t*' {aka 'long int*'} casts away qualifiers [-Wcast-qual] , "+m"(* (int64_t*) ptr) /* redundant with "memory" */ ^~~ In file included from ../../include/tbb/concurrent_queue.h:24, from ../../src/test/test_async_node.cpp:24: ../../include/tbb/internal/_concurrent_queue_impl.h: In instantiation of 'tbb::strict_ppl::internal::concurrent_queue_base_v3::concurrent_queue_base_v3() [with T = async_activity::work_type]': ../../include/tbb/concurrent_queue.h:85:25: required from 'tbb::strict_ppl::concurrent_queue::concurrent_queue(const allocator_type&) [with T = async_activity::work_type; A = tbb::cache_aligned_allocator::work_type>; tbb::strict_ppl::concurrent_queue::allocator_type = tbb::cache_aligned_allocator::work_type>]' ../../src/test/test_async_node.cpp:279:122: required from 'async_activity::async_activity(int, int) [with Input = int; Output = int]' ../../src/test/test_async_node.cpp:541:49: required from 'static int spin_test::run(int, int) [with Input = int; Output = int]' ../../src/test/test_async_node.cpp:586:26: required from here ../../include/tbb/internal/_concurrent_queue_impl.h:517:11: warning: 'void* memset(void*, int, size_t)' clearing an object of type 'struct tbb::strict_ppl::internal::concurrent_queue_rep::work_type>' with no trivial copy-assignment; use value-initialization instead [-Wclass-memaccess] memset(my_rep,0,sizeof(concurrent_queue_rep)); ~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ../../include/tbb/internal/_concurrent_queue_impl.h:405:8: note: 'struct tbb::strict_ppl::internal::concurrent_queue_rep::work_type>' declared here struct concurrent_queue_rep : public concurrent_queue_rep_base { ^~~~~~~~~~~~~~~~~~~~ ../../include/tbb/internal/_concurrent_queue_impl.h: In instantiation of 'tbb::strict_ppl::internal::concurrent_queue_base_v3::concurrent_queue_base_v3() [with T = async_activity, place_wrapper >::work_type]': ../../include/tbb/concurrent_queue.h:85:25: required from 'tbb::strict_ppl::concurrent_queue::concurrent_queue(const allocator_type&) [with T = async_activity, place_wrapper >::work_type; A = tbb::cache_aligned_allocator, place_wrapper >::work_type>; tbb::strict_ppl::concurrent_queue::allocator_type = tbb::cache_aligned_allocator, place_wrapper >::work_type>]' ../../src/test/test_async_node.cpp:279:122: required from 'async_activity::async_activity(int, int) [with Input = place_wrapper; Output = place_wrapper]' ../../src/test/test_async_node.cpp:394:49: required from 'static int basic_test::run(int) [with Input = place_wrapper; Output = place_wrapper]' ../../src/test/test_async_node.cpp:593:66: required from 'int run_tests() [with Input = int; Output = int]' ../../src/test/test_async_node.cpp:600:25: required from here ../../include/tbb/internal/_concurrent_queue_impl.h:517:11: warning: 'void* memset(void*, int, size_t)' clearing an object of type 'struct tbb::strict_ppl::internal::concurrent_queue_rep, place_wrapper >::work_type>' with no trivial copy-assignment; use value-initialization instead [-Wclass-memaccess] memset(my_rep,0,sizeof(concurrent_queue_rep)); ~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ../../include/tbb/internal/_concurrent_queue_impl.h:405:8: note: 'struct tbb::strict_ppl::internal::concurrent_queue_rep, place_wrapper >::work_type>' declared here struct concurrent_queue_rep : public concurrent_queue_rep_base { ^~~~~~~~~~~~~~~~~~~~ ../../include/tbb/internal/_concurrent_queue_impl.h: In instantiation of 'tbb::strict_ppl::internal::concurrent_queue_base_v3::concurrent_queue_base_v3() [with T = async_activity::work_type]': ../../include/tbb/concurrent_queue.h:85:25: required from 'tbb::strict_ppl::concurrent_queue::concurrent_queue(const allocator_type&) [with T = async_activity::work_type; A = tbb::cache_aligned_allocator::work_type>; tbb::strict_ppl::concurrent_queue::allocator_type = tbb::cache_aligned_allocator::work_type>]' ../../src/test/test_async_node.cpp:279:122: required from 'async_activity::async_activity(int, int) [with Input = minimal_type; Output = minimal_type]' ../../src/test/test_async_node.cpp:394:49: required from 'static int basic_test::run(int) [with Input = minimal_type; Output = minimal_type]' ../../src/test/test_async_node.cpp:591:35: required from 'int run_tests() [with Input = minimal_type; Output = minimal_type]' ../../src/test/test_async_node.cpp:601:43: required from here ../../include/tbb/internal/_concurrent_queue_impl.h:517:11: warning: 'void* memset(void*, int, size_t)' clearing an object of type 'struct tbb::strict_ppl::internal::concurrent_queue_rep::work_type>' with no trivial copy-assignment; use value-initialization instead [-Wclass-memaccess] memset(my_rep,0,sizeof(concurrent_queue_rep)); ~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ../../include/tbb/internal/_concurrent_queue_impl.h:405:8: note: 'struct tbb::strict_ppl::internal::concurrent_queue_rep::work_type>' declared here struct concurrent_queue_rep : public concurrent_queue_rep_base { ^~~~~~~~~~~~~~~~~~~~ ../../include/tbb/internal/_concurrent_queue_impl.h: In instantiation of 'tbb::strict_ppl::internal::concurrent_queue_base_v3::concurrent_queue_base_v3() [with T = async_activity, place_wrapper >::work_type]': ../../include/tbb/concurrent_queue.h:85:25: required from 'tbb::strict_ppl::concurrent_queue::concurrent_queue(const allocator_type&) [with T = async_activity, place_wrapper >::work_type; A = tbb::cache_aligned_allocator, place_wrapper >::work_type>; tbb::strict_ppl::concurrent_queue::allocator_type = tbb::cache_aligned_allocator, place_wrapper >::work_type>]' ../../src/test/test_async_node.cpp:279:122: required from 'async_activity::async_activity(int, int) [with Input = place_wrapper; Output = place_wrapper]' ../../src/test/test_async_node.cpp:394:49: required from 'static int basic_test::run(int) [with Input = place_wrapper; Output = place_wrapper]' ../../src/test/test_async_node.cpp:593:66: required from 'int run_tests() [with Input = minimal_type; Output = minimal_type]' ../../src/test/test_async_node.cpp:601:43: required from here ../../include/tbb/internal/_concurrent_queue_impl.h:517:11: warning: 'void* memset(void*, int, size_t)' clearing an object of type 'struct tbb::strict_ppl::internal::concurrent_queue_rep, place_wrapper >::work_type>' with no trivial copy-assignment; use value-initialization instead [-Wclass-memaccess] memset(my_rep,0,sizeof(concurrent_queue_rep)); ~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ../../include/tbb/internal/_concurrent_queue_impl.h:405:8: note: 'struct tbb::strict_ppl::internal::concurrent_queue_rep, place_wrapper >::work_type>' declared here struct concurrent_queue_rep : public concurrent_queue_rep_base { ^~~~~~~~~~~~~~~~~~~~ ../../include/tbb/internal/_concurrent_queue_impl.h: In instantiation of 'tbb::strict_ppl::internal::concurrent_queue_base_v3::concurrent_queue_base_v3() [with T = async_activity::work_type]': ../../include/tbb/concurrent_queue.h:85:25: required from 'tbb::strict_ppl::concurrent_queue::concurrent_queue(const allocator_type&) [with T = async_activity::work_type; A = tbb::cache_aligned_allocator::work_type>; tbb::strict_ppl::concurrent_queue::allocator_type = tbb::cache_aligned_allocator::work_type>]' ../../src/test/test_async_node.cpp:279:122: required from 'async_activity::async_activity(int, int) [with Input = int; Output = minimal_type]' ../../src/test/test_async_node.cpp:394:49: required from 'static int basic_test::run(int) [with Input = int; Output = minimal_type]' ../../src/test/test_async_node.cpp:591:35: required from 'int run_tests() [with Input = int; Output = minimal_type]' ../../src/test/test_async_node.cpp:602:34: required from here ../../include/tbb/internal/_concurrent_queue_impl.h:517:11: warning: 'void* memset(void*, int, size_t)' clearing an object of type 'struct tbb::strict_ppl::internal::concurrent_queue_rep::work_type>' with no trivial copy-assignment; use value-initialization instead [-Wclass-memaccess] memset(my_rep,0,sizeof(concurrent_queue_rep)); ~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ../../include/tbb/internal/_concurrent_queue_impl.h:405:8: note: 'struct tbb::strict_ppl::internal::concurrent_queue_rep::work_type>' declared here struct concurrent_queue_rep : public concurrent_queue_rep_base { ^~~~~~~~~~~~~~~~~~~~ ../../include/tbb/internal/_concurrent_queue_impl.h: In instantiation of 'tbb::strict_ppl::internal::concurrent_queue_base_v3::concurrent_queue_base_v3() [with T = async_activity, place_wrapper >::work_type]': ../../include/tbb/concurrent_queue.h:85:25: required from 'tbb::strict_ppl::concurrent_queue::concurrent_queue(const allocator_type&) [with T = async_activity, place_wrapper >::work_type; A = tbb::cache_aligned_allocator, place_wrapper >::work_type>; tbb::strict_ppl::concurrent_queue::allocator_type = tbb::cache_aligned_allocator, place_wrapper >::work_type>]' ../../src/test/test_async_node.cpp:279:122: required from 'async_activity::async_activity(int, int) [with Input = place_wrapper; Output = place_wrapper]' ../../src/test/test_async_node.cpp:394:49: required from 'static int basic_test::run(int) [with Input = place_wrapper; Output = place_wrapper]' ../../src/test/test_async_node.cpp:593:66: required from 'int run_tests() [with Input = int; Output = minimal_type]' ../../src/test/test_async_node.cpp:602:34: required from here ../../include/tbb/internal/_concurrent_queue_impl.h:517:11: warning: 'void* memset(void*, int, size_t)' clearing an object of type 'struct tbb::strict_ppl::internal::concurrent_queue_rep, place_wrapper >::work_type>' with no trivial copy-assignment; use value-initialization instead [-Wclass-memaccess] memset(my_rep,0,sizeof(concurrent_queue_rep)); ~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ../../include/tbb/internal/_concurrent_queue_impl.h:405:8: note: 'struct tbb::strict_ppl::internal::concurrent_queue_rep, place_wrapper >::work_type>' declared here struct concurrent_queue_rep : public concurrent_queue_rep_base { ^~~~~~~~~~~~~~~~~~~~ g++ -o test_async_node.exe -O2 -g -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -fexceptions -fstack-protector-strong -grecord-gcc-switches -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -mcpu=power8 -mtune=power8 -funwind-tables -fstack-clash-protection -DTBB_USE_DEBUG -g -O0 -DUSE_PTHREAD -DTEST_USES_TBB=1 -Wall -Wshadow -Wcast-qual -Woverloaded-virtual -Wnon-virtual-dtor -Wextra -O2 -g -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -fexceptions -fstack-protector-strong -grecord-gcc-switches -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -mcpu=power8 -mtune=power8 -funwind-tables -fstack-clash-protection test_async_node.o libtbb_debug.so -lpthread -lrt -Wl,-rpath-link=. -rdynamic g++ -o test_async_msg.o -c -MMD -O2 -g -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -fexceptions -fstack-protector-strong -grecord-gcc-switches -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -mcpu=power8 -mtune=power8 -funwind-tables -fstack-clash-protection -DTBB_USE_DEBUG -g -O0 -DUSE_PTHREAD -DTEST_USES_TBB=1 -Wall -Wshadow -Wcast-qual -Woverloaded-virtual -Wnon-virtual-dtor -Wextra -O2 -g -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -fexceptions -fstack-protector-strong -grecord-gcc-switches -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -mcpu=power8 -mtune=power8 -funwind-tables -fstack-clash-protection -std=c++14 -I../../src -I../../src/rml/include -I../../include -I. -include ../../src/test/harness_preload.h ../../src/test/test_async_msg.cpp In file included from ../../include/tbb/tbb_machine.h:243, from ../../include/tbb/atomic.h:32, from ../../include/tbb/flow_graph.h:25, from ../../src/test/test_async_msg.cpp:33: ../../include/tbb/machine/mac_ppc.h: In function 'int32_t __TBB_machine_cmpswp4(volatile void*, int32_t, int32_t)': ../../include/tbb/machine/mac_ppc.h:91:46: warning: cast from type 'volatile void*' to type 'int32_t*' {aka 'int*'} casts away qualifiers [-Wcast-qual] , "+m"(* (int32_t*) ptr) /* redundant with "memory" */ ^~~ ../../include/tbb/machine/mac_ppc.h: In function 'int64_t __TBB_machine_cmpswp8(volatile void*, int64_t, int64_t)': ../../include/tbb/machine/mac_ppc.h:116:46: warning: cast from type 'volatile void*' to type 'int64_t*' {aka 'long int*'} casts away qualifiers [-Wcast-qual] , "+m"(* (int64_t*) ptr) /* redundant with "memory" */ ^~~ g++ -o test_async_msg.exe -O2 -g -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -fexceptions -fstack-protector-strong -grecord-gcc-switches -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -mcpu=power8 -mtune=power8 -funwind-tables -fstack-clash-protection -DTBB_USE_DEBUG -g -O0 -DUSE_PTHREAD -DTEST_USES_TBB=1 -Wall -Wshadow -Wcast-qual -Woverloaded-virtual -Wnon-virtual-dtor -Wextra -O2 -g -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -fexceptions -fstack-protector-strong -grecord-gcc-switches -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -mcpu=power8 -mtune=power8 -funwind-tables -fstack-clash-protection test_async_msg.o libtbb_debug.so -lpthread -lrt -Wl,-rpath-link=. -rdynamic g++ -o test_tbb_version.o -c -MMD -O2 -g -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -fexceptions -fstack-protector-strong -grecord-gcc-switches -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -mcpu=power8 -mtune=power8 -funwind-tables -fstack-clash-protection -DTBB_USE_DEBUG -g -O0 -DUSE_PTHREAD -DTEST_USES_TBB=1 -Wall -Wshadow -Wcast-qual -Woverloaded-virtual -Wnon-virtual-dtor -Wextra -O2 -g -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -fexceptions -fstack-protector-strong -grecord-gcc-switches -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -mcpu=power8 -mtune=power8 -funwind-tables -fstack-clash-protection -std=c++14 -I../../src -I../../src/rml/include -I../../include -I. -include ../../src/test/harness_preload.h ../../src/test/test_tbb_version.cpp g++ -o test_tbb_version.exe -O2 -g -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -fexceptions -fstack-protector-strong -grecord-gcc-switches -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -mcpu=power8 -mtune=power8 -funwind-tables -fstack-clash-protection -DTBB_USE_DEBUG -g -O0 -DUSE_PTHREAD -DTEST_USES_TBB=1 -Wall -Wshadow -Wcast-qual -Woverloaded-virtual -Wnon-virtual-dtor -Wextra -O2 -g -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -fexceptions -fstack-protector-strong -grecord-gcc-switches -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -mcpu=power8 -mtune=power8 -funwind-tables -fstack-clash-protection test_tbb_version.o libtbb_debug.so -lpthread -lrt -Wl,-rpath-link=. -rdynamic g++ -o test_task_leaks.o -c -MMD -O2 -g -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -fexceptions -fstack-protector-strong -grecord-gcc-switches -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -mcpu=power8 -mtune=power8 -funwind-tables -fstack-clash-protection -DTBB_USE_DEBUG -g -O0 -DUSE_PTHREAD -Wall -Wno-parentheses -Wno-non-virtual-dtor -O2 -g -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -fexceptions -fstack-protector-strong -grecord-gcc-switches -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -mcpu=power8 -mtune=power8 -funwind-tables -fstack-clash-protection -flifetime-dse=1 -std=c++14 -I../../src -I../../src/rml/include -I../../include -I. -include ../../src/test/harness_preload.h ../../src/test/test_task_leaks.cpp g++ -o test_task_leaks.exe -O2 -g -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -fexceptions -fstack-protector-strong -grecord-gcc-switches -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -mcpu=power8 -mtune=power8 -funwind-tables -fstack-clash-protection -DTBB_USE_DEBUG -g -O0 -DUSE_PTHREAD -Wall -Wno-parentheses -Wno-non-virtual-dtor -O2 -g -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -fexceptions -fstack-protector-strong -grecord-gcc-switches -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -mcpu=power8 -mtune=power8 -funwind-tables -fstack-clash-protection -flifetime-dse=1 test_task_leaks.o tbb_misc.o -lpthread -lrt -ldl -Wl,-rpath-link=. -rdynamic g++ -o test_task_assertions.o -c -MMD -O2 -g -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -fexceptions -fstack-protector-strong -grecord-gcc-switches -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -mcpu=power8 -mtune=power8 -funwind-tables -fstack-clash-protection -DTBB_USE_DEBUG -g -O0 -DUSE_PTHREAD -Wall -Wno-parentheses -Wno-non-virtual-dtor -O2 -g -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -fexceptions -fstack-protector-strong -grecord-gcc-switches -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -mcpu=power8 -mtune=power8 -funwind-tables -fstack-clash-protection -flifetime-dse=1 -std=c++14 -I../../src -I../../src/rml/include -I../../include -I. -include ../../src/test/harness_preload.h ../../src/test/test_task_assertions.cpp g++ -o test_task_assertions.exe -O2 -g -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -fexceptions -fstack-protector-strong -grecord-gcc-switches -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -mcpu=power8 -mtune=power8 -funwind-tables -fstack-clash-protection -DTBB_USE_DEBUG -g -O0 -DUSE_PTHREAD -Wall -Wno-parentheses -Wno-non-virtual-dtor -O2 -g -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -fexceptions -fstack-protector-strong -grecord-gcc-switches -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -mcpu=power8 -mtune=power8 -funwind-tables -fstack-clash-protection -flifetime-dse=1 test_task_assertions.o tbb_misc.o -lpthread -lrt -ldl -Wl,-rpath-link=. -rdynamic g++ -o test_fast_random.o -c -MMD -O2 -g -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -fexceptions -fstack-protector-strong -grecord-gcc-switches -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -mcpu=power8 -mtune=power8 -funwind-tables -fstack-clash-protection -DTBB_USE_DEBUG -g -O0 -DUSE_PTHREAD -Wall -Wno-parentheses -Wno-non-virtual-dtor -O2 -g -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -fexceptions -fstack-protector-strong -grecord-gcc-switches -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -mcpu=power8 -mtune=power8 -funwind-tables -fstack-clash-protection -flifetime-dse=1 -std=c++14 -I../../src -I../../src/rml/include -I../../include -I. -include ../../src/test/harness_preload.h ../../src/test/test_fast_random.cpp g++ -o test_fast_random.exe -O2 -g -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -fexceptions -fstack-protector-strong -grecord-gcc-switches -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -mcpu=power8 -mtune=power8 -funwind-tables -fstack-clash-protection -DTBB_USE_DEBUG -g -O0 -DUSE_PTHREAD -Wall -Wno-parentheses -Wno-non-virtual-dtor -O2 -g -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -fexceptions -fstack-protector-strong -grecord-gcc-switches -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -mcpu=power8 -mtune=power8 -funwind-tables -fstack-clash-protection -flifetime-dse=1 test_fast_random.o tbb_misc.o -lpthread -lrt -ldl -Wl,-rpath-link=. -rdynamic g++ -o test_global_control_whitebox.o -c -MMD -O2 -g -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -fexceptions -fstack-protector-strong -grecord-gcc-switches -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -mcpu=power8 -mtune=power8 -funwind-tables -fstack-clash-protection -DTBB_USE_DEBUG -g -O0 -DUSE_PTHREAD -Wall -Wno-parentheses -Wno-non-virtual-dtor -O2 -g -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -fexceptions -fstack-protector-strong -grecord-gcc-switches -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -mcpu=power8 -mtune=power8 -funwind-tables -fstack-clash-protection -flifetime-dse=1 -std=c++14 -I../../src -I../../src/rml/include -I../../include -I. -include ../../src/test/harness_preload.h ../../src/test/test_global_control_whitebox.cpp g++ -o test_global_control_whitebox.exe -O2 -g -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -fexceptions -fstack-protector-strong -grecord-gcc-switches -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -mcpu=power8 -mtune=power8 -funwind-tables -fstack-clash-protection -DTBB_USE_DEBUG -g -O0 -DUSE_PTHREAD -Wall -Wno-parentheses -Wno-non-virtual-dtor -O2 -g -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -fexceptions -fstack-protector-strong -grecord-gcc-switches -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -mcpu=power8 -mtune=power8 -funwind-tables -fstack-clash-protection -flifetime-dse=1 test_global_control_whitebox.o tbb_misc.o -lpthread -lrt -ldl -Wl,-rpath-link=. -rdynamic g++ -o test_concurrent_queue_whitebox.o -c -MMD -O2 -g -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -fexceptions -fstack-protector-strong -grecord-gcc-switches -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -mcpu=power8 -mtune=power8 -funwind-tables -fstack-clash-protection -DTBB_USE_DEBUG -g -O0 -DUSE_PTHREAD -Wall -Wno-parentheses -Wno-non-virtual-dtor -O2 -g -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -fexceptions -fstack-protector-strong -grecord-gcc-switches -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -mcpu=power8 -mtune=power8 -funwind-tables -fstack-clash-protection -flifetime-dse=1 -std=c++14 -I../../src -I../../src/rml/include -I../../include -I. -include ../../src/test/harness_preload.h ../../src/test/test_concurrent_queue_whitebox.cpp In file included from ../../src/test/test_concurrent_queue_whitebox.cpp:26: ../../src/test/../tbb/concurrent_queue.cpp: In constructor 'tbb::internal::concurrent_queue_base_v3::concurrent_queue_base_v3(std::size_t)': ../../src/test/../tbb/concurrent_queue.cpp:356:49: warning: 'void* memset(void*, int, size_t)' clearing an object of type 'class tbb::internal::concurrent_queue_rep' with no trivial copy-assignment; use value-initialization instead [-Wclass-memaccess] memset(my_rep,0,sizeof(concurrent_queue_rep)); ^ In file included from ../../src/test/test_concurrent_queue_whitebox.cpp:26: ../../src/test/../tbb/concurrent_queue.cpp:118:7: note: 'class tbb::internal::concurrent_queue_rep' declared here class concurrent_queue_rep { ^~~~~~~~~~~~~~~~~~~~ In file included from ../../include/tbb/concurrent_queue.h:24, from ../../src/test/test_concurrent_queue_whitebox.cpp:25: ../../include/tbb/internal/_concurrent_queue_impl.h: In instantiation of 'tbb::strict_ppl::internal::concurrent_queue_base_v3::concurrent_queue_base_v3() [with T = int]': ../../include/tbb/concurrent_queue.h:85:25: required from 'tbb::strict_ppl::concurrent_queue::concurrent_queue(const allocator_type&) [with T = int; A = tbb::cache_aligned_allocator; tbb::strict_ppl::concurrent_queue::allocator_type = tbb::cache_aligned_allocator]' ../../src/test/test_concurrent_queue_whitebox.cpp:78:34: required from 'void TestFlogger() [with T = int]' ../../src/test/test_concurrent_queue_whitebox.cpp:93:22: required from here ../../include/tbb/internal/_concurrent_queue_impl.h:517:11: warning: 'void* memset(void*, int, size_t)' clearing an object of type 'struct tbb::strict_ppl::internal::concurrent_queue_rep' with no trivial copy-assignment; use value-initialization instead [-Wclass-memaccess] memset(my_rep,0,sizeof(concurrent_queue_rep)); ~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ../../include/tbb/internal/_concurrent_queue_impl.h:405:8: note: 'struct tbb::strict_ppl::internal::concurrent_queue_rep' declared here struct concurrent_queue_rep : public concurrent_queue_rep_base { ^~~~~~~~~~~~~~~~~~~~ ../../include/tbb/internal/_concurrent_queue_impl.h: In instantiation of 'tbb::strict_ppl::internal::concurrent_queue_base_v3::concurrent_queue_base_v3() [with T = unsigned char]': ../../include/tbb/concurrent_queue.h:85:25: required from 'tbb::strict_ppl::concurrent_queue::concurrent_queue(const allocator_type&) [with T = unsigned char; A = tbb::cache_aligned_allocator; tbb::strict_ppl::concurrent_queue::allocator_type = tbb::cache_aligned_allocator]' ../../src/test/test_concurrent_queue_whitebox.cpp:78:34: required from 'void TestFlogger() [with T = unsigned char]' ../../src/test/test_concurrent_queue_whitebox.cpp:94:32: required from here ../../include/tbb/internal/_concurrent_queue_impl.h:517:11: warning: 'void* memset(void*, int, size_t)' clearing an object of type 'struct tbb::strict_ppl::internal::concurrent_queue_rep' with no trivial copy-assignment; use value-initialization instead [-Wclass-memaccess] memset(my_rep,0,sizeof(concurrent_queue_rep)); ~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ../../include/tbb/internal/_concurrent_queue_impl.h:405:8: note: 'struct tbb::strict_ppl::internal::concurrent_queue_rep' declared here struct concurrent_queue_rep : public concurrent_queue_rep_base { ^~~~~~~~~~~~~~~~~~~~ g++ -o test_concurrent_queue_whitebox.exe -O2 -g -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -fexceptions -fstack-protector-strong -grecord-gcc-switches -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -mcpu=power8 -mtune=power8 -funwind-tables -fstack-clash-protection -DTBB_USE_DEBUG -g -O0 -DUSE_PTHREAD -Wall -Wno-parentheses -Wno-non-virtual-dtor -O2 -g -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -fexceptions -fstack-protector-strong -grecord-gcc-switches -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -mcpu=power8 -mtune=power8 -funwind-tables -fstack-clash-protection -flifetime-dse=1 test_concurrent_queue_whitebox.o tbb_misc.o -lpthread -lrt -ldl -Wl,-rpath-link=. -rdynamic ./test_assembly.exe done ./test_global_control.exe TBB Warning: The number of workers is currently limited to 0. The request for 1 workers is ignored. Further requests for more workers will be silently ignored until the limit changes. done ./test_tbb_fork.exe done ./test_assembly_compiler_builtins.exe done ./test_aligned_space.exe done ./test_atomic.exe done ./test_atomic_pic.exe done ./test_atomic_compiler_builtins.exe done ./test_blocked_range.exe done ./test_blocked_range2d.exe done ./test_blocked_range3d.exe done ./test_concurrent_queue.exe done ./test_concurrent_vector.exe Warning: not much concurrency in TestConcurrentGrowBy (0 inversions) done ./test_concurrent_unordered_set.exe done ./test_concurrent_unordered_map.exe done ./test_concurrent_hash_map.exe done ./test_enumerable_thread_specific.exe done ./test_handle_perror.exe done ./test_halt.exe done ./test_mutex.exe done ./test_mutex_native_threads.exe done ./test_rwm_upgrade_downgrade.exe done ./test_cache_aligned_allocator.exe done ./test_cache_aligned_allocator_STL.exe done ./test_parallel_for.exe done ./test_parallel_reduce.exe done ./test_parallel_sort.exe done ./test_parallel_scan.exe done ./test_parallel_while.exe done ./test_parallel_do.exe done ./test_pipeline.exe done ./test_pipeline_with_tbf.exe done ./test_parallel_pipeline.exe done ./test_lambda.exe done ./test_task_scheduler_init.exe done ./test_task_scheduler_observer.exe done ./test_task.exe done ./test_tbb_thread.exe done ./test_std_thread.exe done ./test_tick_count.exe Warning: cross-thread tick_count difference = 0.000332893 > 0.0003 = tolerance Warning: cross-thread tick_count difference = 0.000334938 > 0.0003 = tolerance Warning: cross-thread tick_count difference = 0.000335061 > 0.0003 = tolerance Warning: cross-thread tick_count difference = 0.000334378 > 0.0003 = tolerance Warning: cross-thread tick_count difference = 0.000335997 > 0.0003 = tolerance Warning: cross-thread tick_count difference = 0.000334522 > 0.0003 = tolerance Warning: cross-thread tick_count difference = 0.000332651 > 0.0003 = tolerance done ./test_inits_loop.exe skip ./test_yield.exe done ./test_eh_tasks.exe done ./test_eh_algorithms.exe done ./test_eh_flow_graph.exe done ./test_parallel_invoke.exe done ./test_task_group.exe done ./test_ittnotify.exe skip ./test_parallel_for_each.exe done ./test_tbb_header.exe done ./test_combinable.exe done ./test_task_auto_init.exe done ./test_task_arena.exe Call stack info (100): ./test_task_arena.exe(_Z16print_call_stackv+0x7c)[0x1001c0ec] ./test_task_arena.exe(_Z11ReportErrorPKciS0_S0_+0x3c)[0x1001c2ac] ./libtbb_debug.so.2(_ZN3tbb17assertion_failureEPKciS1_S1_+0x3c)[0x7fff9f8f238c] ./libtbb_debug.so.2(+0x3ef40)[0x7fff9f90ef40] ./libtbb_debug.so.2(+0x3fe00)[0x7fff9f90fe00] ./test_task_arena.exe(_ZN3tbb15parallel_invokeIN21TestIsolatedExecuteNS16HeavyMixTestBodyES2_EEvRKT_RKT0_RNS_18task_group_contextE+0x108)[0x1002b0f8] ./test_task_arena.exe(_ZN3tbb15parallel_invokeIN21TestIsolatedExecuteNS16HeavyMixTestBodyES2_EEvRKT_RKT0_+0x64)[0x1002b1f4] ./test_task_arena.exe(_ZNK3tbb10interface78internal18delegated_functionIKN21TestIsolatedExecuteNS16HeavyMixTestBody12IsolatedBodyINS_20affinity_partitionerEEEvEclEv+0xdc)[0x1002b43c] ./libtbb_debug.so.2(_ZN3tbb10interface78internal20isolate_within_arenaERNS1_13delegate_baseEl+0x7c)[0x7fff9f8fddac] ./test_task_arena.exe(_ZNK21TestIsolatedExecuteNS16HeavyMixTestBody12RunNextLevelIN3tbb20affinity_partitionerEEEvRN7Harness10FastRandomERi+0x3bc)[0x1002bc2c] ./test_task_arena.exe(_ZNK21TestIsolatedExecuteNS16HeavyMixTestBodyclEv+0xd4)[0x1002be44] ./test_task_arena.exe(_ZN3tbb8internal16function_invokerIN21TestIsolatedExecuteNS16HeavyMixTestBodyEE7executeEv+0x1c)[0x1002beac] ./libtbb_debug.so.2(+0x3ec70)[0x7fff9f90ec70] ./libtbb_debug.so.2(+0x3fe00)[0x7fff9f90fe00] ./test_task_arena.exe(_ZN3tbb15parallel_invokeIN21TestIsolatedExecuteNS16HeavyMixTestBodyES2_EEvRKT_RKT0_RNS_18task_group_contextE+0x108)[0x1002b0f8] ./test_task_arena.exe(_ZN3tbb15parallel_invokeIN21TestIsolatedExecuteNS16HeavyMixTestBodyES2_EEvRKT_RKT0_+0x64)[0x1002b1f4] ./test_task_arena.exe(_ZNK21TestIsolatedExecuteNS16HeavyMixTestBody12RunNextLevelIN3tbb16auto_partitionerEEEvRN7Harness10FastRandomERi+0x38c)[0x1002b7ec] ./test_task_arena.exe(_ZNK21TestIsolatedExecuteNS16HeavyMixTestBodyclEv+0x9c)[0x1002be0c] ./test_task_arena.exe(_ZN3tbb10interface98internal9start_forINS_13blocked_rangeIiEENS_8internal17parallel_for_bodyIN21TestIsolatedExecuteNS16HeavyMixTestBodyEiEEKNS_16auto_partitionerEE7executeEv+0x2ec)[0x1003518c] ./libtbb_debug.so.2(+0x3ec70)[0x7fff9f90ec70] ./libtbb_debug.so.2(+0x37d30)[0x7fff9f907d30] ./libtbb_debug.so.2(+0x37e80)[0x7fff9f907e80] ./test_task_arena.exe[0x100248bc] ./test_task_arena.exe(_ZNK3tbb10interface78internal18delegated_functionIKN21TestIsolatedExecuteNS16HeavyMixTestBody12IsolatedBodyINS_16auto_partitionerEEEvEclEv+0x98)[0x1002b2f8] ./libtbb_debug.so.2(_ZN3tbb10interface78internal20isolate_within_arenaERNS1_13delegate_baseEl+0x7c)[0x7fff9f8fddac] ./test_task_arena.exe(_ZNK21TestIsolatedExecuteNS16HeavyMixTestBody12RunNextLevelIN3tbb16auto_partitionerEEEvRN7Harness10FastRandomERi+0x31c)[0x1002b77c] ./test_task_arena.exe(_ZNK21TestIsolatedExecuteNS16HeavyMixTestBodyclEv+0x9c)[0x1002be0c] ./test_task_arena.exe(_ZN3tbb10interface98internal9start_forINS_13blocked_rangeIiEENS_8internal17parallel_for_bodyIN21TestIsolatedExecuteNS16HeavyMixTestBodyEiEENS_20affinity_partitionerEE7executeEv+0x3ec)[0x10030d0c] ./libtbb_debug.so.2(+0x3ec70)[0x7fff9f90ec70] ./libtbb_debug.so.2(+0x37d30)[0x7fff9f907d30] ./libtbb_debug.so.2(+0x37e80)[0x7fff9f907e80] ./test_task_arena.exe(_ZNK21TestIsolatedExecuteNS16HeavyMixTestBody12RunNextLevelIN3tbb20affinity_partitionerEEEvRN7Harness10FastRandomERi+0x204)[0x1002ba74] ./test_task_arena.exe(_ZNK21TestIsolatedExecuteNS16HeavyMixTestBodyclEv+0xd4)[0x1002be44] ./test_task_arena.exe(_ZN3tbb10interface98internal9start_forINS_13blocked_rangeIiEENS_8internal17parallel_for_bodyIN21TestIsolatedExecuteNS16HeavyMixTestBodyEiEENS_20affinity_partitionerEE7executeEv+0x3ec)[0x10030d0c] ./libtbb_debug.so.2(+0x3ec70)[0x7fff9f90ec70] ./libtbb_debug.so.2(+0x3fe00)[0x7fff9f90fe00] ./test_task_arena.exe(_ZN3tbb15parallel_invokeIN21TestIsolatedExecuteNS16HeavyMixTestBodyES2_EEvRKT_RKT0_RNS_18task_group_contextE+0x108)[0x1002b0f8] ./test_task_arena.exe(_ZN3tbb15parallel_invokeIN21TestIsolatedExecuteNS16HeavyMixTestBodyES2_EEvRKT_RKT0_+0x64)[0x1002b1f4] ./test_task_arena.exe(_ZNK21TestIsolatedExecuteNS16HeavyMixTestBody12RunNextLevelIN3tbb16auto_partitionerEEEvRN7Harness10FastRandomERi+0x36c)[0x1002b7cc] ./test_task_arena.exe(_ZNK21TestIsolatedExecuteNS16HeavyMixTestBodyclEv+0x9c)[0x1002be0c] ./test_task_arena.exe(_ZN3tbb10interface98internal9start_forINS_13blocked_rangeIiEENS_8internal17parallel_for_bodyIN21TestIsolatedExecuteNS16HeavyMixTestBodyEiEENS_20affinity_partitionerEE7executeEv+0x3ec)[0x10030d0c] ./libtbb_debug.so.2(+0x3ec70)[0x7fff9f90ec70] ./libtbb_debug.so.2(+0x37d30)[0x7fff9f907d30] ./libtbb_debug.so.2(+0x37e80)[0x7fff9f907e80] ./test_task_arena.exe[0x10024e48] ./test_task_arena.exe(_ZNK3tbb10interface78internal18delegated_functionIKN21TestIsolatedExecuteNS16HeavyMixTestBody12IsolatedBodyINS_20affinity_partitionerEEEvEclEv+0x98)[0x1002b3f8] ./libtbb_debug.so.2(_ZN3tbb10interface78internal20isolate_within_arenaERNS1_13delegate_baseEl+0x7c)[0x7fff9f8fddac] ./test_task_arena.exe(_ZNK21TestIsolatedExecuteNS16HeavyMixTestBody12RunNextLevelIN3tbb20affinity_partitionerEEEvRN7Harness10FastRandomERi+0x3bc)[0x1002bc2c] ./test_task_arena.exe(_ZNK21TestIsolatedExecuteNS16HeavyMixTestBodyclEv+0xd4)[0x1002be44] ./test_task_arena.exe(_ZN3tbb8internal16function_invokerIN21TestIsolatedExecuteNS16HeavyMixTestBodyEE7executeEv+0x1c)[0x1002beac] ./libtbb_debug.so.2(+0x3ec70)[0x7fff9f90ec70] ./libtbb_debug.so.2(+0x37d30)[0x7fff9f907d30] ./libtbb_debug.so.2(+0x37e80)[0x7fff9f907e80] ./test_task_arena.exe(_ZNK21TestIsolatedExecuteNS16HeavyMixTestBody12RunNextLevelIN3tbb16auto_partitionerEEEvRN7Harness10FastRandomERi+0x19c)[0x1002b5fc] ./test_task_arena.exe(_ZNK21TestIsolatedExecuteNS16HeavyMixTestBodyclEv+0x9c)[0x1002be0c] ./test_task_arena.exe(_ZN3tbb8internal16function_invokerIN21TestIsolatedExecuteNS16HeavyMixTestBodyEE7executeEv+0x1c)[0x1002beac] ./libtbb_debug.so.2(+0x3ec70)[0x7fff9f90ec70] ./libtbb_debug.so.2(+0x3fe00)[0x7fff9f90fe00] ./test_task_arena.exe(_ZN3tbb15parallel_invokeIN21TestIsolatedExecuteNS16HeavyMixTestBodyES2_EEvRKT_RKT0_RNS_18task_group_contextE+0x108)[0x1002b0f8] ./test_task_arena.exe(_ZN3tbb15parallel_invokeIN21TestIsolatedExecuteNS16HeavyMixTestBodyES2_EEvRKT_RKT0_+0x64)[0x1002b1f4] ./test_task_arena.exe(_ZNK21TestIsolatedExecuteNS16HeavyMixTestBody12RunNextLevelIN3tbb20affinity_partitionerEEEvRN7Harness10FastRandomERi+0x420)[0x1002bc90] ./test_task_arena.exe(_ZNK21TestIsolatedExecuteNS16HeavyMixTestBodyclEv+0xd4)[0x1002be44] ./test_task_arena.exe(_ZN3tbb8internal16function_invokerIN21TestIsolatedExecuteNS16HeavyMixTestBodyEE7executeEv+0x1c)[0x1002beac] ./libtbb_debug.so.2(+0x3ec70)[0x7fff9f90ec70] ./libtbb_debug.so.2(+0x3fe00)[0x7fff9f90fe00] ./test_task_arena.exe(_ZN3tbb15parallel_invokeIN21TestIsolatedExecuteNS16HeavyMixTestBodyES2_EEvRKT_RKT0_RNS_18task_group_contextE+0x108)[0x1002b0f8] ./test_task_arena.exe(_ZN3tbb15parallel_invokeIN21TestIsolatedExecuteNS16HeavyMixTestBodyES2_EEvRKT_RKT0_+0x64)[0x1002b1f4] ./test_task_arena.exe(_ZNK21TestIsolatedExecuteNS16HeavyMixTestBody12RunNextLevelIN3tbb20affinity_partitionerEEEvRN7Harness10FastRandomERi+0x420)[0x1002bc90] ./test_task_arena.exe(_ZNK21TestIsolatedExecuteNS16HeavyMixTestBodyclEv+0xd4)[0x1002be44] ./test_task_arena.exe(_ZN3tbb10interface98internal9start_forINS_13blocked_rangeIiEENS_8internal17parallel_for_bodyIN21TestIsolatedExecuteNS16HeavyMixTestBodyEiEEKNS_16auto_partitionerEE7executeEv+0x2ec)[0x1003518c] ./libtbb_debug.so.2(+0x3ec70)[0x7fff9f90ec70] ./libtbb_debug.so.2(+0x37d30)[0x7fff9f907d30] ./libtbb_debug.so.2(+0x37e80)[0x7fff9f907e80] ./test_task_arena.exe(_ZNK21TestIsolatedExecuteNS16HeavyMixTestBody12RunNextLevelIN3tbb16auto_partitionerEEEvRN7Harness10FastRandomERi+0x2c4)[0x1002b724] ./test_task_arena.exe(_ZNK21TestIsolatedExecuteNS16HeavyMixTestBodyclEv+0x9c)[0x1002be0c] ./test_task_arena.exe(_ZN3tbb8internal16function_invokerIN21TestIsolatedExecuteNS16HeavyMixTestBodyEE7executeEv+0x1c)[0x1002beac] ./libtbb_debug.so.2(+0x3ec70)[0x7fff9f90ec70] ./libtbb_debug.so.2(+0x3fe00)[0x7fff9f90fe00] ./test_task_arena.exe(_ZN3tbb15parallel_invokeIN21TestIsolatedExecuteNS16HeavyMixTestBodyES2_EEvRKT_RKT0_RNS_18task_group_contextE+0x108)[0x1002b0f8] ./test_task_arena.exe(_ZN3tbb15parallel_invokeIN21TestIsolatedExecuteNS16HeavyMixTestBodyES2_EEvRKT_RKT0_+0x64)[0x1002b1f4] ./test_task_arena.exe(_ZNK3tbb10interface78internal18delegated_functionIKN21TestIsolatedExecuteNS16HeavyMixTestBody12IsolatedBodyINS_16auto_partitionerEEEvEclEv+0xdc)[0x1002b33c] ./libtbb_debug.so.2(_ZN3tbb10interface78internal20isolate_within_arenaERNS1_13delegate_baseEl+0x7c)[0x7fff9f8fddac] ./test_task_arena.exe(_ZNK21TestIsolatedExecuteNS16HeavyMixTestBody12RunNextLevelIN3tbb16auto_partitionerEEEvRN7Harness10FastRandomERi+0x31c)[0x1002b77c] ./test_task_arena.exe(_ZNK21TestIsolatedExecuteNS16HeavyMixTestBodyclEv+0x9c)[0x1002be0c] ./test_task_arena.exe(_ZN3tbb8internal16function_invokerIN21TestIsolatedExecuteNS16HeavyMixTestBodyEE7executeEv+0x1c)[0x1002beac] ./libtbb_debug.so.2(+0x3ec70)[0x7fff9f90ec70] ./libtbb_debug.so.2(+0x3fe00)[0x7fff9f90fe00] ./test_task_arena.exe(_ZN3tbb15parallel_invokeIN21TestIsolatedExecuteNS16HeavyMixTestBodyES2_EEvRKT_RKT0_RNS_18task_group_contextE+0x108)[0x1002b0f8] ./test_task_arena.exe(_ZN3tbb15parallel_invokeIN21TestIsolatedExecuteNS16HeavyMixTestBodyES2_EEvRKT_RKT0_+0x64)[0x1002b1f4] ./test_task_arena.exe(_ZNK21TestIsolatedExecuteNS16HeavyMixTestBody12RunNextLevelIN3tbb16auto_partitionerEEEvRN7Harness10FastRandomERi+0x38c)[0x1002b7ec] ./test_task_arena.exe(_ZNK21TestIsolatedExecuteNS16HeavyMixTestBodyclEv+0x9c)[0x1002be0c] ./test_task_arena.exe(_ZN3tbb8internal16function_invokerIN21TestIsolatedExecuteNS16HeavyMixTestBodyEE7executeEv+0x1c)[0x1002beac] ./libtbb_debug.so.2(+0x3ec70)[0x7fff9f90ec70] ./libtbb_debug.so.2(+0x3fe00)[0x7fff9f90fe00] ./test_task_arena.exe(_ZN3tbb15parallel_invokeIN21TestIsolatedExecuteNS16HeavyMixTestBodyES2_EEvRKT_RKT0_RNS_18task_group_contextE+0x108)[0x1002b0f8] ./test_task_arena.exe(_ZN3tbb15parallel_invokeIN21TestIsolatedExecuteNS16HeavyMixTestBodyES2_EEvRKT_RKT0_+0x64)[0x1002b1f4] ./test_task_arena.exe(_ZNK21TestIsolatedExecuteNS16HeavyMixTestBody12RunNextLevelIN3tbb16auto_partitionerEEEvRN7Harness10FastRandomERi+0x36c)[0x1002b7cc] ./test_task_arena.exe(_ZNK21TestIsolatedExecuteNS16HeavyMixTestBodyclEv+0x9c)[0x1002be0c] ./test_task_arena.exe(_ZN3tbb8internal16function_invokerIN21TestIsolatedExecuteNS16HeavyMixTestBodyEE7executeEv+0x1c)[0x1002beac] ./libtbb_debug.so.2(+0x3ec70)[0x7fff9f90ec70] ../../src/tbb/custom_scheduler.h:563, assertion false: task is in READY state upon return from method execute() g++ -o test_openmp.o -c -MMD -O2 -g -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -fexceptions -fstack-protector-strong -grecord-gcc-switches -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -mcpu=power8 -mtune=power8 -funwind-tables -fstack-clash-protection -DTBB_USE_DEBUG -g -O0 -DUSE_PTHREAD -DTEST_USES_TBB=1 -Wall -Wshadow -Wcast-qual -Woverloaded-virtual -Wnon-virtual-dtor -Wextra -O2 -g -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -fexceptions -fstack-protector-strong -grecord-gcc-switches -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -mcpu=power8 -mtune=power8 -funwind-tables -fstack-clash-protection -fopenmp -std=c++14 -I../../src -I../../src/rml/include -I../../include -I. -include ../../src/test/harness_preload.h ../../src/test/test_openmp.cpp make[1]: *** [../../build/Makefile.test:270: test_tbb_plain] Aborted In file included from ../../include/tbb/tbb_machine.h:243, from ../../include/tbb/task.h:25, from ../../include/tbb/parallel_for.h:25, from ../../src/test/test_openmp.cpp:105: ../../include/tbb/machine/mac_ppc.h: In function 'int32_t __TBB_machine_cmpswp4(volatile void*, int32_t, int32_t)': ../../include/tbb/machine/mac_ppc.h:91:46: warning: cast from type 'volatile void*' to type 'int32_t*' {aka 'int*'} casts away qualifiers [-Wcast-qual] , "+m"(* (int32_t*) ptr) /* redundant with "memory" */ ^~~ ../../include/tbb/machine/mac_ppc.h: In function 'int64_t __TBB_machine_cmpswp8(volatile void*, int64_t, int64_t)': ../../include/tbb/machine/mac_ppc.h:116:46: warning: cast from type 'volatile void*' to type 'int64_t*' {aka 'long int*'} casts away qualifiers [-Wcast-qual] , "+m"(* (int64_t*) ptr) /* redundant with "memory" */ ^~~ g++ -o test_openmp.exe -O2 -g -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -fexceptions -fstack-protector-strong -grecord-gcc-switches -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -mcpu=power8 -mtune=power8 -funwind-tables -fstack-clash-protection -DTBB_USE_DEBUG -g -O0 -DUSE_PTHREAD -DTEST_USES_TBB=1 -Wall -Wshadow -Wcast-qual -Woverloaded-virtual -Wnon-virtual-dtor -Wextra -O2 -g -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -fexceptions -fstack-protector-strong -grecord-gcc-switches -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -mcpu=power8 -mtune=power8 -funwind-tables -fstack-clash-protection -fopenmp test_openmp.o libtbb_debug.so -lpthread -lrt -Wl,-rpath-link=. -rdynamic ./test_openmp.exe 1:4 done Intel(R) Cilk(TM) Plus is not available g++ -o test_concurrent_vector_v2.o -c -MMD -D__TBB_TEST_DEPRECATED=1 -O2 -g -pipe -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -fexceptions -fstack-protector-strong -grecord-gcc-switches -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -mcpu=power8 -mtune=power8 -funwind-tables -fstack-clash-protection -DTBB_USE_DEBUG -g -O0 -DUSE_PTHREAD -DTEST_USES_TBB=1 -O2 -g -pipe -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -fexceptions -fstack-protector-strong -grecord-gcc-switches -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -mcpu=power8 -mtune=power8 -funwind-tables -fstack-clash-protection -Wno-parentheses -Wno-non-virtual-dtor -I../../src/test -std=c++14 -I../../src -I../../src/rml/include -I../../include -I. -include ../../src/test/harness_preload.h ../../src/old/test_concurrent_vector_v2.cpp cc1plus: error: -Wformat-security ignored without -Wformat [-Werror=format-security] cc1plus: some warnings being treated as errors g++ -o test_concurrent_queue_v2.o -c -MMD -D__TBB_TEST_DEPRECATED=1 -O2 -g -pipe -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -fexceptions -fstack-protector-strong -grecord-gcc-switches -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -mcpu=power8 -mtune=power8 -funwind-tables -fstack-clash-protection -DTBB_USE_DEBUG -g -O0 -DUSE_PTHREAD -DTEST_USES_TBB=1 -O2 -g -pipe -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -fexceptions -fstack-protector-strong -grecord-gcc-switches -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -mcpu=power8 -mtune=power8 -funwind-tables -fstack-clash-protection -Wno-parentheses -Wno-non-virtual-dtor -I../../src/test -std=c++14 -I../../src -I../../src/rml/include -I../../include -I. -include ../../src/test/harness_preload.h ../../src/old/test_concurrent_queue_v2.cpp make[1]: *** [../../build/common_rules.inc:86: test_concurrent_vector_v2.o] Error 1 cc1plus: error: -Wformat-security ignored without -Wformat [-Werror=format-security] cc1plus: some warnings being treated as errors g++ -o test_mutex_v2.o -c -MMD -D__TBB_TEST_DEPRECATED=1 -O2 -g -pipe -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -fexceptions -fstack-protector-strong -grecord-gcc-switches -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -mcpu=power8 -mtune=power8 -funwind-tables -fstack-clash-protection -DTBB_USE_DEBUG -g -O0 -DUSE_PTHREAD -DTEST_USES_TBB=1 -O2 -g -pipe -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -fexceptions -fstack-protector-strong -grecord-gcc-switches -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -mcpu=power8 -mtune=power8 -funwind-tables -fstack-clash-protection -Wno-parentheses -Wno-non-virtual-dtor -I../../src/test -std=c++14 -I../../src -I../../src/rml/include -I../../include -I. -include ../../src/test/harness_preload.h ../../src/old/test_mutex_v2.cpp make[1]: *** [../../build/common_rules.inc:86: test_concurrent_queue_v2.o] Error 1 cc1plus: error: -Wformat-security ignored without -Wformat [-Werror=format-security] cc1plus: some warnings being treated as errors g++ -o test_task_scheduler_observer_v3.o -c -MMD -D__TBB_TEST_DEPRECATED=1 -O2 -g -pipe -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -fexceptions -fstack-protector-strong -grecord-gcc-switches -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -mcpu=power8 -mtune=power8 -funwind-tables -fstack-clash-protection -DTBB_USE_DEBUG -g -O0 -DUSE_PTHREAD -DTEST_USES_TBB=1 -O2 -g -pipe -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -fexceptions -fstack-protector-strong -grecord-gcc-switches -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -mcpu=power8 -mtune=power8 -funwind-tables -fstack-clash-protection -Wno-parentheses -Wno-non-virtual-dtor -I../../src/test -std=c++14 -I../../src -I../../src/rml/include -I../../include -I. -include ../../src/test/harness_preload.h ../../src/old/test_task_scheduler_observer_v3.cpp make[1]: *** [../../build/common_rules.inc:86: test_mutex_v2.o] Error 1 cc1plus: error: -Wformat-security ignored without -Wformat [-Werror=format-security] cc1plus: some warnings being treated as errors make[1]: Leaving directory '/builddir/build/BUILD/tbb-2018_U2/build/obj_debug' make[1]: *** [../../build/common_rules.inc:86: test_task_scheduler_observer_v3.o] Error 1 make[1]: Target 'default' not remade because of errors. make: [Makefile:45: test] Error 2 (ignored) make -C "./build/obj_release" -r -f ../../build/Makefile.tbbmalloc cfg=release malloc_test make[1]: Entering directory '/builddir/build/BUILD/tbb-2018_U2/build/obj_release' g++ -o test_ScalableAllocator.o -c -MMD -O2 -g -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -fexceptions -fstack-protector-strong -grecord-gcc-switches -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -mcpu=power8 -mtune=power8 -funwind-tables -fstack-clash-protection -g -O2 -DUSE_PTHREAD -Wall -O2 -g -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -fexceptions -fstack-protector-strong -grecord-gcc-switches -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -mcpu=power8 -mtune=power8 -funwind-tables -fstack-clash-protection -Wshadow -Wcast-qual -Woverloaded-virtual -Wnon-virtual-dtor -Wextra -std=c++14 -I../../src -I../../src/rml/include -I../../include -include ../../src/test/harness_preload.h ../../src/test/test_ScalableAllocator.cpp In file included from ../../include/tbb/tbb_machine.h:243, from ../../include/tbb/atomic.h:32, from ../../src/test/harness_allocator.h:43, from ../../src/test/test_ScalableAllocator.cpp:36: ../../include/tbb/machine/mac_ppc.h: In function 'int32_t __TBB_machine_cmpswp4(volatile void*, int32_t, int32_t)': ../../include/tbb/machine/mac_ppc.h:91:46: warning: cast from type 'volatile void*' to type 'int32_t*' {aka 'int*'} casts away qualifiers [-Wcast-qual] , "+m"(* (int32_t*) ptr) /* redundant with "memory" */ ^~~ ../../include/tbb/machine/mac_ppc.h: In function 'int64_t __TBB_machine_cmpswp8(volatile void*, int64_t, int64_t)': ../../include/tbb/machine/mac_ppc.h:116:46: warning: cast from type 'volatile void*' to type 'int64_t*' {aka 'long int*'} casts away qualifiers [-Wcast-qual] , "+m"(* (int64_t*) ptr) /* redundant with "memory" */ ^~~ ../../src/test/test_ScalableAllocator.cpp: In function 'void TestSmallFixedSizePool()': ../../src/test/test_ScalableAllocator.cpp:128:23: warning: catching polymorphic type 'class std::invalid_argument' by value [-Wcatch-value=] } catch (std::invalid_argument) { ^~~~~~~~~~~~~~~~ ../../src/test/test_ScalableAllocator.cpp:159:19: warning: catching polymorphic type 'class std::invalid_argument' by value [-Wcatch-value=] } catch (std::invalid_argument) { ^~~~~~~~~~~~~~~~ In file included from ../../src/test/test_ScalableAllocator.cpp:35: ../../src/test/test_allocator.h: In instantiation of 'void TestBasic(A&) [with T = Foo; A = tbb::scalable_allocator >]': ../../src/test/test_allocator.h:256:17: required from 'void Test(A&) [with U = Foo; A = tbb::scalable_allocator >]' ../../src/test/test_allocator.h:272:23: required from 'int TestMain(const Allocator&) [with Allocator = tbb::scalable_allocator]' ../../src/test/test_ScalableAllocator.cpp:176:59: required from here ../../src/test/test_allocator.h:174:7: warning: catching polymorphic type 'class std::bad_alloc' by value [-Wcatch-value=] } catch ( std::bad_alloc ) { ^~~~~ ../../src/test/test_allocator.h: In instantiation of 'void TestBasic(A&) [with T = Foo; A = tbb::scalable_allocator >]': ../../src/test/test_allocator.h:257:38: required from 'void Test(A&) [with U = Foo; A = tbb::scalable_allocator >]' ../../src/test/test_allocator.h:272:23: required from 'int TestMain(const Allocator&) [with Allocator = tbb::scalable_allocator]' ../../src/test/test_ScalableAllocator.cpp:176:59: required from here ../../src/test/test_allocator.h:174:7: warning: catching polymorphic type 'class std::bad_alloc' by value [-Wcatch-value=] ../../src/test/test_allocator.h: In instantiation of 'void TestBasic(A&) [with T = Foo; A = tbb::scalable_allocator >]': ../../src/test/test_allocator.h:256:17: required from 'void Test(A&) [with U = Foo; A = tbb::scalable_allocator >]' ../../src/test/test_allocator.h:273:25: required from 'int TestMain(const Allocator&) [with Allocator = tbb::scalable_allocator]' ../../src/test/test_ScalableAllocator.cpp:176:59: required from here ../../src/test/test_allocator.h:174:7: warning: catching polymorphic type 'class std::bad_alloc' by value [-Wcatch-value=] ../../src/test/test_allocator.h: In instantiation of 'void TestBasic(A&) [with T = Foo; A = tbb::scalable_allocator >]': ../../src/test/test_allocator.h:257:38: required from 'void Test(A&) [with U = Foo; A = tbb::scalable_allocator >]' ../../src/test/test_allocator.h:273:25: required from 'int TestMain(const Allocator&) [with Allocator = tbb::scalable_allocator]' ../../src/test/test_ScalableAllocator.cpp:176:59: required from here ../../src/test/test_allocator.h:174:7: warning: catching polymorphic type 'class std::bad_alloc' by value [-Wcatch-value=] ../../src/test/test_allocator.h: In instantiation of 'void TestBasic(A&) [with T = Foo; A = tbb::interface6::memory_pool_allocator, tbb::interface6::internal::pool_base>]': ../../src/test/test_allocator.h:256:17: required from 'void Test(A&) [with U = Foo; A = tbb::interface6::memory_pool_allocator, tbb::interface6::internal::pool_base>]' ../../src/test/test_allocator.h:272:23: required from 'int TestMain(const Allocator&) [with Allocator = tbb::interface6::memory_pool_allocator]' ../../src/test/test_ScalableAllocator.cpp:179:67: required from here ../../src/test/test_allocator.h:174:7: warning: catching polymorphic type 'class std::bad_alloc' by value [-Wcatch-value=] ../../src/test/test_allocator.h: In instantiation of 'void TestBasic(A&) [with T = Foo; A = tbb::interface6::memory_pool_allocator, tbb::interface6::internal::pool_base>]': ../../src/test/test_allocator.h:257:38: required from 'void Test(A&) [with U = Foo; A = tbb::interface6::memory_pool_allocator, tbb::interface6::internal::pool_base>]' ../../src/test/test_allocator.h:272:23: required from 'int TestMain(const Allocator&) [with Allocator = tbb::interface6::memory_pool_allocator]' ../../src/test/test_ScalableAllocator.cpp:179:67: required from here ../../src/test/test_allocator.h:174:7: warning: catching polymorphic type 'class std::bad_alloc' by value [-Wcatch-value=] ../../src/test/test_allocator.h: In instantiation of 'void TestBasic(A&) [with T = Foo; A = tbb::interface6::memory_pool_allocator, tbb::interface6::internal::pool_base>]': ../../src/test/test_allocator.h:256:17: required from 'void Test(A&) [with U = Foo; A = tbb::interface6::memory_pool_allocator, tbb::interface6::internal::pool_base>]' ../../src/test/test_allocator.h:273:25: required from 'int TestMain(const Allocator&) [with Allocator = tbb::interface6::memory_pool_allocator]' ../../src/test/test_ScalableAllocator.cpp:179:67: required from here ../../src/test/test_allocator.h:174:7: warning: catching polymorphic type 'class std::bad_alloc' by value [-Wcatch-value=] ../../src/test/test_allocator.h: In instantiation of 'void TestBasic(A&) [with T = Foo; A = tbb::interface6::memory_pool_allocator, tbb::interface6::internal::pool_base>]': ../../src/test/test_allocator.h:257:38: required from 'void Test(A&) [with U = Foo; A = tbb::interface6::memory_pool_allocator, tbb::interface6::internal::pool_base>]' ../../src/test/test_allocator.h:273:25: required from 'int TestMain(const Allocator&) [with Allocator = tbb::interface6::memory_pool_allocator]' ../../src/test/test_ScalableAllocator.cpp:179:67: required from here ../../src/test/test_allocator.h:174:7: warning: catching polymorphic type 'class std::bad_alloc' by value [-Wcatch-value=] ../../src/test/test_allocator.h: In instantiation of 'void TestBasic(A&) [with T = Foo; A = static_counting_allocator, tbb::interface6::internal::pool_base>, tbb::atomic >]': ../../src/test/test_allocator.h:256:17: required from 'void Test(A&) [with U = Foo; A = static_counting_allocator, tbb::interface6::internal::pool_base>, tbb::atomic >]' ../../src/test/test_allocator.h:272:23: required from 'int TestMain(const Allocator&) [with Allocator = static_counting_allocator >]' ../../src/test/test_ScalableAllocator.cpp:183:33: required from here ../../src/test/test_allocator.h:174:7: warning: catching polymorphic type 'class std::bad_alloc' by value [-Wcatch-value=] ../../src/test/test_allocator.h: In instantiation of 'void TestBasic(A&) [with T = Foo; A = static_counting_allocator, tbb::interface6::internal::pool_base>, tbb::atomic >]': ../../src/test/test_allocator.h:257:38: required from 'void Test(A&) [with U = Foo; A = static_counting_allocator, tbb::interface6::internal::pool_base>, tbb::atomic >]' ../../src/test/test_allocator.h:272:23: required from 'int TestMain(const Allocator&) [with Allocator = static_counting_allocator >]' ../../src/test/test_ScalableAllocator.cpp:183:33: required from here ../../src/test/test_allocator.h:174:7: warning: catching polymorphic type 'class std::bad_alloc' by value [-Wcatch-value=] ../../src/test/test_allocator.h: In instantiation of 'void TestBasic(A&) [with T = Foo; A = static_counting_allocator, tbb::interface6::internal::pool_base>, tbb::atomic >]': ../../src/test/test_allocator.h:256:17: required from 'void Test(A&) [with U = Foo; A = static_counting_allocator, tbb::interface6::internal::pool_base>, tbb::atomic >]' ../../src/test/test_allocator.h:273:25: required from 'int TestMain(const Allocator&) [with Allocator = static_counting_allocator >]' ../../src/test/test_ScalableAllocator.cpp:183:33: required from here ../../src/test/test_allocator.h:174:7: warning: catching polymorphic type 'class std::bad_alloc' by value [-Wcatch-value=] ../../src/test/test_allocator.h: In instantiation of 'void TestBasic(A&) [with T = Foo; A = static_counting_allocator, tbb::interface6::internal::pool_base>, tbb::atomic >]': ../../src/test/test_allocator.h:257:38: required from 'void Test(A&) [with U = Foo; A = static_counting_allocator, tbb::interface6::internal::pool_base>, tbb::atomic >]' ../../src/test/test_allocator.h:273:25: required from 'int TestMain(const Allocator&) [with Allocator = static_counting_allocator >]' ../../src/test/test_ScalableAllocator.cpp:183:33: required from here ../../src/test/test_allocator.h:174:7: warning: catching polymorphic type 'class std::bad_alloc' by value [-Wcatch-value=] g++ -o test_ScalableAllocator.exe -O2 -g -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -fexceptions -fstack-protector-strong -grecord-gcc-switches -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -mcpu=power8 -mtune=power8 -funwind-tables -fstack-clash-protection -g -O2 -DUSE_PTHREAD -Wall -O2 -g -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -fexceptions -fstack-protector-strong -grecord-gcc-switches -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -mcpu=power8 -mtune=power8 -funwind-tables -fstack-clash-protection -Wshadow -Wcast-qual -Woverloaded-virtual -Wnon-virtual-dtor -Wextra test_ScalableAllocator.o libtbbmalloc.so -lpthread -lrt -Wl,-rpath-link=. -rdynamic g++ -o test_ScalableAllocator_STL.o -c -MMD -O2 -g -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -fexceptions -fstack-protector-strong -grecord-gcc-switches -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -mcpu=power8 -mtune=power8 -funwind-tables -fstack-clash-protection -g -O2 -DUSE_PTHREAD -Wall -O2 -g -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -fexceptions -fstack-protector-strong -grecord-gcc-switches -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -mcpu=power8 -mtune=power8 -funwind-tables -fstack-clash-protection -Wshadow -Wcast-qual -Woverloaded-virtual -Wnon-virtual-dtor -Wextra -std=c++14 -I../../src -I../../src/rml/include -I../../include -include ../../src/test/harness_preload.h ../../src/test/test_ScalableAllocator_STL.cpp g++ -o test_ScalableAllocator_STL.exe -O2 -g -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -fexceptions -fstack-protector-strong -grecord-gcc-switches -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -mcpu=power8 -mtune=power8 -funwind-tables -fstack-clash-protection -g -O2 -DUSE_PTHREAD -Wall -O2 -g -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -fexceptions -fstack-protector-strong -grecord-gcc-switches -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -mcpu=power8 -mtune=power8 -funwind-tables -fstack-clash-protection -Wshadow -Wcast-qual -Woverloaded-virtual -Wnon-virtual-dtor -Wextra test_ScalableAllocator_STL.o libtbbmalloc.so -lpthread -lrt -Wl,-rpath-link=. -rdynamic g++ -o test_malloc_compliance.o -c -MMD -O2 -g -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -fexceptions -fstack-protector-strong -grecord-gcc-switches -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -mcpu=power8 -mtune=power8 -funwind-tables -fstack-clash-protection -g -O2 -DUSE_PTHREAD -Wall -O2 -g -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -fexceptions -fstack-protector-strong -grecord-gcc-switches -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -mcpu=power8 -mtune=power8 -funwind-tables -fstack-clash-protection -Wshadow -Wcast-qual -Woverloaded-virtual -Wnon-virtual-dtor -Wextra -std=c++14 -I../../src -I../../src/rml/include -I../../include -include ../../src/test/harness_preload.h ../../src/test/test_malloc_compliance.cpp In file included from ../../include/tbb/tbb_machine.h:243, from ../../include/tbb/atomic.h:32, from ../../src/test/harness_barrier.h:21, from ../../src/test/test_malloc_compliance.cpp:118: ../../include/tbb/machine/mac_ppc.h: In function 'int32_t __TBB_machine_cmpswp4(volatile void*, int32_t, int32_t)': ../../include/tbb/machine/mac_ppc.h:91:46: warning: cast from type 'volatile void*' to type 'int32_t*' {aka 'int*'} casts away qualifiers [-Wcast-qual] , "+m"(* (int32_t*) ptr) /* redundant with "memory" */ ^~~ ../../include/tbb/machine/mac_ppc.h: In function 'int64_t __TBB_machine_cmpswp8(volatile void*, int64_t, int64_t)': ../../include/tbb/machine/mac_ppc.h:116:46: warning: cast from type 'volatile void*' to type 'int64_t*' {aka 'long int*'} casts away qualifiers [-Wcast-qual] , "+m"(* (int64_t*) ptr) /* redundant with "memory" */ ^~~ g++ -o test_malloc_compliance.exe -O2 -g -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -fexceptions -fstack-protector-strong -grecord-gcc-switches -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -mcpu=power8 -mtune=power8 -funwind-tables -fstack-clash-protection -g -O2 -DUSE_PTHREAD -Wall -O2 -g -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -fexceptions -fstack-protector-strong -grecord-gcc-switches -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -mcpu=power8 -mtune=power8 -funwind-tables -fstack-clash-protection -Wshadow -Wcast-qual -Woverloaded-virtual -Wnon-virtual-dtor -Wextra test_malloc_compliance.o libtbbmalloc.so -lpthread -lrt -Wl,-rpath-link=. -rdynamic g++ -o test_malloc_regression.o -c -MMD -O2 -g -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -fexceptions -fstack-protector-strong -grecord-gcc-switches -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -mcpu=power8 -mtune=power8 -funwind-tables -fstack-clash-protection -g -O2 -DUSE_PTHREAD -Wall -O2 -g -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -fexceptions -fstack-protector-strong -grecord-gcc-switches -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -mcpu=power8 -mtune=power8 -funwind-tables -fstack-clash-protection -Wshadow -Wcast-qual -Woverloaded-virtual -Wnon-virtual-dtor -Wextra -std=c++14 -I../../src -I../../src/rml/include -I../../include -include ../../src/test/harness_preload.h ../../src/test/test_malloc_regression.cpp g++ -o test_malloc_regression.exe -O2 -g -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -fexceptions -fstack-protector-strong -grecord-gcc-switches -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -mcpu=power8 -mtune=power8 -funwind-tables -fstack-clash-protection -g -O2 -DUSE_PTHREAD -Wall -O2 -g -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -fexceptions -fstack-protector-strong -grecord-gcc-switches -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -mcpu=power8 -mtune=power8 -funwind-tables -fstack-clash-protection -Wshadow -Wcast-qual -Woverloaded-virtual -Wnon-virtual-dtor -Wextra test_malloc_regression.o libtbbmalloc.so -lpthread -lrt -Wl,-rpath-link=. -rdynamic g++ -o test_malloc_init_shutdown.o -c -MMD -O2 -g -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -fexceptions -fstack-protector-strong -grecord-gcc-switches -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -mcpu=power8 -mtune=power8 -funwind-tables -fstack-clash-protection -g -O2 -DUSE_PTHREAD -Wall -O2 -g -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -fexceptions -fstack-protector-strong -grecord-gcc-switches -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -mcpu=power8 -mtune=power8 -funwind-tables -fstack-clash-protection -Wshadow -Wcast-qual -Woverloaded-virtual -Wnon-virtual-dtor -Wextra -std=c++14 -I../../src -I../../src/rml/include -I../../include -include ../../src/test/harness_preload.h ../../src/test/test_malloc_init_shutdown.cpp In file included from ../../include/tbb/tbb_machine.h:243, from ../../include/tbb/atomic.h:32, from ../../src/test/test_malloc_init_shutdown.cpp:22: ../../include/tbb/machine/mac_ppc.h: In function 'int32_t __TBB_machine_cmpswp4(volatile void*, int32_t, int32_t)': ../../include/tbb/machine/mac_ppc.h:91:46: warning: cast from type 'volatile void*' to type 'int32_t*' {aka 'int*'} casts away qualifiers [-Wcast-qual] , "+m"(* (int32_t*) ptr) /* redundant with "memory" */ ^~~ ../../include/tbb/machine/mac_ppc.h: In function 'int64_t __TBB_machine_cmpswp8(volatile void*, int64_t, int64_t)': ../../include/tbb/machine/mac_ppc.h:116:46: warning: cast from type 'volatile void*' to type 'int64_t*' {aka 'long int*'} casts away qualifiers [-Wcast-qual] , "+m"(* (int64_t*) ptr) /* redundant with "memory" */ ^~~ g++ -o test_malloc_init_shutdown.exe -O2 -g -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -fexceptions -fstack-protector-strong -grecord-gcc-switches -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -mcpu=power8 -mtune=power8 -funwind-tables -fstack-clash-protection -g -O2 -DUSE_PTHREAD -Wall -O2 -g -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -fexceptions -fstack-protector-strong -grecord-gcc-switches -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -mcpu=power8 -mtune=power8 -funwind-tables -fstack-clash-protection -Wshadow -Wcast-qual -Woverloaded-virtual -Wnon-virtual-dtor -Wextra test_malloc_init_shutdown.o libtbbmalloc.so -lpthread -lrt -Wl,-rpath-link=. -rdynamic g++ -o test_malloc_pools.o -c -MMD -O2 -g -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -fexceptions -fstack-protector-strong -grecord-gcc-switches -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -mcpu=power8 -mtune=power8 -funwind-tables -fstack-clash-protection -g -O2 -DUSE_PTHREAD -Wall -O2 -g -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -fexceptions -fstack-protector-strong -grecord-gcc-switches -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -mcpu=power8 -mtune=power8 -funwind-tables -fstack-clash-protection -Wshadow -Wcast-qual -Woverloaded-virtual -Wnon-virtual-dtor -Wextra -std=c++14 -I../../src -I../../src/rml/include -I../../include -include ../../src/test/harness_preload.h ../../src/test/test_malloc_pools.cpp In file included from ../../include/tbb/tbb_machine.h:243, from ../../include/tbb/atomic.h:32, from ../../src/test/test_malloc_pools.cpp:22: ../../include/tbb/machine/mac_ppc.h: In function 'int32_t __TBB_machine_cmpswp4(volatile void*, int32_t, int32_t)': ../../include/tbb/machine/mac_ppc.h:91:46: warning: cast from type 'volatile void*' to type 'int32_t*' {aka 'int*'} casts away qualifiers [-Wcast-qual] , "+m"(* (int32_t*) ptr) /* redundant with "memory" */ ^~~ ../../include/tbb/machine/mac_ppc.h: In function 'int64_t __TBB_machine_cmpswp8(volatile void*, int64_t, int64_t)': ../../include/tbb/machine/mac_ppc.h:116:46: warning: cast from type 'volatile void*' to type 'int64_t*' {aka 'long int*'} casts away qualifiers [-Wcast-qual] , "+m"(* (int64_t*) ptr) /* redundant with "memory" */ ^~~ g++ -o test_malloc_pools.exe -O2 -g -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -fexceptions -fstack-protector-strong -grecord-gcc-switches -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -mcpu=power8 -mtune=power8 -funwind-tables -fstack-clash-protection -g -O2 -DUSE_PTHREAD -Wall -O2 -g -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -fexceptions -fstack-protector-strong -grecord-gcc-switches -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -mcpu=power8 -mtune=power8 -funwind-tables -fstack-clash-protection -Wshadow -Wcast-qual -Woverloaded-virtual -Wnon-virtual-dtor -Wextra test_malloc_pools.o libtbbmalloc.so -lpthread -lrt -Wl,-rpath-link=. -rdynamic gcc -c -MMD -o test_malloc_pure_c.o -O2 -g -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -fexceptions -fstack-protector-strong -grecord-gcc-switches -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -mcpu=power8 -mtune=power8 -funwind-tables -fstack-clash-protection -g -O2 -DUSE_PTHREAD -Wall -O2 -g -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -fexceptions -fstack-protector-strong -grecord-gcc-switches -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -mcpu=power8 -mtune=power8 -funwind-tables -fstack-clash-protection -Wshadow -Wcast-qual -Woverloaded-virtual -Wnon-virtual-dtor -Wextra -I../../src -I../../src/rml/include -I../../include -include ../../src/test/harness_preload.h ../../src/test/test_malloc_pure_c.c cc1: warning: command line option '-Woverloaded-virtual' is valid for C++/ObjC++ but not for C cc1: warning: command line option '-Wnon-virtual-dtor' is valid for C++/ObjC++ but not for C g++ -o test_malloc_pure_c.exe -O2 -g -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -fexceptions -fstack-protector-strong -grecord-gcc-switches -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -mcpu=power8 -mtune=power8 -funwind-tables -fstack-clash-protection -g -O2 -DUSE_PTHREAD -Wall -O2 -g -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -fexceptions -fstack-protector-strong -grecord-gcc-switches -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -mcpu=power8 -mtune=power8 -funwind-tables -fstack-clash-protection -Wshadow -Wcast-qual -Woverloaded-virtual -Wnon-virtual-dtor -Wextra test_malloc_pure_c.o libtbbmalloc.so -lpthread -lrt -Wl,-rpath-link=. -rdynamic g++ -o test_malloc_whitebox.o -c -MMD -O2 -g -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -fexceptions -fstack-protector-strong -grecord-gcc-switches -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -mcpu=power8 -mtune=power8 -funwind-tables -fstack-clash-protection -fno-strict-aliasing -D__TBBMALLOC_BUILD=1 -Wshadow -Wcast-qual -Woverloaded-virtual -Wnon-virtual-dtor -Wextra -std=c++14 -I../../src -I../../src/rml/include -I../../include -I../../src/tbbmalloc -I../../src/tbbmalloc -include ../../src/test/harness_preload.h -I. ../../src/test/test_malloc_whitebox.cpp In file included from ../../include/tbb/tbb_machine.h:243, from ../../include/tbb/atomic.h:32, from ../../src/test/harness_barrier.h:21, from ../../src/test/test_malloc_whitebox.cpp:32: ../../include/tbb/machine/mac_ppc.h: In function 'int32_t __TBB_machine_cmpswp4(volatile void*, int32_t, int32_t)': ../../include/tbb/machine/mac_ppc.h:91:46: warning: cast from type 'volatile void*' to type 'int32_t*' {aka 'int*'} casts away qualifiers [-Wcast-qual] , "+m"(* (int32_t*) ptr) /* redundant with "memory" */ ^~~ ../../include/tbb/machine/mac_ppc.h: In function 'int64_t __TBB_machine_cmpswp8(volatile void*, int64_t, int64_t)': ../../include/tbb/machine/mac_ppc.h:116:46: warning: cast from type 'volatile void*' to type 'int64_t*' {aka 'long int*'} casts away qualifiers [-Wcast-qual] , "+m"(* (int64_t*) ptr) /* redundant with "memory" */ ^~~ In file included from ../../src/test/test_malloc_whitebox.cpp:52: ../../src/test/../tbbmalloc/frontend.cpp: In constructor 'rml::internal::LifoList::LifoList()': ../../src/test/../tbbmalloc/frontend.cpp:909:41: warning: 'void* memset(void*, int, size_t)' clearing an object of type 'class MallocMutex' with no trivial copy-assignment; use value-initialization instead [-Wclass-memaccess] memset(&lock, 0, sizeof(MallocMutex)); ^ In file included from ../../src/test/../tbbmalloc/TypeDefinitions.h:58, from ../../src/test/../tbbmalloc/tbbmalloc_internal.h:25, from ../../src/test/../tbbmalloc/frontend.cpp:22, from ../../src/test/test_malloc_whitebox.cpp:52: ../../src/test/../tbbmalloc/Customize.h:58:7: note: 'class MallocMutex' declared here class MallocMutex : tbb::internal::no_copy { ^~~~~~~~~~~ In file included from ../../src/test/test_malloc_whitebox.cpp:52: ../../src/test/../tbbmalloc/frontend.cpp: In member function 'bool rml::internal::ExtMemoryPool::init(intptr_t, rml::rawAllocType, rml::rawFreeType, size_t, bool, bool)': ../../src/test/../tbbmalloc/frontend.cpp:1050:60: warning: declaration of 'fixedPool' shadows a member of 'rml::internal::ExtMemoryPool' [-Wshadow] bool keepAllMemory, bool fixedPool) ^ In file included from ../../src/test/../tbbmalloc/frontend.cpp:22, from ../../src/test/test_malloc_whitebox.cpp:52: ../../src/test/../tbbmalloc/tbbmalloc_internal.h:904:23: note: shadowed declaration is here fixedPool; ^~~~~~~~~ In file included from ../../src/test/test_malloc_whitebox.cpp:52: ../../src/test/../tbbmalloc/frontend.cpp:1050:60: warning: declaration of 'keepAllMemory' shadows a member of 'rml::internal::ExtMemoryPool' [-Wshadow] bool keepAllMemory, bool fixedPool) ^ In file included from ../../src/test/../tbbmalloc/frontend.cpp:22, from ../../src/test/test_malloc_whitebox.cpp:52: ../../src/test/../tbbmalloc/tbbmalloc_internal.h:901:23: note: shadowed declaration is here bool keepAllMemory, ^~~~~~~~~~~~~ In file included from ../../src/test/test_malloc_whitebox.cpp:52: ../../src/test/../tbbmalloc/frontend.cpp:1050:60: warning: declaration of 'granularity' shadows a member of 'rml::internal::ExtMemoryPool' [-Wshadow] bool keepAllMemory, bool fixedPool) ^ In file included from ../../src/test/../tbbmalloc/frontend.cpp:22, from ../../src/test/test_malloc_whitebox.cpp:52: ../../src/test/../tbbmalloc/tbbmalloc_internal.h:900:23: note: shadowed declaration is here size_t granularity; ^~~~~~~~~~~ In file included from ../../src/test/test_malloc_whitebox.cpp:52: ../../src/test/../tbbmalloc/frontend.cpp:1050:60: warning: declaration of 'rawFree' shadows a member of 'rml::internal::ExtMemoryPool' [-Wshadow] bool keepAllMemory, bool fixedPool) ^ In file included from ../../src/test/../tbbmalloc/frontend.cpp:22, from ../../src/test/test_malloc_whitebox.cpp:52: ../../src/test/../tbbmalloc/tbbmalloc_internal.h:899:23: note: shadowed declaration is here rawFreeType rawFree; ^~~~~~~ In file included from ../../src/test/test_malloc_whitebox.cpp:52: ../../src/test/../tbbmalloc/frontend.cpp:1050:60: warning: declaration of 'rawAlloc' shadows a member of 'rml::internal::ExtMemoryPool' [-Wshadow] bool keepAllMemory, bool fixedPool) ^ In file included from ../../src/test/../tbbmalloc/frontend.cpp:22, from ../../src/test/test_malloc_whitebox.cpp:52: ../../src/test/../tbbmalloc/tbbmalloc_internal.h:898:23: note: shadowed declaration is here rawAllocType rawAlloc; ^~~~~~~~ In file included from ../../src/test/test_malloc_whitebox.cpp:52: ../../src/test/../tbbmalloc/frontend.cpp:1050:60: warning: declaration of 'poolId' shadows a member of 'rml::internal::ExtMemoryPool' [-Wshadow] bool keepAllMemory, bool fixedPool) ^ In file included from ../../src/test/../tbbmalloc/frontend.cpp:22, from ../../src/test/test_malloc_whitebox.cpp:52: ../../src/test/../tbbmalloc/tbbmalloc_internal.h:893:23: note: shadowed declaration is here intptr_t poolId; ^~~~~~ In file included from ../../src/test/test_malloc_whitebox.cpp:52: ../../src/test/../tbbmalloc/frontend.cpp: In member function 'void rml::internal::Block::shareOrphaned(intptr_t, unsigned int)': ../../src/test/../tbbmalloc/frontend.cpp:1439:53: warning: unused parameter 'index' [-Wunused-parameter] void Block::shareOrphaned(intptr_t binTag, unsigned index) ~~~~~~~~~^~~~~ ../../src/test/../tbbmalloc/frontend.cpp: In member function 'rml::internal::FreeObject* rml::internal::Block::findObjectToFree(const void*) const': ../../src/test/../tbbmalloc/frontend.cpp:1676:37: warning: cast from type 'const void*' to type 'rml::internal::FreeObject*' casts away qualifiers [-Wcast-qual] objectToFree = (FreeObject*)object; ^~~~~~ ../../src/test/../tbbmalloc/frontend.cpp:1683:41: warning: cast from type 'const void*' to type 'rml::internal::FreeObject*' casts away qualifiers [-Wcast-qual] objectToFree = (FreeObject*)object; ^~~~~~ ../../src/test/../tbbmalloc/frontend.cpp: In function 'rml::MemPoolError rml::pool_create_v1(intptr_t, const rml::MemPoolPolicy*, rml::MemoryPool**)': ../../src/test/../tbbmalloc/frontend.cpp:2671:57: warning: 'void* memset(void*, int, size_t)' clearing an object of type 'class rml::internal::MemoryPool' with no trivial copy-assignment [-Wclass-memaccess] memset(memPool, 0, sizeof(rml::internal::MemoryPool)); ^ ../../src/test/../tbbmalloc/frontend.cpp:264:7: note: 'class rml::internal::MemoryPool' declared here class MemoryPool { ^~~~~~~~~~ In file included from ../../src/test/../tbbmalloc/backend.cpp:41, from ../../src/test/test_malloc_whitebox.cpp:58: ../../src/test/../tbbmalloc/MapMemory.h: In function 'void* rml::internal::MapMemory(size_t, bool)': ../../src/test/../tbbmalloc/MapMemory.h:61:46: warning: declaration of 'hugePages' shadows a global declaration [-Wshadow] void* MapMemory (size_t bytes, bool hugePages) ^ In file included from ../../src/test/test_malloc_whitebox.cpp:52: ../../src/test/../tbbmalloc/frontend.cpp:304:17: note: shadowed declaration is here HugePagesStatus hugePages; ^~~~~~~~~ In file included from ../../src/test/test_malloc_whitebox.cpp:58: ../../src/test/../tbbmalloc/backend.cpp: In function 'void* rml::internal::getRawMemory(size_t, bool)': ../../src/test/../tbbmalloc/backend.cpp:46:48: warning: declaration of 'hugePages' shadows a global declaration [-Wshadow] void* getRawMemory (size_t size, bool hugePages) { ^ In file included from ../../src/test/test_malloc_whitebox.cpp:52: ../../src/test/../tbbmalloc/frontend.cpp:304:17: note: shadowed declaration is here HugePagesStatus hugePages; ^~~~~~~~~ In file included from ../../src/test/test_malloc_whitebox.cpp:58: ../../src/test/../tbbmalloc/backend.cpp: In member function 'void rml::internal::CoalRequestQ::blockWasProcessed()': ../../src/test/../tbbmalloc/backend.cpp:413:9: warning: unused variable 'prev' [-Wunused-variable] int prev = AtomicAdd(inFlyBlocks, -1); ^~~~ ../../src/test/../tbbmalloc/backend.cpp: In member function 'void* rml::internal::Backend::remap(void*, size_t, size_t, size_t)': ../../src/test/../tbbmalloc/backend.cpp:1020:41: warning: cast from type 'const rml::internal::LargeMemoryBlock*' to type 'rml::internal::FreeBlock*' casts away qualifiers [-Wcast-qual] FreeBlock *oldFBlock = (FreeBlock *)lmbOld; ^~~~~~ In file included from ../../src/test/test_malloc_whitebox.cpp:59: ../../src/test/../tbbmalloc/backref.cpp: In constructor 'rml::internal::BackRefBlock::BackRefBlock(const rml::internal::BackRefBlock*, intptr_t)': ../../src/test/../tbbmalloc/backref.cpp:49:51: warning: 'void* memset(void*, int, size_t)' clearing an object of type 'class MallocMutex' with no trivial copy-assignment; use value-initialization instead [-Wclass-memaccess] memset(&blockMutex, 0, sizeof(MallocMutex)); ^ In file included from ../../src/test/../tbbmalloc/TypeDefinitions.h:58, from ../../src/test/../tbbmalloc/tbbmalloc_internal.h:25, from ../../src/test/../tbbmalloc/frontend.cpp:22, from ../../src/test/test_malloc_whitebox.cpp:52: ../../src/test/../tbbmalloc/Customize.h:58:7: note: 'class MallocMutex' declared here class MallocMutex : tbb::internal::no_copy { ^~~~~~~~~~~ In file included from ../../src/test/test_malloc_whitebox.cpp:59: ../../src/test/../tbbmalloc/backref.cpp: In member function 'void rml::internal::BackRefBlock::zeroSet()': ../../src/test/../tbbmalloc/backref.cpp:55:80: warning: 'void* memset(void*, int, size_t)' clearing an object of type 'struct rml::internal::BackRefBlock' with no trivial copy-assignment [-Wclass-memaccess] void zeroSet() { memset(this+1, 0, BackRefBlock::bytes-sizeof(BackRefBlock)); } ^ ../../src/test/../tbbmalloc/backref.cpp:32:8: note: 'struct rml::internal::BackRefBlock' declared here struct BackRefBlock : public BlockI { ^~~~~~~~~~~~ ../../src/test/../tbbmalloc/backref.cpp: In function 'bool rml::internal::initBackRefMaster(rml::internal::Backend*)': ../../src/test/../tbbmalloc/backref.cpp:112:65: warning: 'void* memset(void*, int, size_t)' clearing an object of type 'class MallocMutex' with no trivial copy-assignment; use value-initialization instead [-Wclass-memaccess] memset(&master->requestNewSpaceMutex, 0, sizeof(MallocMutex)); ^ In file included from ../../src/test/../tbbmalloc/TypeDefinitions.h:58, from ../../src/test/../tbbmalloc/tbbmalloc_internal.h:25, from ../../src/test/../tbbmalloc/frontend.cpp:22, from ../../src/test/test_malloc_whitebox.cpp:52: ../../src/test/../tbbmalloc/Customize.h:58:7: note: 'class MallocMutex' declared here class MallocMutex : tbb::internal::no_copy { ^~~~~~~~~~~ In file included from ../../src/test/test_malloc_whitebox.cpp:59: ../../src/test/../tbbmalloc/backref.cpp: In member function 'bool rml::internal::BackRefMaster::requestNewSpace()': ../../src/test/../tbbmalloc/backref.cpp:162:10: warning: declaration of 'rawMemUsed' shadows a member of 'rml::internal::BackRefMaster' [-Wshadow] bool rawMemUsed; ^~~~~~~~~~ ../../src/test/../tbbmalloc/backref.cpp:84:20: note: shadowed declaration is here bool rawMemUsed; ^~~~~~~~~~ In file included from ../../src/test/test_malloc_whitebox.cpp:65: ../../src/test/../tbbmalloc/large_objects.cpp: In constructor 'rml::internal::CacheBinFunctor::OperationPreprocessor::OperationPreprocessor(typename rml::internal::LargeObjectCacheImpl::CacheBin*)': ../../src/test/../tbbmalloc/large_objects.cpp:84:84: warning: declaration of 'bin' shadows a member of 'rml::internal::CacheBinFunctor::OperationPreprocessor' [-Wshadow] OperationPreprocessor(typename LargeObjectCacheImpl::CacheBin *bin) : ^ ../../src/test/../tbbmalloc/large_objects.cpp:51:64: note: shadowed declaration is here typename LargeObjectCacheImpl::CacheBin *const bin; ^~~ ../../src/test/../tbbmalloc/large_objects.cpp: In constructor 'rml::internal::CacheBinFunctor::CacheBinFunctor(typename rml::internal::LargeObjectCacheImpl::CacheBin*, rml::internal::ExtMemoryPool*, typename rml::internal::LargeObjectCacheImpl::BinBitMask*, int)': ../../src/test/../tbbmalloc/large_objects.cpp:95:89: warning: declaration of 'idx' shadows a member of 'rml::internal::CacheBinFunctor' [-Wshadow] typename LargeObjectCacheImpl::BinBitMask *bitMask, int idx) : ^ ../../src/test/../tbbmalloc/large_objects.cpp:36:15: note: shadowed declaration is here const int idx; ^~~ ../../src/test/../tbbmalloc/large_objects.cpp:95:89: warning: declaration of 'bitMask' shadows a member of 'rml::internal::CacheBinFunctor' [-Wshadow] typename LargeObjectCacheImpl::BinBitMask *bitMask, int idx) : ^ ../../src/test/../tbbmalloc/large_objects.cpp:35:61: note: shadowed declaration is here typename LargeObjectCacheImpl::BinBitMask *const bitMask; ^~~~~~~ ../../src/test/../tbbmalloc/large_objects.cpp:95:89: warning: declaration of 'extMemPool' shadows a member of 'rml::internal::CacheBinFunctor' [-Wshadow] typename LargeObjectCacheImpl::BinBitMask *bitMask, int idx) : ^ ../../src/test/../tbbmalloc/large_objects.cpp:34:26: note: shadowed declaration is here ExtMemoryPool *const extMemPool; ^~~~~~~~~~ ../../src/test/../tbbmalloc/large_objects.cpp:95:89: warning: declaration of 'bin' shadows a member of 'rml::internal::CacheBinFunctor' [-Wshadow] typename LargeObjectCacheImpl::BinBitMask *bitMask, int idx) : ^ ../../src/test/../tbbmalloc/large_objects.cpp:33:59: note: shadowed declaration is here typename LargeObjectCacheImpl::CacheBin *const bin; ^~~ ../../src/test/../tbbmalloc/large_objects.cpp: In function 'bool rml::internal::lessThanWithOverflow(intptr_t, intptr_t)': ../../src/test/../tbbmalloc/large_objects.cpp:199:29: warning: comparison of integer expressions of different signedness: 'intptr_t' {aka 'long int'} and 'long unsigned int' [-Wsign-compare] return (a < b && (b - a < UINTPTR_MAX/2)) || ~~~~~~^~~~~~~~~~~~~~~ ../../src/test/../tbbmalloc/large_objects.cpp:200:29: warning: comparison of integer expressions of different signedness: 'intptr_t' {aka 'long int'} and 'long unsigned int' [-Wsign-compare] (a > b && (a - b > UINTPTR_MAX/2)); ~~~~~~^~~~~~~~~~~~~~~ ../../src/test/../tbbmalloc/large_objects.cpp: In member function 'bool rml::internal::CacheBinFunctor::OperationPreprocessor::getFromPutList(rml::internal::CacheBinOperation*, uintptr_t)': ../../src/test/../tbbmalloc/large_objects.cpp:219:87: warning: declaration of 'opGet' shadows a member of 'rml::internal::CacheBinFunctor::OperationPreprocessor' [-Wshadow] OperationPreprocessor::getFromPutList(CacheBinOperation *opGet, uintptr_t currTime) ^ ../../src/test/../tbbmalloc/large_objects.cpp:60:28: note: shadowed declaration is here CacheBinOperation *opGet, *opClean; ^~~~~ ../../src/test/../tbbmalloc/large_objects.cpp: In member function 'void rml::internal::CacheBinFunctor::OperationPreprocessor::operator()(rml::internal::CacheBinOperation*)': ../../src/test/../tbbmalloc/large_objects.cpp:276:35: warning: declaration of 'head' shadows a member of 'rml::internal::CacheBinFunctor::OperationPreprocessor' [-Wshadow] LargeMemoryBlock *head = opCast(*op).head; ^~~~ ../../src/test/../tbbmalloc/large_objects.cpp:72:27: note: shadowed declaration is here LargeMemoryBlock *head, *tail; ^~~~ ../../src/test/../tbbmalloc/large_objects.cpp:297:35: warning: declaration of 'tail' shadows a member of 'rml::internal::CacheBinFunctor::OperationPreprocessor' [-Wshadow] LargeMemoryBlock *tail = prev; ^~~~ ../../src/test/../tbbmalloc/large_objects.cpp:72:34: note: shadowed declaration is here LargeMemoryBlock *head, *tail; ^~~~ ../../src/test/test_malloc_whitebox.cpp: In constructor 'StressLOCacheWork::StressLOCacheWork(rml::MemoryPool*)': ../../src/test/test_malloc_whitebox.cpp:399:52: warning: declaration of 'mallocPool' shadows a member of 'StressLOCacheWork' [-Wshadow] StressLOCacheWork(rml::MemoryPool *mallocPool) : mallocPool(mallocPool) {} ^ ../../src/test/test_malloc_whitebox.cpp:397:22: note: shadowed declaration is here rml::MemoryPool *mallocPool; ^~~~~~~~~~ In file included from ../../src/test/harness.h:187, from ../../src/test/test_malloc_whitebox.cpp:31: ../../src/test/test_malloc_whitebox.cpp: In member function 'void TestCollapsingMallocFree::check()': ../../src/test/test_malloc_whitebox.cpp:1054:53: warning: comparison of integer expressions of different signedness: 'size_t' {aka 'long unsigned int'} and 'int' [-Wsign-compare] ASSERT( tbbmalloc_whitebox::locGetProcessed < num_threads*NUM_ALLOCS, "No one Malloc/Free pair was collapsed." ); ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~ ../../src/test/harness_assert.h:33:47: note: in definition of macro 'ASSERT_CUSTOM' #define ASSERT_CUSTOM(p,message,file,line) ((p)?(void)0:ReportError(file,line,#p,message)) ^ ../../src/test/test_malloc_whitebox.cpp:1054:9: note: in expansion of macro 'ASSERT' ASSERT( tbbmalloc_whitebox::locGetProcessed < num_threads*NUM_ALLOCS, "No one Malloc/Free pair was collapsed." ); ^~~~~~ ../../src/test/test_malloc_whitebox.cpp: In member function 'void TestCollapsingBootstrap::CheckNumAllocs::operator()() const': ../../src/test/test_malloc_whitebox.cpp:1064:57: warning: comparison of integer expressions of different signedness: 'size_t' {aka 'long unsigned int'} and 'int' [-Wsign-compare] ASSERT( tbbmalloc_whitebox::locGetProcessed == num_threads*NUM_ALLOCS, ASSERT_TEXT ); ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~ ../../src/test/harness_assert.h:33:47: note: in definition of macro 'ASSERT_CUSTOM' #define ASSERT_CUSTOM(p,message,file,line) ((p)?(void)0:ReportError(file,line,#p,message)) ^ ../../src/test/test_malloc_whitebox.cpp:1064:13: note: in expansion of macro 'ASSERT' ASSERT( tbbmalloc_whitebox::locGetProcessed == num_threads*NUM_ALLOCS, ASSERT_TEXT ); ^~~~~~ ../../src/test/test_malloc_whitebox.cpp: In member function 'void TestCollapsingBootstrap::check()': ../../src/test/test_malloc_whitebox.cpp:1093:53: warning: comparison of integer expressions of different signedness: 'size_t' {aka 'long unsigned int'} and 'int' [-Wsign-compare] ASSERT( tbbmalloc_whitebox::locGetProcessed == num_threads*NUM_ALLOCS, ASSERT_TEXT ); ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~ ../../src/test/harness_assert.h:33:47: note: in definition of macro 'ASSERT_CUSTOM' #define ASSERT_CUSTOM(p,message,file,line) ((p)?(void)0:ReportError(file,line,#p,message)) ^ ../../src/test/test_malloc_whitebox.cpp:1093:9: note: in expansion of macro 'ASSERT' ASSERT( tbbmalloc_whitebox::locGetProcessed == num_threads*NUM_ALLOCS, ASSERT_TEXT ); ^~~~~~ ../../src/test/test_malloc_whitebox.cpp: In function 'void TestSlabAlignment()': ../../src/test/test_malloc_whitebox.cpp:1133:30: warning: declaration of 'ptrs' shadows a global declaration [-Wshadow] void *ptrs[space / min_sz]; // the worst case is min_sz byte object ^ ../../src/test/test_malloc_whitebox.cpp:784:7: note: shadowed declaration is here void *ptrs[num_allocs]; ^~~~ ../../src/test/test_malloc_whitebox.cpp:1136:27: warning: comparison of integer expressions of different signedness: 'int' and 'size_t' {aka 'long unsigned int'} [-Wsign-compare] for (int i = 0; i < space/sz; i++) { ~~^~~~~~~~~~ ../../src/test/test_malloc_whitebox.cpp:1138:20: warning: unused variable 'block' [-Wunused-variable] Block *block = (Block *)alignDown(ptrs[i], slabSize); ^~~~~ ../../src/test/test_malloc_whitebox.cpp:1144:27: warning: comparison of integer expressions of different signedness: 'int' and 'size_t' {aka 'long unsigned int'} [-Wsign-compare] for (int i = 0; i < space/sz; i++) ~~^~~~~~~~~~ In file included from ../../src/test/../tbbmalloc/frontend.cpp:22, from ../../src/test/test_malloc_whitebox.cpp:52: ../../src/test/../tbbmalloc/tbbmalloc_internal.h: In instantiation of 'void rml::internal::LargeObjectCacheImpl::CacheBin::init() [with Props = rml::internal::LargeObjectCacheProps<8192, 8388608, 8192, 2, 2, 16>]': ../../src/test/../tbbmalloc/tbbmalloc_internal.h:415:13: required from 'void rml::internal::LargeObjectCacheImpl::reset() [with Props = rml::internal::LargeObjectCacheProps<8192, 8388608, 8192, 2, 2, 16>]' ../../src/test/../tbbmalloc/tbbmalloc_internal.h:475:26: required from here ../../src/test/../tbbmalloc/tbbmalloc_internal.h:351:29: warning: 'void* memset(void*, int, size_t)' clearing an object of type 'class rml::internal::LargeObjectCacheImpl >::CacheBin' with no trivial copy-assignment; use assignment or value-initialization instead [-Wclass-memaccess] void init() { memset(this, 0, sizeof(CacheBin)); } ~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~ In file included from ../../src/test/../tbbmalloc/frontend.cpp:22, from ../../src/test/test_malloc_whitebox.cpp:52: ../../src/test/../tbbmalloc/tbbmalloc_internal.h:322:11: note: 'class rml::internal::LargeObjectCacheImpl >::CacheBin' declared here class CacheBin { ^~~~~~~~ In file included from ../../src/test/../tbbmalloc/frontend.cpp:22, from ../../src/test/test_malloc_whitebox.cpp:52: ../../src/test/../tbbmalloc/tbbmalloc_internal.h: In instantiation of 'void rml::internal::LargeObjectCacheImpl::CacheBin::init() [with Props = rml::internal::LargeObjectCacheProps<8388608, 135266304, 524288, 1, 1, 4>]': ../../src/test/../tbbmalloc/tbbmalloc_internal.h:415:13: required from 'void rml::internal::LargeObjectCacheImpl::reset() [with Props = rml::internal::LargeObjectCacheProps<8388608, 135266304, 524288, 1, 1, 4>]' ../../src/test/../tbbmalloc/tbbmalloc_internal.h:476:25: required from here ../../src/test/../tbbmalloc/tbbmalloc_internal.h:351:29: warning: 'void* memset(void*, int, size_t)' clearing an object of type 'class rml::internal::LargeObjectCacheImpl >::CacheBin' with no trivial copy-assignment; use assignment or value-initialization instead [-Wclass-memaccess] void init() { memset(this, 0, sizeof(CacheBin)); } ~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~ In file included from ../../src/test/../tbbmalloc/frontend.cpp:22, from ../../src/test/test_malloc_whitebox.cpp:52: ../../src/test/../tbbmalloc/tbbmalloc_internal.h:322:11: note: 'class rml::internal::LargeObjectCacheImpl >::CacheBin' declared here class CacheBin { ^~~~~~~~ In file included from ../../src/test/test_malloc_whitebox.cpp:65: ../../src/test/../tbbmalloc/large_objects.cpp: In instantiation of 'rml::internal::LargeMemoryBlock* rml::internal::LargeObjectCacheImpl::CacheBin::get(rml::internal::ExtMemoryPool*, size_t, rml::internal::LargeObjectCacheImpl::BinBitMask*, int) [with Props = rml::internal::LargeObjectCacheProps<8192, 8388608, 8192, 2, 2, 16>; size_t = long unsigned int; rml::internal::LargeObjectCacheImpl::BinBitMask = rml::internal::BitMaskMax<1023>]': ../../src/test/../tbbmalloc/large_objects.cpp:773:23: required from 'rml::internal::LargeMemoryBlock* rml::internal::LargeObjectCacheImpl::get(rml::internal::ExtMemoryPool*, size_t) [with Props = rml::internal::LargeObjectCacheProps<8192, 8388608, 8192, 2, 2, 16>; size_t = long unsigned int]' ../../src/test/../tbbmalloc/large_objects.cpp:897:44: required from here ../../src/test/../tbbmalloc/large_objects.cpp:432:11: warning: missing initializer for member 'rml::internal::OpGet::currTime' [-Wmissing-field-initializers] OpGet data = {&lmb, size}; ^~~~ ../../src/test/../tbbmalloc/large_objects.cpp: In instantiation of 'rml::internal::LargeMemoryBlock* rml::internal::LargeObjectCacheImpl::CacheBin::get(rml::internal::ExtMemoryPool*, size_t, rml::internal::LargeObjectCacheImpl::BinBitMask*, int) [with Props = rml::internal::LargeObjectCacheProps<8388608, 135266304, 524288, 1, 1, 4>; size_t = long unsigned int; rml::internal::LargeObjectCacheImpl::BinBitMask = rml::internal::BitMaskMax<242>]': ../../src/test/../tbbmalloc/large_objects.cpp:773:23: required from 'rml::internal::LargeMemoryBlock* rml::internal::LargeObjectCacheImpl::get(rml::internal::ExtMemoryPool*, size_t) [with Props = rml::internal::LargeObjectCacheProps<8388608, 135266304, 524288, 1, 1, 4>; size_t = long unsigned int]' ../../src/test/../tbbmalloc/large_objects.cpp:897:78: required from here ../../src/test/../tbbmalloc/large_objects.cpp:432:11: warning: missing initializer for member 'rml::internal::OpGet::currTime' [-Wmissing-field-initializers] ../../src/test/test_malloc_whitebox.cpp: In instantiation of 'void CacheBinModel::get() [with Props = rml::internal::LargeObjectCacheProps<8192, 8388608, 8192, 2, 2, 16>]': ../../src/test/test_malloc_whitebox.cpp:973:30: required from 'void LOCModelTester() [with Scenarion = TestBootstrap]' ../../src/test/test_malloc_whitebox.cpp:1111:35: required from here ../../src/test/test_malloc_whitebox.cpp:884:63: warning: comparison of integer expressions of different signedness: 'const uintptr_t' {aka 'const long unsigned int'} and 'intptr_t' {aka 'long int'} [-Wsign-compare] if ( ( cacheBinModel.ageThreshold && sinceLastGet > Props::LongWaitFactor*cacheBinModel.ageThreshold ) || ~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ In file included from ../../src/test/test_malloc_whitebox.cpp:65: ../../src/test/../tbbmalloc/large_objects.cpp: In instantiation of 'rml::internal::CacheBinFunctor::CacheBinFunctor(typename rml::internal::LargeObjectCacheImpl::CacheBin*, rml::internal::ExtMemoryPool*, typename rml::internal::LargeObjectCacheImpl::BinBitMask*, int) [with Props = rml::internal::LargeObjectCacheProps<8192, 8388608, 8192, 2, 2, 16>; typename rml::internal::LargeObjectCacheImpl::CacheBin = rml::internal::LargeObjectCacheImpl >::CacheBin; typename rml::internal::LargeObjectCacheImpl::BinBitMask = rml::internal::BitMaskMax<1023>]': ../../src/test/../tbbmalloc/large_objects.cpp:418:28: required from 'void rml::internal::LargeObjectCacheImpl::CacheBin::ExecuteOperation(rml::internal::CacheBinOperation*, rml::internal::ExtMemoryPool*, rml::internal::LargeObjectCacheImpl::BinBitMask*, int, bool) [with Props = rml::internal::LargeObjectCacheProps<8192, 8388608, 8192, 2, 2, 16>; rml::internal::LargeObjectCacheImpl::BinBitMask = rml::internal::BitMaskMax<1023>]' ../../src/test/../tbbmalloc/large_objects.cpp:458:9: required from 'bool rml::internal::LargeObjectCacheImpl::CacheBin::cleanToThreshold(rml::internal::ExtMemoryPool*, rml::internal::LargeObjectCacheImpl::BinBitMask*, uintptr_t, int) [with Props = rml::internal::LargeObjectCacheProps<8192, 8388608, 8192, 2, 2, 16>; rml::internal::LargeObjectCacheImpl::BinBitMask = rml::internal::BitMaskMax<1023>; uintptr_t = long unsigned int]' ../../src/test/../tbbmalloc/large_objects.cpp:683:9: required from 'bool rml::internal::LargeObjectCacheImpl::regularCleanup(rml::internal::ExtMemoryPool*, uintptr_t, bool) [with Props = rml::internal::LargeObjectCacheProps<8192, 8388608, 8192, 2, 2, 16>; uintptr_t = long unsigned int]' ../../src/test/../tbbmalloc/large_objects.cpp:748:72: required from here ../../src/test/../tbbmalloc/large_objects.cpp:94:5: warning: declaration of 'idx' shadows a member of 'rml::internal::CacheBinFunctor >' [-Wshadow] CacheBinFunctor(typename LargeObjectCacheImpl::CacheBin *bin, ExtMemoryPool *extMemPool, ^~~~~~~~~~~~~~~ ../../src/test/../tbbmalloc/large_objects.cpp:36:15: note: shadowed declaration is here const int idx; ^~~ ../../src/test/../tbbmalloc/large_objects.cpp:94:5: warning: declaration of 'bitMask' shadows a member of 'rml::internal::CacheBinFunctor >' [-Wshadow] CacheBinFunctor(typename LargeObjectCacheImpl::CacheBin *bin, ExtMemoryPool *extMemPool, ^~~~~~~~~~~~~~~ ../../src/test/../tbbmalloc/large_objects.cpp:35:61: note: shadowed declaration is here typename LargeObjectCacheImpl::BinBitMask *const bitMask; ^~~~~~~ ../../src/test/../tbbmalloc/large_objects.cpp:94:5: warning: declaration of 'extMemPool' shadows a member of 'rml::internal::CacheBinFunctor >' [-Wshadow] CacheBinFunctor(typename LargeObjectCacheImpl::CacheBin *bin, ExtMemoryPool *extMemPool, ^~~~~~~~~~~~~~~ ../../src/test/../tbbmalloc/large_objects.cpp:34:26: note: shadowed declaration is here ExtMemoryPool *const extMemPool; ^~~~~~~~~~ ../../src/test/../tbbmalloc/large_objects.cpp:94:5: warning: declaration of 'bin' shadows a member of 'rml::internal::CacheBinFunctor >' [-Wshadow] CacheBinFunctor(typename LargeObjectCacheImpl::CacheBin *bin, ExtMemoryPool *extMemPool, ^~~~~~~~~~~~~~~ ../../src/test/../tbbmalloc/large_objects.cpp:33:59: note: shadowed declaration is here typename LargeObjectCacheImpl::CacheBin *const bin; ^~~ ../../src/test/../tbbmalloc/large_objects.cpp: In instantiation of 'rml::internal::CacheBinFunctor::CacheBinFunctor(typename rml::internal::LargeObjectCacheImpl::CacheBin*, rml::internal::ExtMemoryPool*, typename rml::internal::LargeObjectCacheImpl::BinBitMask*, int) [with Props = rml::internal::LargeObjectCacheProps<8388608, 135266304, 524288, 1, 1, 4>; typename rml::internal::LargeObjectCacheImpl::CacheBin = rml::internal::LargeObjectCacheImpl >::CacheBin; typename rml::internal::LargeObjectCacheImpl::BinBitMask = rml::internal::BitMaskMax<242>]': ../../src/test/../tbbmalloc/large_objects.cpp:418:28: required from 'void rml::internal::LargeObjectCacheImpl::CacheBin::ExecuteOperation(rml::internal::CacheBinOperation*, rml::internal::ExtMemoryPool*, rml::internal::LargeObjectCacheImpl::BinBitMask*, int, bool) [with Props = rml::internal::LargeObjectCacheProps<8388608, 135266304, 524288, 1, 1, 4>; rml::internal::LargeObjectCacheImpl::BinBitMask = rml::internal::BitMaskMax<242>]' ../../src/test/../tbbmalloc/large_objects.cpp:458:9: required from 'bool rml::internal::LargeObjectCacheImpl::CacheBin::cleanToThreshold(rml::internal::ExtMemoryPool*, rml::internal::LargeObjectCacheImpl::BinBitMask*, uintptr_t, int) [with Props = rml::internal::LargeObjectCacheProps<8388608, 135266304, 524288, 1, 1, 4>; rml::internal::LargeObjectCacheImpl::BinBitMask = rml::internal::BitMaskMax<242>; uintptr_t = long unsigned int]' ../../src/test/../tbbmalloc/large_objects.cpp:683:9: required from 'bool rml::internal::LargeObjectCacheImpl::regularCleanup(rml::internal::ExtMemoryPool*, uintptr_t, bool) [with Props = rml::internal::LargeObjectCacheProps<8388608, 135266304, 524288, 1, 1, 4>; uintptr_t = long unsigned int]' ../../src/test/../tbbmalloc/large_objects.cpp:749:70: required from here ../../src/test/../tbbmalloc/large_objects.cpp:94:5: warning: declaration of 'idx' shadows a member of 'rml::internal::CacheBinFunctor >' [-Wshadow] CacheBinFunctor(typename LargeObjectCacheImpl::CacheBin *bin, ExtMemoryPool *extMemPool, ^~~~~~~~~~~~~~~ ../../src/test/../tbbmalloc/large_objects.cpp:36:15: note: shadowed declaration is here const int idx; ^~~ ../../src/test/../tbbmalloc/large_objects.cpp:94:5: warning: declaration of 'bitMask' shadows a member of 'rml::internal::CacheBinFunctor >' [-Wshadow] CacheBinFunctor(typename LargeObjectCacheImpl::CacheBin *bin, ExtMemoryPool *extMemPool, ^~~~~~~~~~~~~~~ ../../src/test/../tbbmalloc/large_objects.cpp:35:61: note: shadowed declaration is here typename LargeObjectCacheImpl::BinBitMask *const bitMask; ^~~~~~~ ../../src/test/../tbbmalloc/large_objects.cpp:94:5: warning: declaration of 'extMemPool' shadows a member of 'rml::internal::CacheBinFunctor >' [-Wshadow] CacheBinFunctor(typename LargeObjectCacheImpl::CacheBin *bin, ExtMemoryPool *extMemPool, ^~~~~~~~~~~~~~~ ../../src/test/../tbbmalloc/large_objects.cpp:34:26: note: shadowed declaration is here ExtMemoryPool *const extMemPool; ^~~~~~~~~~ ../../src/test/../tbbmalloc/large_objects.cpp:94:5: warning: declaration of 'bin' shadows a member of 'rml::internal::CacheBinFunctor >' [-Wshadow] CacheBinFunctor(typename LargeObjectCacheImpl::CacheBin *bin, ExtMemoryPool *extMemPool, ^~~~~~~~~~~~~~~ ../../src/test/../tbbmalloc/large_objects.cpp:33:59: note: shadowed declaration is here typename LargeObjectCacheImpl::CacheBin *const bin; ^~~ ../../src/test/test_malloc_whitebox.cpp: In instantiation of 'void BackRefWork::operator()(int) const [with int ITERS = 4082]': ../../src/test/harness.h:602:9: required from 'static void* NativeParallelForTask::thread_function(void*) [with Index = int; Body = BackRefWork<4082>]' ../../src/test/harness.h:558:32: required from 'void NativeParallelForTask::start() [with Index = int; Body = BackRefWork<4082>]' ../../src/test/harness.h:629:13: required from 'void NativeParallelFor(Index, const Body&) [with Index = int; Body = BackRefWork<4082>]' ../../src/test/test_malloc_whitebox.cpp:317:61: required from here ../../src/test/test_malloc_whitebox.cpp:229:24: warning: comparison of integer expressions of different signedness: 'int' and 'size_t' {aka 'long unsigned int'} [-Wsign-compare] for (int i=0; i::operator()(int) const [with int ITERS = 0]': ../../src/test/harness.h:602:9: required from 'static void* NativeParallelForTask::thread_function(void*) [with Index = int; Body = BackRefWork<0>]' ../../src/test/harness.h:558:32: required from 'void NativeParallelForTask::start() [with Index = int; Body = BackRefWork<0>]' ../../src/test/harness.h:629:13: required from 'void NativeParallelFor(Index, const Body&) [with Index = int; Body = BackRefWork<0>]' ../../src/test/test_malloc_whitebox.cpp:347:56: required from here ../../src/test/test_malloc_whitebox.cpp:229:24: warning: comparison of integer expressions of different signedness: 'int' and 'size_t' {aka 'long unsigned int'} [-Wsign-compare] In file included from ../../src/test/test_malloc_whitebox.cpp:65: ../../src/test/../tbbmalloc/large_objects.cpp: In instantiation of 'rml::internal::CacheBinFunctor::OperationPreprocessor::OperationPreprocessor(typename rml::internal::LargeObjectCacheImpl::CacheBin*) [with Props = rml::internal::LargeObjectCacheProps<8192, 8388608, 8192, 2, 2, 16>; typename rml::internal::LargeObjectCacheImpl::CacheBin = rml::internal::LargeObjectCacheImpl >::CacheBin]': ../../src/test/../tbbmalloc/large_objects.cpp:340:27: required from 'void rml::internal::CacheBinFunctor::operator()(rml::internal::CacheBinOperation*) [with Props = rml::internal::LargeObjectCacheProps<8192, 8388608, 8192, 2, 2, 16>]' ../../include/tbb/internal/_aggregator_impl.h:140:26: required from 'void tbb::interface6::internal::aggregator_generic::start_handle_operations(handler_type&) [with handler_type = rml::internal::CacheBinFunctor >; operation_type = rml::internal::CacheBinOperation]' ../../include/tbb/internal/_aggregator_impl.h:92:13: required from 'void tbb::interface6::internal::aggregator_generic::execute(operation_type*, handler_type&, bool) [with handler_type = rml::internal::CacheBinFunctor >; operation_type = rml::internal::CacheBinOperation]' ../../src/test/../tbbmalloc/large_objects.cpp:419:5: required from 'void rml::internal::LargeObjectCacheImpl::CacheBin::ExecuteOperation(rml::internal::CacheBinOperation*, rml::internal::ExtMemoryPool*, rml::internal::LargeObjectCacheImpl::BinBitMask*, int, bool) [with Props = rml::internal::LargeObjectCacheProps<8192, 8388608, 8192, 2, 2, 16>; rml::internal::LargeObjectCacheImpl::BinBitMask = rml::internal::BitMaskMax<1023>]' ../../src/test/../tbbmalloc/large_objects.cpp:458:9: required from 'bool rml::internal::LargeObjectCacheImpl::CacheBin::cleanToThreshold(rml::internal::ExtMemoryPool*, rml::internal::LargeObjectCacheImpl::BinBitMask*, uintptr_t, int) [with Props = rml::internal::LargeObjectCacheProps<8192, 8388608, 8192, 2, 2, 16>; rml::internal::LargeObjectCacheImpl::BinBitMask = rml::internal::BitMaskMax<1023>; uintptr_t = long unsigned int]' ../../src/test/../tbbmalloc/large_objects.cpp:683:9: required from 'bool rml::internal::LargeObjectCacheImpl::regularCleanup(rml::internal::ExtMemoryPool*, uintptr_t, bool) [with Props = rml::internal::LargeObjectCacheProps<8192, 8388608, 8192, 2, 2, 16>; uintptr_t = long unsigned int]' ../../src/test/../tbbmalloc/large_objects.cpp:748:72: required from here ../../src/test/../tbbmalloc/large_objects.cpp:84:9: warning: declaration of 'bin' shadows a member of 'rml::internal::CacheBinFunctor >::OperationPreprocessor' [-Wshadow] OperationPreprocessor(typename LargeObjectCacheImpl::CacheBin *bin) : ^~~~~~~~~~~~~~~~~~~~~ ../../src/test/../tbbmalloc/large_objects.cpp:51:64: note: shadowed declaration is here typename LargeObjectCacheImpl::CacheBin *const bin; ^~~ ../../src/test/../tbbmalloc/large_objects.cpp: In instantiation of 'void rml::internal::CacheBinFunctor::OperationPreprocessor::operator()(rml::internal::CacheBinOperation*) [with Props = rml::internal::LargeObjectCacheProps<8192, 8388608, 8192, 2, 2, 16>]': ../../src/test/../tbbmalloc/large_objects.cpp:341:9: required from 'void rml::internal::CacheBinFunctor::operator()(rml::internal::CacheBinOperation*) [with Props = rml::internal::LargeObjectCacheProps<8192, 8388608, 8192, 2, 2, 16>]' ../../include/tbb/internal/_aggregator_impl.h:140:26: required from 'void tbb::interface6::internal::aggregator_generic::start_handle_operations(handler_type&) [with handler_type = rml::internal::CacheBinFunctor >; operation_type = rml::internal::CacheBinOperation]' ../../include/tbb/internal/_aggregator_impl.h:92:13: required from 'void tbb::interface6::internal::aggregator_generic::execute(operation_type*, handler_type&, bool) [with handler_type = rml::internal::CacheBinFunctor >; operation_type = rml::internal::CacheBinOperation]' ../../src/test/../tbbmalloc/large_objects.cpp:419:5: required from 'void rml::internal::LargeObjectCacheImpl::CacheBin::ExecuteOperation(rml::internal::CacheBinOperation*, rml::internal::ExtMemoryPool*, rml::internal::LargeObjectCacheImpl::BinBitMask*, int, bool) [with Props = rml::internal::LargeObjectCacheProps<8192, 8388608, 8192, 2, 2, 16>; rml::internal::LargeObjectCacheImpl::BinBitMask = rml::internal::BitMaskMax<1023>]' ../../src/test/../tbbmalloc/large_objects.cpp:458:9: required from 'bool rml::internal::LargeObjectCacheImpl::CacheBin::cleanToThreshold(rml::internal::ExtMemoryPool*, rml::internal::LargeObjectCacheImpl::BinBitMask*, uintptr_t, int) [with Props = rml::internal::LargeObjectCacheProps<8192, 8388608, 8192, 2, 2, 16>; rml::internal::LargeObjectCacheImpl::BinBitMask = rml::internal::BitMaskMax<1023>; uintptr_t = long unsigned int]' ../../src/test/../tbbmalloc/large_objects.cpp:683:9: required from 'bool rml::internal::LargeObjectCacheImpl::regularCleanup(rml::internal::ExtMemoryPool*, uintptr_t, bool) [with Props = rml::internal::LargeObjectCacheProps<8192, 8388608, 8192, 2, 2, 16>; uintptr_t = long unsigned int]' ../../src/test/../tbbmalloc/large_objects.cpp:748:72: required from here ../../src/test/../tbbmalloc/large_objects.cpp:276:35: warning: declaration of 'head' shadows a member of 'rml::internal::CacheBinFunctor >::OperationPreprocessor' [-Wshadow] LargeMemoryBlock *head = opCast(*op).head; ^~~~ ../../src/test/../tbbmalloc/large_objects.cpp:72:27: note: shadowed declaration is here LargeMemoryBlock *head, *tail; ^~~~ ../../src/test/../tbbmalloc/large_objects.cpp:297:35: warning: declaration of 'tail' shadows a member of 'rml::internal::CacheBinFunctor >::OperationPreprocessor' [-Wshadow] LargeMemoryBlock *tail = prev; ^~~~ ../../src/test/../tbbmalloc/large_objects.cpp:72:34: note: shadowed declaration is here LargeMemoryBlock *head, *tail; ^~~~ In file included from ../../src/test/test_malloc_whitebox.cpp:65: ../../src/test/../tbbmalloc/large_objects.cpp: In instantiation of 'void rml::internal::LargeObjectCacheImpl::CacheBin::forgetOutdatedState(uintptr_t) [with Props = rml::internal::LargeObjectCacheProps<8192, 8388608, 8192, 2, 2, 16>; uintptr_t = long unsigned int]': ../../src/test/../tbbmalloc/large_objects.cpp:367:25: required from 'void rml::internal::CacheBinFunctor::operator()(rml::internal::CacheBinOperation*) [with Props = rml::internal::LargeObjectCacheProps<8192, 8388608, 8192, 2, 2, 16>]' ../../include/tbb/internal/_aggregator_impl.h:140:26: required from 'void tbb::interface6::internal::aggregator_generic::start_handle_operations(handler_type&) [with handler_type = rml::internal::CacheBinFunctor >; operation_type = rml::internal::CacheBinOperation]' ../../include/tbb/internal/_aggregator_impl.h:92:13: required from 'void tbb::interface6::internal::aggregator_generic::execute(operation_type*, handler_type&, bool) [with handler_type = rml::internal::CacheBinFunctor >; operation_type = rml::internal::CacheBinOperation]' ../../src/test/../tbbmalloc/large_objects.cpp:419:5: required from 'void rml::internal::LargeObjectCacheImpl::CacheBin::ExecuteOperation(rml::internal::CacheBinOperation*, rml::internal::ExtMemoryPool*, rml::internal::LargeObjectCacheImpl::BinBitMask*, int, bool) [with Props = rml::internal::LargeObjectCacheProps<8192, 8388608, 8192, 2, 2, 16>; rml::internal::LargeObjectCacheImpl::BinBitMask = rml::internal::BitMaskMax<1023>]' ../../src/test/../tbbmalloc/large_objects.cpp:458:9: required from 'bool rml::internal::LargeObjectCacheImpl::CacheBin::cleanToThreshold(rml::internal::ExtMemoryPool*, rml::internal::LargeObjectCacheImpl::BinBitMask*, uintptr_t, int) [with Props = rml::internal::LargeObjectCacheProps<8192, 8388608, 8192, 2, 2, 16>; rml::internal::LargeObjectCacheImpl::BinBitMask = rml::internal::BitMaskMax<1023>; uintptr_t = long unsigned int]' ../../src/test/../tbbmalloc/large_objects.cpp:683:9: required from 'bool rml::internal::LargeObjectCacheImpl::regularCleanup(rml::internal::ExtMemoryPool*, uintptr_t, bool) [with Props = rml::internal::LargeObjectCacheProps<8192, 8388608, 8192, 2, 2, 16>; uintptr_t = long unsigned int]' ../../src/test/../tbbmalloc/large_objects.cpp:748:72: required from here ../../src/test/../tbbmalloc/large_objects.cpp:577:34: warning: comparison of integer expressions of different signedness: 'const uintptr_t' {aka 'const long unsigned int'} and 'intptr_t' {aka 'long int'} [-Wsign-compare] doCleanup = sinceLastGet > Props::LongWaitFactor*ageThreshold; ~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ In file included from ../../src/test/test_malloc_whitebox.cpp:65: ../../src/test/../tbbmalloc/large_objects.cpp: In instantiation of 'rml::internal::CacheBinFunctor::OperationPreprocessor::OperationPreprocessor(typename rml::internal::LargeObjectCacheImpl::CacheBin*) [with Props = rml::internal::LargeObjectCacheProps<8388608, 135266304, 524288, 1, 1, 4>; typename rml::internal::LargeObjectCacheImpl::CacheBin = rml::internal::LargeObjectCacheImpl >::CacheBin]': ../../src/test/../tbbmalloc/large_objects.cpp:340:27: required from 'void rml::internal::CacheBinFunctor::operator()(rml::internal::CacheBinOperation*) [with Props = rml::internal::LargeObjectCacheProps<8388608, 135266304, 524288, 1, 1, 4>]' ../../include/tbb/internal/_aggregator_impl.h:140:26: required from 'void tbb::interface6::internal::aggregator_generic::start_handle_operations(handler_type&) [with handler_type = rml::internal::CacheBinFunctor >; operation_type = rml::internal::CacheBinOperation]' ../../include/tbb/internal/_aggregator_impl.h:92:13: required from 'void tbb::interface6::internal::aggregator_generic::execute(operation_type*, handler_type&, bool) [with handler_type = rml::internal::CacheBinFunctor >; operation_type = rml::internal::CacheBinOperation]' ../../src/test/../tbbmalloc/large_objects.cpp:419:5: required from 'void rml::internal::LargeObjectCacheImpl::CacheBin::ExecuteOperation(rml::internal::CacheBinOperation*, rml::internal::ExtMemoryPool*, rml::internal::LargeObjectCacheImpl::BinBitMask*, int, bool) [with Props = rml::internal::LargeObjectCacheProps<8388608, 135266304, 524288, 1, 1, 4>; rml::internal::LargeObjectCacheImpl::BinBitMask = rml::internal::BitMaskMax<242>]' ../../src/test/../tbbmalloc/large_objects.cpp:458:9: required from 'bool rml::internal::LargeObjectCacheImpl::CacheBin::cleanToThreshold(rml::internal::ExtMemoryPool*, rml::internal::LargeObjectCacheImpl::BinBitMask*, uintptr_t, int) [with Props = rml::internal::LargeObjectCacheProps<8388608, 135266304, 524288, 1, 1, 4>; rml::internal::LargeObjectCacheImpl::BinBitMask = rml::internal::BitMaskMax<242>; uintptr_t = long unsigned int]' ../../src/test/../tbbmalloc/large_objects.cpp:683:9: required from 'bool rml::internal::LargeObjectCacheImpl::regularCleanup(rml::internal::ExtMemoryPool*, uintptr_t, bool) [with Props = rml::internal::LargeObjectCacheProps<8388608, 135266304, 524288, 1, 1, 4>; uintptr_t = long unsigned int]' ../../src/test/../tbbmalloc/large_objects.cpp:749:70: required from here ../../src/test/../tbbmalloc/large_objects.cpp:84:9: warning: declaration of 'bin' shadows a member of 'rml::internal::CacheBinFunctor >::OperationPreprocessor' [-Wshadow] OperationPreprocessor(typename LargeObjectCacheImpl::CacheBin *bin) : ^~~~~~~~~~~~~~~~~~~~~ ../../src/test/../tbbmalloc/large_objects.cpp:51:64: note: shadowed declaration is here typename LargeObjectCacheImpl::CacheBin *const bin; ^~~ ../../src/test/../tbbmalloc/large_objects.cpp: In instantiation of 'void rml::internal::CacheBinFunctor::OperationPreprocessor::operator()(rml::internal::CacheBinOperation*) [with Props = rml::internal::LargeObjectCacheProps<8388608, 135266304, 524288, 1, 1, 4>]': ../../src/test/../tbbmalloc/large_objects.cpp:341:9: required from 'void rml::internal::CacheBinFunctor::operator()(rml::internal::CacheBinOperation*) [with Props = rml::internal::LargeObjectCacheProps<8388608, 135266304, 524288, 1, 1, 4>]' ../../include/tbb/internal/_aggregator_impl.h:140:26: required from 'void tbb::interface6::internal::aggregator_generic::start_handle_operations(handler_type&) [with handler_type = rml::internal::CacheBinFunctor >; operation_type = rml::internal::CacheBinOperation]' ../../include/tbb/internal/_aggregator_impl.h:92:13: required from 'void tbb::interface6::internal::aggregator_generic::execute(operation_type*, handler_type&, bool) [with handler_type = rml::internal::CacheBinFunctor >; operation_type = rml::internal::CacheBinOperation]' ../../src/test/../tbbmalloc/large_objects.cpp:419:5: required from 'void rml::internal::LargeObjectCacheImpl::CacheBin::ExecuteOperation(rml::internal::CacheBinOperation*, rml::internal::ExtMemoryPool*, rml::internal::LargeObjectCacheImpl::BinBitMask*, int, bool) [with Props = rml::internal::LargeObjectCacheProps<8388608, 135266304, 524288, 1, 1, 4>; rml::internal::LargeObjectCacheImpl::BinBitMask = rml::internal::BitMaskMax<242>]' ../../src/test/../tbbmalloc/large_objects.cpp:458:9: required from 'bool rml::internal::LargeObjectCacheImpl::CacheBin::cleanToThreshold(rml::internal::ExtMemoryPool*, rml::internal::LargeObjectCacheImpl::BinBitMask*, uintptr_t, int) [with Props = rml::internal::LargeObjectCacheProps<8388608, 135266304, 524288, 1, 1, 4>; rml::internal::LargeObjectCacheImpl::BinBitMask = rml::internal::BitMaskMax<242>; uintptr_t = long unsigned int]' ../../src/test/../tbbmalloc/large_objects.cpp:683:9: required from 'bool rml::internal::LargeObjectCacheImpl::regularCleanup(rml::internal::ExtMemoryPool*, uintptr_t, bool) [with Props = rml::internal::LargeObjectCacheProps<8388608, 135266304, 524288, 1, 1, 4>; uintptr_t = long unsigned int]' ../../src/test/../tbbmalloc/large_objects.cpp:749:70: required from here ../../src/test/../tbbmalloc/large_objects.cpp:276:35: warning: declaration of 'head' shadows a member of 'rml::internal::CacheBinFunctor >::OperationPreprocessor' [-Wshadow] LargeMemoryBlock *head = opCast(*op).head; ^~~~ ../../src/test/../tbbmalloc/large_objects.cpp:72:27: note: shadowed declaration is here LargeMemoryBlock *head, *tail; ^~~~ ../../src/test/../tbbmalloc/large_objects.cpp:297:35: warning: declaration of 'tail' shadows a member of 'rml::internal::CacheBinFunctor >::OperationPreprocessor' [-Wshadow] LargeMemoryBlock *tail = prev; ^~~~ ../../src/test/../tbbmalloc/large_objects.cpp:72:34: note: shadowed declaration is here LargeMemoryBlock *head, *tail; ^~~~ In file included from ../../src/test/test_malloc_whitebox.cpp:65: ../../src/test/../tbbmalloc/large_objects.cpp: In instantiation of 'void rml::internal::LargeObjectCacheImpl::CacheBin::forgetOutdatedState(uintptr_t) [with Props = rml::internal::LargeObjectCacheProps<8388608, 135266304, 524288, 1, 1, 4>; uintptr_t = long unsigned int]': ../../src/test/../tbbmalloc/large_objects.cpp:367:25: required from 'void rml::internal::CacheBinFunctor::operator()(rml::internal::CacheBinOperation*) [with Props = rml::internal::LargeObjectCacheProps<8388608, 135266304, 524288, 1, 1, 4>]' ../../include/tbb/internal/_aggregator_impl.h:140:26: required from 'void tbb::interface6::internal::aggregator_generic::start_handle_operations(handler_type&) [with handler_type = rml::internal::CacheBinFunctor >; operation_type = rml::internal::CacheBinOperation]' ../../include/tbb/internal/_aggregator_impl.h:92:13: required from 'void tbb::interface6::internal::aggregator_generic::execute(operation_type*, handler_type&, bool) [with handler_type = rml::internal::CacheBinFunctor >; operation_type = rml::internal::CacheBinOperation]' ../../src/test/../tbbmalloc/large_objects.cpp:419:5: required from 'void rml::internal::LargeObjectCacheImpl::CacheBin::ExecuteOperation(rml::internal::CacheBinOperation*, rml::internal::ExtMemoryPool*, rml::internal::LargeObjectCacheImpl::BinBitMask*, int, bool) [with Props = rml::internal::LargeObjectCacheProps<8388608, 135266304, 524288, 1, 1, 4>; rml::internal::LargeObjectCacheImpl::BinBitMask = rml::internal::BitMaskMax<242>]' ../../src/test/../tbbmalloc/large_objects.cpp:458:9: required from 'bool rml::internal::LargeObjectCacheImpl::CacheBin::cleanToThreshold(rml::internal::ExtMemoryPool*, rml::internal::LargeObjectCacheImpl::BinBitMask*, uintptr_t, int) [with Props = rml::internal::LargeObjectCacheProps<8388608, 135266304, 524288, 1, 1, 4>; rml::internal::LargeObjectCacheImpl::BinBitMask = rml::internal::BitMaskMax<242>; uintptr_t = long unsigned int]' ../../src/test/../tbbmalloc/large_objects.cpp:683:9: required from 'bool rml::internal::LargeObjectCacheImpl::regularCleanup(rml::internal::ExtMemoryPool*, uintptr_t, bool) [with Props = rml::internal::LargeObjectCacheProps<8388608, 135266304, 524288, 1, 1, 4>; uintptr_t = long unsigned int]' ../../src/test/../tbbmalloc/large_objects.cpp:749:70: required from here ../../src/test/../tbbmalloc/large_objects.cpp:577:34: warning: comparison of integer expressions of different signedness: 'const uintptr_t' {aka 'const long unsigned int'} and 'intptr_t' {aka 'long int'} [-Wsign-compare] doCleanup = sinceLastGet > Props::LongWaitFactor*ageThreshold; ~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ In file included from ../../src/test/test_malloc_whitebox.cpp:65: ../../src/test/../tbbmalloc/large_objects.cpp: In instantiation of 'bool rml::internal::CacheBinFunctor::OperationPreprocessor::getFromPutList(rml::internal::CacheBinOperation*, uintptr_t) [with Props = rml::internal::LargeObjectCacheProps<8192, 8388608, 8192, 2, 2, 16>; uintptr_t = long unsigned int]': ../../src/test/../tbbmalloc/large_objects.cpp:267:23: required from 'void rml::internal::CacheBinFunctor::OperationPreprocessor::operator()(rml::internal::CacheBinOperation*) [with Props = rml::internal::LargeObjectCacheProps<8192, 8388608, 8192, 2, 2, 16>]' ../../src/test/../tbbmalloc/large_objects.cpp:341:9: required from 'void rml::internal::CacheBinFunctor::operator()(rml::internal::CacheBinOperation*) [with Props = rml::internal::LargeObjectCacheProps<8192, 8388608, 8192, 2, 2, 16>]' ../../include/tbb/internal/_aggregator_impl.h:140:26: required from 'void tbb::interface6::internal::aggregator_generic::start_handle_operations(handler_type&) [with handler_type = rml::internal::CacheBinFunctor >; operation_type = rml::internal::CacheBinOperation]' ../../include/tbb/internal/_aggregator_impl.h:92:13: required from 'void tbb::interface6::internal::aggregator_generic::execute(operation_type*, handler_type&, bool) [with handler_type = rml::internal::CacheBinFunctor >; operation_type = rml::internal::CacheBinOperation]' ../../src/test/../tbbmalloc/large_objects.cpp:419:5: required from 'void rml::internal::LargeObjectCacheImpl::CacheBin::ExecuteOperation(rml::internal::CacheBinOperation*, rml::internal::ExtMemoryPool*, rml::internal::LargeObjectCacheImpl::BinBitMask*, int, bool) [with Props = rml::internal::LargeObjectCacheProps<8192, 8388608, 8192, 2, 2, 16>; rml::internal::LargeObjectCacheImpl::BinBitMask = rml::internal::BitMaskMax<1023>]' ../../src/test/../tbbmalloc/large_objects.cpp:458:9: required from 'bool rml::internal::LargeObjectCacheImpl::CacheBin::cleanToThreshold(rml::internal::ExtMemoryPool*, rml::internal::LargeObjectCacheImpl::BinBitMask*, uintptr_t, int) [with Props = rml::internal::LargeObjectCacheProps<8192, 8388608, 8192, 2, 2, 16>; rml::internal::LargeObjectCacheImpl::BinBitMask = rml::internal::BitMaskMax<1023>; uintptr_t = long unsigned int]' ../../src/test/../tbbmalloc/large_objects.cpp:683:9: required from 'bool rml::internal::LargeObjectCacheImpl::regularCleanup(rml::internal::ExtMemoryPool*, uintptr_t, bool) [with Props = rml::internal::LargeObjectCacheProps<8192, 8388608, 8192, 2, 2, 16>; uintptr_t = long unsigned int]' ../../src/test/../tbbmalloc/large_objects.cpp:748:72: required from here ../../src/test/../tbbmalloc/large_objects.cpp:218:31: warning: declaration of 'opGet' shadows a member of 'rml::internal::CacheBinFunctor >::OperationPreprocessor' [-Wshadow] template bool CacheBinFunctor:: ^~~~~~~~~~~~~~~~~~~~~~ ../../src/test/../tbbmalloc/large_objects.cpp:60:28: note: shadowed declaration is here CacheBinOperation *opGet, *opClean; ^~~~~ ../../src/test/../tbbmalloc/large_objects.cpp: In instantiation of 'bool rml::internal::CacheBinFunctor::OperationPreprocessor::getFromPutList(rml::internal::CacheBinOperation*, uintptr_t) [with Props = rml::internal::LargeObjectCacheProps<8388608, 135266304, 524288, 1, 1, 4>; uintptr_t = long unsigned int]': ../../src/test/../tbbmalloc/large_objects.cpp:267:23: required from 'void rml::internal::CacheBinFunctor::OperationPreprocessor::operator()(rml::internal::CacheBinOperation*) [with Props = rml::internal::LargeObjectCacheProps<8388608, 135266304, 524288, 1, 1, 4>]' ../../src/test/../tbbmalloc/large_objects.cpp:341:9: required from 'void rml::internal::CacheBinFunctor::operator()(rml::internal::CacheBinOperation*) [with Props = rml::internal::LargeObjectCacheProps<8388608, 135266304, 524288, 1, 1, 4>]' ../../include/tbb/internal/_aggregator_impl.h:140:26: required from 'void tbb::interface6::internal::aggregator_generic::start_handle_operations(handler_type&) [with handler_type = rml::internal::CacheBinFunctor >; operation_type = rml::internal::CacheBinOperation]' ../../include/tbb/internal/_aggregator_impl.h:92:13: required from 'void tbb::interface6::internal::aggregator_generic::execute(operation_type*, handler_type&, bool) [with handler_type = rml::internal::CacheBinFunctor >; operation_type = rml::internal::CacheBinOperation]' ../../src/test/../tbbmalloc/large_objects.cpp:419:5: required from 'void rml::internal::LargeObjectCacheImpl::CacheBin::ExecuteOperation(rml::internal::CacheBinOperation*, rml::internal::ExtMemoryPool*, rml::internal::LargeObjectCacheImpl::BinBitMask*, int, bool) [with Props = rml::internal::LargeObjectCacheProps<8388608, 135266304, 524288, 1, 1, 4>; rml::internal::LargeObjectCacheImpl::BinBitMask = rml::internal::BitMaskMax<242>]' ../../src/test/../tbbmalloc/large_objects.cpp:458:9: required from 'bool rml::internal::LargeObjectCacheImpl::CacheBin::cleanToThreshold(rml::internal::ExtMemoryPool*, rml::internal::LargeObjectCacheImpl::BinBitMask*, uintptr_t, int) [with Props = rml::internal::LargeObjectCacheProps<8388608, 135266304, 524288, 1, 1, 4>; rml::internal::LargeObjectCacheImpl::BinBitMask = rml::internal::BitMaskMax<242>; uintptr_t = long unsigned int]' ../../src/test/../tbbmalloc/large_objects.cpp:683:9: required from 'bool rml::internal::LargeObjectCacheImpl::regularCleanup(rml::internal::ExtMemoryPool*, uintptr_t, bool) [with Props = rml::internal::LargeObjectCacheProps<8388608, 135266304, 524288, 1, 1, 4>; uintptr_t = long unsigned int]' ../../src/test/../tbbmalloc/large_objects.cpp:749:70: required from here ../../src/test/../tbbmalloc/large_objects.cpp:218:31: warning: declaration of 'opGet' shadows a member of 'rml::internal::CacheBinFunctor >::OperationPreprocessor' [-Wshadow] template bool CacheBinFunctor:: ^~~~~~~~~~~~~~~~~~~~~~ ../../src/test/../tbbmalloc/large_objects.cpp:60:28: note: shadowed declaration is here CacheBinOperation *opGet, *opClean; ^~~~~ In file included from ../../src/test/test_malloc_whitebox.cpp:65: ../../src/test/../tbbmalloc/large_objects.cpp: In member function 'void rml::internal::CacheBinFunctor::operator()(rml::internal::CacheBinOperation*) [with Props = rml::internal::LargeObjectCacheProps<8192, 8388608, 8192, 2, 2, 16>]': ../../src/test/../tbbmalloc/large_objects.cpp:521:9: warning: 'prep.rml::internal::CacheBinFunctor >::OperationPreprocessor::putListNum' may be used uninitialized in this function [-Wmaybe-uninitialized] num--; ^~~ In file included from ../../src/test/test_malloc_whitebox.cpp:65: ../../src/test/../tbbmalloc/large_objects.cpp:340:27: note: 'prep.rml::internal::CacheBinFunctor >::OperationPreprocessor::putListNum' was declared here OperationPreprocessor prep(bin); ^~~~ In file included from ../../src/test/test_malloc_whitebox.cpp:65: ../../src/test/../tbbmalloc/large_objects.cpp:514:32: warning: 'prep.rml::internal::CacheBinFunctor >::OperationPreprocessor::tail' may be used uninitialized in this function [-Wmaybe-uninitialized] lastCleanedAge = tail->age; ~~~~~~^~~ In file included from ../../src/test/test_malloc_whitebox.cpp:65: ../../src/test/../tbbmalloc/large_objects.cpp:340:27: note: 'prep.rml::internal::CacheBinFunctor >::OperationPreprocessor::tail' was declared here OperationPreprocessor prep(bin); ^~~~ In file included from ../../src/test/test_malloc_whitebox.cpp:65: ../../src/test/../tbbmalloc/large_objects.cpp: In member function 'void rml::internal::CacheBinFunctor::operator()(rml::internal::CacheBinOperation*) [with Props = rml::internal::LargeObjectCacheProps<8388608, 135266304, 524288, 1, 1, 4>]': ../../src/test/../tbbmalloc/large_objects.cpp:521:9: warning: 'prep.rml::internal::CacheBinFunctor >::OperationPreprocessor::putListNum' may be used uninitialized in this function [-Wmaybe-uninitialized] num--; ^~~ In file included from ../../src/test/test_malloc_whitebox.cpp:65: ../../src/test/../tbbmalloc/large_objects.cpp:340:27: note: 'prep.rml::internal::CacheBinFunctor >::OperationPreprocessor::putListNum' was declared here OperationPreprocessor prep(bin); ^~~~ In file included from ../../src/test/test_malloc_whitebox.cpp:65: ../../src/test/../tbbmalloc/large_objects.cpp:514:32: warning: 'prep.rml::internal::CacheBinFunctor >::OperationPreprocessor::tail' may be used uninitialized in this function [-Wmaybe-uninitialized] lastCleanedAge = tail->age; ~~~~~~^~~ In file included from ../../src/test/test_malloc_whitebox.cpp:65: ../../src/test/../tbbmalloc/large_objects.cpp:340:27: note: 'prep.rml::internal::CacheBinFunctor >::OperationPreprocessor::tail' was declared here OperationPreprocessor prep(bin); ^~~~ g++ -o test_malloc_whitebox.exe -O2 -g -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -fexceptions -fstack-protector-strong -grecord-gcc-switches -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -mcpu=power8 -mtune=power8 -funwind-tables -fstack-clash-protection -fno-strict-aliasing -D__TBBMALLOC_BUILD=1 -Wshadow -Wcast-qual -Woverloaded-virtual -Wnon-virtual-dtor -Wextra test_malloc_whitebox.o -lpthread -lrt -Wl,-rpath-link=. -rdynamic -ldl g++ -c -MMD -o test_malloc_used_by_lib_dll.o -O2 -g -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -fexceptions -fstack-protector-strong -grecord-gcc-switches -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -mcpu=power8 -mtune=power8 -funwind-tables -fstack-clash-protection -fno-strict-aliasing -D__TBBMALLOC_BUILD=1 -Wshadow -Wcast-qual -Woverloaded-virtual -Wnon-virtual-dtor -Wextra -fPIC -D_USRDLL -I../../src -I../../src/rml/include -I../../include -I../../src/tbbmalloc -I../../src/tbbmalloc -include ../../src/test/harness_preload.h ../../src/test/test_malloc_used_by_lib.cpp g++ -o test_malloc_used_by_lib_dll.so -O2 -g -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -fexceptions -fstack-protector-strong -grecord-gcc-switches -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -mcpu=power8 -mtune=power8 -funwind-tables -fstack-clash-protection -fno-strict-aliasing -D__TBBMALLOC_BUILD=1 -Wshadow -Wcast-qual -Woverloaded-virtual -Wnon-virtual-dtor -Wextra test_malloc_used_by_lib_dll.o libtbbmalloc.so -lpthread -lrt -Wl,-rpath-link=. -rdynamic -fPIC -shared g++ -o test_malloc_used_by_lib.o -c -MMD -O2 -g -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -fexceptions -fstack-protector-strong -grecord-gcc-switches -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -mcpu=power8 -mtune=power8 -funwind-tables -fstack-clash-protection -fno-strict-aliasing -D__TBBMALLOC_BUILD=1 -Wshadow -Wcast-qual -Woverloaded-virtual -Wnon-virtual-dtor -Wextra -std=c++14 -I../../src -I../../src/rml/include -I../../include -I../../src/tbbmalloc -I../../src/tbbmalloc -include ../../src/test/harness_preload.h ../../src/test/test_malloc_used_by_lib.cpp In file included from ../../include/tbb/tbb_machine.h:243, from ../../include/tbb/atomic.h:32, from ../../src/test/harness_barrier.h:21, from ../../src/test/test_malloc_used_by_lib.cpp:81: ../../include/tbb/machine/mac_ppc.h: In function 'int32_t __TBB_machine_cmpswp4(volatile void*, int32_t, int32_t)': ../../include/tbb/machine/mac_ppc.h:91:46: warning: cast from type 'volatile void*' to type 'int32_t*' {aka 'int*'} casts away qualifiers [-Wcast-qual] , "+m"(* (int32_t*) ptr) /* redundant with "memory" */ ^~~ ../../include/tbb/machine/mac_ppc.h: In function 'int64_t __TBB_machine_cmpswp8(volatile void*, int64_t, int64_t)': ../../include/tbb/machine/mac_ppc.h:116:46: warning: cast from type 'volatile void*' to type 'int64_t*' {aka 'long int*'} casts away qualifiers [-Wcast-qual] , "+m"(* (int64_t*) ptr) /* redundant with "memory" */ ^~~ g++ -o test_malloc_used_by_lib.exe -O2 -g -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -fexceptions -fstack-protector-strong -grecord-gcc-switches -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -mcpu=power8 -mtune=power8 -funwind-tables -fstack-clash-protection -fno-strict-aliasing -D__TBBMALLOC_BUILD=1 -Wshadow -Wcast-qual -Woverloaded-virtual -Wnon-virtual-dtor -Wextra test_malloc_used_by_lib.o test_malloc_used_by_lib_dll.so -lpthread -lrt -Wl,-rpath-link=. -rdynamic -ldl g++ -c -MMD -o test_malloc_lib_unload_dll.o -O2 -g -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -fexceptions -fstack-protector-strong -grecord-gcc-switches -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -mcpu=power8 -mtune=power8 -funwind-tables -fstack-clash-protection -g -O2 -DUSE_PTHREAD -Wall -O2 -g -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -fexceptions -fstack-protector-strong -grecord-gcc-switches -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -mcpu=power8 -mtune=power8 -funwind-tables -fstack-clash-protection -fPIC -D_USRDLL -I../../src -I../../src/rml/include -I../../include -include ../../src/test/harness_preload.h ../../src/test/test_malloc_lib_unload.cpp g++ -o test_malloc_lib_unload_dll.so -O2 -g -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -fexceptions -fstack-protector-strong -grecord-gcc-switches -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -mcpu=power8 -mtune=power8 -funwind-tables -fstack-clash-protection -g -O2 -DUSE_PTHREAD -Wall -O2 -g -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -fexceptions -fstack-protector-strong -grecord-gcc-switches -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -mcpu=power8 -mtune=power8 -funwind-tables -fstack-clash-protection test_malloc_lib_unload_dll.o -lpthread -lrt -Wl,-rpath-link=. -rdynamic -ldl -fPIC -shared g++ -o test_malloc_lib_unload.o -c -MMD -O2 -g -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -fexceptions -fstack-protector-strong -grecord-gcc-switches -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -mcpu=power8 -mtune=power8 -funwind-tables -fstack-clash-protection -fno-strict-aliasing -D__TBBMALLOC_BUILD=1 -Wshadow -Wcast-qual -Woverloaded-virtual -Wnon-virtual-dtor -Wextra -std=c++14 -I../../src -I../../src/rml/include -I../../include -I../../src/tbbmalloc -I../../src/tbbmalloc -include ../../src/test/harness_preload.h ../../src/test/test_malloc_lib_unload.cpp ../../src/test/test_malloc_lib_unload.cpp: In function 'int TestMain()': ../../src/test/test_malloc_lib_unload.cpp:200:21: warning: declaration of 'memory_in_use' shadows a previous local [-Wshadow] std::size_t memory_in_use = GetMemoryUsage(); ^~~~~~~~~~~~~ ../../src/test/test_malloc_lib_unload.cpp:194:17: note: shadowed declaration is here std::size_t memory_in_use = GetMemoryUsage(); ^~~~~~~~~~~~~ g++ -o test_malloc_lib_unload.exe -O2 -g -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -fexceptions -fstack-protector-strong -grecord-gcc-switches -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -mcpu=power8 -mtune=power8 -funwind-tables -fstack-clash-protection -fno-strict-aliasing -D__TBBMALLOC_BUILD=1 -Wshadow -Wcast-qual -Woverloaded-virtual -Wnon-virtual-dtor -Wextra test_malloc_lib_unload.o test_malloc_lib_unload_dll.so -lpthread -lrt -Wl,-rpath-link=. -rdynamic -ldl g++ -o test_malloc_overload.o -c -MMD -O2 -g -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -fexceptions -fstack-protector-strong -grecord-gcc-switches -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -mcpu=power8 -mtune=power8 -funwind-tables -fstack-clash-protection -fno-strict-aliasing -D__TBBMALLOC_BUILD=1 -Wshadow -Wcast-qual -Woverloaded-virtual -Wnon-virtual-dtor -Wextra -Wshadow -Wcast-qual -Woverloaded-virtual -Wnon-virtual-dtor -Wextra -std=c++14 -I../../src -I../../src/rml/include -I../../include -I../../src/tbbmalloc -I../../src/tbbmalloc -include ../../src/test/harness_preload.h -include ../../src/test/harness_preload.h ../../src/test/test_malloc_overload.cpp ../../src/test/test_malloc_overload.cpp: In function 'int TestMain()': ../../src/test/test_malloc_overload.cpp:335:17: warning: unused variable 'ptr1' [-Wunused-variable] void *ptr, *ptr1; ^~~~ g++ -o test_malloc_overload.exe -O2 -g -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -fexceptions -fstack-protector-strong -grecord-gcc-switches -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -mcpu=power8 -mtune=power8 -funwind-tables -fstack-clash-protection -fno-strict-aliasing -D__TBBMALLOC_BUILD=1 -Wshadow -Wcast-qual -Woverloaded-virtual -Wnon-virtual-dtor -Wextra -Wshadow -Wcast-qual -Woverloaded-virtual -Wnon-virtual-dtor -Wextra test_malloc_overload.o -lpthread -lrt -Wl,-rpath-link=. -rdynamic -ldl g++ -o test_malloc_overload_proxy.o -c -MMD -O2 -g -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -fexceptions -fstack-protector-strong -grecord-gcc-switches -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -mcpu=power8 -mtune=power8 -funwind-tables -fstack-clash-protection -fno-strict-aliasing -D__TBBMALLOC_BUILD=1 -Wshadow -Wcast-qual -Woverloaded-virtual -Wnon-virtual-dtor -Wextra -Wshadow -Wcast-qual -Woverloaded-virtual -Wnon-virtual-dtor -Wextra -std=c++14 -I../../src -I../../src/rml/include -I../../include -I../../src/tbbmalloc -I../../src/tbbmalloc -include ../../src/test/harness_preload.h -include ../../src/test/harness_preload.h ../../src/test/test_malloc_overload.cpp ../../src/test/test_malloc_overload.cpp: In function 'int TestMain()': ../../src/test/test_malloc_overload.cpp:335:17: warning: unused variable 'ptr1' [-Wunused-variable] void *ptr, *ptr1; ^~~~ g++ -o test_malloc_overload_proxy.exe -O2 -g -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -fexceptions -fstack-protector-strong -grecord-gcc-switches -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -mcpu=power8 -mtune=power8 -funwind-tables -fstack-clash-protection -fno-strict-aliasing -D__TBBMALLOC_BUILD=1 -Wshadow -Wcast-qual -Woverloaded-virtual -Wnon-virtual-dtor -Wextra -Wshadow -Wcast-qual -Woverloaded-virtual -Wnon-virtual-dtor -Wextra test_malloc_overload_proxy.o libtbbmalloc_proxy.so -lpthread -lrt -Wl,-rpath-link=. -rdynamic -ldl g++ -c -MMD -o test_malloc_atexit_dll.o -O2 -g -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -fexceptions -fstack-protector-strong -grecord-gcc-switches -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -mcpu=power8 -mtune=power8 -funwind-tables -fstack-clash-protection -fno-strict-aliasing -D__TBBMALLOC_BUILD=1 -Wshadow -Wcast-qual -Woverloaded-virtual -Wnon-virtual-dtor -Wextra -fPIC -D_USRDLL -I../../src -I../../src/rml/include -I../../include -include ../../src/test/harness_preload.h ../../src/test/test_malloc_atexit.cpp In file included from ../../src/test/test_malloc_atexit.cpp:55: ../../src/test/harness.h:313:13: warning: 'void ParseCommandLine(int, char**)' defined but not used [-Wunused-function] static void ParseCommandLine( int argc, char* argv[] ) { ^~~~~~~~~~~~~~~~ g++ -o test_malloc_atexit_dll.so -O2 -g -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -fexceptions -fstack-protector-strong -grecord-gcc-switches -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -mcpu=power8 -mtune=power8 -funwind-tables -fstack-clash-protection -fno-strict-aliasing -D__TBBMALLOC_BUILD=1 -Wshadow -Wcast-qual -Woverloaded-virtual -Wnon-virtual-dtor -Wextra test_malloc_atexit_dll.o libtbbmalloc.so libtbbmalloc_proxy.so -lpthread -lrt -Wl,-rpath-link=. -rdynamic -ldl -fPIC -shared g++ -o test_malloc_atexit.o -c -MMD -O2 -g -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -fexceptions -fstack-protector-strong -grecord-gcc-switches -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -mcpu=power8 -mtune=power8 -funwind-tables -fstack-clash-protection -fno-strict-aliasing -D__TBBMALLOC_BUILD=1 -Wshadow -Wcast-qual -Woverloaded-virtual -Wnon-virtual-dtor -Wextra -std=c++14 -I../../src -I../../src/rml/include -I../../include -include ../../src/test/harness_preload.h ../../src/test/test_malloc_atexit.cpp g++ -o test_malloc_atexit.exe -O2 -g -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -fexceptions -fstack-protector-strong -grecord-gcc-switches -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -mcpu=power8 -mtune=power8 -funwind-tables -fstack-clash-protection -fno-strict-aliasing -D__TBBMALLOC_BUILD=1 -Wshadow -Wcast-qual -Woverloaded-virtual -Wnon-virtual-dtor -Wextra test_malloc_atexit.o libtbbmalloc.so -Wl,--no-as-needed libtbbmalloc_proxy.so test_malloc_atexit_dll.so -lpthread -lrt -Wl,-rpath-link=. -rdynamic -ldl ./test_malloc_pools.exe 1:4 done ./test_malloc_atexit.exe done sh ../../build/test_launcher.sh -l libtbbmalloc_proxy.so.2 ./test_malloc_overload.exe done sh ../../build/test_launcher.sh ./test_malloc_overload_proxy.exe done sh ../../build/test_launcher.sh ./test_malloc_lib_unload.exe done sh ../../build/test_launcher.sh ./test_malloc_used_by_lib.exe done ./test_malloc_whitebox.exe 1:4 done sh ../../build/test_launcher.sh -u ./test_malloc_compliance.exe 1:4 done ./test_ScalableAllocator.exe done ./test_ScalableAllocator_STL.exe done ./test_malloc_regression.exe done ./test_malloc_init_shutdown.exe done ./test_malloc_pure_c.exe done make[1]: Leaving directory '/builddir/build/BUILD/tbb-2018_U2/build/obj_release' make -C "./build/obj_release" -r -f ../../build/Makefile.test cfg=release make[1]: Entering directory '/builddir/build/BUILD/tbb-2018_U2/build/obj_release' g++ -o test_assembly.o -c -MMD -O2 -g -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -fexceptions -fstack-protector-strong -grecord-gcc-switches -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -mcpu=power8 -mtune=power8 -funwind-tables -fstack-clash-protection -g -O2 -DUSE_PTHREAD -DTEST_USES_TBB=1 -Wall -Wshadow -Wcast-qual -Woverloaded-virtual -Wnon-virtual-dtor -Wextra -O2 -g -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -fexceptions -fstack-protector-strong -grecord-gcc-switches -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -mcpu=power8 -mtune=power8 -funwind-tables -fstack-clash-protection -std=c++14 -I../../src -I../../src/rml/include -I../../include -I. -include ../../src/test/harness_preload.h ../../src/test/test_assembly.cpp In file included from ../../include/tbb/tbb_machine.h:243, from ../../include/tbb/task.h:25, from ../../src/test/test_assembly.cpp:34: ../../include/tbb/machine/mac_ppc.h: In function 'int32_t __TBB_machine_cmpswp4(volatile void*, int32_t, int32_t)': ../../include/tbb/machine/mac_ppc.h:91:46: warning: cast from type 'volatile void*' to type 'int32_t*' {aka 'int*'} casts away qualifiers [-Wcast-qual] , "+m"(* (int32_t*) ptr) /* redundant with "memory" */ ^~~ ../../include/tbb/machine/mac_ppc.h: In function 'int64_t __TBB_machine_cmpswp8(volatile void*, int64_t, int64_t)': ../../include/tbb/machine/mac_ppc.h:116:46: warning: cast from type 'volatile void*' to type 'int64_t*' {aka 'long int*'} casts away qualifiers [-Wcast-qual] , "+m"(* (int64_t*) ptr) /* redundant with "memory" */ ^~~ g++ -o test_assembly.exe -O2 -g -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -fexceptions -fstack-protector-strong -grecord-gcc-switches -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -mcpu=power8 -mtune=power8 -funwind-tables -fstack-clash-protection -g -O2 -DUSE_PTHREAD -DTEST_USES_TBB=1 -Wall -Wshadow -Wcast-qual -Woverloaded-virtual -Wnon-virtual-dtor -Wextra -O2 -g -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -fexceptions -fstack-protector-strong -grecord-gcc-switches -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -mcpu=power8 -mtune=power8 -funwind-tables -fstack-clash-protection test_assembly.o libtbb.so -lpthread -lrt -Wl,-rpath-link=. -rdynamic g++ -o test_global_control.o -c -MMD -O2 -g -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -fexceptions -fstack-protector-strong -grecord-gcc-switches -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -mcpu=power8 -mtune=power8 -funwind-tables -fstack-clash-protection -g -O2 -DUSE_PTHREAD -DTEST_USES_TBB=1 -Wall -Wshadow -Wcast-qual -Woverloaded-virtual -Wnon-virtual-dtor -Wextra -O2 -g -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -fexceptions -fstack-protector-strong -grecord-gcc-switches -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -mcpu=power8 -mtune=power8 -funwind-tables -fstack-clash-protection -std=c++14 -I../../src -I../../src/rml/include -I../../include -I. -include ../../src/test/harness_preload.h ../../src/test/test_global_control.cpp In file included from ../../include/tbb/tbb_machine.h:243, from ../../include/tbb/atomic.h:32, from ../../include/tbb/task_scheduler_observer.h:24, from ../../src/test/test_global_control.cpp:26: ../../include/tbb/machine/mac_ppc.h: In function 'int32_t __TBB_machine_cmpswp4(volatile void*, int32_t, int32_t)': ../../include/tbb/machine/mac_ppc.h:91:46: warning: cast from type 'volatile void*' to type 'int32_t*' {aka 'int*'} casts away qualifiers [-Wcast-qual] , "+m"(* (int32_t*) ptr) /* redundant with "memory" */ ^~~ ../../include/tbb/machine/mac_ppc.h: In function 'int64_t __TBB_machine_cmpswp8(volatile void*, int64_t, int64_t)': ../../include/tbb/machine/mac_ppc.h:116:46: warning: cast from type 'volatile void*' to type 'int64_t*' {aka 'long int*'} casts away qualifiers [-Wcast-qual] , "+m"(* (int64_t*) ptr) /* redundant with "memory" */ ^~~ In file included from ../../include/tbb/enumerable_thread_specific.h:25, from ../../include/tbb/combinable.h:24, from ../../src/test/harness_concurrency_tracker.h:33, from ../../src/test/test_global_control.cpp:45: ../../include/tbb/concurrent_vector.h: In static member function 'static void tbb::concurrent_vector::copy_range(void*, const void*, tbb::concurrent_vector::size_type)': ../../include/tbb/concurrent_vector.h:1296:18: warning: declaration of 'iterator' shadows a previous local [-Wshadow] I & iterator ((*const_cast(static_cast(p_type_erased_iterator)))); ^ ../../include/tbb/concurrent_vector.h:578:60: note: shadowed declaration is here typedef internal::vector_iterator iterator; ^~~~~~~~ In file included from ../../include/tbb/enumerable_thread_specific.h:25, from ../../include/tbb/combinable.h:24, from ../../src/test/harness_concurrency_tracker.h:33, from ../../src/test/test_global_control.cpp:45: ../../include/tbb/concurrent_vector.h: In instantiation of 'void tbb::internal::handle_unconstructed_elements(T*, std::size_t) [with T = tbb::internal::padded, 128>; std::size_t = long unsigned int]': ../../include/tbb/concurrent_vector.h:1123:56: required from 'tbb::concurrent_vector::internal_loop_guide::~internal_loop_guide() [with T = tbb::internal::padded, 128>; A = tbb::cache_aligned_allocator, 128> >]' ../../include/tbb/concurrent_vector.h:1262:25: required from 'static void tbb::concurrent_vector::initialize_array(void*, const void*, tbb::concurrent_vector::size_type) [with T = tbb::internal::padded, 128>; A = tbb::cache_aligned_allocator, 128> >; tbb::concurrent_vector::size_type = long unsigned int]' ../../include/tbb/concurrent_vector.h:780:76: required from 'tbb::concurrent_vector::iterator tbb::concurrent_vector::grow_by(tbb::concurrent_vector::size_type) [with T = tbb::internal::padded, 128>; A = tbb::cache_aligned_allocator, 128> >; tbb::concurrent_vector::iterator = tbb::internal::vector_iterator, 128>, tbb::cache_aligned_allocator, 128> > >, tbb::internal::padded, 128> >; tbb::concurrent_vector::size_type = long unsigned int]' ../../include/tbb/enumerable_thread_specific.h:797:36: required from 'void* tbb::interface6::enumerable_thread_specific::create_local() [with T = long unsigned int; Allocator = tbb::cache_aligned_allocator; tbb::ets_key_usage_type ETS_key_type = (tbb::ets_key_usage_type)1]' ../../include/tbb/enumerable_thread_specific.h:796:15: required from here ../../include/tbb/concurrent_vector.h:77:20: warning: 'void* memset(void*, int, size_t)' clearing an object of non-trivial type 'struct tbb::internal::padded, 128>'; use assignment or value-initialization instead [-Wclass-memaccess] std::memset( array, 0, n_of_elements * sizeof( T ) ); ~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ In file included from ../../include/tbb/global_control.h:28, from ../../src/test/test_global_control.cpp:23: ../../include/tbb/tbb_stddef.h:257:8: note: 'struct tbb::internal::padded, 128>' declared here struct padded : padded_base {}; ^~~~~~ g++ -o test_global_control.exe -O2 -g -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -fexceptions -fstack-protector-strong -grecord-gcc-switches -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -mcpu=power8 -mtune=power8 -funwind-tables -fstack-clash-protection -g -O2 -DUSE_PTHREAD -DTEST_USES_TBB=1 -Wall -Wshadow -Wcast-qual -Woverloaded-virtual -Wnon-virtual-dtor -Wextra -O2 -g -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -fexceptions -fstack-protector-strong -grecord-gcc-switches -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -mcpu=power8 -mtune=power8 -funwind-tables -fstack-clash-protection test_global_control.o libtbb.so -lpthread -lrt -Wl,-rpath-link=. -rdynamic g++ -o test_tbb_fork.o -c -MMD -O2 -g -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -fexceptions -fstack-protector-strong -grecord-gcc-switches -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -mcpu=power8 -mtune=power8 -funwind-tables -fstack-clash-protection -g -O2 -DUSE_PTHREAD -DTEST_USES_TBB=1 -Wall -Wshadow -Wcast-qual -Woverloaded-virtual -Wnon-virtual-dtor -Wextra -O2 -g -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -fexceptions -fstack-protector-strong -grecord-gcc-switches -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -mcpu=power8 -mtune=power8 -funwind-tables -fstack-clash-protection -std=c++14 -I../../src -I../../src/rml/include -I../../include -I. -include ../../src/test/harness_preload.h ../../src/test/test_tbb_fork.cpp In file included from ../../include/tbb/tbb_machine.h:243, from ../../include/tbb/task.h:25, from ../../include/tbb/parallel_for.h:25, from ../../src/test/test_tbb_fork.cpp:25: ../../include/tbb/machine/mac_ppc.h: In function 'int32_t __TBB_machine_cmpswp4(volatile void*, int32_t, int32_t)': ../../include/tbb/machine/mac_ppc.h:91:46: warning: cast from type 'volatile void*' to type 'int32_t*' {aka 'int*'} casts away qualifiers [-Wcast-qual] , "+m"(* (int32_t*) ptr) /* redundant with "memory" */ ^~~ ../../include/tbb/machine/mac_ppc.h: In function 'int64_t __TBB_machine_cmpswp8(volatile void*, int64_t, int64_t)': ../../include/tbb/machine/mac_ppc.h:116:46: warning: cast from type 'volatile void*' to type 'int64_t*' {aka 'long int*'} casts away qualifiers [-Wcast-qual] , "+m"(* (int64_t*) ptr) /* redundant with "memory" */ ^~~ g++ -o test_tbb_fork.exe -O2 -g -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -fexceptions -fstack-protector-strong -grecord-gcc-switches -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -mcpu=power8 -mtune=power8 -funwind-tables -fstack-clash-protection -g -O2 -DUSE_PTHREAD -DTEST_USES_TBB=1 -Wall -Wshadow -Wcast-qual -Woverloaded-virtual -Wnon-virtual-dtor -Wextra -O2 -g -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -fexceptions -fstack-protector-strong -grecord-gcc-switches -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -mcpu=power8 -mtune=power8 -funwind-tables -fstack-clash-protection test_tbb_fork.o libtbb.so -lpthread -lrt -Wl,-rpath-link=. -rdynamic g++ -o test_assembly_compiler_builtins.o -c -MMD -O2 -g -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -fexceptions -fstack-protector-strong -grecord-gcc-switches -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -mcpu=power8 -mtune=power8 -funwind-tables -fstack-clash-protection -g -O2 -DUSE_PTHREAD -Wall -Wshadow -Wcast-qual -Woverloaded-virtual -Wnon-virtual-dtor -Wextra -O2 -g -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -fexceptions -fstack-protector-strong -grecord-gcc-switches -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -mcpu=power8 -mtune=power8 -funwind-tables -fstack-clash-protection -D__TBB_TEST_BUILTINS=1 -DTBB_USE_ASSERT=0 -std=c++14 -I../../src -I../../src/rml/include -I../../include -I. -include ../../src/test/harness_preload.h ../../src/test/test_assembly.cpp g++ -o test_assembly_compiler_builtins.exe -O2 -g -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -fexceptions -fstack-protector-strong -grecord-gcc-switches -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -mcpu=power8 -mtune=power8 -funwind-tables -fstack-clash-protection -g -O2 -DUSE_PTHREAD -Wall -Wshadow -Wcast-qual -Woverloaded-virtual -Wnon-virtual-dtor -Wextra -O2 -g -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -fexceptions -fstack-protector-strong -grecord-gcc-switches -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -mcpu=power8 -mtune=power8 -funwind-tables -fstack-clash-protection test_assembly_compiler_builtins.o -lpthread -lrt -Wl,-rpath-link=. -rdynamic g++ -o test_aligned_space.o -c -MMD -O2 -g -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -fexceptions -fstack-protector-strong -grecord-gcc-switches -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -mcpu=power8 -mtune=power8 -funwind-tables -fstack-clash-protection -g -O2 -DUSE_PTHREAD -DTEST_USES_TBB=1 -Wall -Wshadow -Wcast-qual -Woverloaded-virtual -Wnon-virtual-dtor -Wextra -O2 -g -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -fexceptions -fstack-protector-strong -grecord-gcc-switches -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -mcpu=power8 -mtune=power8 -funwind-tables -fstack-clash-protection -std=c++14 -I../../src -I../../src/rml/include -I../../include -I. -include ../../src/test/harness_preload.h ../../src/test/test_aligned_space.cpp In file included from ../../include/tbb/tbb_machine.h:243, from ../../include/tbb/aligned_space.h:25, from ../../src/test/test_aligned_space.cpp:45: ../../include/tbb/machine/mac_ppc.h: In function 'int32_t __TBB_machine_cmpswp4(volatile void*, int32_t, int32_t)': ../../include/tbb/machine/mac_ppc.h:91:46: warning: cast from type 'volatile void*' to type 'int32_t*' {aka 'int*'} casts away qualifiers [-Wcast-qual] , "+m"(* (int32_t*) ptr) /* redundant with "memory" */ ^~~ ../../include/tbb/machine/mac_ppc.h: In function 'int64_t __TBB_machine_cmpswp8(volatile void*, int64_t, int64_t)': ../../include/tbb/machine/mac_ppc.h:116:46: warning: cast from type 'volatile void*' to type 'int64_t*' {aka 'long int*'} casts away qualifiers [-Wcast-qual] , "+m"(* (int64_t*) ptr) /* redundant with "memory" */ ^~~ g++ -o test_aligned_space.exe -O2 -g -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -fexceptions -fstack-protector-strong -grecord-gcc-switches -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -mcpu=power8 -mtune=power8 -funwind-tables -fstack-clash-protection -g -O2 -DUSE_PTHREAD -DTEST_USES_TBB=1 -Wall -Wshadow -Wcast-qual -Woverloaded-virtual -Wnon-virtual-dtor -Wextra -O2 -g -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -fexceptions -fstack-protector-strong -grecord-gcc-switches -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -mcpu=power8 -mtune=power8 -funwind-tables -fstack-clash-protection test_aligned_space.o libtbb.so -lpthread -lrt -Wl,-rpath-link=. -rdynamic g++ -o test_atomic.o -c -MMD -O2 -g -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -fexceptions -fstack-protector-strong -grecord-gcc-switches -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -mcpu=power8 -mtune=power8 -funwind-tables -fstack-clash-protection -g -O2 -DUSE_PTHREAD -DTEST_USES_TBB=1 -Wall -Wshadow -Wcast-qual -Woverloaded-virtual -Wnon-virtual-dtor -Wextra -O2 -g -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -fexceptions -fstack-protector-strong -grecord-gcc-switches -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -mcpu=power8 -mtune=power8 -funwind-tables -fstack-clash-protection -std=c++14 -I../../src -I../../src/rml/include -I../../include -I. -include ../../src/test/harness_preload.h ../../src/test/test_atomic.cpp In file included from ../../include/tbb/tbb_machine.h:243, from ../../include/tbb/atomic.h:32, from ../../src/test/test_atomic.cpp:35: ../../include/tbb/machine/mac_ppc.h: In function 'int32_t __TBB_machine_cmpswp4(volatile void*, int32_t, int32_t)': ../../include/tbb/machine/mac_ppc.h:91:46: warning: cast from type 'volatile void*' to type 'int32_t*' {aka 'int*'} casts away qualifiers [-Wcast-qual] , "+m"(* (int32_t*) ptr) /* redundant with "memory" */ ^~~ ../../include/tbb/machine/mac_ppc.h: In function 'int64_t __TBB_machine_cmpswp8(volatile void*, int64_t, int64_t)': ../../include/tbb/machine/mac_ppc.h:116:46: warning: cast from type 'volatile void*' to type 'int64_t*' {aka 'long int*'} casts away qualifiers [-Wcast-qual] , "+m"(* (int64_t*) ptr) /* redundant with "memory" */ ^~~ ../../src/test/test_atomic.cpp: In instantiation of 'initialization_tests::test_initialization_fixture::test_initialization_fixture() [with T = bool]': ../../src/test/test_atomic.cpp:312:12: required from 'void TestValueInitialization() [with T = bool]' ../../src/test/test_atomic.cpp:537:31: required from 'void TestOperations(T, T, T) [with T = bool]' ../../src/test/test_atomic.cpp:691:41: required from here ../../src/test/test_atomic.cpp:301:19: warning: 'void* memset(void*, int, size_t)' writing to an object of type 'struct tbb::atomic' with no trivial copy-assignment [-Wclass-memaccess] memset(non_zeroed_storage.begin(),fill_value,sizeof(non_zeroed_storage)); ~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ In file included from ../../src/test/test_atomic.cpp:35: ../../include/tbb/atomic.h:407:8: note: 'struct tbb::atomic' declared here struct atomic: internal::atomic_impl { ^~~~~~ ../../src/test/test_atomic.cpp: In instantiation of 'initialization_tests::test_initialization_fixture::test_initialization_fixture() [with T = Color]': ../../src/test/test_atomic.cpp:312:12: required from 'void TestValueInitialization() [with T = Color]' ../../src/test/test_atomic.cpp:537:31: required from 'void TestOperations(T, T, T) [with T = Color]' ../../src/test/test_atomic.cpp:712:41: required from here ../../src/test/test_atomic.cpp:301:19: warning: 'void* memset(void*, int, size_t)' writing to an object of type 'struct tbb::atomic' with no trivial copy-assignment [-Wclass-memaccess] memset(non_zeroed_storage.begin(),fill_value,sizeof(non_zeroed_storage)); ~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ In file included from ../../src/test/test_atomic.cpp:35: ../../include/tbb/atomic.h:407:8: note: 'struct tbb::atomic' declared here struct atomic: internal::atomic_impl { ^~~~~~ ../../src/test/test_atomic.cpp: In instantiation of 'initialization_tests::test_initialization_fixture::test_initialization_fixture() [with T = ScopedColor1]': ../../src/test/test_atomic.cpp:312:12: required from 'void TestValueInitialization() [with T = ScopedColor1]' ../../src/test/test_atomic.cpp:537:31: required from 'void TestOperations(T, T, T) [with T = ScopedColor1]' ../../src/test/test_atomic.cpp:740:108: required from here ../../src/test/test_atomic.cpp:301:19: warning: 'void* memset(void*, int, size_t)' writing to an object of type 'struct tbb::atomic' with no trivial copy-assignment [-Wclass-memaccess] memset(non_zeroed_storage.begin(),fill_value,sizeof(non_zeroed_storage)); ~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ In file included from ../../src/test/test_atomic.cpp:35: ../../include/tbb/atomic.h:407:8: note: 'struct tbb::atomic' declared here struct atomic: internal::atomic_impl { ^~~~~~ ../../src/test/test_atomic.cpp: In instantiation of 'initialization_tests::test_initialization_fixture::test_initialization_fixture() [with T = ScopedColor2]': ../../src/test/test_atomic.cpp:312:12: required from 'void TestValueInitialization() [with T = ScopedColor2]' ../../src/test/test_atomic.cpp:537:31: required from 'void TestOperations(T, T, T) [with T = ScopedColor2]' ../../src/test/test_atomic.cpp:745:108: required from here ../../src/test/test_atomic.cpp:301:19: warning: 'void* memset(void*, int, size_t)' writing to an object of type 'struct tbb::atomic' with no trivial copy-assignment [-Wclass-memaccess] memset(non_zeroed_storage.begin(),fill_value,sizeof(non_zeroed_storage)); ~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ In file included from ../../src/test/test_atomic.cpp:35: ../../include/tbb/atomic.h:407:8: note: 'struct tbb::atomic' declared here struct atomic: internal::atomic_impl { ^~~~~~ ../../src/test/test_atomic.cpp: In instantiation of 'initialization_tests::test_initialization_fixture::test_initialization_fixture() [with T = long long unsigned int]': ../../src/test/test_atomic.cpp:312:12: required from 'void TestValueInitialization() [with T = long long unsigned int]' ../../src/test/test_atomic.cpp:537:31: required from 'void TestOperations(T, T, T) [with T = long long unsigned int]' ../../src/test/test_atomic.cpp:625:22: required from 'void TestAtomicInteger(const char*) [with T = long long unsigned int]' ../../src/test/test_atomic.cpp:1052:68: required from here ../../src/test/test_atomic.cpp:301:19: warning: 'void* memset(void*, int, size_t)' writing to an object of type 'struct tbb::atomic' with no trivial copy-assignment [-Wclass-memaccess] memset(non_zeroed_storage.begin(),fill_value,sizeof(non_zeroed_storage)); ~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ In file included from ../../src/test/test_atomic.cpp:35: ../../include/tbb/atomic.h:421:27: note: 'struct tbb::atomic' declared here template<> struct atomic: internal::atomic_impl_with_arithmetic { \ ^~~~~~~~~ ../../include/tbb/atomic.h:439:1: note: in expansion of macro '__TBB_DECL_ATOMIC' __TBB_DECL_ATOMIC(unsigned __TBB_LONG_LONG) ^~~~~~~~~~~~~~~~~ ../../src/test/test_atomic.cpp: In instantiation of 'initialization_tests::test_initialization_fixture::test_initialization_fixture() [with T = long long int]': ../../src/test/test_atomic.cpp:312:12: required from 'void TestValueInitialization() [with T = long long int]' ../../src/test/test_atomic.cpp:537:31: required from 'void TestOperations(T, T, T) [with T = long long int]' ../../src/test/test_atomic.cpp:625:22: required from 'void TestAtomicInteger(const char*) [with T = long long int]' ../../src/test/test_atomic.cpp:1053:50: required from here ../../src/test/test_atomic.cpp:301:19: warning: 'void* memset(void*, int, size_t)' writing to an object of type 'struct tbb::atomic' with no trivial copy-assignment [-Wclass-memaccess] memset(non_zeroed_storage.begin(),fill_value,sizeof(non_zeroed_storage)); ~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ In file included from ../../src/test/test_atomic.cpp:35: ../../include/tbb/atomic.h:421:27: note: 'struct tbb::atomic' declared here template<> struct atomic: internal::atomic_impl_with_arithmetic { \ ^~~~~~~~~ ../../include/tbb/atomic.h:438:1: note: in expansion of macro '__TBB_DECL_ATOMIC' __TBB_DECL_ATOMIC(__TBB_LONG_LONG) ^~~~~~~~~~~~~~~~~ ../../src/test/test_atomic.cpp: In instantiation of 'initialization_tests::test_initialization_fixture::test_initialization_fixture() [with T = long unsigned int]': ../../src/test/test_atomic.cpp:312:12: required from 'void TestValueInitialization() [with T = long unsigned int]' ../../src/test/test_atomic.cpp:537:31: required from 'void TestOperations(T, T, T) [with T = long unsigned int]' ../../src/test/test_atomic.cpp:625:22: required from 'void TestAtomicInteger(const char*) [with T = long unsigned int]' ../../src/test/test_atomic.cpp:1060:53: required from here ../../src/test/test_atomic.cpp:301:19: warning: 'void* memset(void*, int, size_t)' writing to an object of type 'struct tbb::atomic' with no trivial copy-assignment [-Wclass-memaccess] memset(non_zeroed_storage.begin(),fill_value,sizeof(non_zeroed_storage)); ~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ In file included from ../../src/test/test_atomic.cpp:35: ../../include/tbb/atomic.h:421:27: note: 'struct tbb::atomic' declared here template<> struct atomic: internal::atomic_impl_with_arithmetic { \ ^~~~~~~~~ ../../include/tbb/atomic.h:444:1: note: in expansion of macro '__TBB_DECL_ATOMIC' __TBB_DECL_ATOMIC(unsigned long) ^~~~~~~~~~~~~~~~~ ../../src/test/test_atomic.cpp: In instantiation of 'initialization_tests::test_initialization_fixture::test_initialization_fixture() [with T = long int]': ../../src/test/test_atomic.cpp:312:12: required from 'void TestValueInitialization() [with T = long int]' ../../src/test/test_atomic.cpp:537:31: required from 'void TestOperations(T, T, T) [with T = long int]' ../../src/test/test_atomic.cpp:625:22: required from 'void TestAtomicInteger(const char*) [with T = long int]' ../../src/test/test_atomic.cpp:1061:35: required from here ../../src/test/test_atomic.cpp:301:19: warning: 'void* memset(void*, int, size_t)' writing to an object of type 'struct tbb::atomic' with no trivial copy-assignment [-Wclass-memaccess] memset(non_zeroed_storage.begin(),fill_value,sizeof(non_zeroed_storage)); ~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ In file included from ../../src/test/test_atomic.cpp:35: ../../include/tbb/atomic.h:421:27: note: 'struct tbb::atomic' declared here template<> struct atomic: internal::atomic_impl_with_arithmetic { \ ^~~~~~~~~ ../../include/tbb/atomic.h:443:1: note: in expansion of macro '__TBB_DECL_ATOMIC' __TBB_DECL_ATOMIC(long) ^~~~~~~~~~~~~~~~~ ../../src/test/test_atomic.cpp: In instantiation of 'initialization_tests::test_initialization_fixture::test_initialization_fixture() [with T = unsigned int]': ../../src/test/test_atomic.cpp:312:12: required from 'void TestValueInitialization() [with T = unsigned int]' ../../src/test/test_atomic.cpp:537:31: required from 'void TestOperations(T, T, T) [with T = unsigned int]' ../../src/test/test_atomic.cpp:625:22: required from 'void TestAtomicInteger(const char*) [with T = unsigned int]' ../../src/test/test_atomic.cpp:1062:51: required from here ../../src/test/test_atomic.cpp:301:19: warning: 'void* memset(void*, int, size_t)' writing to an object of type 'struct tbb::atomic' with no trivial copy-assignment [-Wclass-memaccess] memset(non_zeroed_storage.begin(),fill_value,sizeof(non_zeroed_storage)); ~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ In file included from ../../src/test/test_atomic.cpp:35: ../../include/tbb/atomic.h:421:27: note: 'struct tbb::atomic' declared here template<> struct atomic: internal::atomic_impl_with_arithmetic { \ ^~~~~~~~~ ../../include/tbb/atomic.h:470:1: note: in expansion of macro '__TBB_DECL_ATOMIC' __TBB_DECL_ATOMIC(unsigned) ^~~~~~~~~~~~~~~~~ ../../src/test/test_atomic.cpp: In instantiation of 'initialization_tests::test_initialization_fixture::test_initialization_fixture() [with T = int]': ../../src/test/test_atomic.cpp:312:12: required from 'void TestValueInitialization() [with T = int]' ../../src/test/test_atomic.cpp:537:31: required from 'void TestOperations(T, T, T) [with T = int]' ../../src/test/test_atomic.cpp:625:22: required from 'void TestAtomicInteger(const char*) [with T = int]' ../../src/test/test_atomic.cpp:1063:33: required from here ../../src/test/test_atomic.cpp:301:19: warning: 'void* memset(void*, int, size_t)' writing to an object of type 'struct tbb::atomic' with no trivial copy-assignment [-Wclass-memaccess] memset(non_zeroed_storage.begin(),fill_value,sizeof(non_zeroed_storage)); ~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ In file included from ../../src/test/test_atomic.cpp:35: ../../include/tbb/atomic.h:421:27: note: 'struct tbb::atomic' declared here template<> struct atomic: internal::atomic_impl_with_arithmetic { \ ^~~~~~~~~ ../../include/tbb/atomic.h:471:1: note: in expansion of macro '__TBB_DECL_ATOMIC' __TBB_DECL_ATOMIC(int) ^~~~~~~~~~~~~~~~~ ../../src/test/test_atomic.cpp: In instantiation of 'initialization_tests::test_initialization_fixture::test_initialization_fixture() [with T = short unsigned int]': ../../src/test/test_atomic.cpp:312:12: required from 'void TestValueInitialization() [with T = short unsigned int]' ../../src/test/test_atomic.cpp:537:31: required from 'void TestOperations(T, T, T) [with T = short unsigned int]' ../../src/test/test_atomic.cpp:625:22: required from 'void TestAtomicInteger(const char*) [with T = short unsigned int]' ../../src/test/test_atomic.cpp:1064:55: required from here ../../src/test/test_atomic.cpp:301:19: warning: 'void* memset(void*, int, size_t)' writing to an object of type 'struct tbb::atomic' with no trivial copy-assignment [-Wclass-memaccess] memset(non_zeroed_storage.begin(),fill_value,sizeof(non_zeroed_storage)); ~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ In file included from ../../src/test/test_atomic.cpp:35: ../../include/tbb/atomic.h:421:27: note: 'struct tbb::atomic' declared here template<> struct atomic: internal::atomic_impl_with_arithmetic { \ ^~~~~~~~~ ../../include/tbb/atomic.h:474:1: note: in expansion of macro '__TBB_DECL_ATOMIC' __TBB_DECL_ATOMIC(unsigned short) ^~~~~~~~~~~~~~~~~ ../../src/test/test_atomic.cpp: In instantiation of 'initialization_tests::test_initialization_fixture::test_initialization_fixture() [with T = short int]': ../../src/test/test_atomic.cpp:312:12: required from 'void TestValueInitialization() [with T = short int]' ../../src/test/test_atomic.cpp:537:31: required from 'void TestOperations(T, T, T) [with T = short int]' ../../src/test/test_atomic.cpp:625:22: required from 'void TestAtomicInteger(const char*) [with T = short int]' ../../src/test/test_atomic.cpp:1065:37: required from here ../../src/test/test_atomic.cpp:301:19: warning: 'void* memset(void*, int, size_t)' writing to an object of type 'struct tbb::atomic' with no trivial copy-assignment [-Wclass-memaccess] memset(non_zeroed_storage.begin(),fill_value,sizeof(non_zeroed_storage)); ~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ In file included from ../../src/test/test_atomic.cpp:35: ../../include/tbb/atomic.h:421:27: note: 'struct tbb::atomic' declared here template<> struct atomic: internal::atomic_impl_with_arithmetic { \ ^~~~~~~~~ ../../include/tbb/atomic.h:475:1: note: in expansion of macro '__TBB_DECL_ATOMIC' __TBB_DECL_ATOMIC(short) ^~~~~~~~~~~~~~~~~ ../../src/test/test_atomic.cpp: In instantiation of 'initialization_tests::test_initialization_fixture::test_initialization_fixture() [with T = signed char]': ../../src/test/test_atomic.cpp:312:12: required from 'void TestValueInitialization() [with T = signed char]' ../../src/test/test_atomic.cpp:537:31: required from 'void TestOperations(T, T, T) [with T = signed char]' ../../src/test/test_atomic.cpp:625:22: required from 'void TestAtomicInteger(const char*) [with T = signed char]' ../../src/test/test_atomic.cpp:1066:49: required from here ../../src/test/test_atomic.cpp:301:19: warning: 'void* memset(void*, int, size_t)' writing to an object of type 'struct tbb::atomic' with no trivial copy-assignment [-Wclass-memaccess] memset(non_zeroed_storage.begin(),fill_value,sizeof(non_zeroed_storage)); ~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ In file included from ../../src/test/test_atomic.cpp:35: ../../include/tbb/atomic.h:421:27: note: 'struct tbb::atomic' declared here template<> struct atomic: internal::atomic_impl_with_arithmetic { \ ^~~~~~~~~ ../../include/tbb/atomic.h:477:1: note: in expansion of macro '__TBB_DECL_ATOMIC' __TBB_DECL_ATOMIC(signed char) ^~~~~~~~~~~~~~~~~ ../../src/test/test_atomic.cpp: In instantiation of 'initialization_tests::test_initialization_fixture::test_initialization_fixture() [with T = unsigned char]': ../../src/test/test_atomic.cpp:312:12: required from 'void TestValueInitialization() [with T = unsigned char]' ../../src/test/test_atomic.cpp:537:31: required from 'void TestOperations(T, T, T) [with T = unsigned char]' ../../src/test/test_atomic.cpp:625:22: required from 'void TestAtomicInteger(const char*) [with T = unsigned char]' ../../src/test/test_atomic.cpp:1067:53: required from here ../../src/test/test_atomic.cpp:301:19: warning: 'void* memset(void*, int, size_t)' writing to an object of type 'struct tbb::atomic' with no trivial copy-assignment [-Wclass-memaccess] memset(non_zeroed_storage.begin(),fill_value,sizeof(non_zeroed_storage)); ~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ In file included from ../../src/test/test_atomic.cpp:35: ../../include/tbb/atomic.h:421:27: note: 'struct tbb::atomic' declared here template<> struct atomic: internal::atomic_impl_with_arithmetic { \ ^~~~~~~~~ ../../include/tbb/atomic.h:478:1: note: in expansion of macro '__TBB_DECL_ATOMIC' __TBB_DECL_ATOMIC(unsigned char) ^~~~~~~~~~~~~~~~~ ../../src/test/test_atomic.cpp: In instantiation of 'initialization_tests::test_initialization_fixture::test_initialization_fixture() [with T = char]': ../../src/test/test_atomic.cpp:312:12: required from 'void TestValueInitialization() [with T = char]' ../../src/test/test_atomic.cpp:537:31: required from 'void TestOperations(T, T, T) [with T = char]' ../../src/test/test_atomic.cpp:625:22: required from 'void TestAtomicInteger(const char*) [with T = char]' ../../src/test/test_atomic.cpp:1068:35: required from here ../../src/test/test_atomic.cpp:301:19: warning: 'void* memset(void*, int, size_t)' writing to an object of type 'struct tbb::atomic' with no trivial copy-assignment [-Wclass-memaccess] memset(non_zeroed_storage.begin(),fill_value,sizeof(non_zeroed_storage)); ~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ In file included from ../../src/test/test_atomic.cpp:35: ../../include/tbb/atomic.h:421:27: note: 'struct tbb::atomic' declared here template<> struct atomic: internal::atomic_impl_with_arithmetic { \ ^~~~~~~~~ ../../include/tbb/atomic.h:476:1: note: in expansion of macro '__TBB_DECL_ATOMIC' __TBB_DECL_ATOMIC(char) ^~~~~~~~~~~~~~~~~ ../../src/test/test_atomic.cpp: In instantiation of 'initialization_tests::test_initialization_fixture::test_initialization_fixture() [with T = wchar_t]': ../../src/test/test_atomic.cpp:312:12: required from 'void TestValueInitialization() [with T = wchar_t]' ../../src/test/test_atomic.cpp:537:31: required from 'void TestOperations(T, T, T) [with T = wchar_t]' ../../src/test/test_atomic.cpp:625:22: required from 'void TestAtomicInteger(const char*) [with T = wchar_t]' ../../src/test/test_atomic.cpp:1069:41: required from here ../../src/test/test_atomic.cpp:301:19: warning: 'void* memset(void*, int, size_t)' writing to an object of type 'struct tbb::atomic' with no trivial copy-assignment [-Wclass-memaccess] memset(non_zeroed_storage.begin(),fill_value,sizeof(non_zeroed_storage)); ~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ In file included from ../../src/test/test_atomic.cpp:35: ../../include/tbb/atomic.h:421:27: note: 'struct tbb::atomic' declared here template<> struct atomic: internal::atomic_impl_with_arithmetic { \ ^~~~~~~~~ ../../include/tbb/atomic.h:481:1: note: in expansion of macro '__TBB_DECL_ATOMIC' __TBB_DECL_ATOMIC(wchar_t) ^~~~~~~~~~~~~~~~~ ../../src/test/test_atomic.cpp: In instantiation of 'initialization_tests::test_initialization_fixture::test_initialization_fixture() [with T = ArrayElement<1>*]': ../../src/test/test_atomic.cpp:312:12: required from 'void TestValueInitialization() [with T = ArrayElement<1>*]' ../../src/test/test_atomic.cpp:537:31: required from 'void TestOperations(T, T, T) [with T = ArrayElement<1>*]' ../../src/test/test_atomic.cpp:673:23: required from 'void TestAtomicPointer() [with T = ArrayElement<1>]' ../../src/test/test_atomic.cpp:1072:41: required from here ../../src/test/test_atomic.cpp:301:19: warning: 'void* memset(void*, int, size_t)' writing to an object of type 'struct tbb::atomic*>' with no trivial copy-assignment [-Wclass-memaccess] memset(non_zeroed_storage.begin(),fill_value,sizeof(non_zeroed_storage)); ~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ In file included from ../../src/test/test_atomic.cpp:35: ../../include/tbb/atomic.h:485:29: note: 'struct tbb::atomic*>' declared here template struct atomic: internal::atomic_impl_with_arithmetic { ^~~~~~~~~~ ../../src/test/test_atomic.cpp: In instantiation of 'initialization_tests::test_initialization_fixture::test_initialization_fixture() [with T = ArrayElement<2>*]': ../../src/test/test_atomic.cpp:312:12: required from 'void TestValueInitialization() [with T = ArrayElement<2>*]' ../../src/test/test_atomic.cpp:537:31: required from 'void TestOperations(T, T, T) [with T = ArrayElement<2>*]' ../../src/test/test_atomic.cpp:673:23: required from 'void TestAtomicPointer() [with T = ArrayElement<2>]' ../../src/test/test_atomic.cpp:1073:41: required from here ../../src/test/test_atomic.cpp:301:19: warning: 'void* memset(void*, int, size_t)' writing to an object of type 'struct tbb::atomic*>' with no trivial copy-assignment [-Wclass-memaccess] memset(non_zeroed_storage.begin(),fill_value,sizeof(non_zeroed_storage)); ~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ In file included from ../../src/test/test_atomic.cpp:35: ../../include/tbb/atomic.h:485:29: note: 'struct tbb::atomic*>' declared here template struct atomic: internal::atomic_impl_with_arithmetic { ^~~~~~~~~~ ../../src/test/test_atomic.cpp: In instantiation of 'initialization_tests::test_initialization_fixture::test_initialization_fixture() [with T = ArrayElement<3>*]': ../../src/test/test_atomic.cpp:312:12: required from 'void TestValueInitialization() [with T = ArrayElement<3>*]' ../../src/test/test_atomic.cpp:537:31: required from 'void TestOperations(T, T, T) [with T = ArrayElement<3>*]' ../../src/test/test_atomic.cpp:673:23: required from 'void TestAtomicPointer() [with T = ArrayElement<3>]' ../../src/test/test_atomic.cpp:1074:41: required from here ../../src/test/test_atomic.cpp:301:19: warning: 'void* memset(void*, int, size_t)' writing to an object of type 'struct tbb::atomic*>' with no trivial copy-assignment [-Wclass-memaccess] memset(non_zeroed_storage.begin(),fill_value,sizeof(non_zeroed_storage)); ~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ In file included from ../../src/test/test_atomic.cpp:35: ../../include/tbb/atomic.h:485:29: note: 'struct tbb::atomic*>' declared here template struct atomic: internal::atomic_impl_with_arithmetic { ^~~~~~~~~~ ../../src/test/test_atomic.cpp: In instantiation of 'initialization_tests::test_initialization_fixture::test_initialization_fixture() [with T = ArrayElement<4>*]': ../../src/test/test_atomic.cpp:312:12: required from 'void TestValueInitialization() [with T = ArrayElement<4>*]' ../../src/test/test_atomic.cpp:537:31: required from 'void TestOperations(T, T, T) [with T = ArrayElement<4>*]' ../../src/test/test_atomic.cpp:673:23: required from 'void TestAtomicPointer() [with T = ArrayElement<4>]' ../../src/test/test_atomic.cpp:1075:41: required from here ../../src/test/test_atomic.cpp:301:19: warning: 'void* memset(void*, int, size_t)' writing to an object of type 'struct tbb::atomic*>' with no trivial copy-assignment [-Wclass-memaccess] memset(non_zeroed_storage.begin(),fill_value,sizeof(non_zeroed_storage)); ~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ In file included from ../../src/test/test_atomic.cpp:35: ../../include/tbb/atomic.h:485:29: note: 'struct tbb::atomic*>' declared here template struct atomic: internal::atomic_impl_with_arithmetic { ^~~~~~~~~~ ../../src/test/test_atomic.cpp: In instantiation of 'initialization_tests::test_initialization_fixture::test_initialization_fixture() [with T = ArrayElement<5>*]': ../../src/test/test_atomic.cpp:312:12: required from 'void TestValueInitialization() [with T = ArrayElement<5>*]' ../../src/test/test_atomic.cpp:537:31: required from 'void TestOperations(T, T, T) [with T = ArrayElement<5>*]' ../../src/test/test_atomic.cpp:673:23: required from 'void TestAtomicPointer() [with T = ArrayElement<5>]' ../../src/test/test_atomic.cpp:1076:41: required from here ../../src/test/test_atomic.cpp:301:19: warning: 'void* memset(void*, int, size_t)' writing to an object of type 'struct tbb::atomic*>' with no trivial copy-assignment [-Wclass-memaccess] memset(non_zeroed_storage.begin(),fill_value,sizeof(non_zeroed_storage)); ~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ In file included from ../../src/test/test_atomic.cpp:35: ../../include/tbb/atomic.h:485:29: note: 'struct tbb::atomic*>' declared here template struct atomic: internal::atomic_impl_with_arithmetic { ^~~~~~~~~~ ../../src/test/test_atomic.cpp: In instantiation of 'initialization_tests::test_initialization_fixture::test_initialization_fixture() [with T = ArrayElement<6>*]': ../../src/test/test_atomic.cpp:312:12: required from 'void TestValueInitialization() [with T = ArrayElement<6>*]' ../../src/test/test_atomic.cpp:537:31: required from 'void TestOperations(T, T, T) [with T = ArrayElement<6>*]' ../../src/test/test_atomic.cpp:673:23: required from 'void TestAtomicPointer() [with T = ArrayElement<6>]' ../../src/test/test_atomic.cpp:1077:41: required from here ../../src/test/test_atomic.cpp:301:19: warning: 'void* memset(void*, int, size_t)' writing to an object of type 'struct tbb::atomic*>' with no trivial copy-assignment [-Wclass-memaccess] memset(non_zeroed_storage.begin(),fill_value,sizeof(non_zeroed_storage)); ~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ In file included from ../../src/test/test_atomic.cpp:35: ../../include/tbb/atomic.h:485:29: note: 'struct tbb::atomic*>' declared here template struct atomic: internal::atomic_impl_with_arithmetic { ^~~~~~~~~~ ../../src/test/test_atomic.cpp: In instantiation of 'initialization_tests::test_initialization_fixture::test_initialization_fixture() [with T = ArrayElement<7>*]': ../../src/test/test_atomic.cpp:312:12: required from 'void TestValueInitialization() [with T = ArrayElement<7>*]' ../../src/test/test_atomic.cpp:537:31: required from 'void TestOperations(T, T, T) [with T = ArrayElement<7>*]' ../../src/test/test_atomic.cpp:673:23: required from 'void TestAtomicPointer() [with T = ArrayElement<7>]' ../../src/test/test_atomic.cpp:1078:41: required from here ../../src/test/test_atomic.cpp:301:19: warning: 'void* memset(void*, int, size_t)' writing to an object of type 'struct tbb::atomic*>' with no trivial copy-assignment [-Wclass-memaccess] memset(non_zeroed_storage.begin(),fill_value,sizeof(non_zeroed_storage)); ~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ In file included from ../../src/test/test_atomic.cpp:35: ../../include/tbb/atomic.h:485:29: note: 'struct tbb::atomic*>' declared here template struct atomic: internal::atomic_impl_with_arithmetic { ^~~~~~~~~~ ../../src/test/test_atomic.cpp: In instantiation of 'initialization_tests::test_initialization_fixture::test_initialization_fixture() [with T = ArrayElement<8>*]': ../../src/test/test_atomic.cpp:312:12: required from 'void TestValueInitialization() [with T = ArrayElement<8>*]' ../../src/test/test_atomic.cpp:537:31: required from 'void TestOperations(T, T, T) [with T = ArrayElement<8>*]' ../../src/test/test_atomic.cpp:673:23: required from 'void TestAtomicPointer() [with T = ArrayElement<8>]' ../../src/test/test_atomic.cpp:1079:41: required from here ../../src/test/test_atomic.cpp:301:19: warning: 'void* memset(void*, int, size_t)' writing to an object of type 'struct tbb::atomic*>' with no trivial copy-assignment [-Wclass-memaccess] memset(non_zeroed_storage.begin(),fill_value,sizeof(non_zeroed_storage)); ~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ In file included from ../../src/test/test_atomic.cpp:35: ../../include/tbb/atomic.h:485:29: note: 'struct tbb::atomic*>' declared here template struct atomic: internal::atomic_impl_with_arithmetic { ^~~~~~~~~~ ../../src/test/test_atomic.cpp: In instantiation of 'initialization_tests::test_initialization_fixture::test_initialization_fixture() [with T = IncompleteType*]': ../../src/test/test_atomic.cpp:312:12: required from 'void TestValueInitialization() [with T = IncompleteType*]' ../../src/test/test_atomic.cpp:537:31: required from 'void TestOperations(T, T, T) [with T = IncompleteType*]' ../../src/test/test_atomic.cpp:685:24: required from 'void TestAtomicPointerToTypeOfUnknownSize(const char*) [with Ptr = IncompleteType*]' ../../src/test/test_atomic.cpp:1080:78: required from here ../../src/test/test_atomic.cpp:301:19: warning: 'void* memset(void*, int, size_t)' writing to an object of type 'struct tbb::atomic' with no trivial copy-assignment [-Wclass-memaccess] memset(non_zeroed_storage.begin(),fill_value,sizeof(non_zeroed_storage)); ~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ In file included from ../../src/test/test_atomic.cpp:35: ../../include/tbb/atomic.h:485:29: note: 'struct tbb::atomic' declared here template struct atomic: internal::atomic_impl_with_arithmetic { ^~~~~~~~~~ ../../src/test/test_atomic.cpp: In instantiation of 'initialization_tests::test_initialization_fixture::test_initialization_fixture() [with T = void*]': ../../src/test/test_atomic.cpp:312:12: required from 'void TestValueInitialization() [with T = void*]' ../../src/test/test_atomic.cpp:537:31: required from 'void TestOperations(T, T, T) [with T = void*]' ../../src/test/test_atomic.cpp:685:24: required from 'void TestAtomicPointerToTypeOfUnknownSize(const char*) [with Ptr = void*]' ../../src/test/test_atomic.cpp:1081:58: required from here ../../src/test/test_atomic.cpp:301:19: warning: 'void* memset(void*, int, size_t)' writing to an object of type 'struct tbb::atomic' with no trivial copy-assignment [-Wclass-memaccess] memset(non_zeroed_storage.begin(),fill_value,sizeof(non_zeroed_storage)); ~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ In file included from ../../src/test/test_atomic.cpp:35: ../../include/tbb/atomic.h:503:19: note: 'struct tbb::atomic' declared here template<> struct atomic: internal::atomic_impl { ^~~~~~~~~~~~~ ../../src/test/test_atomic.cpp: In instantiation of 'initialization_tests::test_initialization_fixture::test_initialization_fixture() [with T = float]': ../../src/test/test_atomic.cpp:312:12: required from 'void TestValueInitialization() [with T = float]' ../../src/test/test_atomic.cpp:537:31: required from 'void TestOperations(T, T, T) [with T = float]' ../../src/test/test_atomic.cpp:759:22: required from 'void TestAtomicFloat(const char*) [with T = float]' ../../src/test/test_atomic.cpp:1087:35: required from here ../../src/test/test_atomic.cpp:301:19: warning: 'void* memset(void*, int, size_t)' writing to an object of type 'struct tbb::atomic' with no trivial copy-assignment [-Wclass-memaccess] memset(non_zeroed_storage.begin(),fill_value,sizeof(non_zeroed_storage)); ~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ In file included from ../../src/test/test_atomic.cpp:35: ../../include/tbb/atomic.h:407:8: note: 'struct tbb::atomic' declared here struct atomic: internal::atomic_impl { ^~~~~~ ../../src/test/test_atomic.cpp: In instantiation of 'initialization_tests::test_initialization_fixture::test_initialization_fixture() [with T = double]': ../../src/test/test_atomic.cpp:312:12: required from 'void TestValueInitialization() [with T = double]' ../../src/test/test_atomic.cpp:537:31: required from 'void TestOperations(T, T, T) [with T = double]' ../../src/test/test_atomic.cpp:759:22: required from 'void TestAtomicFloat(const char*) [with T = double]' ../../src/test/test_atomic.cpp:1089:41: required from here ../../src/test/test_atomic.cpp:301:19: warning: 'void* memset(void*, int, size_t)' writing to an object of type 'struct tbb::atomic' with no trivial copy-assignment [-Wclass-memaccess] memset(non_zeroed_storage.begin(),fill_value,sizeof(non_zeroed_storage)); ~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ In file included from ../../src/test/test_atomic.cpp:35: ../../include/tbb/atomic.h:407:8: note: 'struct tbb::atomic' declared here struct atomic: internal::atomic_impl { ^~~~~~ g++ -o test_atomic.exe -O2 -g -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -fexceptions -fstack-protector-strong -grecord-gcc-switches -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -mcpu=power8 -mtune=power8 -funwind-tables -fstack-clash-protection -g -O2 -DUSE_PTHREAD -DTEST_USES_TBB=1 -Wall -Wshadow -Wcast-qual -Woverloaded-virtual -Wnon-virtual-dtor -Wextra -O2 -g -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -fexceptions -fstack-protector-strong -grecord-gcc-switches -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -mcpu=power8 -mtune=power8 -funwind-tables -fstack-clash-protection test_atomic.o libtbb.so -lpthread -lrt -Wl,-rpath-link=. -rdynamic g++ -o test_atomic_pic.o -c -MMD -O2 -g -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -fexceptions -fstack-protector-strong -grecord-gcc-switches -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -mcpu=power8 -mtune=power8 -funwind-tables -fstack-clash-protection -g -O2 -DUSE_PTHREAD -DTEST_USES_TBB=1 -Wall -Wshadow -Wcast-qual -Woverloaded-virtual -Wnon-virtual-dtor -Wextra -O2 -g -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -fexceptions -fstack-protector-strong -grecord-gcc-switches -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -mcpu=power8 -mtune=power8 -funwind-tables -fstack-clash-protection -fPIC -D__TBB_TEST_PIC=1 -std=c++14 -I../../src -I../../src/rml/include -I../../include -I. -include ../../src/test/harness_preload.h ../../src/test/test_atomic.cpp In file included from ../../include/tbb/tbb_machine.h:243, from ../../include/tbb/atomic.h:32, from ../../src/test/test_atomic.cpp:35: ../../include/tbb/machine/mac_ppc.h: In function 'int32_t __TBB_machine_cmpswp4(volatile void*, int32_t, int32_t)': ../../include/tbb/machine/mac_ppc.h:91:46: warning: cast from type 'volatile void*' to type 'int32_t*' {aka 'int*'} casts away qualifiers [-Wcast-qual] , "+m"(* (int32_t*) ptr) /* redundant with "memory" */ ^~~ ../../include/tbb/machine/mac_ppc.h: In function 'int64_t __TBB_machine_cmpswp8(volatile void*, int64_t, int64_t)': ../../include/tbb/machine/mac_ppc.h:116:46: warning: cast from type 'volatile void*' to type 'int64_t*' {aka 'long int*'} casts away qualifiers [-Wcast-qual] , "+m"(* (int64_t*) ptr) /* redundant with "memory" */ ^~~ ../../src/test/test_atomic.cpp: In instantiation of 'initialization_tests::test_initialization_fixture::test_initialization_fixture() [with T = bool]': ../../src/test/test_atomic.cpp:312:12: required from 'void TestValueInitialization() [with T = bool]' ../../src/test/test_atomic.cpp:537:31: required from 'void TestOperations(T, T, T) [with T = bool]' ../../src/test/test_atomic.cpp:691:41: required from here ../../src/test/test_atomic.cpp:301:19: warning: 'void* memset(void*, int, size_t)' writing to an object of type 'struct tbb::atomic' with no trivial copy-assignment [-Wclass-memaccess] memset(non_zeroed_storage.begin(),fill_value,sizeof(non_zeroed_storage)); ~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ In file included from ../../src/test/test_atomic.cpp:35: ../../include/tbb/atomic.h:407:8: note: 'struct tbb::atomic' declared here struct atomic: internal::atomic_impl { ^~~~~~ ../../src/test/test_atomic.cpp: In instantiation of 'initialization_tests::test_initialization_fixture::test_initialization_fixture() [with T = Color]': ../../src/test/test_atomic.cpp:312:12: required from 'void TestValueInitialization() [with T = Color]' ../../src/test/test_atomic.cpp:537:31: required from 'void TestOperations(T, T, T) [with T = Color]' ../../src/test/test_atomic.cpp:712:41: required from here ../../src/test/test_atomic.cpp:301:19: warning: 'void* memset(void*, int, size_t)' writing to an object of type 'struct tbb::atomic' with no trivial copy-assignment [-Wclass-memaccess] memset(non_zeroed_storage.begin(),fill_value,sizeof(non_zeroed_storage)); ~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ In file included from ../../src/test/test_atomic.cpp:35: ../../include/tbb/atomic.h:407:8: note: 'struct tbb::atomic' declared here struct atomic: internal::atomic_impl { ^~~~~~ ../../src/test/test_atomic.cpp: In instantiation of 'initialization_tests::test_initialization_fixture::test_initialization_fixture() [with T = ScopedColor1]': ../../src/test/test_atomic.cpp:312:12: required from 'void TestValueInitialization() [with T = ScopedColor1]' ../../src/test/test_atomic.cpp:537:31: required from 'void TestOperations(T, T, T) [with T = ScopedColor1]' ../../src/test/test_atomic.cpp:740:108: required from here ../../src/test/test_atomic.cpp:301:19: warning: 'void* memset(void*, int, size_t)' writing to an object of type 'struct tbb::atomic' with no trivial copy-assignment [-Wclass-memaccess] memset(non_zeroed_storage.begin(),fill_value,sizeof(non_zeroed_storage)); ~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ In file included from ../../src/test/test_atomic.cpp:35: ../../include/tbb/atomic.h:407:8: note: 'struct tbb::atomic' declared here struct atomic: internal::atomic_impl { ^~~~~~ ../../src/test/test_atomic.cpp: In instantiation of 'initialization_tests::test_initialization_fixture::test_initialization_fixture() [with T = ScopedColor2]': ../../src/test/test_atomic.cpp:312:12: required from 'void TestValueInitialization() [with T = ScopedColor2]' ../../src/test/test_atomic.cpp:537:31: required from 'void TestOperations(T, T, T) [with T = ScopedColor2]' ../../src/test/test_atomic.cpp:745:108: required from here ../../src/test/test_atomic.cpp:301:19: warning: 'void* memset(void*, int, size_t)' writing to an object of type 'struct tbb::atomic' with no trivial copy-assignment [-Wclass-memaccess] memset(non_zeroed_storage.begin(),fill_value,sizeof(non_zeroed_storage)); ~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ In file included from ../../src/test/test_atomic.cpp:35: ../../include/tbb/atomic.h:407:8: note: 'struct tbb::atomic' declared here struct atomic: internal::atomic_impl { ^~~~~~ ../../src/test/test_atomic.cpp: In instantiation of 'initialization_tests::test_initialization_fixture::test_initialization_fixture() [with T = long long unsigned int]': ../../src/test/test_atomic.cpp:312:12: required from 'void TestValueInitialization() [with T = long long unsigned int]' ../../src/test/test_atomic.cpp:537:31: required from 'void TestOperations(T, T, T) [with T = long long unsigned int]' ../../src/test/test_atomic.cpp:625:22: required from 'void TestAtomicInteger(const char*) [with T = long long unsigned int]' ../../src/test/test_atomic.cpp:1052:68: required from here ../../src/test/test_atomic.cpp:301:19: warning: 'void* memset(void*, int, size_t)' writing to an object of type 'struct tbb::atomic' with no trivial copy-assignment [-Wclass-memaccess] memset(non_zeroed_storage.begin(),fill_value,sizeof(non_zeroed_storage)); ~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ In file included from ../../src/test/test_atomic.cpp:35: ../../include/tbb/atomic.h:421:27: note: 'struct tbb::atomic' declared here template<> struct atomic: internal::atomic_impl_with_arithmetic { \ ^~~~~~~~~ ../../include/tbb/atomic.h:439:1: note: in expansion of macro '__TBB_DECL_ATOMIC' __TBB_DECL_ATOMIC(unsigned __TBB_LONG_LONG) ^~~~~~~~~~~~~~~~~ ../../src/test/test_atomic.cpp: In instantiation of 'initialization_tests::test_initialization_fixture::test_initialization_fixture() [with T = long long int]': ../../src/test/test_atomic.cpp:312:12: required from 'void TestValueInitialization() [with T = long long int]' ../../src/test/test_atomic.cpp:537:31: required from 'void TestOperations(T, T, T) [with T = long long int]' ../../src/test/test_atomic.cpp:625:22: required from 'void TestAtomicInteger(const char*) [with T = long long int]' ../../src/test/test_atomic.cpp:1053:50: required from here ../../src/test/test_atomic.cpp:301:19: warning: 'void* memset(void*, int, size_t)' writing to an object of type 'struct tbb::atomic' with no trivial copy-assignment [-Wclass-memaccess] memset(non_zeroed_storage.begin(),fill_value,sizeof(non_zeroed_storage)); ~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ In file included from ../../src/test/test_atomic.cpp:35: ../../include/tbb/atomic.h:421:27: note: 'struct tbb::atomic' declared here template<> struct atomic: internal::atomic_impl_with_arithmetic { \ ^~~~~~~~~ ../../include/tbb/atomic.h:438:1: note: in expansion of macro '__TBB_DECL_ATOMIC' __TBB_DECL_ATOMIC(__TBB_LONG_LONG) ^~~~~~~~~~~~~~~~~ ../../src/test/test_atomic.cpp: In instantiation of 'initialization_tests::test_initialization_fixture::test_initialization_fixture() [with T = long unsigned int]': ../../src/test/test_atomic.cpp:312:12: required from 'void TestValueInitialization() [with T = long unsigned int]' ../../src/test/test_atomic.cpp:537:31: required from 'void TestOperations(T, T, T) [with T = long unsigned int]' ../../src/test/test_atomic.cpp:625:22: required from 'void TestAtomicInteger(const char*) [with T = long unsigned int]' ../../src/test/test_atomic.cpp:1060:53: required from here ../../src/test/test_atomic.cpp:301:19: warning: 'void* memset(void*, int, size_t)' writing to an object of type 'struct tbb::atomic' with no trivial copy-assignment [-Wclass-memaccess] memset(non_zeroed_storage.begin(),fill_value,sizeof(non_zeroed_storage)); ~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ In file included from ../../src/test/test_atomic.cpp:35: ../../include/tbb/atomic.h:421:27: note: 'struct tbb::atomic' declared here template<> struct atomic: internal::atomic_impl_with_arithmetic { \ ^~~~~~~~~ ../../include/tbb/atomic.h:444:1: note: in expansion of macro '__TBB_DECL_ATOMIC' __TBB_DECL_ATOMIC(unsigned long) ^~~~~~~~~~~~~~~~~ ../../src/test/test_atomic.cpp: In instantiation of 'initialization_tests::test_initialization_fixture::test_initialization_fixture() [with T = long int]': ../../src/test/test_atomic.cpp:312:12: required from 'void TestValueInitialization() [with T = long int]' ../../src/test/test_atomic.cpp:537:31: required from 'void TestOperations(T, T, T) [with T = long int]' ../../src/test/test_atomic.cpp:625:22: required from 'void TestAtomicInteger(const char*) [with T = long int]' ../../src/test/test_atomic.cpp:1061:35: required from here ../../src/test/test_atomic.cpp:301:19: warning: 'void* memset(void*, int, size_t)' writing to an object of type 'struct tbb::atomic' with no trivial copy-assignment [-Wclass-memaccess] memset(non_zeroed_storage.begin(),fill_value,sizeof(non_zeroed_storage)); ~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ In file included from ../../src/test/test_atomic.cpp:35: ../../include/tbb/atomic.h:421:27: note: 'struct tbb::atomic' declared here template<> struct atomic: internal::atomic_impl_with_arithmetic { \ ^~~~~~~~~ ../../include/tbb/atomic.h:443:1: note: in expansion of macro '__TBB_DECL_ATOMIC' __TBB_DECL_ATOMIC(long) ^~~~~~~~~~~~~~~~~ ../../src/test/test_atomic.cpp: In instantiation of 'initialization_tests::test_initialization_fixture::test_initialization_fixture() [with T = unsigned int]': ../../src/test/test_atomic.cpp:312:12: required from 'void TestValueInitialization() [with T = unsigned int]' ../../src/test/test_atomic.cpp:537:31: required from 'void TestOperations(T, T, T) [with T = unsigned int]' ../../src/test/test_atomic.cpp:625:22: required from 'void TestAtomicInteger(const char*) [with T = unsigned int]' ../../src/test/test_atomic.cpp:1062:51: required from here ../../src/test/test_atomic.cpp:301:19: warning: 'void* memset(void*, int, size_t)' writing to an object of type 'struct tbb::atomic' with no trivial copy-assignment [-Wclass-memaccess] memset(non_zeroed_storage.begin(),fill_value,sizeof(non_zeroed_storage)); ~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ In file included from ../../src/test/test_atomic.cpp:35: ../../include/tbb/atomic.h:421:27: note: 'struct tbb::atomic' declared here template<> struct atomic: internal::atomic_impl_with_arithmetic { \ ^~~~~~~~~ ../../include/tbb/atomic.h:470:1: note: in expansion of macro '__TBB_DECL_ATOMIC' __TBB_DECL_ATOMIC(unsigned) ^~~~~~~~~~~~~~~~~ ../../src/test/test_atomic.cpp: In instantiation of 'initialization_tests::test_initialization_fixture::test_initialization_fixture() [with T = int]': ../../src/test/test_atomic.cpp:312:12: required from 'void TestValueInitialization() [with T = int]' ../../src/test/test_atomic.cpp:537:31: required from 'void TestOperations(T, T, T) [with T = int]' ../../src/test/test_atomic.cpp:625:22: required from 'void TestAtomicInteger(const char*) [with T = int]' ../../src/test/test_atomic.cpp:1063:33: required from here ../../src/test/test_atomic.cpp:301:19: warning: 'void* memset(void*, int, size_t)' writing to an object of type 'struct tbb::atomic' with no trivial copy-assignment [-Wclass-memaccess] memset(non_zeroed_storage.begin(),fill_value,sizeof(non_zeroed_storage)); ~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ In file included from ../../src/test/test_atomic.cpp:35: ../../include/tbb/atomic.h:421:27: note: 'struct tbb::atomic' declared here template<> struct atomic: internal::atomic_impl_with_arithmetic { \ ^~~~~~~~~ ../../include/tbb/atomic.h:471:1: note: in expansion of macro '__TBB_DECL_ATOMIC' __TBB_DECL_ATOMIC(int) ^~~~~~~~~~~~~~~~~ ../../src/test/test_atomic.cpp: In instantiation of 'initialization_tests::test_initialization_fixture::test_initialization_fixture() [with T = short unsigned int]': ../../src/test/test_atomic.cpp:312:12: required from 'void TestValueInitialization() [with T = short unsigned int]' ../../src/test/test_atomic.cpp:537:31: required from 'void TestOperations(T, T, T) [with T = short unsigned int]' ../../src/test/test_atomic.cpp:625:22: required from 'void TestAtomicInteger(const char*) [with T = short unsigned int]' ../../src/test/test_atomic.cpp:1064:55: required from here ../../src/test/test_atomic.cpp:301:19: warning: 'void* memset(void*, int, size_t)' writing to an object of type 'struct tbb::atomic' with no trivial copy-assignment [-Wclass-memaccess] memset(non_zeroed_storage.begin(),fill_value,sizeof(non_zeroed_storage)); ~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ In file included from ../../src/test/test_atomic.cpp:35: ../../include/tbb/atomic.h:421:27: note: 'struct tbb::atomic' declared here template<> struct atomic: internal::atomic_impl_with_arithmetic { \ ^~~~~~~~~ ../../include/tbb/atomic.h:474:1: note: in expansion of macro '__TBB_DECL_ATOMIC' __TBB_DECL_ATOMIC(unsigned short) ^~~~~~~~~~~~~~~~~ ../../src/test/test_atomic.cpp: In instantiation of 'initialization_tests::test_initialization_fixture::test_initialization_fixture() [with T = short int]': ../../src/test/test_atomic.cpp:312:12: required from 'void TestValueInitialization() [with T = short int]' ../../src/test/test_atomic.cpp:537:31: required from 'void TestOperations(T, T, T) [with T = short int]' ../../src/test/test_atomic.cpp:625:22: required from 'void TestAtomicInteger(const char*) [with T = short int]' ../../src/test/test_atomic.cpp:1065:37: required from here ../../src/test/test_atomic.cpp:301:19: warning: 'void* memset(void*, int, size_t)' writing to an object of type 'struct tbb::atomic' with no trivial copy-assignment [-Wclass-memaccess] memset(non_zeroed_storage.begin(),fill_value,sizeof(non_zeroed_storage)); ~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ In file included from ../../src/test/test_atomic.cpp:35: ../../include/tbb/atomic.h:421:27: note: 'struct tbb::atomic' declared here template<> struct atomic: internal::atomic_impl_with_arithmetic { \ ^~~~~~~~~ ../../include/tbb/atomic.h:475:1: note: in expansion of macro '__TBB_DECL_ATOMIC' __TBB_DECL_ATOMIC(short) ^~~~~~~~~~~~~~~~~ ../../src/test/test_atomic.cpp: In instantiation of 'initialization_tests::test_initialization_fixture::test_initialization_fixture() [with T = signed char]': ../../src/test/test_atomic.cpp:312:12: required from 'void TestValueInitialization() [with T = signed char]' ../../src/test/test_atomic.cpp:537:31: required from 'void TestOperations(T, T, T) [with T = signed char]' ../../src/test/test_atomic.cpp:625:22: required from 'void TestAtomicInteger(const char*) [with T = signed char]' ../../src/test/test_atomic.cpp:1066:49: required from here ../../src/test/test_atomic.cpp:301:19: warning: 'void* memset(void*, int, size_t)' writing to an object of type 'struct tbb::atomic' with no trivial copy-assignment [-Wclass-memaccess] memset(non_zeroed_storage.begin(),fill_value,sizeof(non_zeroed_storage)); ~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ In file included from ../../src/test/test_atomic.cpp:35: ../../include/tbb/atomic.h:421:27: note: 'struct tbb::atomic' declared here template<> struct atomic: internal::atomic_impl_with_arithmetic { \ ^~~~~~~~~ ../../include/tbb/atomic.h:477:1: note: in expansion of macro '__TBB_DECL_ATOMIC' __TBB_DECL_ATOMIC(signed char) ^~~~~~~~~~~~~~~~~ ../../src/test/test_atomic.cpp: In instantiation of 'initialization_tests::test_initialization_fixture::test_initialization_fixture() [with T = unsigned char]': ../../src/test/test_atomic.cpp:312:12: required from 'void TestValueInitialization() [with T = unsigned char]' ../../src/test/test_atomic.cpp:537:31: required from 'void TestOperations(T, T, T) [with T = unsigned char]' ../../src/test/test_atomic.cpp:625:22: required from 'void TestAtomicInteger(const char*) [with T = unsigned char]' ../../src/test/test_atomic.cpp:1067:53: required from here ../../src/test/test_atomic.cpp:301:19: warning: 'void* memset(void*, int, size_t)' writing to an object of type 'struct tbb::atomic' with no trivial copy-assignment [-Wclass-memaccess] memset(non_zeroed_storage.begin(),fill_value,sizeof(non_zeroed_storage)); ~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ In file included from ../../src/test/test_atomic.cpp:35: ../../include/tbb/atomic.h:421:27: note: 'struct tbb::atomic' declared here template<> struct atomic: internal::atomic_impl_with_arithmetic { \ ^~~~~~~~~ ../../include/tbb/atomic.h:478:1: note: in expansion of macro '__TBB_DECL_ATOMIC' __TBB_DECL_ATOMIC(unsigned char) ^~~~~~~~~~~~~~~~~ ../../src/test/test_atomic.cpp: In instantiation of 'initialization_tests::test_initialization_fixture::test_initialization_fixture() [with T = char]': ../../src/test/test_atomic.cpp:312:12: required from 'void TestValueInitialization() [with T = char]' ../../src/test/test_atomic.cpp:537:31: required from 'void TestOperations(T, T, T) [with T = char]' ../../src/test/test_atomic.cpp:625:22: required from 'void TestAtomicInteger(const char*) [with T = char]' ../../src/test/test_atomic.cpp:1068:35: required from here ../../src/test/test_atomic.cpp:301:19: warning: 'void* memset(void*, int, size_t)' writing to an object of type 'struct tbb::atomic' with no trivial copy-assignment [-Wclass-memaccess] memset(non_zeroed_storage.begin(),fill_value,sizeof(non_zeroed_storage)); ~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ In file included from ../../src/test/test_atomic.cpp:35: ../../include/tbb/atomic.h:421:27: note: 'struct tbb::atomic' declared here template<> struct atomic: internal::atomic_impl_with_arithmetic { \ ^~~~~~~~~ ../../include/tbb/atomic.h:476:1: note: in expansion of macro '__TBB_DECL_ATOMIC' __TBB_DECL_ATOMIC(char) ^~~~~~~~~~~~~~~~~ ../../src/test/test_atomic.cpp: In instantiation of 'initialization_tests::test_initialization_fixture::test_initialization_fixture() [with T = wchar_t]': ../../src/test/test_atomic.cpp:312:12: required from 'void TestValueInitialization() [with T = wchar_t]' ../../src/test/test_atomic.cpp:537:31: required from 'void TestOperations(T, T, T) [with T = wchar_t]' ../../src/test/test_atomic.cpp:625:22: required from 'void TestAtomicInteger(const char*) [with T = wchar_t]' ../../src/test/test_atomic.cpp:1069:41: required from here ../../src/test/test_atomic.cpp:301:19: warning: 'void* memset(void*, int, size_t)' writing to an object of type 'struct tbb::atomic' with no trivial copy-assignment [-Wclass-memaccess] memset(non_zeroed_storage.begin(),fill_value,sizeof(non_zeroed_storage)); ~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ In file included from ../../src/test/test_atomic.cpp:35: ../../include/tbb/atomic.h:421:27: note: 'struct tbb::atomic' declared here template<> struct atomic: internal::atomic_impl_with_arithmetic { \ ^~~~~~~~~ ../../include/tbb/atomic.h:481:1: note: in expansion of macro '__TBB_DECL_ATOMIC' __TBB_DECL_ATOMIC(wchar_t) ^~~~~~~~~~~~~~~~~ ../../src/test/test_atomic.cpp: In instantiation of 'initialization_tests::test_initialization_fixture::test_initialization_fixture() [with T = ArrayElement<1>*]': ../../src/test/test_atomic.cpp:312:12: required from 'void TestValueInitialization() [with T = ArrayElement<1>*]' ../../src/test/test_atomic.cpp:537:31: required from 'void TestOperations(T, T, T) [with T = ArrayElement<1>*]' ../../src/test/test_atomic.cpp:673:23: required from 'void TestAtomicPointer() [with T = ArrayElement<1>]' ../../src/test/test_atomic.cpp:1072:41: required from here ../../src/test/test_atomic.cpp:301:19: warning: 'void* memset(void*, int, size_t)' writing to an object of type 'struct tbb::atomic*>' with no trivial copy-assignment [-Wclass-memaccess] memset(non_zeroed_storage.begin(),fill_value,sizeof(non_zeroed_storage)); ~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ In file included from ../../src/test/test_atomic.cpp:35: ../../include/tbb/atomic.h:485:29: note: 'struct tbb::atomic*>' declared here template struct atomic: internal::atomic_impl_with_arithmetic { ^~~~~~~~~~ ../../src/test/test_atomic.cpp: In instantiation of 'initialization_tests::test_initialization_fixture::test_initialization_fixture() [with T = ArrayElement<2>*]': ../../src/test/test_atomic.cpp:312:12: required from 'void TestValueInitialization() [with T = ArrayElement<2>*]' ../../src/test/test_atomic.cpp:537:31: required from 'void TestOperations(T, T, T) [with T = ArrayElement<2>*]' ../../src/test/test_atomic.cpp:673:23: required from 'void TestAtomicPointer() [with T = ArrayElement<2>]' ../../src/test/test_atomic.cpp:1073:41: required from here ../../src/test/test_atomic.cpp:301:19: warning: 'void* memset(void*, int, size_t)' writing to an object of type 'struct tbb::atomic*>' with no trivial copy-assignment [-Wclass-memaccess] memset(non_zeroed_storage.begin(),fill_value,sizeof(non_zeroed_storage)); ~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ In file included from ../../src/test/test_atomic.cpp:35: ../../include/tbb/atomic.h:485:29: note: 'struct tbb::atomic*>' declared here template struct atomic: internal::atomic_impl_with_arithmetic { ^~~~~~~~~~ ../../src/test/test_atomic.cpp: In instantiation of 'initialization_tests::test_initialization_fixture::test_initialization_fixture() [with T = ArrayElement<3>*]': ../../src/test/test_atomic.cpp:312:12: required from 'void TestValueInitialization() [with T = ArrayElement<3>*]' ../../src/test/test_atomic.cpp:537:31: required from 'void TestOperations(T, T, T) [with T = ArrayElement<3>*]' ../../src/test/test_atomic.cpp:673:23: required from 'void TestAtomicPointer() [with T = ArrayElement<3>]' ../../src/test/test_atomic.cpp:1074:41: required from here ../../src/test/test_atomic.cpp:301:19: warning: 'void* memset(void*, int, size_t)' writing to an object of type 'struct tbb::atomic*>' with no trivial copy-assignment [-Wclass-memaccess] memset(non_zeroed_storage.begin(),fill_value,sizeof(non_zeroed_storage)); ~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ In file included from ../../src/test/test_atomic.cpp:35: ../../include/tbb/atomic.h:485:29: note: 'struct tbb::atomic*>' declared here template struct atomic: internal::atomic_impl_with_arithmetic { ^~~~~~~~~~ ../../src/test/test_atomic.cpp: In instantiation of 'initialization_tests::test_initialization_fixture::test_initialization_fixture() [with T = ArrayElement<4>*]': ../../src/test/test_atomic.cpp:312:12: required from 'void TestValueInitialization() [with T = ArrayElement<4>*]' ../../src/test/test_atomic.cpp:537:31: required from 'void TestOperations(T, T, T) [with T = ArrayElement<4>*]' ../../src/test/test_atomic.cpp:673:23: required from 'void TestAtomicPointer() [with T = ArrayElement<4>]' ../../src/test/test_atomic.cpp:1075:41: required from here ../../src/test/test_atomic.cpp:301:19: warning: 'void* memset(void*, int, size_t)' writing to an object of type 'struct tbb::atomic*>' with no trivial copy-assignment [-Wclass-memaccess] memset(non_zeroed_storage.begin(),fill_value,sizeof(non_zeroed_storage)); ~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ In file included from ../../src/test/test_atomic.cpp:35: ../../include/tbb/atomic.h:485:29: note: 'struct tbb::atomic*>' declared here template struct atomic: internal::atomic_impl_with_arithmetic { ^~~~~~~~~~ ../../src/test/test_atomic.cpp: In instantiation of 'initialization_tests::test_initialization_fixture::test_initialization_fixture() [with T = ArrayElement<5>*]': ../../src/test/test_atomic.cpp:312:12: required from 'void TestValueInitialization() [with T = ArrayElement<5>*]' ../../src/test/test_atomic.cpp:537:31: required from 'void TestOperations(T, T, T) [with T = ArrayElement<5>*]' ../../src/test/test_atomic.cpp:673:23: required from 'void TestAtomicPointer() [with T = ArrayElement<5>]' ../../src/test/test_atomic.cpp:1076:41: required from here ../../src/test/test_atomic.cpp:301:19: warning: 'void* memset(void*, int, size_t)' writing to an object of type 'struct tbb::atomic*>' with no trivial copy-assignment [-Wclass-memaccess] memset(non_zeroed_storage.begin(),fill_value,sizeof(non_zeroed_storage)); ~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ In file included from ../../src/test/test_atomic.cpp:35: ../../include/tbb/atomic.h:485:29: note: 'struct tbb::atomic*>' declared here template struct atomic: internal::atomic_impl_with_arithmetic { ^~~~~~~~~~ ../../src/test/test_atomic.cpp: In instantiation of 'initialization_tests::test_initialization_fixture::test_initialization_fixture() [with T = ArrayElement<6>*]': ../../src/test/test_atomic.cpp:312:12: required from 'void TestValueInitialization() [with T = ArrayElement<6>*]' ../../src/test/test_atomic.cpp:537:31: required from 'void TestOperations(T, T, T) [with T = ArrayElement<6>*]' ../../src/test/test_atomic.cpp:673:23: required from 'void TestAtomicPointer() [with T = ArrayElement<6>]' ../../src/test/test_atomic.cpp:1077:41: required from here ../../src/test/test_atomic.cpp:301:19: warning: 'void* memset(void*, int, size_t)' writing to an object of type 'struct tbb::atomic*>' with no trivial copy-assignment [-Wclass-memaccess] memset(non_zeroed_storage.begin(),fill_value,sizeof(non_zeroed_storage)); ~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ In file included from ../../src/test/test_atomic.cpp:35: ../../include/tbb/atomic.h:485:29: note: 'struct tbb::atomic*>' declared here template struct atomic: internal::atomic_impl_with_arithmetic { ^~~~~~~~~~ ../../src/test/test_atomic.cpp: In instantiation of 'initialization_tests::test_initialization_fixture::test_initialization_fixture() [with T = ArrayElement<7>*]': ../../src/test/test_atomic.cpp:312:12: required from 'void TestValueInitialization() [with T = ArrayElement<7>*]' ../../src/test/test_atomic.cpp:537:31: required from 'void TestOperations(T, T, T) [with T = ArrayElement<7>*]' ../../src/test/test_atomic.cpp:673:23: required from 'void TestAtomicPointer() [with T = ArrayElement<7>]' ../../src/test/test_atomic.cpp:1078:41: required from here ../../src/test/test_atomic.cpp:301:19: warning: 'void* memset(void*, int, size_t)' writing to an object of type 'struct tbb::atomic*>' with no trivial copy-assignment [-Wclass-memaccess] memset(non_zeroed_storage.begin(),fill_value,sizeof(non_zeroed_storage)); ~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ In file included from ../../src/test/test_atomic.cpp:35: ../../include/tbb/atomic.h:485:29: note: 'struct tbb::atomic*>' declared here template struct atomic: internal::atomic_impl_with_arithmetic { ^~~~~~~~~~ ../../src/test/test_atomic.cpp: In instantiation of 'initialization_tests::test_initialization_fixture::test_initialization_fixture() [with T = ArrayElement<8>*]': ../../src/test/test_atomic.cpp:312:12: required from 'void TestValueInitialization() [with T = ArrayElement<8>*]' ../../src/test/test_atomic.cpp:537:31: required from 'void TestOperations(T, T, T) [with T = ArrayElement<8>*]' ../../src/test/test_atomic.cpp:673:23: required from 'void TestAtomicPointer() [with T = ArrayElement<8>]' ../../src/test/test_atomic.cpp:1079:41: required from here ../../src/test/test_atomic.cpp:301:19: warning: 'void* memset(void*, int, size_t)' writing to an object of type 'struct tbb::atomic*>' with no trivial copy-assignment [-Wclass-memaccess] memset(non_zeroed_storage.begin(),fill_value,sizeof(non_zeroed_storage)); ~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ In file included from ../../src/test/test_atomic.cpp:35: ../../include/tbb/atomic.h:485:29: note: 'struct tbb::atomic*>' declared here template struct atomic: internal::atomic_impl_with_arithmetic { ^~~~~~~~~~ ../../src/test/test_atomic.cpp: In instantiation of 'initialization_tests::test_initialization_fixture::test_initialization_fixture() [with T = IncompleteType*]': ../../src/test/test_atomic.cpp:312:12: required from 'void TestValueInitialization() [with T = IncompleteType*]' ../../src/test/test_atomic.cpp:537:31: required from 'void TestOperations(T, T, T) [with T = IncompleteType*]' ../../src/test/test_atomic.cpp:685:24: required from 'void TestAtomicPointerToTypeOfUnknownSize(const char*) [with Ptr = IncompleteType*]' ../../src/test/test_atomic.cpp:1080:78: required from here ../../src/test/test_atomic.cpp:301:19: warning: 'void* memset(void*, int, size_t)' writing to an object of type 'struct tbb::atomic' with no trivial copy-assignment [-Wclass-memaccess] memset(non_zeroed_storage.begin(),fill_value,sizeof(non_zeroed_storage)); ~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ In file included from ../../src/test/test_atomic.cpp:35: ../../include/tbb/atomic.h:485:29: note: 'struct tbb::atomic' declared here template struct atomic: internal::atomic_impl_with_arithmetic { ^~~~~~~~~~ ../../src/test/test_atomic.cpp: In instantiation of 'initialization_tests::test_initialization_fixture::test_initialization_fixture() [with T = void*]': ../../src/test/test_atomic.cpp:312:12: required from 'void TestValueInitialization() [with T = void*]' ../../src/test/test_atomic.cpp:537:31: required from 'void TestOperations(T, T, T) [with T = void*]' ../../src/test/test_atomic.cpp:685:24: required from 'void TestAtomicPointerToTypeOfUnknownSize(const char*) [with Ptr = void*]' ../../src/test/test_atomic.cpp:1081:58: required from here ../../src/test/test_atomic.cpp:301:19: warning: 'void* memset(void*, int, size_t)' writing to an object of type 'struct tbb::atomic' with no trivial copy-assignment [-Wclass-memaccess] memset(non_zeroed_storage.begin(),fill_value,sizeof(non_zeroed_storage)); ~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ In file included from ../../src/test/test_atomic.cpp:35: ../../include/tbb/atomic.h:503:19: note: 'struct tbb::atomic' declared here template<> struct atomic: internal::atomic_impl { ^~~~~~~~~~~~~ ../../src/test/test_atomic.cpp: In instantiation of 'initialization_tests::test_initialization_fixture::test_initialization_fixture() [with T = float]': ../../src/test/test_atomic.cpp:312:12: required from 'void TestValueInitialization() [with T = float]' ../../src/test/test_atomic.cpp:537:31: required from 'void TestOperations(T, T, T) [with T = float]' ../../src/test/test_atomic.cpp:759:22: required from 'void TestAtomicFloat(const char*) [with T = float]' ../../src/test/test_atomic.cpp:1087:35: required from here ../../src/test/test_atomic.cpp:301:19: warning: 'void* memset(void*, int, size_t)' writing to an object of type 'struct tbb::atomic' with no trivial copy-assignment [-Wclass-memaccess] memset(non_zeroed_storage.begin(),fill_value,sizeof(non_zeroed_storage)); ~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ In file included from ../../src/test/test_atomic.cpp:35: ../../include/tbb/atomic.h:407:8: note: 'struct tbb::atomic' declared here struct atomic: internal::atomic_impl { ^~~~~~ ../../src/test/test_atomic.cpp: In instantiation of 'initialization_tests::test_initialization_fixture::test_initialization_fixture() [with T = double]': ../../src/test/test_atomic.cpp:312:12: required from 'void TestValueInitialization() [with T = double]' ../../src/test/test_atomic.cpp:537:31: required from 'void TestOperations(T, T, T) [with T = double]' ../../src/test/test_atomic.cpp:759:22: required from 'void TestAtomicFloat(const char*) [with T = double]' ../../src/test/test_atomic.cpp:1089:41: required from here ../../src/test/test_atomic.cpp:301:19: warning: 'void* memset(void*, int, size_t)' writing to an object of type 'struct tbb::atomic' with no trivial copy-assignment [-Wclass-memaccess] memset(non_zeroed_storage.begin(),fill_value,sizeof(non_zeroed_storage)); ~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ In file included from ../../src/test/test_atomic.cpp:35: ../../include/tbb/atomic.h:407:8: note: 'struct tbb::atomic' declared here struct atomic: internal::atomic_impl { ^~~~~~ g++ -o test_atomic_pic.exe -O2 -g -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -fexceptions -fstack-protector-strong -grecord-gcc-switches -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -mcpu=power8 -mtune=power8 -funwind-tables -fstack-clash-protection -g -O2 -DUSE_PTHREAD -DTEST_USES_TBB=1 -Wall -Wshadow -Wcast-qual -Woverloaded-virtual -Wnon-virtual-dtor -Wextra -O2 -g -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -fexceptions -fstack-protector-strong -grecord-gcc-switches -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -mcpu=power8 -mtune=power8 -funwind-tables -fstack-clash-protection test_atomic_pic.o libtbb.so -lpthread -lrt -Wl,-rpath-link=. -rdynamic g++ -o test_atomic_compiler_builtins.o -c -MMD -O2 -g -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -fexceptions -fstack-protector-strong -grecord-gcc-switches -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -mcpu=power8 -mtune=power8 -funwind-tables -fstack-clash-protection -g -O2 -DUSE_PTHREAD -Wall -Wshadow -Wcast-qual -Woverloaded-virtual -Wnon-virtual-dtor -Wextra -O2 -g -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -fexceptions -fstack-protector-strong -grecord-gcc-switches -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -mcpu=power8 -mtune=power8 -funwind-tables -fstack-clash-protection -D__TBB_TEST_BUILTINS=1 -DTBB_USE_ASSERT=0 -std=c++14 -I../../src -I../../src/rml/include -I../../include -I. -include ../../src/test/harness_preload.h ../../src/test/test_atomic.cpp ../../src/test/test_atomic.cpp: In instantiation of 'initialization_tests::test_initialization_fixture::test_initialization_fixture() [with T = bool]': ../../src/test/test_atomic.cpp:312:12: required from 'void TestValueInitialization() [with T = bool]' ../../src/test/test_atomic.cpp:537:31: required from 'void TestOperations(T, T, T) [with T = bool]' ../../src/test/test_atomic.cpp:691:41: required from here ../../src/test/test_atomic.cpp:301:19: warning: 'void* memset(void*, int, size_t)' writing to an object of type 'struct tbb::atomic' with no trivial copy-assignment [-Wclass-memaccess] memset(non_zeroed_storage.begin(),fill_value,sizeof(non_zeroed_storage)); ~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ In file included from ../../src/test/test_atomic.cpp:35: ../../include/tbb/atomic.h:407:8: note: 'struct tbb::atomic' declared here struct atomic: internal::atomic_impl { ^~~~~~ ../../src/test/test_atomic.cpp: In instantiation of 'initialization_tests::test_initialization_fixture::test_initialization_fixture() [with T = Color]': ../../src/test/test_atomic.cpp:312:12: required from 'void TestValueInitialization() [with T = Color]' ../../src/test/test_atomic.cpp:537:31: required from 'void TestOperations(T, T, T) [with T = Color]' ../../src/test/test_atomic.cpp:712:41: required from here ../../src/test/test_atomic.cpp:301:19: warning: 'void* memset(void*, int, size_t)' writing to an object of type 'struct tbb::atomic' with no trivial copy-assignment [-Wclass-memaccess] memset(non_zeroed_storage.begin(),fill_value,sizeof(non_zeroed_storage)); ~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ In file included from ../../src/test/test_atomic.cpp:35: ../../include/tbb/atomic.h:407:8: note: 'struct tbb::atomic' declared here struct atomic: internal::atomic_impl { ^~~~~~ ../../src/test/test_atomic.cpp: In instantiation of 'initialization_tests::test_initialization_fixture::test_initialization_fixture() [with T = ScopedColor1]': ../../src/test/test_atomic.cpp:312:12: required from 'void TestValueInitialization() [with T = ScopedColor1]' ../../src/test/test_atomic.cpp:537:31: required from 'void TestOperations(T, T, T) [with T = ScopedColor1]' ../../src/test/test_atomic.cpp:740:108: required from here ../../src/test/test_atomic.cpp:301:19: warning: 'void* memset(void*, int, size_t)' writing to an object of type 'struct tbb::atomic' with no trivial copy-assignment [-Wclass-memaccess] memset(non_zeroed_storage.begin(),fill_value,sizeof(non_zeroed_storage)); ~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ In file included from ../../src/test/test_atomic.cpp:35: ../../include/tbb/atomic.h:407:8: note: 'struct tbb::atomic' declared here struct atomic: internal::atomic_impl { ^~~~~~ ../../src/test/test_atomic.cpp: In instantiation of 'initialization_tests::test_initialization_fixture::test_initialization_fixture() [with T = ScopedColor2]': ../../src/test/test_atomic.cpp:312:12: required from 'void TestValueInitialization() [with T = ScopedColor2]' ../../src/test/test_atomic.cpp:537:31: required from 'void TestOperations(T, T, T) [with T = ScopedColor2]' ../../src/test/test_atomic.cpp:745:108: required from here ../../src/test/test_atomic.cpp:301:19: warning: 'void* memset(void*, int, size_t)' writing to an object of type 'struct tbb::atomic' with no trivial copy-assignment [-Wclass-memaccess] memset(non_zeroed_storage.begin(),fill_value,sizeof(non_zeroed_storage)); ~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ In file included from ../../src/test/test_atomic.cpp:35: ../../include/tbb/atomic.h:407:8: note: 'struct tbb::atomic' declared here struct atomic: internal::atomic_impl { ^~~~~~ ../../src/test/test_atomic.cpp: In instantiation of 'initialization_tests::test_initialization_fixture::test_initialization_fixture() [with T = long long unsigned int]': ../../src/test/test_atomic.cpp:312:12: required from 'void TestValueInitialization() [with T = long long unsigned int]' ../../src/test/test_atomic.cpp:537:31: required from 'void TestOperations(T, T, T) [with T = long long unsigned int]' ../../src/test/test_atomic.cpp:625:22: required from 'void TestAtomicInteger(const char*) [with T = long long unsigned int]' ../../src/test/test_atomic.cpp:1052:68: required from here ../../src/test/test_atomic.cpp:301:19: warning: 'void* memset(void*, int, size_t)' writing to an object of type 'struct tbb::atomic' with no trivial copy-assignment [-Wclass-memaccess] memset(non_zeroed_storage.begin(),fill_value,sizeof(non_zeroed_storage)); ~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ In file included from ../../src/test/test_atomic.cpp:35: ../../include/tbb/atomic.h:421:27: note: 'struct tbb::atomic' declared here template<> struct atomic: internal::atomic_impl_with_arithmetic { \ ^~~~~~~~~ ../../include/tbb/atomic.h:439:1: note: in expansion of macro '__TBB_DECL_ATOMIC' __TBB_DECL_ATOMIC(unsigned __TBB_LONG_LONG) ^~~~~~~~~~~~~~~~~ ../../src/test/test_atomic.cpp: In instantiation of 'initialization_tests::test_initialization_fixture::test_initialization_fixture() [with T = long long int]': ../../src/test/test_atomic.cpp:312:12: required from 'void TestValueInitialization() [with T = long long int]' ../../src/test/test_atomic.cpp:537:31: required from 'void TestOperations(T, T, T) [with T = long long int]' ../../src/test/test_atomic.cpp:625:22: required from 'void TestAtomicInteger(const char*) [with T = long long int]' ../../src/test/test_atomic.cpp:1053:50: required from here ../../src/test/test_atomic.cpp:301:19: warning: 'void* memset(void*, int, size_t)' writing to an object of type 'struct tbb::atomic' with no trivial copy-assignment [-Wclass-memaccess] memset(non_zeroed_storage.begin(),fill_value,sizeof(non_zeroed_storage)); ~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ In file included from ../../src/test/test_atomic.cpp:35: ../../include/tbb/atomic.h:421:27: note: 'struct tbb::atomic' declared here template<> struct atomic: internal::atomic_impl_with_arithmetic { \ ^~~~~~~~~ ../../include/tbb/atomic.h:438:1: note: in expansion of macro '__TBB_DECL_ATOMIC' __TBB_DECL_ATOMIC(__TBB_LONG_LONG) ^~~~~~~~~~~~~~~~~ ../../src/test/test_atomic.cpp: In instantiation of 'initialization_tests::test_initialization_fixture::test_initialization_fixture() [with T = long unsigned int]': ../../src/test/test_atomic.cpp:312:12: required from 'void TestValueInitialization() [with T = long unsigned int]' ../../src/test/test_atomic.cpp:537:31: required from 'void TestOperations(T, T, T) [with T = long unsigned int]' ../../src/test/test_atomic.cpp:625:22: required from 'void TestAtomicInteger(const char*) [with T = long unsigned int]' ../../src/test/test_atomic.cpp:1060:53: required from here ../../src/test/test_atomic.cpp:301:19: warning: 'void* memset(void*, int, size_t)' writing to an object of type 'struct tbb::atomic' with no trivial copy-assignment [-Wclass-memaccess] memset(non_zeroed_storage.begin(),fill_value,sizeof(non_zeroed_storage)); ~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ In file included from ../../src/test/test_atomic.cpp:35: ../../include/tbb/atomic.h:421:27: note: 'struct tbb::atomic' declared here template<> struct atomic: internal::atomic_impl_with_arithmetic { \ ^~~~~~~~~ ../../include/tbb/atomic.h:444:1: note: in expansion of macro '__TBB_DECL_ATOMIC' __TBB_DECL_ATOMIC(unsigned long) ^~~~~~~~~~~~~~~~~ ../../src/test/test_atomic.cpp: In instantiation of 'initialization_tests::test_initialization_fixture::test_initialization_fixture() [with T = long int]': ../../src/test/test_atomic.cpp:312:12: required from 'void TestValueInitialization() [with T = long int]' ../../src/test/test_atomic.cpp:537:31: required from 'void TestOperations(T, T, T) [with T = long int]' ../../src/test/test_atomic.cpp:625:22: required from 'void TestAtomicInteger(const char*) [with T = long int]' ../../src/test/test_atomic.cpp:1061:35: required from here ../../src/test/test_atomic.cpp:301:19: warning: 'void* memset(void*, int, size_t)' writing to an object of type 'struct tbb::atomic' with no trivial copy-assignment [-Wclass-memaccess] memset(non_zeroed_storage.begin(),fill_value,sizeof(non_zeroed_storage)); ~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ In file included from ../../src/test/test_atomic.cpp:35: ../../include/tbb/atomic.h:421:27: note: 'struct tbb::atomic' declared here template<> struct atomic: internal::atomic_impl_with_arithmetic { \ ^~~~~~~~~ ../../include/tbb/atomic.h:443:1: note: in expansion of macro '__TBB_DECL_ATOMIC' __TBB_DECL_ATOMIC(long) ^~~~~~~~~~~~~~~~~ ../../src/test/test_atomic.cpp: In instantiation of 'initialization_tests::test_initialization_fixture::test_initialization_fixture() [with T = unsigned int]': ../../src/test/test_atomic.cpp:312:12: required from 'void TestValueInitialization() [with T = unsigned int]' ../../src/test/test_atomic.cpp:537:31: required from 'void TestOperations(T, T, T) [with T = unsigned int]' ../../src/test/test_atomic.cpp:625:22: required from 'void TestAtomicInteger(const char*) [with T = unsigned int]' ../../src/test/test_atomic.cpp:1062:51: required from here ../../src/test/test_atomic.cpp:301:19: warning: 'void* memset(void*, int, size_t)' writing to an object of type 'struct tbb::atomic' with no trivial copy-assignment [-Wclass-memaccess] memset(non_zeroed_storage.begin(),fill_value,sizeof(non_zeroed_storage)); ~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ In file included from ../../src/test/test_atomic.cpp:35: ../../include/tbb/atomic.h:421:27: note: 'struct tbb::atomic' declared here template<> struct atomic: internal::atomic_impl_with_arithmetic { \ ^~~~~~~~~ ../../include/tbb/atomic.h:470:1: note: in expansion of macro '__TBB_DECL_ATOMIC' __TBB_DECL_ATOMIC(unsigned) ^~~~~~~~~~~~~~~~~ ../../src/test/test_atomic.cpp: In instantiation of 'initialization_tests::test_initialization_fixture::test_initialization_fixture() [with T = int]': ../../src/test/test_atomic.cpp:312:12: required from 'void TestValueInitialization() [with T = int]' ../../src/test/test_atomic.cpp:537:31: required from 'void TestOperations(T, T, T) [with T = int]' ../../src/test/test_atomic.cpp:625:22: required from 'void TestAtomicInteger(const char*) [with T = int]' ../../src/test/test_atomic.cpp:1063:33: required from here ../../src/test/test_atomic.cpp:301:19: warning: 'void* memset(void*, int, size_t)' writing to an object of type 'struct tbb::atomic' with no trivial copy-assignment [-Wclass-memaccess] memset(non_zeroed_storage.begin(),fill_value,sizeof(non_zeroed_storage)); ~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ In file included from ../../src/test/test_atomic.cpp:35: ../../include/tbb/atomic.h:421:27: note: 'struct tbb::atomic' declared here template<> struct atomic: internal::atomic_impl_with_arithmetic { \ ^~~~~~~~~ ../../include/tbb/atomic.h:471:1: note: in expansion of macro '__TBB_DECL_ATOMIC' __TBB_DECL_ATOMIC(int) ^~~~~~~~~~~~~~~~~ ../../src/test/test_atomic.cpp: In instantiation of 'initialization_tests::test_initialization_fixture::test_initialization_fixture() [with T = short unsigned int]': ../../src/test/test_atomic.cpp:312:12: required from 'void TestValueInitialization() [with T = short unsigned int]' ../../src/test/test_atomic.cpp:537:31: required from 'void TestOperations(T, T, T) [with T = short unsigned int]' ../../src/test/test_atomic.cpp:625:22: required from 'void TestAtomicInteger(const char*) [with T = short unsigned int]' ../../src/test/test_atomic.cpp:1064:55: required from here ../../src/test/test_atomic.cpp:301:19: warning: 'void* memset(void*, int, size_t)' writing to an object of type 'struct tbb::atomic' with no trivial copy-assignment [-Wclass-memaccess] memset(non_zeroed_storage.begin(),fill_value,sizeof(non_zeroed_storage)); ~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ In file included from ../../src/test/test_atomic.cpp:35: ../../include/tbb/atomic.h:421:27: note: 'struct tbb::atomic' declared here template<> struct atomic: internal::atomic_impl_with_arithmetic { \ ^~~~~~~~~ ../../include/tbb/atomic.h:474:1: note: in expansion of macro '__TBB_DECL_ATOMIC' __TBB_DECL_ATOMIC(unsigned short) ^~~~~~~~~~~~~~~~~ ../../src/test/test_atomic.cpp: In instantiation of 'initialization_tests::test_initialization_fixture::test_initialization_fixture() [with T = short int]': ../../src/test/test_atomic.cpp:312:12: required from 'void TestValueInitialization() [with T = short int]' ../../src/test/test_atomic.cpp:537:31: required from 'void TestOperations(T, T, T) [with T = short int]' ../../src/test/test_atomic.cpp:625:22: required from 'void TestAtomicInteger(const char*) [with T = short int]' ../../src/test/test_atomic.cpp:1065:37: required from here ../../src/test/test_atomic.cpp:301:19: warning: 'void* memset(void*, int, size_t)' writing to an object of type 'struct tbb::atomic' with no trivial copy-assignment [-Wclass-memaccess] memset(non_zeroed_storage.begin(),fill_value,sizeof(non_zeroed_storage)); ~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ In file included from ../../src/test/test_atomic.cpp:35: ../../include/tbb/atomic.h:421:27: note: 'struct tbb::atomic' declared here template<> struct atomic: internal::atomic_impl_with_arithmetic { \ ^~~~~~~~~ ../../include/tbb/atomic.h:475:1: note: in expansion of macro '__TBB_DECL_ATOMIC' __TBB_DECL_ATOMIC(short) ^~~~~~~~~~~~~~~~~ ../../src/test/test_atomic.cpp: In instantiation of 'initialization_tests::test_initialization_fixture::test_initialization_fixture() [with T = signed char]': ../../src/test/test_atomic.cpp:312:12: required from 'void TestValueInitialization() [with T = signed char]' ../../src/test/test_atomic.cpp:537:31: required from 'void TestOperations(T, T, T) [with T = signed char]' ../../src/test/test_atomic.cpp:625:22: required from 'void TestAtomicInteger(const char*) [with T = signed char]' ../../src/test/test_atomic.cpp:1066:49: required from here ../../src/test/test_atomic.cpp:301:19: warning: 'void* memset(void*, int, size_t)' writing to an object of type 'struct tbb::atomic' with no trivial copy-assignment [-Wclass-memaccess] memset(non_zeroed_storage.begin(),fill_value,sizeof(non_zeroed_storage)); ~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ In file included from ../../src/test/test_atomic.cpp:35: ../../include/tbb/atomic.h:421:27: note: 'struct tbb::atomic' declared here template<> struct atomic: internal::atomic_impl_with_arithmetic { \ ^~~~~~~~~ ../../include/tbb/atomic.h:477:1: note: in expansion of macro '__TBB_DECL_ATOMIC' __TBB_DECL_ATOMIC(signed char) ^~~~~~~~~~~~~~~~~ ../../src/test/test_atomic.cpp: In instantiation of 'initialization_tests::test_initialization_fixture::test_initialization_fixture() [with T = unsigned char]': ../../src/test/test_atomic.cpp:312:12: required from 'void TestValueInitialization() [with T = unsigned char]' ../../src/test/test_atomic.cpp:537:31: required from 'void TestOperations(T, T, T) [with T = unsigned char]' ../../src/test/test_atomic.cpp:625:22: required from 'void TestAtomicInteger(const char*) [with T = unsigned char]' ../../src/test/test_atomic.cpp:1067:53: required from here ../../src/test/test_atomic.cpp:301:19: warning: 'void* memset(void*, int, size_t)' writing to an object of type 'struct tbb::atomic' with no trivial copy-assignment [-Wclass-memaccess] memset(non_zeroed_storage.begin(),fill_value,sizeof(non_zeroed_storage)); ~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ In file included from ../../src/test/test_atomic.cpp:35: ../../include/tbb/atomic.h:421:27: note: 'struct tbb::atomic' declared here template<> struct atomic: internal::atomic_impl_with_arithmetic { \ ^~~~~~~~~ ../../include/tbb/atomic.h:478:1: note: in expansion of macro '__TBB_DECL_ATOMIC' __TBB_DECL_ATOMIC(unsigned char) ^~~~~~~~~~~~~~~~~ ../../src/test/test_atomic.cpp: In instantiation of 'initialization_tests::test_initialization_fixture::test_initialization_fixture() [with T = char]': ../../src/test/test_atomic.cpp:312:12: required from 'void TestValueInitialization() [with T = char]' ../../src/test/test_atomic.cpp:537:31: required from 'void TestOperations(T, T, T) [with T = char]' ../../src/test/test_atomic.cpp:625:22: required from 'void TestAtomicInteger(const char*) [with T = char]' ../../src/test/test_atomic.cpp:1068:35: required from here ../../src/test/test_atomic.cpp:301:19: warning: 'void* memset(void*, int, size_t)' writing to an object of type 'struct tbb::atomic' with no trivial copy-assignment [-Wclass-memaccess] memset(non_zeroed_storage.begin(),fill_value,sizeof(non_zeroed_storage)); ~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ In file included from ../../src/test/test_atomic.cpp:35: ../../include/tbb/atomic.h:421:27: note: 'struct tbb::atomic' declared here template<> struct atomic: internal::atomic_impl_with_arithmetic { \ ^~~~~~~~~ ../../include/tbb/atomic.h:476:1: note: in expansion of macro '__TBB_DECL_ATOMIC' __TBB_DECL_ATOMIC(char) ^~~~~~~~~~~~~~~~~ ../../src/test/test_atomic.cpp: In instantiation of 'initialization_tests::test_initialization_fixture::test_initialization_fixture() [with T = wchar_t]': ../../src/test/test_atomic.cpp:312:12: required from 'void TestValueInitialization() [with T = wchar_t]' ../../src/test/test_atomic.cpp:537:31: required from 'void TestOperations(T, T, T) [with T = wchar_t]' ../../src/test/test_atomic.cpp:625:22: required from 'void TestAtomicInteger(const char*) [with T = wchar_t]' ../../src/test/test_atomic.cpp:1069:41: required from here ../../src/test/test_atomic.cpp:301:19: warning: 'void* memset(void*, int, size_t)' writing to an object of type 'struct tbb::atomic' with no trivial copy-assignment [-Wclass-memaccess] memset(non_zeroed_storage.begin(),fill_value,sizeof(non_zeroed_storage)); ~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ In file included from ../../src/test/test_atomic.cpp:35: ../../include/tbb/atomic.h:421:27: note: 'struct tbb::atomic' declared here template<> struct atomic: internal::atomic_impl_with_arithmetic { \ ^~~~~~~~~ ../../include/tbb/atomic.h:481:1: note: in expansion of macro '__TBB_DECL_ATOMIC' __TBB_DECL_ATOMIC(wchar_t) ^~~~~~~~~~~~~~~~~ ../../src/test/test_atomic.cpp: In instantiation of 'initialization_tests::test_initialization_fixture::test_initialization_fixture() [with T = ArrayElement<1>*]': ../../src/test/test_atomic.cpp:312:12: required from 'void TestValueInitialization() [with T = ArrayElement<1>*]' ../../src/test/test_atomic.cpp:537:31: required from 'void TestOperations(T, T, T) [with T = ArrayElement<1>*]' ../../src/test/test_atomic.cpp:673:23: required from 'void TestAtomicPointer() [with T = ArrayElement<1>]' ../../src/test/test_atomic.cpp:1072:41: required from here ../../src/test/test_atomic.cpp:301:19: warning: 'void* memset(void*, int, size_t)' writing to an object of type 'struct tbb::atomic*>' with no trivial copy-assignment [-Wclass-memaccess] memset(non_zeroed_storage.begin(),fill_value,sizeof(non_zeroed_storage)); ~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ In file included from ../../src/test/test_atomic.cpp:35: ../../include/tbb/atomic.h:485:29: note: 'struct tbb::atomic*>' declared here template struct atomic: internal::atomic_impl_with_arithmetic { ^~~~~~~~~~ ../../src/test/test_atomic.cpp: In instantiation of 'initialization_tests::test_initialization_fixture::test_initialization_fixture() [with T = ArrayElement<2>*]': ../../src/test/test_atomic.cpp:312:12: required from 'void TestValueInitialization() [with T = ArrayElement<2>*]' ../../src/test/test_atomic.cpp:537:31: required from 'void TestOperations(T, T, T) [with T = ArrayElement<2>*]' ../../src/test/test_atomic.cpp:673:23: required from 'void TestAtomicPointer() [with T = ArrayElement<2>]' ../../src/test/test_atomic.cpp:1073:41: required from here ../../src/test/test_atomic.cpp:301:19: warning: 'void* memset(void*, int, size_t)' writing to an object of type 'struct tbb::atomic*>' with no trivial copy-assignment [-Wclass-memaccess] memset(non_zeroed_storage.begin(),fill_value,sizeof(non_zeroed_storage)); ~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ In file included from ../../src/test/test_atomic.cpp:35: ../../include/tbb/atomic.h:485:29: note: 'struct tbb::atomic*>' declared here template struct atomic: internal::atomic_impl_with_arithmetic { ^~~~~~~~~~ ../../src/test/test_atomic.cpp: In instantiation of 'initialization_tests::test_initialization_fixture::test_initialization_fixture() [with T = ArrayElement<3>*]': ../../src/test/test_atomic.cpp:312:12: required from 'void TestValueInitialization() [with T = ArrayElement<3>*]' ../../src/test/test_atomic.cpp:537:31: required from 'void TestOperations(T, T, T) [with T = ArrayElement<3>*]' ../../src/test/test_atomic.cpp:673:23: required from 'void TestAtomicPointer() [with T = ArrayElement<3>]' ../../src/test/test_atomic.cpp:1074:41: required from here ../../src/test/test_atomic.cpp:301:19: warning: 'void* memset(void*, int, size_t)' writing to an object of type 'struct tbb::atomic*>' with no trivial copy-assignment [-Wclass-memaccess] memset(non_zeroed_storage.begin(),fill_value,sizeof(non_zeroed_storage)); ~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ In file included from ../../src/test/test_atomic.cpp:35: ../../include/tbb/atomic.h:485:29: note: 'struct tbb::atomic*>' declared here template struct atomic: internal::atomic_impl_with_arithmetic { ^~~~~~~~~~ ../../src/test/test_atomic.cpp: In instantiation of 'initialization_tests::test_initialization_fixture::test_initialization_fixture() [with T = ArrayElement<4>*]': ../../src/test/test_atomic.cpp:312:12: required from 'void TestValueInitialization() [with T = ArrayElement<4>*]' ../../src/test/test_atomic.cpp:537:31: required from 'void TestOperations(T, T, T) [with T = ArrayElement<4>*]' ../../src/test/test_atomic.cpp:673:23: required from 'void TestAtomicPointer() [with T = ArrayElement<4>]' ../../src/test/test_atomic.cpp:1075:41: required from here ../../src/test/test_atomic.cpp:301:19: warning: 'void* memset(void*, int, size_t)' writing to an object of type 'struct tbb::atomic*>' with no trivial copy-assignment [-Wclass-memaccess] memset(non_zeroed_storage.begin(),fill_value,sizeof(non_zeroed_storage)); ~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ In file included from ../../src/test/test_atomic.cpp:35: ../../include/tbb/atomic.h:485:29: note: 'struct tbb::atomic*>' declared here template struct atomic: internal::atomic_impl_with_arithmetic { ^~~~~~~~~~ ../../src/test/test_atomic.cpp: In instantiation of 'initialization_tests::test_initialization_fixture::test_initialization_fixture() [with T = ArrayElement<5>*]': ../../src/test/test_atomic.cpp:312:12: required from 'void TestValueInitialization() [with T = ArrayElement<5>*]' ../../src/test/test_atomic.cpp:537:31: required from 'void TestOperations(T, T, T) [with T = ArrayElement<5>*]' ../../src/test/test_atomic.cpp:673:23: required from 'void TestAtomicPointer() [with T = ArrayElement<5>]' ../../src/test/test_atomic.cpp:1076:41: required from here ../../src/test/test_atomic.cpp:301:19: warning: 'void* memset(void*, int, size_t)' writing to an object of type 'struct tbb::atomic*>' with no trivial copy-assignment [-Wclass-memaccess] memset(non_zeroed_storage.begin(),fill_value,sizeof(non_zeroed_storage)); ~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ In file included from ../../src/test/test_atomic.cpp:35: ../../include/tbb/atomic.h:485:29: note: 'struct tbb::atomic*>' declared here template struct atomic: internal::atomic_impl_with_arithmetic { ^~~~~~~~~~ ../../src/test/test_atomic.cpp: In instantiation of 'initialization_tests::test_initialization_fixture::test_initialization_fixture() [with T = ArrayElement<6>*]': ../../src/test/test_atomic.cpp:312:12: required from 'void TestValueInitialization() [with T = ArrayElement<6>*]' ../../src/test/test_atomic.cpp:537:31: required from 'void TestOperations(T, T, T) [with T = ArrayElement<6>*]' ../../src/test/test_atomic.cpp:673:23: required from 'void TestAtomicPointer() [with T = ArrayElement<6>]' ../../src/test/test_atomic.cpp:1077:41: required from here ../../src/test/test_atomic.cpp:301:19: warning: 'void* memset(void*, int, size_t)' writing to an object of type 'struct tbb::atomic*>' with no trivial copy-assignment [-Wclass-memaccess] memset(non_zeroed_storage.begin(),fill_value,sizeof(non_zeroed_storage)); ~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ In file included from ../../src/test/test_atomic.cpp:35: ../../include/tbb/atomic.h:485:29: note: 'struct tbb::atomic*>' declared here template struct atomic: internal::atomic_impl_with_arithmetic { ^~~~~~~~~~ ../../src/test/test_atomic.cpp: In instantiation of 'initialization_tests::test_initialization_fixture::test_initialization_fixture() [with T = ArrayElement<7>*]': ../../src/test/test_atomic.cpp:312:12: required from 'void TestValueInitialization() [with T = ArrayElement<7>*]' ../../src/test/test_atomic.cpp:537:31: required from 'void TestOperations(T, T, T) [with T = ArrayElement<7>*]' ../../src/test/test_atomic.cpp:673:23: required from 'void TestAtomicPointer() [with T = ArrayElement<7>]' ../../src/test/test_atomic.cpp:1078:41: required from here ../../src/test/test_atomic.cpp:301:19: warning: 'void* memset(void*, int, size_t)' writing to an object of type 'struct tbb::atomic*>' with no trivial copy-assignment [-Wclass-memaccess] memset(non_zeroed_storage.begin(),fill_value,sizeof(non_zeroed_storage)); ~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ In file included from ../../src/test/test_atomic.cpp:35: ../../include/tbb/atomic.h:485:29: note: 'struct tbb::atomic*>' declared here template struct atomic: internal::atomic_impl_with_arithmetic { ^~~~~~~~~~ ../../src/test/test_atomic.cpp: In instantiation of 'initialization_tests::test_initialization_fixture::test_initialization_fixture() [with T = ArrayElement<8>*]': ../../src/test/test_atomic.cpp:312:12: required from 'void TestValueInitialization() [with T = ArrayElement<8>*]' ../../src/test/test_atomic.cpp:537:31: required from 'void TestOperations(T, T, T) [with T = ArrayElement<8>*]' ../../src/test/test_atomic.cpp:673:23: required from 'void TestAtomicPointer() [with T = ArrayElement<8>]' ../../src/test/test_atomic.cpp:1079:41: required from here ../../src/test/test_atomic.cpp:301:19: warning: 'void* memset(void*, int, size_t)' writing to an object of type 'struct tbb::atomic*>' with no trivial copy-assignment [-Wclass-memaccess] memset(non_zeroed_storage.begin(),fill_value,sizeof(non_zeroed_storage)); ~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ In file included from ../../src/test/test_atomic.cpp:35: ../../include/tbb/atomic.h:485:29: note: 'struct tbb::atomic*>' declared here template struct atomic: internal::atomic_impl_with_arithmetic { ^~~~~~~~~~ ../../src/test/test_atomic.cpp: In instantiation of 'initialization_tests::test_initialization_fixture::test_initialization_fixture() [with T = IncompleteType*]': ../../src/test/test_atomic.cpp:312:12: required from 'void TestValueInitialization() [with T = IncompleteType*]' ../../src/test/test_atomic.cpp:537:31: required from 'void TestOperations(T, T, T) [with T = IncompleteType*]' ../../src/test/test_atomic.cpp:685:24: required from 'void TestAtomicPointerToTypeOfUnknownSize(const char*) [with Ptr = IncompleteType*]' ../../src/test/test_atomic.cpp:1080:78: required from here ../../src/test/test_atomic.cpp:301:19: warning: 'void* memset(void*, int, size_t)' writing to an object of type 'struct tbb::atomic' with no trivial copy-assignment [-Wclass-memaccess] memset(non_zeroed_storage.begin(),fill_value,sizeof(non_zeroed_storage)); ~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ In file included from ../../src/test/test_atomic.cpp:35: ../../include/tbb/atomic.h:485:29: note: 'struct tbb::atomic' declared here template struct atomic: internal::atomic_impl_with_arithmetic { ^~~~~~~~~~ ../../src/test/test_atomic.cpp: In instantiation of 'initialization_tests::test_initialization_fixture::test_initialization_fixture() [with T = void*]': ../../src/test/test_atomic.cpp:312:12: required from 'void TestValueInitialization() [with T = void*]' ../../src/test/test_atomic.cpp:537:31: required from 'void TestOperations(T, T, T) [with T = void*]' ../../src/test/test_atomic.cpp:685:24: required from 'void TestAtomicPointerToTypeOfUnknownSize(const char*) [with Ptr = void*]' ../../src/test/test_atomic.cpp:1081:58: required from here ../../src/test/test_atomic.cpp:301:19: warning: 'void* memset(void*, int, size_t)' writing to an object of type 'struct tbb::atomic' with no trivial copy-assignment [-Wclass-memaccess] memset(non_zeroed_storage.begin(),fill_value,sizeof(non_zeroed_storage)); ~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ In file included from ../../src/test/test_atomic.cpp:35: ../../include/tbb/atomic.h:503:19: note: 'struct tbb::atomic' declared here template<> struct atomic: internal::atomic_impl { ^~~~~~~~~~~~~ ../../src/test/test_atomic.cpp: In instantiation of 'initialization_tests::test_initialization_fixture::test_initialization_fixture() [with T = float]': ../../src/test/test_atomic.cpp:312:12: required from 'void TestValueInitialization() [with T = float]' ../../src/test/test_atomic.cpp:537:31: required from 'void TestOperations(T, T, T) [with T = float]' ../../src/test/test_atomic.cpp:759:22: required from 'void TestAtomicFloat(const char*) [with T = float]' ../../src/test/test_atomic.cpp:1087:35: required from here ../../src/test/test_atomic.cpp:301:19: warning: 'void* memset(void*, int, size_t)' writing to an object of type 'struct tbb::atomic' with no trivial copy-assignment [-Wclass-memaccess] memset(non_zeroed_storage.begin(),fill_value,sizeof(non_zeroed_storage)); ~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ In file included from ../../src/test/test_atomic.cpp:35: ../../include/tbb/atomic.h:407:8: note: 'struct tbb::atomic' declared here struct atomic: internal::atomic_impl { ^~~~~~ ../../src/test/test_atomic.cpp: In instantiation of 'initialization_tests::test_initialization_fixture::test_initialization_fixture() [with T = double]': ../../src/test/test_atomic.cpp:312:12: required from 'void TestValueInitialization() [with T = double]' ../../src/test/test_atomic.cpp:537:31: required from 'void TestOperations(T, T, T) [with T = double]' ../../src/test/test_atomic.cpp:759:22: required from 'void TestAtomicFloat(const char*) [with T = double]' ../../src/test/test_atomic.cpp:1089:41: required from here ../../src/test/test_atomic.cpp:301:19: warning: 'void* memset(void*, int, size_t)' writing to an object of type 'struct tbb::atomic' with no trivial copy-assignment [-Wclass-memaccess] memset(non_zeroed_storage.begin(),fill_value,sizeof(non_zeroed_storage)); ~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ In file included from ../../src/test/test_atomic.cpp:35: ../../include/tbb/atomic.h:407:8: note: 'struct tbb::atomic' declared here struct atomic: internal::atomic_impl { ^~~~~~ g++ -o test_atomic_compiler_builtins.exe -O2 -g -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -fexceptions -fstack-protector-strong -grecord-gcc-switches -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -mcpu=power8 -mtune=power8 -funwind-tables -fstack-clash-protection -g -O2 -DUSE_PTHREAD -Wall -Wshadow -Wcast-qual -Woverloaded-virtual -Wnon-virtual-dtor -Wextra -O2 -g -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -fexceptions -fstack-protector-strong -grecord-gcc-switches -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -mcpu=power8 -mtune=power8 -funwind-tables -fstack-clash-protection test_atomic_compiler_builtins.o -lpthread -lrt -Wl,-rpath-link=. -rdynamic g++ -o test_blocked_range.o -c -MMD -O2 -g -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -fexceptions -fstack-protector-strong -grecord-gcc-switches -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -mcpu=power8 -mtune=power8 -funwind-tables -fstack-clash-protection -g -O2 -DUSE_PTHREAD -DTEST_USES_TBB=1 -Wall -Wshadow -Wcast-qual -Woverloaded-virtual -Wnon-virtual-dtor -Wextra -O2 -g -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -fexceptions -fstack-protector-strong -grecord-gcc-switches -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -mcpu=power8 -mtune=power8 -funwind-tables -fstack-clash-protection -std=c++14 -I../../src -I../../src/rml/include -I../../include -I. -include ../../src/test/harness_preload.h ../../src/test/test_blocked_range.cpp In file included from ../../include/tbb/tbb_machine.h:243, from ../../include/tbb/task.h:25, from ../../include/tbb/parallel_for.h:25, from ../../src/test/test_blocked_range.cpp:85: ../../include/tbb/machine/mac_ppc.h: In function 'int32_t __TBB_machine_cmpswp4(volatile void*, int32_t, int32_t)': ../../include/tbb/machine/mac_ppc.h:91:46: warning: cast from type 'volatile void*' to type 'int32_t*' {aka 'int*'} casts away qualifiers [-Wcast-qual] , "+m"(* (int32_t*) ptr) /* redundant with "memory" */ ^~~ ../../include/tbb/machine/mac_ppc.h: In function 'int64_t __TBB_machine_cmpswp8(volatile void*, int64_t, int64_t)': ../../include/tbb/machine/mac_ppc.h:116:46: warning: cast from type 'volatile void*' to type 'int64_t*' {aka 'long int*'} casts away qualifiers [-Wcast-qual] , "+m"(* (int64_t*) ptr) /* redundant with "memory" */ ^~~ g++ -o test_blocked_range.exe -O2 -g -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -fexceptions -fstack-protector-strong -grecord-gcc-switches -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -mcpu=power8 -mtune=power8 -funwind-tables -fstack-clash-protection -g -O2 -DUSE_PTHREAD -DTEST_USES_TBB=1 -Wall -Wshadow -Wcast-qual -Woverloaded-virtual -Wnon-virtual-dtor -Wextra -O2 -g -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -fexceptions -fstack-protector-strong -grecord-gcc-switches -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -mcpu=power8 -mtune=power8 -funwind-tables -fstack-clash-protection test_blocked_range.o libtbb.so -lpthread -lrt -Wl,-rpath-link=. -rdynamic g++ -o test_blocked_range2d.o -c -MMD -O2 -g -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -fexceptions -fstack-protector-strong -grecord-gcc-switches -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -mcpu=power8 -mtune=power8 -funwind-tables -fstack-clash-protection -g -O2 -DUSE_PTHREAD -DTEST_USES_TBB=1 -Wall -Wshadow -Wcast-qual -Woverloaded-virtual -Wnon-virtual-dtor -Wextra -O2 -g -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -fexceptions -fstack-protector-strong -grecord-gcc-switches -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -mcpu=power8 -mtune=power8 -funwind-tables -fstack-clash-protection -std=c++14 -I../../src -I../../src/rml/include -I../../include -I. -include ../../src/test/harness_preload.h ../../src/test/test_blocked_range2d.cpp In file included from ../../include/tbb/tbb_machine.h:243, from ../../include/tbb/task.h:25, from ../../include/tbb/parallel_for.h:25, from ../../src/test/test_blocked_range2d.cpp:108: ../../include/tbb/machine/mac_ppc.h: In function 'int32_t __TBB_machine_cmpswp4(volatile void*, int32_t, int32_t)': ../../include/tbb/machine/mac_ppc.h:91:46: warning: cast from type 'volatile void*' to type 'int32_t*' {aka 'int*'} casts away qualifiers [-Wcast-qual] , "+m"(* (int32_t*) ptr) /* redundant with "memory" */ ^~~ ../../include/tbb/machine/mac_ppc.h: In function 'int64_t __TBB_machine_cmpswp8(volatile void*, int64_t, int64_t)': ../../include/tbb/machine/mac_ppc.h:116:46: warning: cast from type 'volatile void*' to type 'int64_t*' {aka 'long int*'} casts away qualifiers [-Wcast-qual] , "+m"(* (int64_t*) ptr) /* redundant with "memory" */ ^~~ g++ -o test_blocked_range2d.exe -O2 -g -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -fexceptions -fstack-protector-strong -grecord-gcc-switches -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -mcpu=power8 -mtune=power8 -funwind-tables -fstack-clash-protection -g -O2 -DUSE_PTHREAD -DTEST_USES_TBB=1 -Wall -Wshadow -Wcast-qual -Woverloaded-virtual -Wnon-virtual-dtor -Wextra -O2 -g -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -fexceptions -fstack-protector-strong -grecord-gcc-switches -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -mcpu=power8 -mtune=power8 -funwind-tables -fstack-clash-protection test_blocked_range2d.o libtbb.so -lpthread -lrt -Wl,-rpath-link=. -rdynamic g++ -o test_blocked_range3d.o -c -MMD -O2 -g -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -fexceptions -fstack-protector-strong -grecord-gcc-switches -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -mcpu=power8 -mtune=power8 -funwind-tables -fstack-clash-protection -g -O2 -DUSE_PTHREAD -DTEST_USES_TBB=1 -Wall -Wshadow -Wcast-qual -Woverloaded-virtual -Wnon-virtual-dtor -Wextra -O2 -g -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -fexceptions -fstack-protector-strong -grecord-gcc-switches -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -mcpu=power8 -mtune=power8 -funwind-tables -fstack-clash-protection -std=c++14 -I../../src -I../../src/rml/include -I../../include -I. -include ../../src/test/harness_preload.h ../../src/test/test_blocked_range3d.cpp In file included from ../../include/tbb/tbb_machine.h:243, from ../../include/tbb/task.h:25, from ../../include/tbb/parallel_for.h:25, from ../../src/test/test_blocked_range3d.cpp:134: ../../include/tbb/machine/mac_ppc.h: In function 'int32_t __TBB_machine_cmpswp4(volatile void*, int32_t, int32_t)': ../../include/tbb/machine/mac_ppc.h:91:46: warning: cast from type 'volatile void*' to type 'int32_t*' {aka 'int*'} casts away qualifiers [-Wcast-qual] , "+m"(* (int32_t*) ptr) /* redundant with "memory" */ ^~~ ../../include/tbb/machine/mac_ppc.h: In function 'int64_t __TBB_machine_cmpswp8(volatile void*, int64_t, int64_t)': ../../include/tbb/machine/mac_ppc.h:116:46: warning: cast from type 'volatile void*' to type 'int64_t*' {aka 'long int*'} casts away qualifiers [-Wcast-qual] , "+m"(* (int64_t*) ptr) /* redundant with "memory" */ ^~~ g++ -o test_blocked_range3d.exe -O2 -g -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -fexceptions -fstack-protector-strong -grecord-gcc-switches -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -mcpu=power8 -mtune=power8 -funwind-tables -fstack-clash-protection -g -O2 -DUSE_PTHREAD -DTEST_USES_TBB=1 -Wall -Wshadow -Wcast-qual -Woverloaded-virtual -Wnon-virtual-dtor -Wextra -O2 -g -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -fexceptions -fstack-protector-strong -grecord-gcc-switches -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -mcpu=power8 -mtune=power8 -funwind-tables -fstack-clash-protection test_blocked_range3d.o libtbb.so -lpthread -lrt -Wl,-rpath-link=. -rdynamic g++ -o test_concurrent_queue.o -c -MMD -O2 -g -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -fexceptions -fstack-protector-strong -grecord-gcc-switches -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -mcpu=power8 -mtune=power8 -funwind-tables -fstack-clash-protection -g -O2 -DUSE_PTHREAD -DTEST_USES_TBB=1 -Wall -Wshadow -Wcast-qual -Woverloaded-virtual -Wnon-virtual-dtor -Wextra -O2 -g -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -fexceptions -fstack-protector-strong -grecord-gcc-switches -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -mcpu=power8 -mtune=power8 -funwind-tables -fstack-clash-protection -std=c++14 -I../../src -I../../src/rml/include -I../../include -I. -include ../../src/test/harness_preload.h ../../src/test/test_concurrent_queue.cpp In file included from ../../include/tbb/internal/../tbb_machine.h:243, from ../../include/tbb/internal/_concurrent_queue_impl.h:29, from ../../include/tbb/concurrent_queue.h:24, from ../../src/test/test_concurrent_queue.cpp:23: ../../include/tbb/internal/../machine/mac_ppc.h: In function 'int32_t __TBB_machine_cmpswp4(volatile void*, int32_t, int32_t)': ../../include/tbb/internal/../machine/mac_ppc.h:91:46: warning: cast from type 'volatile void*' to type 'int32_t*' {aka 'int*'} casts away qualifiers [-Wcast-qual] , "+m"(* (int32_t*) ptr) /* redundant with "memory" */ ^~~ ../../include/tbb/internal/../machine/mac_ppc.h: In function 'int64_t __TBB_machine_cmpswp8(volatile void*, int64_t, int64_t)': ../../include/tbb/internal/../machine/mac_ppc.h:116:46: warning: cast from type 'volatile void*' to type 'int64_t*' {aka 'long int*'} casts away qualifiers [-Wcast-qual] , "+m"(* (int64_t*) ptr) /* redundant with "memory" */ ^~~ In file included from ../../include/tbb/concurrent_queue.h:24, from ../../src/test/test_concurrent_queue.cpp:23: ../../include/tbb/internal/_concurrent_queue_impl.h: In instantiation of 'tbb::strict_ppl::internal::concurrent_queue_base_v3::concurrent_queue_base_v3() [with T = Foo]': ../../include/tbb/concurrent_queue.h:85:25: required from 'tbb::strict_ppl::concurrent_queue::concurrent_queue(const allocator_type&) [with T = Foo; A = tbb::cache_aligned_allocator; tbb::strict_ppl::concurrent_queue::allocator_type = tbb::cache_aligned_allocator]' ../../src/test/test_concurrent_queue.cpp:902:8: required from 'void TestIterator() [with CQ = tbb::strict_ppl::concurrent_queue]' ../../src/test/test_concurrent_queue.cpp:1258:47: required from here ../../include/tbb/internal/_concurrent_queue_impl.h:517:11: warning: 'void* memset(void*, int, size_t)' clearing an object of type 'struct tbb::strict_ppl::internal::concurrent_queue_rep' with no trivial copy-assignment; use value-initialization instead [-Wclass-memaccess] memset(my_rep,0,sizeof(concurrent_queue_rep)); ~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ../../include/tbb/internal/_concurrent_queue_impl.h:405:8: note: 'struct tbb::strict_ppl::internal::concurrent_queue_rep' declared here struct concurrent_queue_rep : public concurrent_queue_rep_base { ^~~~~~~~~~~~~~~~~~~~ ../../include/tbb/internal/_concurrent_queue_impl.h: In instantiation of 'tbb::strict_ppl::internal::concurrent_queue_base_v3::concurrent_queue_base_v3() [with T = char]': ../../include/tbb/concurrent_queue.h:85:25: required from 'tbb::strict_ppl::concurrent_queue::concurrent_queue(const allocator_type&) [with T = char; A = tbb::cache_aligned_allocator; tbb::strict_ppl::concurrent_queue::allocator_type = tbb::cache_aligned_allocator]' ../../src/test/test_concurrent_queue.cpp:1183:8: required from 'void TestPrimitiveTypes(int, T) [with CQ = tbb::strict_ppl::concurrent_queue; T = char]' ../../src/test/test_concurrent_queue.cpp:1279:79: required from here ../../include/tbb/internal/_concurrent_queue_impl.h:517:11: warning: 'void* memset(void*, int, size_t)' clearing an object of type 'struct tbb::strict_ppl::internal::concurrent_queue_rep' with no trivial copy-assignment; use value-initialization instead [-Wclass-memaccess] memset(my_rep,0,sizeof(concurrent_queue_rep)); ~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ../../include/tbb/internal/_concurrent_queue_impl.h:405:8: note: 'struct tbb::strict_ppl::internal::concurrent_queue_rep' declared here struct concurrent_queue_rep : public concurrent_queue_rep_base { ^~~~~~~~~~~~~~~~~~~~ ../../include/tbb/internal/_concurrent_queue_impl.h: In instantiation of 'tbb::strict_ppl::internal::concurrent_queue_base_v3::concurrent_queue_base_v3() [with T = int]': ../../include/tbb/concurrent_queue.h:85:25: required from 'tbb::strict_ppl::concurrent_queue::concurrent_queue(const allocator_type&) [with T = int; A = tbb::cache_aligned_allocator; tbb::strict_ppl::concurrent_queue::allocator_type = tbb::cache_aligned_allocator]' ../../src/test/test_concurrent_queue.cpp:1183:8: required from 'void TestPrimitiveTypes(int, T) [with CQ = tbb::strict_ppl::concurrent_queue; T = int]' ../../src/test/test_concurrent_queue.cpp:1280:78: required from here ../../include/tbb/internal/_concurrent_queue_impl.h:517:11: warning: 'void* memset(void*, int, size_t)' clearing an object of type 'struct tbb::strict_ppl::internal::concurrent_queue_rep' with no trivial copy-assignment; use value-initialization instead [-Wclass-memaccess] memset(my_rep,0,sizeof(concurrent_queue_rep)); ~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ../../include/tbb/internal/_concurrent_queue_impl.h:405:8: note: 'struct tbb::strict_ppl::internal::concurrent_queue_rep' declared here struct concurrent_queue_rep : public concurrent_queue_rep_base { ^~~~~~~~~~~~~~~~~~~~ ../../include/tbb/internal/_concurrent_queue_impl.h: In instantiation of 'tbb::strict_ppl::internal::concurrent_queue_base_v3::concurrent_queue_base_v3() [with T = float]': ../../include/tbb/concurrent_queue.h:85:25: required from 'tbb::strict_ppl::concurrent_queue::concurrent_queue(const allocator_type&) [with T = float; A = tbb::cache_aligned_allocator; tbb::strict_ppl::concurrent_queue::allocator_type = tbb::cache_aligned_allocator]' ../../src/test/test_concurrent_queue.cpp:1183:8: required from 'void TestPrimitiveTypes(int, T) [with CQ = tbb::strict_ppl::concurrent_queue; T = float]' ../../src/test/test_concurrent_queue.cpp:1281:86: required from here ../../include/tbb/internal/_concurrent_queue_impl.h:517:11: warning: 'void* memset(void*, int, size_t)' clearing an object of type 'struct tbb::strict_ppl::internal::concurrent_queue_rep' with no trivial copy-assignment; use value-initialization instead [-Wclass-memaccess] memset(my_rep,0,sizeof(concurrent_queue_rep)); ~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ../../include/tbb/internal/_concurrent_queue_impl.h:405:8: note: 'struct tbb::strict_ppl::internal::concurrent_queue_rep' declared here struct concurrent_queue_rep : public concurrent_queue_rep_base { ^~~~~~~~~~~~~~~~~~~~ ../../include/tbb/internal/_concurrent_queue_impl.h: In instantiation of 'tbb::strict_ppl::internal::concurrent_queue_base_v3::concurrent_queue_base_v3() [with T = double]': ../../include/tbb/concurrent_queue.h:85:25: required from 'tbb::strict_ppl::concurrent_queue::concurrent_queue(const allocator_type&) [with T = double; A = tbb::cache_aligned_allocator; tbb::strict_ppl::concurrent_queue::allocator_type = tbb::cache_aligned_allocator]' ../../src/test/test_concurrent_queue.cpp:1183:8: required from 'void TestPrimitiveTypes(int, T) [with CQ = tbb::strict_ppl::concurrent_queue; T = double]' ../../src/test/test_concurrent_queue.cpp:1282:88: required from here ../../include/tbb/internal/_concurrent_queue_impl.h:517:11: warning: 'void* memset(void*, int, size_t)' clearing an object of type 'struct tbb::strict_ppl::internal::concurrent_queue_rep' with no trivial copy-assignment; use value-initialization instead [-Wclass-memaccess] memset(my_rep,0,sizeof(concurrent_queue_rep)); ~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ../../include/tbb/internal/_concurrent_queue_impl.h:405:8: note: 'struct tbb::strict_ppl::internal::concurrent_queue_rep' declared here struct concurrent_queue_rep : public concurrent_queue_rep_base { ^~~~~~~~~~~~~~~~~~~~ ../../include/tbb/internal/_concurrent_queue_impl.h: In instantiation of 'tbb::strict_ppl::internal::concurrent_queue_base_v3::concurrent_queue_base_v3() [with T = MoveOperationTracker]': ../../include/tbb/concurrent_queue.h:85:25: required from 'tbb::strict_ppl::concurrent_queue::concurrent_queue(const allocator_type&) [with T = MoveOperationTracker; A = tbb::cache_aligned_allocator; tbb::strict_ppl::concurrent_queue::allocator_type = tbb::cache_aligned_allocator]' ../../src/test/test_concurrent_queue.cpp:1500:8: required from 'void TestMoveSupport() [with CQ = tbb::strict_ppl::concurrent_queue; push_t push_op = (push_t)0; pop_t pop_op = (pop_t)1]' ../../src/test/test_concurrent_queue.cpp:1524:89: required from here ../../include/tbb/internal/_concurrent_queue_impl.h:517:11: warning: 'void* memset(void*, int, size_t)' clearing an object of type 'struct tbb::strict_ppl::internal::concurrent_queue_rep' with no trivial copy-assignment; use value-initialization instead [-Wclass-memaccess] memset(my_rep,0,sizeof(concurrent_queue_rep)); ~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ../../include/tbb/internal/_concurrent_queue_impl.h:405:8: note: 'struct tbb::strict_ppl::internal::concurrent_queue_rep' declared here struct concurrent_queue_rep : public concurrent_queue_rep_base { ^~~~~~~~~~~~~~~~~~~~ ../../include/tbb/internal/_concurrent_queue_impl.h: In instantiation of 'tbb::strict_ppl::internal::concurrent_queue_base_v3::concurrent_queue_base_v3() [with T = Bar]': ../../include/tbb/concurrent_queue.h:85:25: required from 'tbb::strict_ppl::concurrent_queue::concurrent_queue(const allocator_type&) [with T = Bar; A = allocator; tbb::strict_ppl::concurrent_queue::allocator_type = allocator]' ../../src/test/test_concurrent_queue.cpp:208:71: required from 'ConcQWithSizeWrapper::ConcQWithSizeWrapper(const A&) [with T = Bar; A = allocator]' ../../src/test/test_concurrent_queue.cpp:789:8: required from 'void TestMoveConstructors() [with CQ = ConcQWithSizeWrapper >; T = Bar]' ../../src/test/test_concurrent_queue.cpp:841:78: required from here ../../include/tbb/internal/_concurrent_queue_impl.h:517:11: warning: 'void* memset(void*, int, size_t)' clearing an object of type 'struct tbb::strict_ppl::internal::concurrent_queue_rep' with no trivial copy-assignment; use value-initialization instead [-Wclass-memaccess] memset(my_rep,0,sizeof(concurrent_queue_rep)); ~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ../../include/tbb/internal/_concurrent_queue_impl.h:405:8: note: 'struct tbb::strict_ppl::internal::concurrent_queue_rep' declared here struct concurrent_queue_rep : public concurrent_queue_rep_base { ^~~~~~~~~~~~~~~~~~~~ ../../include/tbb/internal/_concurrent_queue_impl.h: In instantiation of 'tbb::strict_ppl::internal::concurrent_queue_base_v3::concurrent_queue_base_v3() [with T = FooEx]': ../../include/tbb/concurrent_queue.h:85:25: required from 'tbb::strict_ppl::concurrent_queue::concurrent_queue(const allocator_type&) [with T = FooEx; A = static_counting_allocator, long unsigned int>; tbb::strict_ppl::concurrent_queue::allocator_type = static_counting_allocator, long unsigned int>]' ../../src/test/test_concurrent_queue.cpp:206:28: required from 'ConcQWithSizeWrapper::ConcQWithSizeWrapper() [with T = FooEx; A = static_counting_allocator, long unsigned int>]' ../../src/test/test_concurrent_queue.cpp:1044:18: required from 'void TestExceptionBody() [with CQ = ConcQWithSizeWrapper; A1 = static_counting_allocator, long unsigned int>; A2 = static_counting_allocator, long unsigned int>; T = FooEx]' ../../src/test/test_concurrent_queue.cpp:1154:80: required from here ../../include/tbb/internal/_concurrent_queue_impl.h:517:11: warning: 'void* memset(void*, int, size_t)' clearing an object of type 'struct tbb::strict_ppl::internal::concurrent_queue_rep' with no trivial copy-assignment; use value-initialization instead [-Wclass-memaccess] memset(my_rep,0,sizeof(concurrent_queue_rep)); ~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ../../include/tbb/internal/_concurrent_queue_impl.h:405:8: note: 'struct tbb::strict_ppl::internal::concurrent_queue_rep' declared here struct concurrent_queue_rep : public concurrent_queue_rep_base { ^~~~~~~~~~~~~~~~~~~~ ../../include/tbb/internal/_concurrent_queue_impl.h: In instantiation of 'tbb::strict_ppl::internal::concurrent_queue_base_v3::concurrent_queue_base_v3() [with T = BarEx]': ../../include/tbb/concurrent_queue.h:85:25: required from 'tbb::strict_ppl::concurrent_queue::concurrent_queue(const allocator_type&) [with T = BarEx; A = tbb::cache_aligned_allocator; tbb::strict_ppl::concurrent_queue::allocator_type = tbb::cache_aligned_allocator]' ../../src/test/test_concurrent_queue.cpp:206:28: required from 'ConcQWithSizeWrapper::ConcQWithSizeWrapper() [with T = BarEx; A = tbb::cache_aligned_allocator]' ../../src/test/test_concurrent_queue.cpp:681:11: required from 'void TestConstructors() [with CQ = ConcQWithSizeWrapper; T = Bar; TIter = BarIterator; CQ_EX = ConcQWithSizeWrapper; T_EX = BarEx]' ../../src/test/test_concurrent_queue.cpp:1272:101: required from here ../../include/tbb/internal/_concurrent_queue_impl.h:517:11: warning: 'void* memset(void*, int, size_t)' clearing an object of type 'struct tbb::strict_ppl::internal::concurrent_queue_rep' with no trivial copy-assignment; use value-initialization instead [-Wclass-memaccess] memset(my_rep,0,sizeof(concurrent_queue_rep)); ~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ../../include/tbb/internal/_concurrent_queue_impl.h:405:8: note: 'struct tbb::strict_ppl::internal::concurrent_queue_rep' declared here struct concurrent_queue_rep : public concurrent_queue_rep_base { ^~~~~~~~~~~~~~~~~~~~ ../../include/tbb/internal/_concurrent_queue_impl.h: In instantiation of 'tbb::strict_ppl::internal::concurrent_queue_base_v3::concurrent_queue_base_v3() [with T = NonTrivialConstructorType]': ../../include/tbb/concurrent_queue.h:85:25: required from 'tbb::strict_ppl::concurrent_queue::concurrent_queue(const allocator_type&) [with T = NonTrivialConstructorType; A = tbb::cache_aligned_allocator; tbb::strict_ppl::concurrent_queue::allocator_type = tbb::cache_aligned_allocator]' ../../src/test/test_concurrent_queue.cpp:206:28: required from 'ConcQWithSizeWrapper::ConcQWithSizeWrapper() [with T = NonTrivialConstructorType; A = tbb::cache_aligned_allocator]' ../../src/test/test_concurrent_queue.cpp:1562:8: required from 'void TestEmplaceInQueue() [with CQ = ConcQWithSizeWrapper; emplace_t emplace_op = (emplace_t)0]' ../../src/test/test_concurrent_queue.cpp:1598:87: required from here ../../include/tbb/internal/_concurrent_queue_impl.h:517:11: warning: 'void* memset(void*, int, size_t)' clearing an object of type 'struct tbb::strict_ppl::internal::concurrent_queue_rep' with no trivial copy-assignment; use value-initialization instead [-Wclass-memaccess] memset(my_rep,0,sizeof(concurrent_queue_rep)); ~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ../../include/tbb/internal/_concurrent_queue_impl.h:405:8: note: 'struct tbb::strict_ppl::internal::concurrent_queue_rep' declared here struct concurrent_queue_rep : public concurrent_queue_rep_base { ^~~~~~~~~~~~~~~~~~~~ In file included from ../../src/test/test_concurrent_queue.cpp:26: ../../src/test/harness_allocator.h: In instantiation of 'debug_allocator::pointer debug_allocator::allocate(debug_allocator::size_type, const void*) [with T = tbb::atomic; Allocator = std::allocator; debug_allocator::pointer = tbb::atomic*; debug_allocator::size_type = long unsigned int]': ../../src/test/test_concurrent_queue.cpp:1624:17: required from 'void Examine(Queue, const std::vector&) [with Queue = ConcQWithSizeWrapper, debug_allocator, std::allocator> >; typename Queue::value_type = tbb::atomic]' ../../src/test/test_concurrent_queue.cpp:1643:12: required from 'void TypeTester(const std::vector&) [with Queue = ConcQWithSizeWrapper, tbb::cache_aligned_allocator > >; QueueDebugAlloc = ConcQWithSizeWrapper, debug_allocator, std::allocator> >; typename Queue::value_type = tbb::atomic]' ../../src/test/test_concurrent_queue.cpp:1659:115: required from 'void TestTypes(const std::vector&) [with value_type = tbb::atomic]' ../../src/test/test_concurrent_queue.cpp:1675:21: required from here ../../src/test/harness_allocator.h:518:20: warning: 'void* memset(void*, int, size_t)' writing to an object of type 'struct tbb::atomic' with no trivial copy-assignment [-Wclass-memaccess] std::memset( ptr, 0xE3E3E3E3, n * sizeof(value_type) ); ~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ In file included from ../../include/tbb/internal/_concurrent_queue_impl.h:30, from ../../include/tbb/concurrent_queue.h:24, from ../../src/test/test_concurrent_queue.cpp:23: ../../include/tbb/internal/../atomic.h:421:27: note: 'struct tbb::atomic' declared here template<> struct atomic: internal::atomic_impl_with_arithmetic { \ ^~~~~~~~~ ../../include/tbb/internal/../atomic.h:471:1: note: in expansion of macro '__TBB_DECL_ATOMIC' __TBB_DECL_ATOMIC(int) ^~~~~~~~~~~~~~~~~ In file included from ../../src/test/test_concurrent_queue.cpp:26: ../../src/test/harness_allocator.h: In instantiation of 'debug_allocator::pointer debug_allocator::allocate(debug_allocator::size_type, const void*) [with T = std::shared_ptr; Allocator = std::allocator; debug_allocator::pointer = std::shared_ptr*; debug_allocator::size_type = long unsigned int]': ../../src/test/test_concurrent_queue.cpp:1624:17: required from 'void Examine(Queue, const std::vector&) [with Queue = ConcQWithSizeWrapper, debug_allocator, std::allocator> >; typename Queue::value_type = std::shared_ptr]' ../../src/test/test_concurrent_queue.cpp:1643:12: required from 'void TypeTester(const std::vector&) [with Queue = ConcQWithSizeWrapper, tbb::cache_aligned_allocator > >; QueueDebugAlloc = ConcQWithSizeWrapper, debug_allocator, std::allocator> >; typename Queue::value_type = std::shared_ptr]' ../../src/test/test_concurrent_queue.cpp:1659:115: required from 'void TestTypes(const std::vector&) [with value_type = std::shared_ptr]' ../../src/test/test_concurrent_queue.cpp:1682:21: required from here ../../src/test/harness_allocator.h:518:20: warning: 'void* memset(void*, int, size_t)' writing to an object of type 'class std::shared_ptr' with no trivial copy-assignment [-Wclass-memaccess] std::memset( ptr, 0xE3E3E3E3, n * sizeof(value_type) ); ~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ In file included from /usr/include/c++/8/memory:81, from ../../include/tbb/internal/../tbb_stddef.h:427, from ../../include/tbb/internal/_concurrent_queue_impl.h:28, from ../../include/tbb/concurrent_queue.h:24, from ../../src/test/test_concurrent_queue.cpp:23: /usr/include/c++/8/bits/shared_ptr.h:103:11: note: 'class std::shared_ptr' declared here class shared_ptr : public __shared_ptr<_Tp> ^~~~~~~~~~ In file included from ../../src/test/test_concurrent_queue.cpp:26: ../../src/test/harness_allocator.h: In instantiation of 'debug_allocator::pointer debug_allocator::allocate(debug_allocator::size_type, const void*) [with T = std::weak_ptr; Allocator = std::allocator; debug_allocator::pointer = std::weak_ptr*; debug_allocator::size_type = long unsigned int]': ../../src/test/test_concurrent_queue.cpp:1624:17: required from 'void Examine(Queue, const std::vector&) [with Queue = ConcQWithSizeWrapper, debug_allocator, std::allocator> >; typename Queue::value_type = std::weak_ptr]' ../../src/test/test_concurrent_queue.cpp:1643:12: required from 'void TypeTester(const std::vector&) [with Queue = ConcQWithSizeWrapper, tbb::cache_aligned_allocator > >; QueueDebugAlloc = ConcQWithSizeWrapper, debug_allocator, std::allocator> >; typename Queue::value_type = std::weak_ptr]' ../../src/test/test_concurrent_queue.cpp:1659:115: required from 'void TestTypes(const std::vector&) [with value_type = std::weak_ptr]' ../../src/test/test_concurrent_queue.cpp:1683:20: required from here ../../src/test/harness_allocator.h:518:20: warning: 'void* memset(void*, int, size_t)' writing to an object of type 'class std::weak_ptr' with no trivial copy-assignment [-Wclass-memaccess] std::memset( ptr, 0xE3E3E3E3, n * sizeof(value_type) ); ~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ In file included from /usr/include/c++/8/memory:81, from ../../include/tbb/internal/../tbb_stddef.h:427, from ../../include/tbb/internal/_concurrent_queue_impl.h:28, from ../../include/tbb/concurrent_queue.h:24, from ../../src/test/test_concurrent_queue.cpp:23: /usr/include/c++/8/bits/shared_ptr.h:536:11: note: 'class std::weak_ptr' declared here class weak_ptr : public __weak_ptr<_Tp> ^~~~~~~~ In file included from ../../include/tbb/concurrent_queue.h:24, from ../../src/test/test_concurrent_queue.cpp:23: ../../include/tbb/internal/_concurrent_queue_impl.h: In instantiation of 'tbb::strict_ppl::internal::concurrent_queue_base_v3::concurrent_queue_base_v3() [with T = tbb::atomic]': ../../include/tbb/concurrent_queue.h:85:25: required from 'tbb::strict_ppl::concurrent_queue::concurrent_queue(const allocator_type&) [with T = tbb::atomic; A = tbb::cache_aligned_allocator >; tbb::strict_ppl::concurrent_queue::allocator_type = tbb::cache_aligned_allocator >]' ../../src/test/test_concurrent_queue.cpp:206:28: required from 'ConcQWithSizeWrapper::ConcQWithSizeWrapper() [with T = tbb::atomic; A = tbb::cache_aligned_allocator >]' ../../src/test/test_concurrent_queue.cpp:1634:11: required from 'void TypeTester(const std::vector&) [with Queue = ConcQWithSizeWrapper, tbb::cache_aligned_allocator > >; QueueDebugAlloc = ConcQWithSizeWrapper, debug_allocator, std::allocator> >; typename Queue::value_type = tbb::atomic]' ../../src/test/test_concurrent_queue.cpp:1659:115: required from 'void TestTypes(const std::vector&) [with value_type = tbb::atomic]' ../../src/test/test_concurrent_queue.cpp:1675:21: required from here ../../include/tbb/internal/_concurrent_queue_impl.h:517:11: warning: 'void* memset(void*, int, size_t)' clearing an object of type 'struct tbb::strict_ppl::internal::concurrent_queue_rep >' with no trivial copy-assignment; use value-initialization instead [-Wclass-memaccess] memset(my_rep,0,sizeof(concurrent_queue_rep)); ~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ../../include/tbb/internal/_concurrent_queue_impl.h:405:8: note: 'struct tbb::strict_ppl::internal::concurrent_queue_rep >' declared here struct concurrent_queue_rep : public concurrent_queue_rep_base { ^~~~~~~~~~~~~~~~~~~~ ../../include/tbb/internal/_concurrent_queue_impl.h: In instantiation of 'tbb::strict_ppl::internal::concurrent_queue_base_v3::concurrent_queue_base_v3() [with T = std::shared_ptr]': ../../include/tbb/concurrent_queue.h:85:25: required from 'tbb::strict_ppl::concurrent_queue::concurrent_queue(const allocator_type&) [with T = std::shared_ptr; A = tbb::cache_aligned_allocator >; tbb::strict_ppl::concurrent_queue::allocator_type = tbb::cache_aligned_allocator >]' ../../src/test/test_concurrent_queue.cpp:206:28: required from 'ConcQWithSizeWrapper::ConcQWithSizeWrapper() [with T = std::shared_ptr; A = tbb::cache_aligned_allocator >]' ../../src/test/test_concurrent_queue.cpp:1634:11: required from 'void TypeTester(const std::vector&) [with Queue = ConcQWithSizeWrapper, tbb::cache_aligned_allocator > >; QueueDebugAlloc = ConcQWithSizeWrapper, debug_allocator, std::allocator> >; typename Queue::value_type = std::shared_ptr]' ../../src/test/test_concurrent_queue.cpp:1659:115: required from 'void TestTypes(const std::vector&) [with value_type = std::shared_ptr]' ../../src/test/test_concurrent_queue.cpp:1682:21: required from here ../../include/tbb/internal/_concurrent_queue_impl.h:517:11: warning: 'void* memset(void*, int, size_t)' clearing an object of type 'struct tbb::strict_ppl::internal::concurrent_queue_rep >' with no trivial copy-assignment; use value-initialization instead [-Wclass-memaccess] memset(my_rep,0,sizeof(concurrent_queue_rep)); ~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ../../include/tbb/internal/_concurrent_queue_impl.h:405:8: note: 'struct tbb::strict_ppl::internal::concurrent_queue_rep >' declared here struct concurrent_queue_rep : public concurrent_queue_rep_base { ^~~~~~~~~~~~~~~~~~~~ ../../include/tbb/internal/_concurrent_queue_impl.h: In instantiation of 'tbb::strict_ppl::internal::concurrent_queue_base_v3::concurrent_queue_base_v3() [with T = std::weak_ptr]': ../../include/tbb/concurrent_queue.h:85:25: required from 'tbb::strict_ppl::concurrent_queue::concurrent_queue(const allocator_type&) [with T = std::weak_ptr; A = tbb::cache_aligned_allocator >; tbb::strict_ppl::concurrent_queue::allocator_type = tbb::cache_aligned_allocator >]' ../../src/test/test_concurrent_queue.cpp:206:28: required from 'ConcQWithSizeWrapper::ConcQWithSizeWrapper() [with T = std::weak_ptr; A = tbb::cache_aligned_allocator >]' ../../src/test/test_concurrent_queue.cpp:1634:11: required from 'void TypeTester(const std::vector&) [with Queue = ConcQWithSizeWrapper, tbb::cache_aligned_allocator > >; QueueDebugAlloc = ConcQWithSizeWrapper, debug_allocator, std::allocator> >; typename Queue::value_type = std::weak_ptr]' ../../src/test/test_concurrent_queue.cpp:1659:115: required from 'void TestTypes(const std::vector&) [with value_type = std::weak_ptr]' ../../src/test/test_concurrent_queue.cpp:1683:20: required from here ../../include/tbb/internal/_concurrent_queue_impl.h:517:11: warning: 'void* memset(void*, int, size_t)' clearing an object of type 'struct tbb::strict_ppl::internal::concurrent_queue_rep >' with no trivial copy-assignment; use value-initialization instead [-Wclass-memaccess] memset(my_rep,0,sizeof(concurrent_queue_rep)); ~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ../../include/tbb/internal/_concurrent_queue_impl.h:405:8: note: 'struct tbb::strict_ppl::internal::concurrent_queue_rep >' declared here struct concurrent_queue_rep : public concurrent_queue_rep_base { ^~~~~~~~~~~~~~~~~~~~ g++ -o test_concurrent_queue.exe -O2 -g -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -fexceptions -fstack-protector-strong -grecord-gcc-switches -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -mcpu=power8 -mtune=power8 -funwind-tables -fstack-clash-protection -g -O2 -DUSE_PTHREAD -DTEST_USES_TBB=1 -Wall -Wshadow -Wcast-qual -Woverloaded-virtual -Wnon-virtual-dtor -Wextra -O2 -g -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -fexceptions -fstack-protector-strong -grecord-gcc-switches -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -mcpu=power8 -mtune=power8 -funwind-tables -fstack-clash-protection test_concurrent_queue.o libtbb.so -lpthread -lrt -Wl,-rpath-link=. -rdynamic g++ -o test_concurrent_vector.o -c -MMD -O2 -g -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -fexceptions -fstack-protector-strong -grecord-gcc-switches -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -mcpu=power8 -mtune=power8 -funwind-tables -fstack-clash-protection -g -O2 -DUSE_PTHREAD -DTEST_USES_TBB=1 -Wall -Wshadow -Wcast-qual -Woverloaded-virtual -Wnon-virtual-dtor -Wextra -O2 -g -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -fexceptions -fstack-protector-strong -grecord-gcc-switches -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -mcpu=power8 -mtune=power8 -funwind-tables -fstack-clash-protection -std=c++14 -I../../src -I../../src/rml/include -I../../include -I. -include ../../src/test/harness_preload.h ../../src/test/test_concurrent_vector.cpp In file included from ../../include/tbb/tbb_machine.h:243, from ../../include/tbb/atomic.h:32, from ../../include/tbb/concurrent_vector.h:26, from ../../src/test/test_concurrent_vector.cpp:25: ../../include/tbb/machine/mac_ppc.h: In function 'int32_t __TBB_machine_cmpswp4(volatile void*, int32_t, int32_t)': ../../include/tbb/machine/mac_ppc.h:91:46: warning: cast from type 'volatile void*' to type 'int32_t*' {aka 'int*'} casts away qualifiers [-Wcast-qual] , "+m"(* (int32_t*) ptr) /* redundant with "memory" */ ^~~ ../../include/tbb/machine/mac_ppc.h: In function 'int64_t __TBB_machine_cmpswp8(volatile void*, int64_t, int64_t)': ../../include/tbb/machine/mac_ppc.h:116:46: warning: cast from type 'volatile void*' to type 'int64_t*' {aka 'long int*'} casts away qualifiers [-Wcast-qual] , "+m"(* (int64_t*) ptr) /* redundant with "memory" */ ^~~ In file included from ../../src/test/test_concurrent_vector.cpp:25: ../../include/tbb/concurrent_vector.h: In static member function 'static void tbb::concurrent_vector::copy_range(void*, const void*, tbb::concurrent_vector::size_type)': ../../include/tbb/concurrent_vector.h:1296:18: warning: declaration of 'iterator' shadows a previous local [-Wshadow] I & iterator ((*const_cast(static_cast(p_type_erased_iterator)))); ^ ../../include/tbb/concurrent_vector.h:578:60: note: shadowed declaration is here typedef internal::vector_iterator iterator; ^~~~~~~~ ../../include/tbb/concurrent_vector.h: In instantiation of 'static void tbb::concurrent_vector::copy_range(void*, const void*, tbb::concurrent_vector::size_type) [with Iterator = int*; T = int; A = tbb::cache_aligned_allocator; tbb::concurrent_vector::size_type = long unsigned int]': ../../include/tbb/concurrent_vector.h:795:38: required from 'tbb::concurrent_vector::iterator tbb::concurrent_vector::grow_by(I, I) [with I = int*; T = int; A = tbb::cache_aligned_allocator; tbb::concurrent_vector::iterator = tbb::internal::vector_iterator, int>]' ../../src/test/test_concurrent_vector.cpp:762:5: required from here ../../include/tbb/concurrent_vector.h:1296:9: warning: declaration of 'iterator' shadows a previous local [-Wshadow] I & iterator ((*const_cast(static_cast(p_type_erased_iterator)))); ^~~~~~~~ ../../include/tbb/concurrent_vector.h:578:60: note: shadowed declaration is here typedef internal::vector_iterator iterator; ^~~~~~~~ ../../include/tbb/concurrent_vector.h: In instantiation of 'static void tbb::concurrent_vector::copy_range(void*, const void*, tbb::concurrent_vector::size_type) [with Iterator = std::move_iterator, arena, long unsigned int>, long unsigned int> >, FooWithAssign> >; T = FooWithAssign; A = static_shared_counting_allocator, arena, long unsigned int>, long unsigned int>; tbb::concurrent_vector::size_type = long unsigned int]': ../../include/tbb/concurrent_vector.h:795:38: required from 'tbb::concurrent_vector::iterator tbb::concurrent_vector::grow_by(I, I) [with I = std::move_iterator, arena, long unsigned int>, long unsigned int> >, FooWithAssign> >; T = FooWithAssign; A = static_shared_counting_allocator, arena, long unsigned int>, long unsigned int>; tbb::concurrent_vector::iterator = tbb::internal::vector_iterator, arena, long unsigned int>, long unsigned int> >, FooWithAssign>]' ../../src/test/test_concurrent_vector.cpp:921:111: required from here ../../include/tbb/concurrent_vector.h:1296:9: warning: declaration of 'iterator' shadows a previous local [-Wshadow] I & iterator ((*const_cast(static_cast(p_type_erased_iterator)))); ^~~~~~~~ ../../include/tbb/concurrent_vector.h:578:60: note: shadowed declaration is here typedef internal::vector_iterator iterator; ^~~~~~~~ In file included from ../../src/test/test_concurrent_vector.cpp:25: ../../include/tbb/concurrent_vector.h: In instantiation of 'void tbb::internal::handle_unconstructed_elements(T*, std::size_t) [with T = move_semantics_helpers::move_only_type; std::size_t = long unsigned int]': ../../include/tbb/concurrent_vector.h:1136:60: required from 'tbb::concurrent_vector::push_back_helper::element_construction_guard::~element_construction_guard() [with T = move_semantics_helpers::move_only_type; A = tbb::cache_aligned_allocator]' ../../include/tbb/concurrent_vector.h:1128:12: required from 'tbb::concurrent_vector::iterator tbb::concurrent_vector::push_back(T&&) [with T = move_semantics_helpers::move_only_type; A = tbb::cache_aligned_allocator; tbb::concurrent_vector::iterator = tbb::internal::vector_iterator, move_semantics_helpers::move_only_type>]' ../../src/test/test_concurrent_vector.cpp:831:31: required from here ../../include/tbb/concurrent_vector.h:77:20: warning: 'void* memset(void*, int, size_t)' clearing an object of type 'struct move_semantics_helpers::move_only_type' with no trivial copy-assignment [-Wclass-memaccess] std::memset( array, 0, n_of_elements * sizeof( T ) ); ~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ../../src/test/test_concurrent_vector.cpp:818:12: note: 'struct move_semantics_helpers::move_only_type' declared here struct move_only_type:NoCopy{ ^~~~~~~~~~~~~~ In file included from ../../src/test/test_concurrent_vector.cpp:25: ../../include/tbb/concurrent_vector.h: In instantiation of 'void tbb::internal::handle_unconstructed_elements(T*, std::size_t) [with T = emplace_helpers::wrapper_type; std::size_t = long unsigned int]': ../../include/tbb/concurrent_vector.h:1136:60: required from 'tbb::concurrent_vector::push_back_helper::element_construction_guard::~element_construction_guard() [with T = emplace_helpers::wrapper_type; A = tbb::cache_aligned_allocator]' ../../include/tbb/concurrent_vector.h:1128:12: required from 'tbb::concurrent_vector::iterator tbb::concurrent_vector::emplace_back(Args&& ...) [with Args = {int, int}; T = emplace_helpers::wrapper_type; A = tbb::cache_aligned_allocator; tbb::concurrent_vector::iterator = tbb::internal::vector_iterator, emplace_helpers::wrapper_type>]' ../../src/test/test_concurrent_vector.cpp:852:23: required from here ../../include/tbb/concurrent_vector.h:77:20: warning: 'void* memset(void*, int, size_t)' clearing an object of type 'struct emplace_helpers::wrapper_type' with no trivial copy-assignment [-Wclass-memaccess] std::memset( array, 0, n_of_elements * sizeof( T ) ); ~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ../../src/test/test_concurrent_vector.cpp:837:12: note: 'struct emplace_helpers::wrapper_type' declared here struct wrapper_type:NoCopy{ ^~~~~~~~~~~~ In file included from ../../src/test/test_concurrent_vector.cpp:36: ../../src/test/harness_allocator.h: In instantiation of 'debug_allocator::pointer debug_allocator::allocate(debug_allocator::size_type, const void*) [with T = Foo; Allocator = std::allocator; debug_allocator::pointer = Foo*; debug_allocator::size_type = long unsigned int]': ../../include/tbb/concurrent_vector.h:1029:81: required from 'static void* tbb::concurrent_vector::internal_allocator(tbb::internal::concurrent_vector_base_v3&, std::size_t) [with T = Foo; A = debug_allocator; std::size_t = long unsigned int]' ../../include/tbb/concurrent_vector.h:605:32: required from 'tbb::concurrent_vector::concurrent_vector(const allocator_type&) [with T = Foo; A = debug_allocator; tbb::concurrent_vector::allocator_type = debug_allocator]' ../../src/test/test_concurrent_vector.cpp:1421:12: required from here ../../src/test/harness_allocator.h:518:20: warning: 'void* memset(void*, int, size_t)' writing to an object of type 'struct Foo' with no trivial copy-assignment [-Wclass-memaccess] std::memset( ptr, 0xE3E3E3E3, n * sizeof(value_type) ); ~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ In file included from ../../src/test/test_concurrent_vector.cpp:38: ../../src/test/test_container_move_support.h:54:8: note: 'struct Foo' declared here struct Foo : FooLimit, Harness::StateTrackable{ ^~~ In file included from ../../src/test/test_concurrent_vector.cpp:25: ../../include/tbb/concurrent_vector.h: In instantiation of 'void tbb::internal::handle_unconstructed_elements(T*, std::size_t) [with T = Foo; std::size_t = long unsigned int]': ../../include/tbb/concurrent_vector.h:1136:60: required from 'tbb::concurrent_vector::push_back_helper::element_construction_guard::~element_construction_guard() [with T = Foo; A = debug_allocator]' ../../include/tbb/concurrent_vector.h:1128:12: required from 'tbb::concurrent_vector::iterator tbb::concurrent_vector::push_back(T&&) [with T = Foo; A = debug_allocator; tbb::concurrent_vector::iterator = tbb::internal::vector_iterator >, Foo>]' ../../src/test/test_concurrent_vector.cpp:1444:37: required from here ../../include/tbb/concurrent_vector.h:77:20: warning: 'void* memset(void*, int, size_t)' clearing an object of type 'struct Foo' with no trivial copy-assignment; use value-initialization instead [-Wclass-memaccess] std::memset( array, 0, n_of_elements * sizeof( T ) ); ~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ In file included from ../../src/test/test_concurrent_vector.cpp:38: ../../src/test/test_container_move_support.h:54:8: note: 'struct Foo' declared here struct Foo : FooLimit, Harness::StateTrackable{ ^~~ In file included from ../../src/test/test_concurrent_vector.cpp:36: ../../src/test/harness_allocator.h: In instantiation of 'debug_allocator::pointer debug_allocator::allocate(debug_allocator::size_type, const void*) [with T = push_back_exception_safety_helpers::throwing_foo; Allocator = std::allocator; debug_allocator::pointer = push_back_exception_safety_helpers::throwing_foo*; debug_allocator::size_type = long unsigned int]': ../../include/tbb/concurrent_vector.h:1029:81: required from 'static void* tbb::concurrent_vector::internal_allocator(tbb::internal::concurrent_vector_base_v3&, std::size_t) [with T = push_back_exception_safety_helpers::throwing_foo; A = debug_allocator; std::size_t = long unsigned int]' ../../include/tbb/concurrent_vector.h:605:32: required from 'tbb::concurrent_vector::concurrent_vector(const allocator_type&) [with T = push_back_exception_safety_helpers::throwing_foo; A = debug_allocator; tbb::concurrent_vector::allocator_type = debug_allocator]' ../../src/test/test_concurrent_vector.cpp:1421:12: required from here ../../src/test/harness_allocator.h:518:20: warning: 'void* memset(void*, int, size_t)' writing to an object of type 'struct push_back_exception_safety_helpers::throwing_foo' with no trivial copy-assignment [-Wclass-memaccess] std::memset( ptr, 0xE3E3E3E3, n * sizeof(value_type) ); ~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ../../src/test/test_concurrent_vector.cpp:1414:12: note: 'struct push_back_exception_safety_helpers::throwing_foo' declared here struct throwing_foo:Foo{ ^~~~~~~~~~~~ In file included from ../../src/test/test_concurrent_vector.cpp:25: ../../include/tbb/concurrent_vector.h: In instantiation of 'void tbb::internal::handle_unconstructed_elements(T*, std::size_t) [with T = push_back_exception_safety_helpers::throwing_foo; std::size_t = long unsigned int]': ../../include/tbb/concurrent_vector.h:1136:60: required from 'tbb::concurrent_vector::push_back_helper::element_construction_guard::~element_construction_guard() [with T = push_back_exception_safety_helpers::throwing_foo; A = debug_allocator]' ../../include/tbb/concurrent_vector.h:1128:12: required from 'tbb::concurrent_vector::iterator tbb::concurrent_vector::emplace_back(Args&& ...) [with Args = {int, int}; T = push_back_exception_safety_helpers::throwing_foo; A = debug_allocator; tbb::concurrent_vector::iterator = tbb::internal::vector_iterator >, push_back_exception_safety_helpers::throwing_foo>]' ../../src/test/test_concurrent_vector.cpp:1461:31: required from here ../../include/tbb/concurrent_vector.h:77:20: warning: 'void* memset(void*, int, size_t)' clearing an object of type 'struct push_back_exception_safety_helpers::throwing_foo' with no trivial copy-assignment; use assignment instead [-Wclass-memaccess] std::memset( array, 0, n_of_elements * sizeof( T ) ); ~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ../../src/test/test_concurrent_vector.cpp:1414:12: note: 'struct push_back_exception_safety_helpers::throwing_foo' declared here struct throwing_foo:Foo{ ^~~~~~~~~~~~ In file included from ../../src/test/test_concurrent_vector.cpp:36: ../../src/test/harness_allocator.h: In instantiation of 'debug_allocator::pointer debug_allocator::allocate(debug_allocator::size_type, const void*) [with T = std::reference_wrapper; Allocator = std::allocator; debug_allocator::pointer = std::reference_wrapper*; debug_allocator::size_type = long unsigned int]': ../../src/test/test_concurrent_vector.cpp:1613:5: required from 'void Examine(tbb::concurrent_vector, const std::vector&) [with bool default_construction_present = false; Type = std::reference_wrapper; Allocator = debug_allocator, std::allocator>]' ../../src/test/test_concurrent_vector.cpp:1651:42: required from 'void TypeTester(const std::vector&) [with bool default_construction_present = false; Type = std::reference_wrapper]' ../../src/test/test_concurrent_vector.cpp:1681:66: required from here ../../src/test/harness_allocator.h:518:20: warning: 'void* memset(void*, int, size_t)' writing to an object of non-trivial type 'class std::reference_wrapper'; use assignment instead [-Wclass-memaccess] std::memset( ptr, 0xE3E3E3E3, n * sizeof(value_type) ); ~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ In file included from /usr/include/c++/8/bits/shared_ptr_base.h:54, from /usr/include/c++/8/bits/shared_ptr.h:52, from /usr/include/c++/8/memory:81, from ../../include/tbb/tbb_stddef.h:427, from ../../include/tbb/concurrent_vector.h:24, from ../../src/test/test_concurrent_vector.cpp:25: /usr/include/c++/8/bits/refwrap.h:289:11: note: 'class std::reference_wrapper' declared here class reference_wrapper ^~~~~~~~~~~~~~~~~ In file included from ../../src/test/test_concurrent_vector.cpp:36: ../../src/test/harness_allocator.h: In instantiation of 'debug_allocator::pointer debug_allocator::allocate(debug_allocator::size_type, const void*) [with T = tbb::atomic; Allocator = std::allocator; debug_allocator::pointer = tbb::atomic*; debug_allocator::size_type = long unsigned int]': ../../src/test/test_concurrent_vector.cpp:1613:5: required from 'void Examine(tbb::concurrent_vector, const std::vector&) [with bool default_construction_present = true; Type = tbb::atomic; Allocator = debug_allocator, std::allocator>]' ../../src/test/test_concurrent_vector.cpp:1651:42: required from 'void TypeTester(const std::vector&) [with bool default_construction_present = true; Type = tbb::atomic]' ../../src/test/test_concurrent_vector.cpp:1688:68: required from here ../../src/test/harness_allocator.h:518:20: warning: 'void* memset(void*, int, size_t)' writing to an object of type 'struct tbb::atomic' with no trivial copy-assignment [-Wclass-memaccess] std::memset( ptr, 0xE3E3E3E3, n * sizeof(value_type) ); ~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ In file included from ../../include/tbb/concurrent_vector.h:26, from ../../src/test/test_concurrent_vector.cpp:25: ../../include/tbb/atomic.h:421:27: note: 'struct tbb::atomic' declared here template<> struct atomic: internal::atomic_impl_with_arithmetic { \ ^~~~~~~~~ ../../include/tbb/atomic.h:471:1: note: in expansion of macro '__TBB_DECL_ATOMIC' __TBB_DECL_ATOMIC(int) ^~~~~~~~~~~~~~~~~ In file included from ../../src/test/test_concurrent_vector.cpp:36: ../../src/test/harness_allocator.h: In instantiation of 'debug_allocator::pointer debug_allocator::allocate(debug_allocator::size_type, const void*) [with T = std::shared_ptr; Allocator = std::allocator; debug_allocator::pointer = std::shared_ptr*; debug_allocator::size_type = long unsigned int]': ../../src/test/test_concurrent_vector.cpp:1613:5: required from 'void Examine(tbb::concurrent_vector, const std::vector&) [with bool default_construction_present = true; Type = std::shared_ptr; Allocator = debug_allocator, std::allocator>]' ../../src/test/test_concurrent_vector.cpp:1651:42: required from 'void TypeTester(const std::vector&) [with bool default_construction_present = true; Type = std::shared_ptr]' ../../src/test/test_concurrent_vector.cpp:1693:68: required from here ../../src/test/harness_allocator.h:518:20: warning: 'void* memset(void*, int, size_t)' writing to an object of type 'class std::shared_ptr' with no trivial copy-assignment [-Wclass-memaccess] std::memset( ptr, 0xE3E3E3E3, n * sizeof(value_type) ); ~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ In file included from /usr/include/c++/8/memory:81, from ../../include/tbb/tbb_stddef.h:427, from ../../include/tbb/concurrent_vector.h:24, from ../../src/test/test_concurrent_vector.cpp:25: /usr/include/c++/8/bits/shared_ptr.h:103:11: note: 'class std::shared_ptr' declared here class shared_ptr : public __shared_ptr<_Tp> ^~~~~~~~~~ In file included from ../../src/test/test_concurrent_vector.cpp:36: ../../src/test/harness_allocator.h: In instantiation of 'debug_allocator::pointer debug_allocator::allocate(debug_allocator::size_type, const void*) [with T = std::weak_ptr; Allocator = std::allocator; debug_allocator::pointer = std::weak_ptr*; debug_allocator::size_type = long unsigned int]': ../../src/test/test_concurrent_vector.cpp:1613:5: required from 'void Examine(tbb::concurrent_vector, const std::vector&) [with bool default_construction_present = true; Type = std::weak_ptr; Allocator = debug_allocator, std::allocator>]' ../../src/test/test_concurrent_vector.cpp:1651:42: required from 'void TypeTester(const std::vector&) [with bool default_construction_present = true; Type = std::weak_ptr]' ../../src/test/test_concurrent_vector.cpp:1697:67: required from here ../../src/test/harness_allocator.h:518:20: warning: 'void* memset(void*, int, size_t)' writing to an object of type 'class std::weak_ptr' with no trivial copy-assignment [-Wclass-memaccess] std::memset( ptr, 0xE3E3E3E3, n * sizeof(value_type) ); ~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ In file included from /usr/include/c++/8/memory:81, from ../../include/tbb/tbb_stddef.h:427, from ../../include/tbb/concurrent_vector.h:24, from ../../src/test/test_concurrent_vector.cpp:25: /usr/include/c++/8/bits/shared_ptr.h:536:11: note: 'class std::weak_ptr' declared here class weak_ptr : public __weak_ptr<_Tp> ^~~~~~~~ In file included from ../../src/test/test_concurrent_vector.cpp:36: ../../src/test/harness_allocator.h: In instantiation of 'debug_allocator::pointer debug_allocator::allocate(debug_allocator::size_type, const void*) [with T = Foo; Allocator = tbb::cache_aligned_allocator; debug_allocator::pointer = Foo*; debug_allocator::size_type = long unsigned int]': ../../src/test/harness_allocator.h:237:43: required from 'static_counting_allocator::pointer static_counting_allocator::allocate(static_counting_allocator::size_type) [with base_alloc_t = debug_allocator; count_t = long unsigned int; static_counting_allocator::pointer = Foo*; static_counting_allocator::size_type = long unsigned int]' ../../include/tbb/concurrent_vector.h:1029:81: required from 'static void* tbb::concurrent_vector::internal_allocator(tbb::internal::concurrent_vector_base_v3&, std::size_t) [with T = Foo; A = static_counting_allocator, long unsigned int>; std::size_t = long unsigned int]' ../../include/tbb/concurrent_vector.h:605:32: required from 'tbb::concurrent_vector::concurrent_vector(const allocator_type&) [with T = Foo; A = static_counting_allocator, long unsigned int>; tbb::concurrent_vector::allocator_type = static_counting_allocator, long unsigned int>]' ../../src/test/test_concurrent_vector.cpp:119:26: required from here ../../src/test/harness_allocator.h:518:20: warning: 'void* memset(void*, int, size_t)' writing to an object of type 'tbb::cache_aligned_allocator::value_type' {aka 'struct Foo'} with no trivial copy-assignment [-Wclass-memaccess] std::memset( ptr, 0xE3E3E3E3, n * sizeof(value_type) ); ~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ In file included from ../../src/test/test_concurrent_vector.cpp:38: ../../src/test/test_container_move_support.h:54:8: note: 'tbb::cache_aligned_allocator::value_type' {aka 'struct Foo'} declared here struct Foo : FooLimit, Harness::StateTrackable{ ^~~ In file included from ../../src/test/test_concurrent_vector.cpp:25: ../../include/tbb/concurrent_vector.h: In instantiation of 'void tbb::internal::handle_unconstructed_elements(T*, std::size_t) [with T = FooWithAssign; std::size_t = long unsigned int]': ../../include/tbb/concurrent_vector.h:1123:56: required from 'tbb::concurrent_vector::internal_loop_guide::~internal_loop_guide() [with T = FooWithAssign; A = local_counting_allocator, long unsigned int>]' ../../include/tbb/concurrent_vector.h:1267:25: required from 'static void tbb::concurrent_vector::initialize_array_by(void*, const void*, tbb::concurrent_vector::size_type) [with T = FooWithAssign; A = local_counting_allocator, long unsigned int>; tbb::concurrent_vector::size_type = long unsigned int]' ../../include/tbb/concurrent_vector.h:706:102: required from 'tbb::concurrent_vector::concurrent_vector(tbb::concurrent_vector::size_type, tbb::concurrent_vector::const_reference, const allocator_type&) [with T = FooWithAssign; A = local_counting_allocator, long unsigned int>; tbb::concurrent_vector::size_type = long unsigned int; tbb::concurrent_vector::const_reference = const FooWithAssign&; tbb::concurrent_vector::allocator_type = local_counting_allocator, long unsigned int>]' ../../src/test/test_concurrent_vector.cpp:868:61: required from here ../../include/tbb/concurrent_vector.h:77:20: warning: 'void* memset(void*, int, size_t)' clearing an object of type 'struct FooWithAssign' with no trivial copy-assignment; use assignment or value-initialization instead [-Wclass-memaccess] std::memset( array, 0, n_of_elements * sizeof( T ) ); ~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ In file included from ../../src/test/test_concurrent_vector.cpp:38: ../../src/test/test_container_move_support.h:143:8: note: 'struct FooWithAssign' declared here struct FooWithAssign: public Foo { ^~~~~~~~~~~~~ In file included from ../../src/test/test_concurrent_vector.cpp:25: ../../include/tbb/concurrent_vector.h: In instantiation of 'void tbb::internal::handle_unconstructed_elements(T*, std::size_t) [with T = test_move_in_shrink_to_fit_helpers::dummy; std::size_t = long unsigned int]': ../../include/tbb/concurrent_vector.h:1123:56: required from 'tbb::concurrent_vector::internal_loop_guide::~internal_loop_guide() [with T = test_move_in_shrink_to_fit_helpers::dummy; A = tbb::cache_aligned_allocator]' ../../include/tbb/concurrent_vector.h:1289:25: required from 'static void tbb::concurrent_vector::move_array_if_noexcept(void*, const void*, tbb::concurrent_vector::size_type) [with T = test_move_in_shrink_to_fit_helpers::dummy; A = tbb::cache_aligned_allocator; tbb::concurrent_vector::size_type = long unsigned int]' ../../include/tbb/concurrent_vector.h:1169:17: required from 'void tbb::concurrent_vector::shrink_to_fit() [with T = test_move_in_shrink_to_fit_helpers::dummy; A = tbb::cache_aligned_allocator]' ../../src/test/test_concurrent_vector.cpp:967:28: required from here ../../include/tbb/concurrent_vector.h:77:20: warning: 'void* memset(void*, int, size_t)' clearing an object of type 'struct test_move_in_shrink_to_fit_helpers::dummy' with no trivial copy-assignment; use assignment instead [-Wclass-memaccess] std::memset( array, 0, n_of_elements * sizeof( T ) ); ~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ../../src/test/test_concurrent_vector.cpp:928:12: note: 'struct test_move_in_shrink_to_fit_helpers::dummy' declared here struct dummy : Harness::StateTrackable<>{ ^~~~~ In file included from ../../src/test/test_concurrent_vector.cpp:36: ../../src/test/harness_allocator.h: In instantiation of 'debug_allocator::pointer debug_allocator::allocate(debug_allocator::size_type, const void*) [with T = FooWithAssign; Allocator = std::allocator; debug_allocator::pointer = FooWithAssign*; debug_allocator::size_type = long unsigned int]': ../../src/test/harness_allocator.h:237:43: required from 'static_counting_allocator::pointer static_counting_allocator::allocate(static_counting_allocator::size_type) [with base_alloc_t = debug_allocator; count_t = long unsigned int; static_counting_allocator::pointer = FooWithAssign*; static_counting_allocator::size_type = long unsigned int]' ../../include/tbb/concurrent_vector.h:1029:81: required from 'static void* tbb::concurrent_vector::internal_allocator(tbb::internal::concurrent_vector_base_v3&, std::size_t) [with T = FooWithAssign; A = static_counting_allocator, long unsigned int>; std::size_t = long unsigned int]' ../../include/tbb/concurrent_vector.h:719:32: required from 'tbb::concurrent_vector::concurrent_vector(I, I, const allocator_type&) [with I = FooIterator; T = FooWithAssign; A = static_counting_allocator, long unsigned int>; tbb::concurrent_vector::allocator_type = static_counting_allocator, long unsigned int>]' ../../src/test/test_concurrent_vector.cpp:1149:52: required from here ../../src/test/harness_allocator.h:518:20: warning: 'void* memset(void*, int, size_t)' writing to an object of type 'struct FooWithAssign' with no trivial copy-assignment [-Wclass-memaccess] std::memset( ptr, 0xE3E3E3E3, n * sizeof(value_type) ); ~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ In file included from ../../src/test/test_concurrent_vector.cpp:38: ../../src/test/test_container_move_support.h:143:8: note: 'struct FooWithAssign' declared here struct FooWithAssign: public Foo { ^~~~~~~~~~~~~ In file included from ../../src/test/test_concurrent_vector.cpp:25: ../../include/tbb/concurrent_vector.h: In instantiation of 'static void tbb::concurrent_vector::copy_range(void*, const void*, tbb::concurrent_vector::size_type) [with Iterator = tbb::internal::vector_iterator, int>; T = int; A = tbb::cache_aligned_allocator; tbb::concurrent_vector::size_type = long unsigned int]': ../../include/tbb/concurrent_vector.h:795:38: required from 'tbb::concurrent_vector::iterator tbb::concurrent_vector::grow_by(I, I) [with I = tbb::internal::vector_iterator, int>; T = int; A = tbb::cache_aligned_allocator; tbb::concurrent_vector::iterator = tbb::internal::vector_iterator, int>]' ../../src/test/test_concurrent_vector.cpp:1599:5: required from 'void Examine(tbb::concurrent_vector, const std::vector&) [with bool default_construction_present = true; Type = int; Allocator = tbb::cache_aligned_allocator]' ../../src/test/test_concurrent_vector.cpp:1638:42: required from 'void TypeTester(const std::vector&) [with bool default_construction_present = true; Type = int]' ../../src/test/test_concurrent_vector.cpp:1675:65: required from here ../../include/tbb/concurrent_vector.h:1296:9: warning: declaration of 'iterator' shadows a previous local [-Wshadow] I & iterator ((*const_cast(static_cast(p_type_erased_iterator)))); ^~~~~~~~ ../../include/tbb/concurrent_vector.h:578:60: note: shadowed declaration is here typedef internal::vector_iterator iterator; ^~~~~~~~ ../../include/tbb/concurrent_vector.h: In instantiation of 'static void tbb::concurrent_vector::copy_range(void*, const void*, tbb::concurrent_vector::size_type) [with Iterator = tbb::internal::vector_iterator >, int>; T = int; A = debug_allocator; tbb::concurrent_vector::size_type = long unsigned int]': ../../include/tbb/concurrent_vector.h:795:38: required from 'tbb::concurrent_vector::iterator tbb::concurrent_vector::grow_by(I, I) [with I = tbb::internal::vector_iterator >, int>; T = int; A = debug_allocator; tbb::concurrent_vector::iterator = tbb::internal::vector_iterator >, int>]' ../../src/test/test_concurrent_vector.cpp:1599:5: required from 'void Examine(tbb::concurrent_vector, const std::vector&) [with bool default_construction_present = true; Type = int; Allocator = debug_allocator]' ../../src/test/test_concurrent_vector.cpp:1651:42: required from 'void TypeTester(const std::vector&) [with bool default_construction_present = true; Type = int]' ../../src/test/test_concurrent_vector.cpp:1675:65: required from here ../../include/tbb/concurrent_vector.h:1296:9: warning: declaration of 'iterator' shadows a previous local [-Wshadow] I & iterator ((*const_cast(static_cast(p_type_erased_iterator)))); ^~~~~~~~ ../../include/tbb/concurrent_vector.h:578:60: note: shadowed declaration is here typedef internal::vector_iterator iterator; ^~~~~~~~ ../../include/tbb/concurrent_vector.h: In instantiation of 'static void tbb::concurrent_vector::copy_range(void*, const void*, tbb::concurrent_vector::size_type) [with Iterator = tbb::internal::vector_iterator, tbb::cache_aligned_allocator > >, std::reference_wrapper >; T = std::reference_wrapper; A = tbb::cache_aligned_allocator >; tbb::concurrent_vector::size_type = long unsigned int]': ../../include/tbb/concurrent_vector.h:795:38: required from 'tbb::concurrent_vector::iterator tbb::concurrent_vector::grow_by(I, I) [with I = tbb::internal::vector_iterator, tbb::cache_aligned_allocator > >, std::reference_wrapper >; T = std::reference_wrapper; A = tbb::cache_aligned_allocator >; tbb::concurrent_vector::iterator = tbb::internal::vector_iterator, tbb::cache_aligned_allocator > >, std::reference_wrapper >]' ../../src/test/test_concurrent_vector.cpp:1599:5: required from 'void Examine(tbb::concurrent_vector, const std::vector&) [with bool default_construction_present = false; Type = std::reference_wrapper; Allocator = tbb::cache_aligned_allocator >]' ../../src/test/test_concurrent_vector.cpp:1638:42: required from 'void TypeTester(const std::vector&) [with bool default_construction_present = false; Type = std::reference_wrapper]' ../../src/test/test_concurrent_vector.cpp:1681:66: required from here ../../include/tbb/concurrent_vector.h:1296:9: warning: declaration of 'iterator' shadows a previous local [-Wshadow] I & iterator ((*const_cast(static_cast(p_type_erased_iterator)))); ^~~~~~~~ ../../include/tbb/concurrent_vector.h:578:60: note: shadowed declaration is here typedef internal::vector_iterator iterator; ^~~~~~~~ ../../include/tbb/concurrent_vector.h: In instantiation of 'static void tbb::concurrent_vector::copy_range(void*, const void*, tbb::concurrent_vector::size_type) [with Iterator = tbb::internal::vector_iterator, debug_allocator, std::allocator> >, std::reference_wrapper >; T = std::reference_wrapper; A = debug_allocator, std::allocator>; tbb::concurrent_vector::size_type = long unsigned int]': ../../include/tbb/concurrent_vector.h:795:38: required from 'tbb::concurrent_vector::iterator tbb::concurrent_vector::grow_by(I, I) [with I = tbb::internal::vector_iterator, debug_allocator, std::allocator> >, std::reference_wrapper >; T = std::reference_wrapper; A = debug_allocator, std::allocator>; tbb::concurrent_vector::iterator = tbb::internal::vector_iterator, debug_allocator, std::allocator> >, std::reference_wrapper >]' ../../src/test/test_concurrent_vector.cpp:1599:5: required from 'void Examine(tbb::concurrent_vector, const std::vector&) [with bool default_construction_present = false; Type = std::reference_wrapper; Allocator = debug_allocator, std::allocator>]' ../../src/test/test_concurrent_vector.cpp:1651:42: required from 'void TypeTester(const std::vector&) [with bool default_construction_present = false; Type = std::reference_wrapper]' ../../src/test/test_concurrent_vector.cpp:1681:66: required from here ../../include/tbb/concurrent_vector.h:1296:9: warning: declaration of 'iterator' shadows a previous local [-Wshadow] I & iterator ((*const_cast(static_cast(p_type_erased_iterator)))); ^~~~~~~~ ../../include/tbb/concurrent_vector.h:578:60: note: shadowed declaration is here typedef internal::vector_iterator iterator; ^~~~~~~~ ../../include/tbb/concurrent_vector.h: In instantiation of 'static void tbb::concurrent_vector::copy_range(void*, const void*, tbb::concurrent_vector::size_type) [with Iterator = tbb::internal::vector_iterator, tbb::cache_aligned_allocator > >, tbb::atomic >; T = tbb::atomic; A = tbb::cache_aligned_allocator >; tbb::concurrent_vector::size_type = long unsigned int]': ../../include/tbb/concurrent_vector.h:795:38: required from 'tbb::concurrent_vector::iterator tbb::concurrent_vector::grow_by(I, I) [with I = tbb::internal::vector_iterator, tbb::cache_aligned_allocator > >, tbb::atomic >; T = tbb::atomic; A = tbb::cache_aligned_allocator >; tbb::concurrent_vector::iterator = tbb::internal::vector_iterator, tbb::cache_aligned_allocator > >, tbb::atomic >]' ../../src/test/test_concurrent_vector.cpp:1599:5: required from 'void Examine(tbb::concurrent_vector, const std::vector&) [with bool default_construction_present = true; Type = tbb::atomic; Allocator = tbb::cache_aligned_allocator >]' ../../src/test/test_concurrent_vector.cpp:1638:42: required from 'void TypeTester(const std::vector&) [with bool default_construction_present = true; Type = tbb::atomic]' ../../src/test/test_concurrent_vector.cpp:1688:68: required from here ../../include/tbb/concurrent_vector.h:1296:9: warning: declaration of 'iterator' shadows a previous local [-Wshadow] I & iterator ((*const_cast(static_cast(p_type_erased_iterator)))); ^~~~~~~~ ../../include/tbb/concurrent_vector.h:578:60: note: shadowed declaration is here typedef internal::vector_iterator iterator; ^~~~~~~~ ../../include/tbb/concurrent_vector.h: In instantiation of 'static void tbb::concurrent_vector::copy_range(void*, const void*, tbb::concurrent_vector::size_type) [with Iterator = tbb::internal::vector_iterator, debug_allocator, std::allocator> >, tbb::atomic >; T = tbb::atomic; A = debug_allocator, std::allocator>; tbb::concurrent_vector::size_type = long unsigned int]': ../../include/tbb/concurrent_vector.h:795:38: required from 'tbb::concurrent_vector::iterator tbb::concurrent_vector::grow_by(I, I) [with I = tbb::internal::vector_iterator, debug_allocator, std::allocator> >, tbb::atomic >; T = tbb::atomic; A = debug_allocator, std::allocator>; tbb::concurrent_vector::iterator = tbb::internal::vector_iterator, debug_allocator, std::allocator> >, tbb::atomic >]' ../../src/test/test_concurrent_vector.cpp:1599:5: required from 'void Examine(tbb::concurrent_vector, const std::vector&) [with bool default_construction_present = true; Type = tbb::atomic; Allocator = debug_allocator, std::allocator>]' ../../src/test/test_concurrent_vector.cpp:1651:42: required from 'void TypeTester(const std::vector&) [with bool default_construction_present = true; Type = tbb::atomic]' ../../src/test/test_concurrent_vector.cpp:1688:68: required from here ../../include/tbb/concurrent_vector.h:1296:9: warning: declaration of 'iterator' shadows a previous local [-Wshadow] I & iterator ((*const_cast(static_cast(p_type_erased_iterator)))); ^~~~~~~~ ../../include/tbb/concurrent_vector.h:578:60: note: shadowed declaration is here typedef internal::vector_iterator iterator; ^~~~~~~~ ../../include/tbb/concurrent_vector.h: In instantiation of 'static void tbb::concurrent_vector::copy_range(void*, const void*, tbb::concurrent_vector::size_type) [with Iterator = tbb::internal::vector_iterator, tbb::cache_aligned_allocator > >, std::shared_ptr >; T = std::shared_ptr; A = tbb::cache_aligned_allocator >; tbb::concurrent_vector::size_type = long unsigned int]': ../../include/tbb/concurrent_vector.h:795:38: required from 'tbb::concurrent_vector::iterator tbb::concurrent_vector::grow_by(I, I) [with I = tbb::internal::vector_iterator, tbb::cache_aligned_allocator > >, std::shared_ptr >; T = std::shared_ptr; A = tbb::cache_aligned_allocator >; tbb::concurrent_vector::iterator = tbb::internal::vector_iterator, tbb::cache_aligned_allocator > >, std::shared_ptr >]' ../../src/test/test_concurrent_vector.cpp:1599:5: required from 'void Examine(tbb::concurrent_vector, const std::vector&) [with bool default_construction_present = true; Type = std::shared_ptr; Allocator = tbb::cache_aligned_allocator >]' ../../src/test/test_concurrent_vector.cpp:1638:42: required from 'void TypeTester(const std::vector&) [with bool default_construction_present = true; Type = std::shared_ptr]' ../../src/test/test_concurrent_vector.cpp:1693:68: required from here ../../include/tbb/concurrent_vector.h:1296:9: warning: declaration of 'iterator' shadows a previous local [-Wshadow] I & iterator ((*const_cast(static_cast(p_type_erased_iterator)))); ^~~~~~~~ ../../include/tbb/concurrent_vector.h:578:60: note: shadowed declaration is here typedef internal::vector_iterator iterator; ^~~~~~~~ ../../include/tbb/concurrent_vector.h: In instantiation of 'static void tbb::concurrent_vector::copy_range(void*, const void*, tbb::concurrent_vector::size_type) [with Iterator = tbb::internal::vector_iterator, debug_allocator, std::allocator> >, std::shared_ptr >; T = std::shared_ptr; A = debug_allocator, std::allocator>; tbb::concurrent_vector::size_type = long unsigned int]': ../../include/tbb/concurrent_vector.h:795:38: required from 'tbb::concurrent_vector::iterator tbb::concurrent_vector::grow_by(I, I) [with I = tbb::internal::vector_iterator, debug_allocator, std::allocator> >, std::shared_ptr >; T = std::shared_ptr; A = debug_allocator, std::allocator>; tbb::concurrent_vector::iterator = tbb::internal::vector_iterator, debug_allocator, std::allocator> >, std::shared_ptr >]' ../../src/test/test_concurrent_vector.cpp:1599:5: required from 'void Examine(tbb::concurrent_vector, const std::vector&) [with bool default_construction_present = true; Type = std::shared_ptr; Allocator = debug_allocator, std::allocator>]' ../../src/test/test_concurrent_vector.cpp:1651:42: required from 'void TypeTester(const std::vector&) [with bool default_construction_present = true; Type = std::shared_ptr]' ../../src/test/test_concurrent_vector.cpp:1693:68: required from here ../../include/tbb/concurrent_vector.h:1296:9: warning: declaration of 'iterator' shadows a previous local [-Wshadow] I & iterator ((*const_cast(static_cast(p_type_erased_iterator)))); ^~~~~~~~ ../../include/tbb/concurrent_vector.h:578:60: note: shadowed declaration is here typedef internal::vector_iterator iterator; ^~~~~~~~ ../../include/tbb/concurrent_vector.h: In instantiation of 'static void tbb::concurrent_vector::copy_range(void*, const void*, tbb::concurrent_vector::size_type) [with Iterator = tbb::internal::vector_iterator, tbb::cache_aligned_allocator > >, std::weak_ptr >; T = std::weak_ptr; A = tbb::cache_aligned_allocator >; tbb::concurrent_vector::size_type = long unsigned int]': ../../include/tbb/concurrent_vector.h:795:38: required from 'tbb::concurrent_vector::iterator tbb::concurrent_vector::grow_by(I, I) [with I = tbb::internal::vector_iterator, tbb::cache_aligned_allocator > >, std::weak_ptr >; T = std::weak_ptr; A = tbb::cache_aligned_allocator >; tbb::concurrent_vector::iterator = tbb::internal::vector_iterator, tbb::cache_aligned_allocator > >, std::weak_ptr >]' ../../src/test/test_concurrent_vector.cpp:1599:5: required from 'void Examine(tbb::concurrent_vector, const std::vector&) [with bool default_construction_present = true; Type = std::weak_ptr; Allocator = tbb::cache_aligned_allocator >]' ../../src/test/test_concurrent_vector.cpp:1638:42: required from 'void TypeTester(const std::vector&) [with bool default_construction_present = true; Type = std::weak_ptr]' ../../src/test/test_concurrent_vector.cpp:1697:67: required from here ../../include/tbb/concurrent_vector.h:1296:9: warning: declaration of 'iterator' shadows a previous local [-Wshadow] I & iterator ((*const_cast(static_cast(p_type_erased_iterator)))); ^~~~~~~~ ../../include/tbb/concurrent_vector.h:578:60: note: shadowed declaration is here typedef internal::vector_iterator iterator; ^~~~~~~~ ../../include/tbb/concurrent_vector.h: In instantiation of 'static void tbb::concurrent_vector::copy_range(void*, const void*, tbb::concurrent_vector::size_type) [with Iterator = tbb::internal::vector_iterator, debug_allocator, std::allocator> >, std::weak_ptr >; T = std::weak_ptr; A = debug_allocator, std::allocator>; tbb::concurrent_vector::size_type = long unsigned int]': ../../include/tbb/concurrent_vector.h:795:38: required from 'tbb::concurrent_vector::iterator tbb::concurrent_vector::grow_by(I, I) [with I = tbb::internal::vector_iterator, debug_allocator, std::allocator> >, std::weak_ptr >; T = std::weak_ptr; A = debug_allocator, std::allocator>; tbb::concurrent_vector::iterator = tbb::internal::vector_iterator, debug_allocator, std::allocator> >, std::weak_ptr >]' ../../src/test/test_concurrent_vector.cpp:1599:5: required from 'void Examine(tbb::concurrent_vector, const std::vector&) [with bool default_construction_present = true; Type = std::weak_ptr; Allocator = debug_allocator, std::allocator>]' ../../src/test/test_concurrent_vector.cpp:1651:42: required from 'void TypeTester(const std::vector&) [with bool default_construction_present = true; Type = std::weak_ptr]' ../../src/test/test_concurrent_vector.cpp:1697:67: required from here ../../include/tbb/concurrent_vector.h:1296:9: warning: declaration of 'iterator' shadows a previous local [-Wshadow] I & iterator ((*const_cast(static_cast(p_type_erased_iterator)))); ^~~~~~~~ ../../include/tbb/concurrent_vector.h:578:60: note: shadowed declaration is here typedef internal::vector_iterator iterator; ^~~~~~~~ In file included from ../../include/tbb/tbb_exception.h:112, from ../../include/tbb/concurrent_vector.h:25, from ../../src/test/test_concurrent_vector.cpp:25: ../../include/tbb/tbb_allocator.h: In instantiation of 'tbb::zero_allocator::pointer tbb::zero_allocator::allocate(tbb::zero_allocator::size_type, const void*) [with T = Foo; Allocator = tbb::tbb_allocator; tbb::zero_allocator::pointer = Foo*; tbb::zero_allocator::size_type = long unsigned int]': ../../src/test/harness_allocator.h:237:43: required from 'static_counting_allocator::pointer static_counting_allocator::allocate(static_counting_allocator::size_type) [with base_alloc_t = tbb::zero_allocator; count_t = tbb::atomic; static_counting_allocator::pointer = Foo*; static_counting_allocator::size_type = long unsigned int]' ../../include/tbb/concurrent_vector.h:1029:81: required from 'static void* tbb::concurrent_vector::internal_allocator(tbb::internal::concurrent_vector_base_v3&, std::size_t) [with T = Foo; A = static_counting_allocator >; std::size_t = long unsigned int]' ../../include/tbb/concurrent_vector.h:704:32: required from 'tbb::concurrent_vector::concurrent_vector(tbb::concurrent_vector::size_type, tbb::concurrent_vector::const_reference, const allocator_type&) [with T = Foo; A = static_counting_allocator >; tbb::concurrent_vector::size_type = long unsigned int; tbb::concurrent_vector::const_reference = const Foo&; tbb::concurrent_vector::allocator_type = static_counting_allocator >]' ../../src/test/test_concurrent_vector.cpp:461:14: required from 'void TestConcurrentGrowToAtLeastImpl() [with bool use_two_arg_form = false]' ../../src/test/test_concurrent_vector.cpp:477:44: required from here ../../include/tbb/tbb_allocator.h:177:20: warning: 'void* memset(void*, int, size_t)' clearing an object of type 'tbb::tbb_allocator::value_type' {aka 'struct Foo'} with no trivial copy-assignment; use value-initialization instead [-Wclass-memaccess] std::memset( ptr, 0, n * sizeof(value_type) ); ~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ In file included from ../../src/test/test_concurrent_vector.cpp:38: ../../src/test/test_container_move_support.h:54:8: note: 'tbb::tbb_allocator::value_type' {aka 'struct Foo'} declared here struct Foo : FooLimit, Harness::StateTrackable{ ^~~ In file included from ../../src/test/test_concurrent_vector.cpp:25: ../../include/tbb/concurrent_vector.h: In instantiation of 'void tbb::internal::handle_unconstructed_elements(T*, std::size_t) [with T = std::reference_wrapper; std::size_t = long unsigned int]': ../../include/tbb/concurrent_vector.h:1123:56: required from 'tbb::concurrent_vector::internal_loop_guide::~internal_loop_guide() [with T = std::reference_wrapper; A = tbb::cache_aligned_allocator >]' ../../include/tbb/concurrent_vector.h:1272:25: required from 'static void tbb::concurrent_vector::copy_array(void*, const void*, tbb::concurrent_vector::size_type) [with T = std::reference_wrapper; A = tbb::cache_aligned_allocator >; tbb::concurrent_vector::size_type = long unsigned int]' ../../include/tbb/concurrent_vector.h:633:46: required from 'tbb::concurrent_vector::concurrent_vector(const tbb::concurrent_vector&, const allocator_type&) [with T = std::reference_wrapper; A = tbb::cache_aligned_allocator >; tbb::concurrent_vector::allocator_type = tbb::cache_aligned_allocator >]' ../../src/test/test_concurrent_vector.cpp:1638:42: required from 'void TypeTester(const std::vector&) [with bool default_construction_present = false; Type = std::reference_wrapper]' ../../src/test/test_concurrent_vector.cpp:1681:66: required from here ../../include/tbb/concurrent_vector.h:77:20: warning: 'void* memset(void*, int, size_t)' clearing an object of non-trivial type 'class std::reference_wrapper'; use assignment instead [-Wclass-memaccess] std::memset( array, 0, n_of_elements * sizeof( T ) ); ~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ In file included from /usr/include/c++/8/bits/shared_ptr_base.h:54, from /usr/include/c++/8/bits/shared_ptr.h:52, from /usr/include/c++/8/memory:81, from ../../include/tbb/tbb_stddef.h:427, from ../../include/tbb/concurrent_vector.h:24, from ../../src/test/test_concurrent_vector.cpp:25: /usr/include/c++/8/bits/refwrap.h:289:11: note: 'class std::reference_wrapper' declared here class reference_wrapper ^~~~~~~~~~~~~~~~~ In file included from ../../src/test/test_concurrent_vector.cpp:25: ../../include/tbb/concurrent_vector.h: In instantiation of 'void tbb::internal::handle_unconstructed_elements(T*, std::size_t) [with T = tbb::atomic; std::size_t = long unsigned int]': ../../include/tbb/concurrent_vector.h:1123:56: required from 'tbb::concurrent_vector::internal_loop_guide::~internal_loop_guide() [with T = tbb::atomic; A = tbb::cache_aligned_allocator >]' ../../include/tbb/concurrent_vector.h:1272:25: required from 'static void tbb::concurrent_vector::copy_array(void*, const void*, tbb::concurrent_vector::size_type) [with T = tbb::atomic; A = tbb::cache_aligned_allocator >; tbb::concurrent_vector::size_type = long unsigned int]' ../../include/tbb/concurrent_vector.h:633:46: required from 'tbb::concurrent_vector::concurrent_vector(const tbb::concurrent_vector&, const allocator_type&) [with T = tbb::atomic; A = tbb::cache_aligned_allocator >; tbb::concurrent_vector::allocator_type = tbb::cache_aligned_allocator >]' ../../src/test/test_concurrent_vector.cpp:1638:42: required from 'void TypeTester(const std::vector&) [with bool default_construction_present = true; Type = tbb::atomic]' ../../src/test/test_concurrent_vector.cpp:1688:68: required from here ../../include/tbb/concurrent_vector.h:77:20: warning: 'void* memset(void*, int, size_t)' clearing an object of type 'struct tbb::atomic' with no trivial copy-assignment; use assignment or value-initialization instead [-Wclass-memaccess] std::memset( array, 0, n_of_elements * sizeof( T ) ); ~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ In file included from ../../include/tbb/concurrent_vector.h:26, from ../../src/test/test_concurrent_vector.cpp:25: ../../include/tbb/atomic.h:421:27: note: 'struct tbb::atomic' declared here template<> struct atomic: internal::atomic_impl_with_arithmetic { \ ^~~~~~~~~ ../../include/tbb/atomic.h:471:1: note: in expansion of macro '__TBB_DECL_ATOMIC' __TBB_DECL_ATOMIC(int) ^~~~~~~~~~~~~~~~~ In file included from ../../src/test/test_concurrent_vector.cpp:25: ../../include/tbb/concurrent_vector.h: In instantiation of 'void tbb::internal::handle_unconstructed_elements(T*, std::size_t) [with T = std::shared_ptr; std::size_t = long unsigned int]': ../../include/tbb/concurrent_vector.h:1123:56: required from 'tbb::concurrent_vector::internal_loop_guide::~internal_loop_guide() [with T = std::shared_ptr; A = tbb::cache_aligned_allocator >]' ../../include/tbb/concurrent_vector.h:1272:25: required from 'static void tbb::concurrent_vector::copy_array(void*, const void*, tbb::concurrent_vector::size_type) [with T = std::shared_ptr; A = tbb::cache_aligned_allocator >; tbb::concurrent_vector::size_type = long unsigned int]' ../../include/tbb/concurrent_vector.h:633:46: required from 'tbb::concurrent_vector::concurrent_vector(const tbb::concurrent_vector&, const allocator_type&) [with T = std::shared_ptr; A = tbb::cache_aligned_allocator >; tbb::concurrent_vector::allocator_type = tbb::cache_aligned_allocator >]' ../../src/test/test_concurrent_vector.cpp:1638:42: required from 'void TypeTester(const std::vector&) [with bool default_construction_present = true; Type = std::shared_ptr]' ../../src/test/test_concurrent_vector.cpp:1693:68: required from here ../../include/tbb/concurrent_vector.h:77:20: warning: 'void* memset(void*, int, size_t)' clearing an object of type 'class std::shared_ptr' with no trivial copy-assignment; use assignment or value-initialization instead [-Wclass-memaccess] std::memset( array, 0, n_of_elements * sizeof( T ) ); ~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ In file included from /usr/include/c++/8/memory:81, from ../../include/tbb/tbb_stddef.h:427, from ../../include/tbb/concurrent_vector.h:24, from ../../src/test/test_concurrent_vector.cpp:25: /usr/include/c++/8/bits/shared_ptr.h:103:11: note: 'class std::shared_ptr' declared here class shared_ptr : public __shared_ptr<_Tp> ^~~~~~~~~~ In file included from ../../src/test/test_concurrent_vector.cpp:25: ../../include/tbb/concurrent_vector.h: In instantiation of 'void tbb::internal::handle_unconstructed_elements(T*, std::size_t) [with T = std::weak_ptr; std::size_t = long unsigned int]': ../../include/tbb/concurrent_vector.h:1123:56: required from 'tbb::concurrent_vector::internal_loop_guide::~internal_loop_guide() [with T = std::weak_ptr; A = tbb::cache_aligned_allocator >]' ../../include/tbb/concurrent_vector.h:1272:25: required from 'static void tbb::concurrent_vector::copy_array(void*, const void*, tbb::concurrent_vector::size_type) [with T = std::weak_ptr; A = tbb::cache_aligned_allocator >; tbb::concurrent_vector::size_type = long unsigned int]' ../../include/tbb/concurrent_vector.h:633:46: required from 'tbb::concurrent_vector::concurrent_vector(const tbb::concurrent_vector&, const allocator_type&) [with T = std::weak_ptr; A = tbb::cache_aligned_allocator >; tbb::concurrent_vector::allocator_type = tbb::cache_aligned_allocator >]' ../../src/test/test_concurrent_vector.cpp:1638:42: required from 'void TypeTester(const std::vector&) [with bool default_construction_present = true; Type = std::weak_ptr]' ../../src/test/test_concurrent_vector.cpp:1697:67: required from here ../../include/tbb/concurrent_vector.h:77:20: warning: 'void* memset(void*, int, size_t)' clearing an object of type 'class std::weak_ptr' with no trivial copy-assignment; use assignment or value-initialization instead [-Wclass-memaccess] std::memset( array, 0, n_of_elements * sizeof( T ) ); ~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ In file included from /usr/include/c++/8/memory:81, from ../../include/tbb/tbb_stddef.h:427, from ../../include/tbb/concurrent_vector.h:24, from ../../src/test/test_concurrent_vector.cpp:25: /usr/include/c++/8/bits/shared_ptr.h:536:11: note: 'class std::weak_ptr' declared here class weak_ptr : public __weak_ptr<_Tp> ^~~~~~~~ In file included from ../../src/test/test_concurrent_vector.cpp:25: ../../include/tbb/concurrent_vector.h: In instantiation of 'static void tbb::concurrent_vector::copy_range(void*, const void*, tbb::concurrent_vector::size_type) [with Iterator = const char*; T = char; A = tbb::cache_aligned_allocator; tbb::concurrent_vector::size_type = long unsigned int]': ../../include/tbb/concurrent_vector.h:795:38: required from 'tbb::concurrent_vector::iterator tbb::concurrent_vector::grow_by(I, I) [with I = const char*; T = char; A = tbb::cache_aligned_allocator; tbb::concurrent_vector::iterator = tbb::internal::vector_iterator, char>]' ../../include/tbb/concurrent_vector.h:801:60: required from 'tbb::concurrent_vector::iterator tbb::concurrent_vector::grow_by(std::initializer_list<_Tp>) [with T = char; A = tbb::cache_aligned_allocator; tbb::concurrent_vector::iterator = tbb::internal::vector_iterator, char>]' ../../src/test/test_concurrent_vector.cpp:781:9: required from 'static void test_grow_by::do_test(const std::initializer_list&, const container_type&) [with container_type = tbb::concurrent_vector; element_type = char]' ../../src/test/test_initializer_list.h:77:30: required from 'void initializer_list_support_tests::TestInitListSupport(std::initializer_list) [with container_type = tbb::concurrent_vector; test_assign = initializer_list_support_tests::test_assign; test_special = test_grow_by; typename container_type::value_type = char]' ../../src/test/test_initializer_list.h:82:71: required from 'void initializer_list_support_tests::TestInitListSupport(std::initializer_list) [with container_type = tbb::concurrent_vector; test_special = test_grow_by; typename container_type::value_type = char]' ../../src/test/test_concurrent_vector.cpp:789:88: required from here ../../include/tbb/concurrent_vector.h:1296:9: warning: declaration of 'iterator' shadows a previous local [-Wshadow] I & iterator ((*const_cast(static_cast(p_type_erased_iterator)))); ^~~~~~~~ ../../include/tbb/concurrent_vector.h:578:60: note: shadowed declaration is here typedef internal::vector_iterator iterator; ^~~~~~~~ ../../include/tbb/concurrent_vector.h: In instantiation of 'static void tbb::concurrent_vector::copy_range(void*, const void*, tbb::concurrent_vector::size_type) [with Iterator = const int*; T = int; A = tbb::cache_aligned_allocator; tbb::concurrent_vector::size_type = long unsigned int]': ../../include/tbb/concurrent_vector.h:795:38: required from 'tbb::concurrent_vector::iterator tbb::concurrent_vector::grow_by(I, I) [with I = const int*; T = int; A = tbb::cache_aligned_allocator; tbb::concurrent_vector::iterator = tbb::internal::vector_iterator, int>]' ../../include/tbb/concurrent_vector.h:801:60: required from 'tbb::concurrent_vector::iterator tbb::concurrent_vector::grow_by(std::initializer_list<_Tp>) [with T = int; A = tbb::cache_aligned_allocator; tbb::concurrent_vector::iterator = tbb::internal::vector_iterator, int>]' ../../src/test/test_concurrent_vector.cpp:781:9: required from 'static void test_grow_by::do_test(const std::initializer_list&, const container_type&) [with container_type = tbb::concurrent_vector; element_type = int]' ../../src/test/test_initializer_list.h:77:30: required from 'void initializer_list_support_tests::TestInitListSupport(std::initializer_list) [with container_type = tbb::concurrent_vector; test_assign = initializer_list_support_tests::test_assign; test_special = test_grow_by; typename container_type::value_type = int]' ../../src/test/test_initializer_list.h:82:71: required from 'void initializer_list_support_tests::TestInitListSupport(std::initializer_list) [with container_type = tbb::concurrent_vector; test_special = test_grow_by; typename container_type::value_type = int]' ../../src/test/test_concurrent_vector.cpp:790:72: required from here ../../include/tbb/concurrent_vector.h:1296:9: warning: declaration of 'iterator' shadows a previous local [-Wshadow] I & iterator ((*const_cast(static_cast(p_type_erased_iterator)))); ^~~~~~~~ ../../include/tbb/concurrent_vector.h:578:60: note: shadowed declaration is here typedef internal::vector_iterator iterator; ^~~~~~~~ ../../include/tbb/concurrent_vector.h: In instantiation of 'static void tbb::concurrent_vector::copy_range(void*, const void*, tbb::concurrent_vector::size_type) [with Iterator = FooIterator; T = Foo; A = static_counting_allocator >; tbb::concurrent_vector::size_type = long unsigned int]': ../../include/tbb/concurrent_vector.h:795:38: required from 'tbb::concurrent_vector::iterator tbb::concurrent_vector::grow_by(I, I) [with I = FooIterator; T = Foo; A = static_counting_allocator >; tbb::concurrent_vector::iterator = tbb::internal::vector_iterator > >, Foo>]' ../../src/test/test_concurrent_vector.cpp:550:21: required from 'void GrowBy::operator()(const tbb::blocked_range&) const [with MyVector = tbb::concurrent_vector > >]' ../../include/tbb/parallel_for.h:116:13: required from 'void tbb::interface9::internal::start_for::run_body(Range&) [with Range = tbb::blocked_range; Body = GrowBy > > >; Partitioner = const tbb::simple_partitioner]' ../../include/tbb/partitioner.h:526:9: required from 'void tbb::interface9::internal::simple_partition_type::execute(StartType&, Range&) [with StartType = tbb::interface9::internal::start_for, GrowBy > > >, const tbb::simple_partitioner>; Range = tbb::blocked_range]' ../../include/tbb/parallel_for.h:143:9: required from 'tbb::task* tbb::interface9::internal::start_for::execute() [with Range = tbb::blocked_range; Body = GrowBy > > >; Partitioner = const tbb::simple_partitioner]' ../../include/tbb/parallel_for.h:141:11: required from here ../../include/tbb/concurrent_vector.h:1296:9: warning: declaration of 'iterator' shadows a previous local [-Wshadow] I & iterator ((*const_cast(static_cast(p_type_erased_iterator)))); ^~~~~~~~ ../../include/tbb/concurrent_vector.h:578:60: note: shadowed declaration is here typedef internal::vector_iterator iterator; ^~~~~~~~ ../../include/tbb/concurrent_vector.h: In instantiation of 'static void tbb::concurrent_vector::copy_range(void*, const void*, tbb::concurrent_vector::size_type) [with Iterator = FooIterator; T = FooWithAssign; A = static_counting_allocator, long unsigned int>; tbb::concurrent_vector::size_type = long unsigned int]': ../../include/tbb/concurrent_vector.h:795:38: required from 'tbb::concurrent_vector::iterator tbb::concurrent_vector::grow_by(I, I) [with I = FooIterator; T = FooWithAssign; A = static_counting_allocator, long unsigned int>; tbb::concurrent_vector::iterator = tbb::internal::vector_iterator, long unsigned int> >, FooWithAssign>]' ../../src/test/test_concurrent_vector.cpp:550:21: required from 'void GrowBy::operator()(const tbb::blocked_range&) const [with MyVector = tbb::concurrent_vector, long unsigned int> >]' ../../include/tbb/parallel_for.h:116:13: required from 'void tbb::interface9::internal::start_for::run_body(Range&) [with Range = tbb::blocked_range; Body = GrowBy, long unsigned int> > >; Partitioner = const tbb::auto_partitioner]' ../../include/tbb/partitioner.h:439:13: required from 'void tbb::interface9::internal::dynamic_grainsize_mode::work_balance(StartType&, Range&) [with StartType = tbb::interface9::internal::start_for, GrowBy, long unsigned int> > >, const tbb::auto_partitioner>; Range = tbb::blocked_range; Mode = tbb::interface9::internal::adaptive_mode]' ../../include/tbb/partitioner.h:257:9: required from 'void tbb::interface9::internal::partition_type_base::execute(StartType&, Range&) [with StartType = tbb::interface9::internal::start_for, GrowBy, long unsigned int> > >, const tbb::auto_partitioner>; Range = tbb::blocked_range; Partition = tbb::interface9::internal::auto_partition_type]' ../../include/tbb/parallel_for.h:143:9: required from 'tbb::task* tbb::interface9::internal::start_for::execute() [with Range = tbb::blocked_range; Body = GrowBy, long unsigned int> > >; Partitioner = const tbb::auto_partitioner]' ../../include/tbb/parallel_for.h:141:11: required from here ../../include/tbb/concurrent_vector.h:1296:9: warning: declaration of 'iterator' shadows a previous local [-Wshadow] I & iterator ((*const_cast(static_cast(p_type_erased_iterator)))); ^~~~~~~~ ../../include/tbb/concurrent_vector.h:578:60: note: shadowed declaration is here typedef internal::vector_iterator iterator; ^~~~~~~~ ../../include/tbb/concurrent_vector.h: In instantiation of 'static void tbb::concurrent_vector::copy_range(void*, const void*, tbb::concurrent_vector::size_type) [with Iterator = const Foo*; T = Foo; A = static_counting_allocator >; tbb::concurrent_vector::size_type = long unsigned int]': ../../include/tbb/concurrent_vector.h:795:38: required from 'tbb::concurrent_vector::iterator tbb::concurrent_vector::grow_by(I, I) [with I = const Foo*; T = Foo; A = static_counting_allocator >; tbb::concurrent_vector::iterator = tbb::internal::vector_iterator > >, Foo>]' ../../include/tbb/concurrent_vector.h:801:60: required from 'tbb::concurrent_vector::iterator tbb::concurrent_vector::grow_by(std::initializer_list<_Tp>) [with T = Foo; A = static_counting_allocator >; tbb::concurrent_vector::iterator = tbb::internal::vector_iterator > >, Foo>]' ../../src/test/test_concurrent_vector.cpp:562:29: required from 'void GrowBy::operator()(const tbb::blocked_range&) const [with MyVector = tbb::concurrent_vector > >]' ../../include/tbb/parallel_for.h:116:13: required from 'void tbb::interface9::internal::start_for::run_body(Range&) [with Range = tbb::blocked_range; Body = GrowBy > > >; Partitioner = const tbb::simple_partitioner]' ../../include/tbb/partitioner.h:526:9: required from 'void tbb::interface9::internal::simple_partition_type::execute(StartType&, Range&) [with StartType = tbb::interface9::internal::start_for, GrowBy > > >, const tbb::simple_partitioner>; Range = tbb::blocked_range]' ../../include/tbb/parallel_for.h:143:9: required from 'tbb::task* tbb::interface9::internal::start_for::execute() [with Range = tbb::blocked_range; Body = GrowBy > > >; Partitioner = const tbb::simple_partitioner]' ../../include/tbb/parallel_for.h:141:11: required from here ../../include/tbb/concurrent_vector.h:1296:9: warning: declaration of 'iterator' shadows a previous local [-Wshadow] I & iterator ((*const_cast(static_cast(p_type_erased_iterator)))); ^~~~~~~~ ../../include/tbb/concurrent_vector.h:578:60: note: shadowed declaration is here typedef internal::vector_iterator iterator; ^~~~~~~~ ../../include/tbb/concurrent_vector.h: In instantiation of 'static void tbb::concurrent_vector::copy_range(void*, const void*, tbb::concurrent_vector::size_type) [with Iterator = const FooWithAssign*; T = FooWithAssign; A = static_counting_allocator, long unsigned int>; tbb::concurrent_vector::size_type = long unsigned int]': ../../include/tbb/concurrent_vector.h:795:38: required from 'tbb::concurrent_vector::iterator tbb::concurrent_vector::grow_by(I, I) [with I = const FooWithAssign*; T = FooWithAssign; A = static_counting_allocator, long unsigned int>; tbb::concurrent_vector::iterator = tbb::internal::vector_iterator, long unsigned int> >, FooWithAssign>]' ../../include/tbb/concurrent_vector.h:801:60: required from 'tbb::concurrent_vector::iterator tbb::concurrent_vector::grow_by(std::initializer_list<_Tp>) [with T = FooWithAssign; A = static_counting_allocator, long unsigned int>; tbb::concurrent_vector::iterator = tbb::internal::vector_iterator, long unsigned int> >, FooWithAssign>]' ../../src/test/test_concurrent_vector.cpp:562:29: required from 'void GrowBy::operator()(const tbb::blocked_range&) const [with MyVector = tbb::concurrent_vector, long unsigned int> >]' ../../include/tbb/parallel_for.h:116:13: required from 'void tbb::interface9::internal::start_for::run_body(Range&) [with Range = tbb::blocked_range; Body = GrowBy, long unsigned int> > >; Partitioner = const tbb::auto_partitioner]' ../../include/tbb/partitioner.h:439:13: required from 'void tbb::interface9::internal::dynamic_grainsize_mode::work_balance(StartType&, Range&) [with StartType = tbb::interface9::internal::start_for, GrowBy, long unsigned int> > >, const tbb::auto_partitioner>; Range = tbb::blocked_range; Mode = tbb::interface9::internal::adaptive_mode]' ../../include/tbb/partitioner.h:257:9: required from 'void tbb::interface9::internal::partition_type_base::execute(StartType&, Range&) [with StartType = tbb::interface9::internal::start_for, GrowBy, long unsigned int> > >, const tbb::auto_partitioner>; Range = tbb::blocked_range; Partition = tbb::interface9::internal::auto_partition_type]' ../../include/tbb/parallel_for.h:143:9: required from 'tbb::task* tbb::interface9::internal::start_for::execute() [with Range = tbb::blocked_range; Body = GrowBy, long unsigned int> > >; Partitioner = const tbb::auto_partitioner]' ../../include/tbb/parallel_for.h:141:11: required from here ../../include/tbb/concurrent_vector.h:1296:9: warning: declaration of 'iterator' shadows a previous local [-Wshadow] I & iterator ((*const_cast(static_cast(p_type_erased_iterator)))); ^~~~~~~~ ../../include/tbb/concurrent_vector.h:578:60: note: shadowed declaration is here typedef internal::vector_iterator iterator; ^~~~~~~~ ../../src/test/test_concurrent_vector.cpp: In function 'void TestExceptions()': ../../src/test/test_concurrent_vector.cpp:1204:21: warning: this statement may fall through [-Wimplicit-fallthrough=] if(t) ASSERT(false, NULL); ^~ ../../src/test/test_concurrent_vector.cpp:1205:17: note: here case assign_nt: ^~~~ g++ -o test_concurrent_vector.exe -O2 -g -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -fexceptions -fstack-protector-strong -grecord-gcc-switches -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -mcpu=power8 -mtune=power8 -funwind-tables -fstack-clash-protection -g -O2 -DUSE_PTHREAD -DTEST_USES_TBB=1 -Wall -Wshadow -Wcast-qual -Woverloaded-virtual -Wnon-virtual-dtor -Wextra -O2 -g -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -fexceptions -fstack-protector-strong -grecord-gcc-switches -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -mcpu=power8 -mtune=power8 -funwind-tables -fstack-clash-protection test_concurrent_vector.o libtbb.so -lpthread -lrt -Wl,-rpath-link=. -rdynamic g++ -o test_concurrent_unordered_set.o -c -MMD -O2 -g -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -fexceptions -fstack-protector-strong -grecord-gcc-switches -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -mcpu=power8 -mtune=power8 -funwind-tables -fstack-clash-protection -g -O2 -DUSE_PTHREAD -DTEST_USES_TBB=1 -Wall -Wshadow -Wcast-qual -Woverloaded-virtual -Wnon-virtual-dtor -Wextra -O2 -g -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -fexceptions -fstack-protector-strong -grecord-gcc-switches -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -mcpu=power8 -mtune=power8 -funwind-tables -fstack-clash-protection -std=c++14 -I../../src -I../../src/rml/include -I../../include -I. -include ../../src/test/harness_preload.h ../../src/test/test_concurrent_unordered_set.cpp In file included from ../../include/tbb/internal/../tbb_machine.h:243, from ../../include/tbb/internal/../atomic.h:32, from ../../include/tbb/internal/_concurrent_unordered_impl.h:39, from ../../include/tbb/concurrent_unordered_set.h:27, from ../../src/test/test_concurrent_unordered_set.cpp:29: ../../include/tbb/internal/../machine/mac_ppc.h: In function 'int32_t __TBB_machine_cmpswp4(volatile void*, int32_t, int32_t)': ../../include/tbb/internal/../machine/mac_ppc.h:91:46: warning: cast from type 'volatile void*' to type 'int32_t*' {aka 'int*'} casts away qualifiers [-Wcast-qual] , "+m"(* (int32_t*) ptr) /* redundant with "memory" */ ^~~ ../../include/tbb/internal/../machine/mac_ppc.h: In function 'int64_t __TBB_machine_cmpswp8(volatile void*, int64_t, int64_t)': ../../include/tbb/internal/../machine/mac_ppc.h:116:46: warning: cast from type 'volatile void*' to type 'int64_t*' {aka 'long int*'} casts away qualifiers [-Wcast-qual] , "+m"(* (int64_t*) ptr) /* redundant with "memory" */ ^~~ In file included from ../../src/test/test_concurrent_unordered_set.cpp:53: ../../src/test/test_concurrent_unordered_common.h: In instantiation of 'void test_concurrent(const char*, bool) [with T = tbb::interface5::concurrent_unordered_set, std::equal_to, local_counting_allocator, std::allocator> > >]': ../../src/test/test_concurrent_unordered_set.cpp:165:54: required from here ../../src/test/test_concurrent_unordered_common.h:638:15: warning: 'void* memset(void*, int, size_t)' clearing an object of type 'AtomicByte' {aka 'struct tbb::atomic'} with no trivial copy-assignment; use assignment or value-initialization instead [-Wclass-memaccess] memset( array, 0, items*sizeof(AtomicByte) ); ~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ In file included from ../../include/tbb/internal/_concurrent_unordered_impl.h:39, from ../../include/tbb/concurrent_unordered_set.h:27, from ../../src/test/test_concurrent_unordered_set.cpp:29: ../../include/tbb/internal/../atomic.h:421:27: note: 'AtomicByte' {aka 'struct tbb::atomic'} declared here template<> struct atomic: internal::atomic_impl_with_arithmetic { \ ^~~~~~~~~ ../../include/tbb/internal/../atomic.h:478:1: note: in expansion of macro '__TBB_DECL_ATOMIC' __TBB_DECL_ATOMIC(unsigned char) ^~~~~~~~~~~~~~~~~ In file included from ../../src/test/test_concurrent_unordered_set.cpp:53: ../../src/test/test_concurrent_unordered_common.h:647:15: warning: 'void* memset(void*, int, size_t)' clearing an object of type 'AtomicByte' {aka 'struct tbb::atomic'} with no trivial copy-assignment; use assignment or value-initialization instead [-Wclass-memaccess] memset( array, 0, items*sizeof(AtomicByte) ); ~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ In file included from ../../include/tbb/internal/_concurrent_unordered_impl.h:39, from ../../include/tbb/concurrent_unordered_set.h:27, from ../../src/test/test_concurrent_unordered_set.cpp:29: ../../include/tbb/internal/../atomic.h:421:27: note: 'AtomicByte' {aka 'struct tbb::atomic'} declared here template<> struct atomic: internal::atomic_impl_with_arithmetic { \ ^~~~~~~~~ ../../include/tbb/internal/../atomic.h:478:1: note: in expansion of macro '__TBB_DECL_ATOMIC' __TBB_DECL_ATOMIC(unsigned char) ^~~~~~~~~~~~~~~~~ In file included from ../../src/test/test_concurrent_unordered_set.cpp:53: ../../src/test/test_concurrent_unordered_common.h: In instantiation of 'void test_concurrent(const char*, bool) [with T = tbb::interface5::concurrent_unordered_set, std::equal_to, local_counting_allocator, std::allocator> > >]': ../../src/test/test_concurrent_unordered_set.cpp:166:77: required from here ../../src/test/test_concurrent_unordered_common.h:638:15: warning: 'void* memset(void*, int, size_t)' clearing an object of type 'AtomicByte' {aka 'struct tbb::atomic'} with no trivial copy-assignment; use assignment or value-initialization instead [-Wclass-memaccess] memset( array, 0, items*sizeof(AtomicByte) ); ~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ In file included from ../../include/tbb/internal/_concurrent_unordered_impl.h:39, from ../../include/tbb/concurrent_unordered_set.h:27, from ../../src/test/test_concurrent_unordered_set.cpp:29: ../../include/tbb/internal/../atomic.h:421:27: note: 'AtomicByte' {aka 'struct tbb::atomic'} declared here template<> struct atomic: internal::atomic_impl_with_arithmetic { \ ^~~~~~~~~ ../../include/tbb/internal/../atomic.h:478:1: note: in expansion of macro '__TBB_DECL_ATOMIC' __TBB_DECL_ATOMIC(unsigned char) ^~~~~~~~~~~~~~~~~ In file included from ../../src/test/test_concurrent_unordered_set.cpp:53: ../../src/test/test_concurrent_unordered_common.h:647:15: warning: 'void* memset(void*, int, size_t)' clearing an object of type 'AtomicByte' {aka 'struct tbb::atomic'} with no trivial copy-assignment; use assignment or value-initialization instead [-Wclass-memaccess] memset( array, 0, items*sizeof(AtomicByte) ); ~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ In file included from ../../include/tbb/internal/_concurrent_unordered_impl.h:39, from ../../include/tbb/concurrent_unordered_set.h:27, from ../../src/test/test_concurrent_unordered_set.cpp:29: ../../include/tbb/internal/../atomic.h:421:27: note: 'AtomicByte' {aka 'struct tbb::atomic'} declared here template<> struct atomic: internal::atomic_impl_with_arithmetic { \ ^~~~~~~~~ ../../include/tbb/internal/../atomic.h:478:1: note: in expansion of macro '__TBB_DECL_ATOMIC' __TBB_DECL_ATOMIC(unsigned char) ^~~~~~~~~~~~~~~~~ In file included from ../../src/test/test_concurrent_unordered_set.cpp:53: ../../src/test/test_concurrent_unordered_common.h: In instantiation of 'void test_concurrent(const char*, bool) [with T = tbb::interface5::concurrent_unordered_multiset, std::equal_to, local_counting_allocator, std::allocator> > >]': ../../src/test/test_concurrent_unordered_set.cpp:169:66: required from here ../../src/test/test_concurrent_unordered_common.h:638:15: warning: 'void* memset(void*, int, size_t)' clearing an object of type 'AtomicByte' {aka 'struct tbb::atomic'} with no trivial copy-assignment; use assignment or value-initialization instead [-Wclass-memaccess] memset( array, 0, items*sizeof(AtomicByte) ); ~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ In file included from ../../include/tbb/internal/_concurrent_unordered_impl.h:39, from ../../include/tbb/concurrent_unordered_set.h:27, from ../../src/test/test_concurrent_unordered_set.cpp:29: ../../include/tbb/internal/../atomic.h:421:27: note: 'AtomicByte' {aka 'struct tbb::atomic'} declared here template<> struct atomic: internal::atomic_impl_with_arithmetic { \ ^~~~~~~~~ ../../include/tbb/internal/../atomic.h:478:1: note: in expansion of macro '__TBB_DECL_ATOMIC' __TBB_DECL_ATOMIC(unsigned char) ^~~~~~~~~~~~~~~~~ In file included from ../../src/test/test_concurrent_unordered_set.cpp:53: ../../src/test/test_concurrent_unordered_common.h:647:15: warning: 'void* memset(void*, int, size_t)' clearing an object of type 'AtomicByte' {aka 'struct tbb::atomic'} with no trivial copy-assignment; use assignment or value-initialization instead [-Wclass-memaccess] memset( array, 0, items*sizeof(AtomicByte) ); ~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ In file included from ../../include/tbb/internal/_concurrent_unordered_impl.h:39, from ../../include/tbb/concurrent_unordered_set.h:27, from ../../src/test/test_concurrent_unordered_set.cpp:29: ../../include/tbb/internal/../atomic.h:421:27: note: 'AtomicByte' {aka 'struct tbb::atomic'} declared here template<> struct atomic: internal::atomic_impl_with_arithmetic { \ ^~~~~~~~~ ../../include/tbb/internal/../atomic.h:478:1: note: in expansion of macro '__TBB_DECL_ATOMIC' __TBB_DECL_ATOMIC(unsigned char) ^~~~~~~~~~~~~~~~~ In file included from ../../src/test/test_concurrent_unordered_set.cpp:53: ../../src/test/test_concurrent_unordered_common.h: In instantiation of 'void test_concurrent(const char*, bool) [with T = tbb::interface5::concurrent_unordered_multiset, std::equal_to, local_counting_allocator, std::allocator> > >]': ../../src/test/test_concurrent_unordered_set.cpp:170:85: required from here ../../src/test/test_concurrent_unordered_common.h:638:15: warning: 'void* memset(void*, int, size_t)' clearing an object of type 'AtomicByte' {aka 'struct tbb::atomic'} with no trivial copy-assignment; use assignment or value-initialization instead [-Wclass-memaccess] memset( array, 0, items*sizeof(AtomicByte) ); ~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ In file included from ../../include/tbb/internal/_concurrent_unordered_impl.h:39, from ../../include/tbb/concurrent_unordered_set.h:27, from ../../src/test/test_concurrent_unordered_set.cpp:29: ../../include/tbb/internal/../atomic.h:421:27: note: 'AtomicByte' {aka 'struct tbb::atomic'} declared here template<> struct atomic: internal::atomic_impl_with_arithmetic { \ ^~~~~~~~~ ../../include/tbb/internal/../atomic.h:478:1: note: in expansion of macro '__TBB_DECL_ATOMIC' __TBB_DECL_ATOMIC(unsigned char) ^~~~~~~~~~~~~~~~~ In file included from ../../src/test/test_concurrent_unordered_set.cpp:53: ../../src/test/test_concurrent_unordered_common.h:647:15: warning: 'void* memset(void*, int, size_t)' clearing an object of type 'AtomicByte' {aka 'struct tbb::atomic'} with no trivial copy-assignment; use assignment or value-initialization instead [-Wclass-memaccess] memset( array, 0, items*sizeof(AtomicByte) ); ~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ In file included from ../../include/tbb/internal/_concurrent_unordered_impl.h:39, from ../../include/tbb/concurrent_unordered_set.h:27, from ../../src/test/test_concurrent_unordered_set.cpp:29: ../../include/tbb/internal/../atomic.h:421:27: note: 'AtomicByte' {aka 'struct tbb::atomic'} declared here template<> struct atomic: internal::atomic_impl_with_arithmetic { \ ^~~~~~~~~ ../../include/tbb/internal/../atomic.h:478:1: note: in expansion of macro '__TBB_DECL_ATOMIC' __TBB_DECL_ATOMIC(unsigned char) ^~~~~~~~~~~~~~~~~ In file included from ../../src/test/test_concurrent_unordered_set.cpp:53: ../../src/test/test_concurrent_unordered_common.h: In instantiation of 'void test_concurrent(const char*, bool) [with T = tbb::interface5::concurrent_unordered_set, tbb::tbb_hash >, std::equal_to >, local_counting_allocator, std::allocator> > >]': ../../src/test/test_concurrent_unordered_set.cpp:174:116: required from here ../../src/test/test_concurrent_unordered_common.h:638:15: warning: 'void* memset(void*, int, size_t)' clearing an object of type 'AtomicByte' {aka 'struct tbb::atomic'} with no trivial copy-assignment; use assignment or value-initialization instead [-Wclass-memaccess] memset( array, 0, items*sizeof(AtomicByte) ); ~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ In file included from ../../include/tbb/internal/_concurrent_unordered_impl.h:39, from ../../include/tbb/concurrent_unordered_set.h:27, from ../../src/test/test_concurrent_unordered_set.cpp:29: ../../include/tbb/internal/../atomic.h:421:27: note: 'AtomicByte' {aka 'struct tbb::atomic'} declared here template<> struct atomic: internal::atomic_impl_with_arithmetic { \ ^~~~~~~~~ ../../include/tbb/internal/../atomic.h:478:1: note: in expansion of macro '__TBB_DECL_ATOMIC' __TBB_DECL_ATOMIC(unsigned char) ^~~~~~~~~~~~~~~~~ In file included from ../../src/test/test_concurrent_unordered_set.cpp:53: ../../src/test/test_concurrent_unordered_common.h:647:15: warning: 'void* memset(void*, int, size_t)' clearing an object of type 'AtomicByte' {aka 'struct tbb::atomic'} with no trivial copy-assignment; use assignment or value-initialization instead [-Wclass-memaccess] memset( array, 0, items*sizeof(AtomicByte) ); ~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ In file included from ../../include/tbb/internal/_concurrent_unordered_impl.h:39, from ../../include/tbb/concurrent_unordered_set.h:27, from ../../src/test/test_concurrent_unordered_set.cpp:29: ../../include/tbb/internal/../atomic.h:421:27: note: 'AtomicByte' {aka 'struct tbb::atomic'} declared here template<> struct atomic: internal::atomic_impl_with_arithmetic { \ ^~~~~~~~~ ../../include/tbb/internal/../atomic.h:478:1: note: in expansion of macro '__TBB_DECL_ATOMIC' __TBB_DECL_ATOMIC(unsigned char) ^~~~~~~~~~~~~~~~~ In file included from ../../src/test/test_concurrent_unordered_set.cpp:53: ../../src/test/test_concurrent_unordered_common.h: In instantiation of 'void test_concurrent(const char*, bool) [with T = tbb::interface5::concurrent_unordered_set, std::equal_to, local_counting_allocator, std::allocator> > >]': ../../src/test/test_concurrent_unordered_set.cpp:176:90: required from here ../../src/test/test_concurrent_unordered_common.h:638:15: warning: 'void* memset(void*, int, size_t)' clearing an object of type 'AtomicByte' {aka 'struct tbb::atomic'} with no trivial copy-assignment; use assignment or value-initialization instead [-Wclass-memaccess] memset( array, 0, items*sizeof(AtomicByte) ); ~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ In file included from ../../include/tbb/internal/_concurrent_unordered_impl.h:39, from ../../include/tbb/concurrent_unordered_set.h:27, from ../../src/test/test_concurrent_unordered_set.cpp:29: ../../include/tbb/internal/../atomic.h:421:27: note: 'AtomicByte' {aka 'struct tbb::atomic'} declared here template<> struct atomic: internal::atomic_impl_with_arithmetic { \ ^~~~~~~~~ ../../include/tbb/internal/../atomic.h:478:1: note: in expansion of macro '__TBB_DECL_ATOMIC' __TBB_DECL_ATOMIC(unsigned char) ^~~~~~~~~~~~~~~~~ In file included from ../../src/test/test_concurrent_unordered_set.cpp:53: ../../src/test/test_concurrent_unordered_common.h:647:15: warning: 'void* memset(void*, int, size_t)' clearing an object of type 'AtomicByte' {aka 'struct tbb::atomic'} with no trivial copy-assignment; use assignment or value-initialization instead [-Wclass-memaccess] memset( array, 0, items*sizeof(AtomicByte) ); ~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ In file included from ../../include/tbb/internal/_concurrent_unordered_impl.h:39, from ../../include/tbb/concurrent_unordered_set.h:27, from ../../src/test/test_concurrent_unordered_set.cpp:29: ../../include/tbb/internal/../atomic.h:421:27: note: 'AtomicByte' {aka 'struct tbb::atomic'} declared here template<> struct atomic: internal::atomic_impl_with_arithmetic { \ ^~~~~~~~~ ../../include/tbb/internal/../atomic.h:478:1: note: in expansion of macro '__TBB_DECL_ATOMIC' __TBB_DECL_ATOMIC(unsigned char) ^~~~~~~~~~~~~~~~~ In file included from ../../src/test/test_concurrent_unordered_set.cpp:53: ../../src/test/test_concurrent_unordered_common.h: In instantiation of 'void test_concurrent(const char*, bool) [with T = tbb::interface5::concurrent_unordered_multiset, tbb::tbb_hash >, std::equal_to >, local_counting_allocator, std::allocator> > >]': ../../src/test/test_concurrent_unordered_set.cpp:179:131: required from here ../../src/test/test_concurrent_unordered_common.h:638:15: warning: 'void* memset(void*, int, size_t)' clearing an object of type 'AtomicByte' {aka 'struct tbb::atomic'} with no trivial copy-assignment; use assignment or value-initialization instead [-Wclass-memaccess] memset( array, 0, items*sizeof(AtomicByte) ); ~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ In file included from ../../include/tbb/internal/_concurrent_unordered_impl.h:39, from ../../include/tbb/concurrent_unordered_set.h:27, from ../../src/test/test_concurrent_unordered_set.cpp:29: ../../include/tbb/internal/../atomic.h:421:27: note: 'AtomicByte' {aka 'struct tbb::atomic'} declared here template<> struct atomic: internal::atomic_impl_with_arithmetic { \ ^~~~~~~~~ ../../include/tbb/internal/../atomic.h:478:1: note: in expansion of macro '__TBB_DECL_ATOMIC' __TBB_DECL_ATOMIC(unsigned char) ^~~~~~~~~~~~~~~~~ In file included from ../../src/test/test_concurrent_unordered_set.cpp:53: ../../src/test/test_concurrent_unordered_common.h:647:15: warning: 'void* memset(void*, int, size_t)' clearing an object of type 'AtomicByte' {aka 'struct tbb::atomic'} with no trivial copy-assignment; use assignment or value-initialization instead [-Wclass-memaccess] memset( array, 0, items*sizeof(AtomicByte) ); ~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ In file included from ../../include/tbb/internal/_concurrent_unordered_impl.h:39, from ../../include/tbb/concurrent_unordered_set.h:27, from ../../src/test/test_concurrent_unordered_set.cpp:29: ../../include/tbb/internal/../atomic.h:421:27: note: 'AtomicByte' {aka 'struct tbb::atomic'} declared here template<> struct atomic: internal::atomic_impl_with_arithmetic { \ ^~~~~~~~~ ../../include/tbb/internal/../atomic.h:478:1: note: in expansion of macro '__TBB_DECL_ATOMIC' __TBB_DECL_ATOMIC(unsigned char) ^~~~~~~~~~~~~~~~~ In file included from ../../include/tbb/concurrent_unordered_set.h:27, from ../../src/test/test_concurrent_unordered_set.cpp:29: ../../include/tbb/internal/_concurrent_unordered_impl.h: In instantiation of 'void tbb::interface5::internal::concurrent_unordered_base::set_bucket(tbb::interface5::internal::concurrent_unordered_base::size_type, tbb::interface5::internal::concurrent_unordered_base::raw_iterator) [with Traits = tbb::interface5::concurrent_unordered_set_traits, std::equal_to >, local_counting_allocator, std::allocator> >, false>; tbb::interface5::internal::concurrent_unordered_base::size_type = long unsigned int; tbb::interface5::internal::concurrent_unordered_base::raw_iterator = tbb::interface5::internal::flist_iterator, tbb::atomic > >, int>]': ../../include/tbb/internal/_concurrent_unordered_impl.h:1056:9: required from 'void tbb::interface5::internal::concurrent_unordered_base::clear() [with Traits = tbb::interface5::concurrent_unordered_set_traits, std::equal_to >, local_counting_allocator, std::allocator> >, false>]' ../../src/test/test_concurrent_unordered_common.h:657:5: required from 'void test_concurrent(const char*, bool) [with T = tbb::interface5::concurrent_unordered_set, std::equal_to, local_counting_allocator, std::allocator> > >]' ../../src/test/test_concurrent_unordered_set.cpp:165:54: required from here ../../include/tbb/internal/_concurrent_unordered_impl.h:1471:24: warning: 'void* memset(void*, int, size_t)' clearing an object of non-trivial type 'tbb::interface5::internal::concurrent_unordered_base, std::equal_to >, local_counting_allocator, std::allocator> >, false> >::raw_iterator' {aka 'class tbb::interface5::internal::flist_iterator, tbb::atomic > >, int>'}; use assignment or value-initialization instead [-Wclass-memaccess] std::memset(new_segment, 0, sz*sizeof(raw_iterator)); ~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ In file included from ../../include/tbb/concurrent_unordered_set.h:27, from ../../src/test/test_concurrent_unordered_set.cpp:29: ../../include/tbb/internal/_concurrent_unordered_impl.h:61:7: note: 'tbb::interface5::internal::concurrent_unordered_base, std::equal_to >, local_counting_allocator, std::allocator> >, false> >::raw_iterator' {aka 'class tbb::interface5::internal::flist_iterator, tbb::atomic > >, int>'} declared here class flist_iterator : public std::iterator ^~~~~~~~~~~~~~ In file included from ../../include/tbb/concurrent_unordered_set.h:27, from ../../src/test/test_concurrent_unordered_set.cpp:29: ../../include/tbb/internal/_concurrent_unordered_impl.h: In instantiation of 'void tbb::interface5::internal::concurrent_unordered_base::set_bucket(tbb::interface5::internal::concurrent_unordered_base::size_type, tbb::interface5::internal::concurrent_unordered_base::raw_iterator) [with Traits = tbb::interface5::concurrent_unordered_set_traits, std::equal_to >, local_counting_allocator, std::allocator> >, false>; tbb::interface5::internal::concurrent_unordered_base::size_type = long unsigned int; tbb::interface5::internal::concurrent_unordered_base::raw_iterator = tbb::interface5::internal::flist_iterator, tbb::atomic > >, int>]': ../../include/tbb/internal/_concurrent_unordered_impl.h:1056:9: required from 'void tbb::interface5::internal::concurrent_unordered_base::clear() [with Traits = tbb::interface5::concurrent_unordered_set_traits, std::equal_to >, local_counting_allocator, std::allocator> >, false>]' ../../src/test/test_concurrent_unordered_common.h:657:5: required from 'void test_concurrent(const char*, bool) [with T = tbb::interface5::concurrent_unordered_set, std::equal_to, local_counting_allocator, std::allocator> > >]' ../../src/test/test_concurrent_unordered_set.cpp:166:77: required from here ../../include/tbb/internal/_concurrent_unordered_impl.h:1471:24: warning: 'void* memset(void*, int, size_t)' clearing an object of non-trivial type 'tbb::interface5::internal::concurrent_unordered_base, std::equal_to >, local_counting_allocator, std::allocator> >, false> >::raw_iterator' {aka 'class tbb::interface5::internal::flist_iterator, tbb::atomic > >, int>'}; use assignment or value-initialization instead [-Wclass-memaccess] std::memset(new_segment, 0, sz*sizeof(raw_iterator)); ~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ In file included from ../../include/tbb/concurrent_unordered_set.h:27, from ../../src/test/test_concurrent_unordered_set.cpp:29: ../../include/tbb/internal/_concurrent_unordered_impl.h:61:7: note: 'tbb::interface5::internal::concurrent_unordered_base, std::equal_to >, local_counting_allocator, std::allocator> >, false> >::raw_iterator' {aka 'class tbb::interface5::internal::flist_iterator, tbb::atomic > >, int>'} declared here class flist_iterator : public std::iterator ^~~~~~~~~~~~~~ In file included from ../../include/tbb/concurrent_unordered_set.h:27, from ../../src/test/test_concurrent_unordered_set.cpp:29: ../../include/tbb/internal/_concurrent_unordered_impl.h: In instantiation of 'void tbb::interface5::internal::concurrent_unordered_base::set_bucket(tbb::interface5::internal::concurrent_unordered_base::size_type, tbb::interface5::internal::concurrent_unordered_base::raw_iterator) [with Traits = tbb::interface5::concurrent_unordered_set_traits, std::equal_to >, local_counting_allocator, std::allocator> >, true>; tbb::interface5::internal::concurrent_unordered_base::size_type = long unsigned int; tbb::interface5::internal::concurrent_unordered_base::raw_iterator = tbb::interface5::internal::flist_iterator, tbb::atomic > >, int>]': ../../include/tbb/internal/_concurrent_unordered_impl.h:1056:9: required from 'void tbb::interface5::internal::concurrent_unordered_base::clear() [with Traits = tbb::interface5::concurrent_unordered_set_traits, std::equal_to >, local_counting_allocator, std::allocator> >, true>]' ../../src/test/test_concurrent_unordered_common.h:657:5: required from 'void test_concurrent(const char*, bool) [with T = tbb::interface5::concurrent_unordered_multiset, std::equal_to, local_counting_allocator, std::allocator> > >]' ../../src/test/test_concurrent_unordered_set.cpp:169:66: required from here ../../include/tbb/internal/_concurrent_unordered_impl.h:1471:24: warning: 'void* memset(void*, int, size_t)' clearing an object of non-trivial type 'tbb::interface5::internal::concurrent_unordered_base, std::equal_to >, local_counting_allocator, std::allocator> >, true> >::raw_iterator' {aka 'class tbb::interface5::internal::flist_iterator, tbb::atomic > >, int>'}; use assignment or value-initialization instead [-Wclass-memaccess] std::memset(new_segment, 0, sz*sizeof(raw_iterator)); ~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ In file included from ../../include/tbb/concurrent_unordered_set.h:27, from ../../src/test/test_concurrent_unordered_set.cpp:29: ../../include/tbb/internal/_concurrent_unordered_impl.h:61:7: note: 'tbb::interface5::internal::concurrent_unordered_base, std::equal_to >, local_counting_allocator, std::allocator> >, true> >::raw_iterator' {aka 'class tbb::interface5::internal::flist_iterator, tbb::atomic > >, int>'} declared here class flist_iterator : public std::iterator ^~~~~~~~~~~~~~ In file included from ../../include/tbb/concurrent_unordered_set.h:27, from ../../src/test/test_concurrent_unordered_set.cpp:29: ../../include/tbb/internal/_concurrent_unordered_impl.h: In instantiation of 'void tbb::interface5::internal::concurrent_unordered_base::set_bucket(tbb::interface5::internal::concurrent_unordered_base::size_type, tbb::interface5::internal::concurrent_unordered_base::raw_iterator) [with Traits = tbb::interface5::concurrent_unordered_set_traits, std::equal_to >, local_counting_allocator, std::allocator> >, true>; tbb::interface5::internal::concurrent_unordered_base::size_type = long unsigned int; tbb::interface5::internal::concurrent_unordered_base::raw_iterator = tbb::interface5::internal::flist_iterator, tbb::atomic > >, int>]': ../../include/tbb/internal/_concurrent_unordered_impl.h:1056:9: required from 'void tbb::interface5::internal::concurrent_unordered_base::clear() [with Traits = tbb::interface5::concurrent_unordered_set_traits, std::equal_to >, local_counting_allocator, std::allocator> >, true>]' ../../src/test/test_concurrent_unordered_common.h:657:5: required from 'void test_concurrent(const char*, bool) [with T = tbb::interface5::concurrent_unordered_multiset, std::equal_to, local_counting_allocator, std::allocator> > >]' ../../src/test/test_concurrent_unordered_set.cpp:170:85: required from here ../../include/tbb/internal/_concurrent_unordered_impl.h:1471:24: warning: 'void* memset(void*, int, size_t)' clearing an object of non-trivial type 'tbb::interface5::internal::concurrent_unordered_base, std::equal_to >, local_counting_allocator, std::allocator> >, true> >::raw_iterator' {aka 'class tbb::interface5::internal::flist_iterator, tbb::atomic > >, int>'}; use assignment or value-initialization instead [-Wclass-memaccess] std::memset(new_segment, 0, sz*sizeof(raw_iterator)); ~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ In file included from ../../include/tbb/concurrent_unordered_set.h:27, from ../../src/test/test_concurrent_unordered_set.cpp:29: ../../include/tbb/internal/_concurrent_unordered_impl.h:61:7: note: 'tbb::interface5::internal::concurrent_unordered_base, std::equal_to >, local_counting_allocator, std::allocator> >, true> >::raw_iterator' {aka 'class tbb::interface5::internal::flist_iterator, tbb::atomic > >, int>'} declared here class flist_iterator : public std::iterator ^~~~~~~~~~~~~~ In file included from ../../include/tbb/concurrent_unordered_set.h:27, from ../../src/test/test_concurrent_unordered_set.cpp:29: ../../include/tbb/internal/_concurrent_unordered_impl.h: In instantiation of 'void tbb::interface5::internal::concurrent_unordered_base::set_bucket(tbb::interface5::internal::concurrent_unordered_base::size_type, tbb::interface5::internal::concurrent_unordered_base::raw_iterator) [with Traits = tbb::interface5::concurrent_unordered_set_traits, tbb::interface5::internal::hash_compare, tbb::tbb_hash >, std::equal_to > >, local_counting_allocator, std::allocator> >, false>; tbb::interface5::internal::concurrent_unordered_base::size_type = long unsigned int; tbb::interface5::internal::concurrent_unordered_base::raw_iterator = tbb::interface5::internal::flist_iterator, local_counting_allocator, std::allocator>, tbb::atomic > >, check_type >]': ../../include/tbb/internal/_concurrent_unordered_impl.h:1056:9: required from 'void tbb::interface5::internal::concurrent_unordered_base::clear() [with Traits = tbb::interface5::concurrent_unordered_set_traits, tbb::interface5::internal::hash_compare, tbb::tbb_hash >, std::equal_to > >, local_counting_allocator, std::allocator> >, false>]' ../../src/test/test_concurrent_unordered_common.h:657:5: required from 'void test_concurrent(const char*, bool) [with T = tbb::interface5::concurrent_unordered_set, tbb::tbb_hash >, std::equal_to >, local_counting_allocator, std::allocator> > >]' ../../src/test/test_concurrent_unordered_set.cpp:174:116: required from here ../../include/tbb/internal/_concurrent_unordered_impl.h:1471:24: warning: 'void* memset(void*, int, size_t)' clearing an object of non-trivial type 'tbb::interface5::internal::concurrent_unordered_base, tbb::interface5::internal::hash_compare, tbb::tbb_hash >, std::equal_to > >, local_counting_allocator, std::allocator> >, false> >::raw_iterator' {aka 'class tbb::interface5::internal::flist_iterator, local_counting_allocator, std::allocator>, tbb::atomic > >, check_type >'}; use assignment or value-initialization instead [-Wclass-memaccess] std::memset(new_segment, 0, sz*sizeof(raw_iterator)); ~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ In file included from ../../include/tbb/concurrent_unordered_set.h:27, from ../../src/test/test_concurrent_unordered_set.cpp:29: ../../include/tbb/internal/_concurrent_unordered_impl.h:61:7: note: 'tbb::interface5::internal::concurrent_unordered_base, tbb::interface5::internal::hash_compare, tbb::tbb_hash >, std::equal_to > >, local_counting_allocator, std::allocator> >, false> >::raw_iterator' {aka 'class tbb::interface5::internal::flist_iterator, local_counting_allocator, std::allocator>, tbb::atomic > >, check_type >'} declared here class flist_iterator : public std::iterator ^~~~~~~~~~~~~~ In file included from ../../include/tbb/concurrent_unordered_set.h:27, from ../../src/test/test_concurrent_unordered_set.cpp:29: ../../include/tbb/internal/_concurrent_unordered_impl.h: In instantiation of 'void tbb::interface5::internal::concurrent_unordered_base::set_bucket(tbb::interface5::internal::concurrent_unordered_base::size_type, tbb::interface5::internal::concurrent_unordered_base::raw_iterator) [with Traits = tbb::interface5::concurrent_unordered_set_traits, std::equal_to >, local_counting_allocator, std::allocator> >, false>; tbb::interface5::internal::concurrent_unordered_base::size_type = long unsigned int; tbb::interface5::internal::concurrent_unordered_base::raw_iterator = tbb::interface5::internal::flist_iterator, tbb::atomic > >, FooWithAssign>]': ../../include/tbb/internal/_concurrent_unordered_impl.h:1056:9: required from 'void tbb::interface5::internal::concurrent_unordered_base::clear() [with Traits = tbb::interface5::concurrent_unordered_set_traits, std::equal_to >, local_counting_allocator, std::allocator> >, false>]' ../../src/test/test_concurrent_unordered_common.h:347:5: required from 'void test_basic(const char*, do_check_element_state) [with T = tbb::interface5::concurrent_unordered_set, std::equal_to, local_counting_allocator, std::allocator> > >; do_check_element_state = tbb::internal::bool_constant]' ../../src/test/test_concurrent_unordered_set.cpp:175:113: required from here ../../include/tbb/internal/_concurrent_unordered_impl.h:1471:24: warning: 'void* memset(void*, int, size_t)' clearing an object of non-trivial type 'tbb::interface5::internal::concurrent_unordered_base, std::equal_to >, local_counting_allocator, std::allocator> >, false> >::raw_iterator' {aka 'class tbb::interface5::internal::flist_iterator, tbb::atomic > >, FooWithAssign>'}; use assignment or value-initialization instead [-Wclass-memaccess] std::memset(new_segment, 0, sz*sizeof(raw_iterator)); ~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ In file included from ../../include/tbb/concurrent_unordered_set.h:27, from ../../src/test/test_concurrent_unordered_set.cpp:29: ../../include/tbb/internal/_concurrent_unordered_impl.h:61:7: note: 'tbb::interface5::internal::concurrent_unordered_base, std::equal_to >, local_counting_allocator, std::allocator> >, false> >::raw_iterator' {aka 'class tbb::interface5::internal::flist_iterator, tbb::atomic > >, FooWithAssign>'} declared here class flist_iterator : public std::iterator ^~~~~~~~~~~~~~ In file included from ../../include/tbb/concurrent_unordered_set.h:27, from ../../src/test/test_concurrent_unordered_set.cpp:29: ../../include/tbb/internal/_concurrent_unordered_impl.h: In instantiation of 'void tbb::interface5::internal::concurrent_unordered_base::set_bucket(tbb::interface5::internal::concurrent_unordered_base::size_type, tbb::interface5::internal::concurrent_unordered_base::raw_iterator) [with Traits = tbb::interface5::concurrent_unordered_set_traits, tbb::interface5::internal::hash_compare, tbb::tbb_hash >, std::equal_to > >, local_counting_allocator, std::allocator> >, true>; tbb::interface5::internal::concurrent_unordered_base::size_type = long unsigned int; tbb::interface5::internal::concurrent_unordered_base::raw_iterator = tbb::interface5::internal::flist_iterator, local_counting_allocator, std::allocator>, tbb::atomic > >, check_type >]': ../../include/tbb/internal/_concurrent_unordered_impl.h:1056:9: required from 'void tbb::interface5::internal::concurrent_unordered_base::clear() [with Traits = tbb::interface5::concurrent_unordered_set_traits, tbb::interface5::internal::hash_compare, tbb::tbb_hash >, std::equal_to > >, local_counting_allocator, std::allocator> >, true>]' ../../src/test/test_concurrent_unordered_common.h:657:5: required from 'void test_concurrent(const char*, bool) [with T = tbb::interface5::concurrent_unordered_multiset, tbb::tbb_hash >, std::equal_to >, local_counting_allocator, std::allocator> > >]' ../../src/test/test_concurrent_unordered_set.cpp:179:131: required from here ../../include/tbb/internal/_concurrent_unordered_impl.h:1471:24: warning: 'void* memset(void*, int, size_t)' clearing an object of non-trivial type 'tbb::interface5::internal::concurrent_unordered_base, tbb::interface5::internal::hash_compare, tbb::tbb_hash >, std::equal_to > >, local_counting_allocator, std::allocator> >, true> >::raw_iterator' {aka 'class tbb::interface5::internal::flist_iterator, local_counting_allocator, std::allocator>, tbb::atomic > >, check_type >'}; use assignment or value-initialization instead [-Wclass-memaccess] std::memset(new_segment, 0, sz*sizeof(raw_iterator)); ~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ In file included from ../../include/tbb/concurrent_unordered_set.h:27, from ../../src/test/test_concurrent_unordered_set.cpp:29: ../../include/tbb/internal/_concurrent_unordered_impl.h:61:7: note: 'tbb::interface5::internal::concurrent_unordered_base, tbb::interface5::internal::hash_compare, tbb::tbb_hash >, std::equal_to > >, local_counting_allocator, std::allocator> >, true> >::raw_iterator' {aka 'class tbb::interface5::internal::flist_iterator, local_counting_allocator, std::allocator>, tbb::atomic > >, check_type >'} declared here class flist_iterator : public std::iterator ^~~~~~~~~~~~~~ In file included from ../../src/test/test_container_move_support.h:26, from ../../src/test/test_concurrent_unordered_common.h:25, from ../../src/test/test_concurrent_unordered_set.cpp:53: ../../src/test/harness_allocator.h: In instantiation of 'debug_allocator::pointer debug_allocator::allocate(debug_allocator::size_type, const void*) [with T = tbb::atomic; Allocator = std::allocator; debug_allocator::pointer = tbb::atomic*; debug_allocator::size_type = long unsigned int]': ../../src/test/test_concurrent_unordered_common.h:896:17: required from 'void Examine(Table, const std::__cxx11::list&) [with bool defCtorPresent = true; Table = tbb::interface5::concurrent_unordered_set, tbb::tbb_hash >, Harness::IsEqual, debug_allocator, std::allocator> >; typename Table::value_type = tbb::atomic]' ../../src/test/test_concurrent_unordered_common.h:925:28: required from 'void TypeTester(const std::__cxx11::list&) [with bool defCtorPresent = true; Table = tbb::interface5::concurrent_unordered_set, tbb::tbb_hash >, Harness::IsEqual, tbb::tbb_allocator > >; TableDebugAlloc = tbb::interface5::concurrent_unordered_set, tbb::tbb_hash >, Harness::IsEqual, debug_allocator, std::allocator> >; typename Table::value_type = tbb::atomic]' ../../src/test/test_concurrent_unordered_set.cpp:86:128: required from 'void TestTypesSet(const std::__cxx11::list&) [with bool defCtorPresent = true; value_type = tbb::atomic]' ../../src/test/test_concurrent_unordered_set.cpp:101:53: required from here ../../src/test/harness_allocator.h:518:20: warning: 'void* memset(void*, int, size_t)' writing to an object of type 'struct tbb::atomic' with no trivial copy-assignment [-Wclass-memaccess] std::memset( ptr, 0xE3E3E3E3, n * sizeof(value_type) ); ~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ In file included from ../../include/tbb/internal/_concurrent_unordered_impl.h:39, from ../../include/tbb/concurrent_unordered_set.h:27, from ../../src/test/test_concurrent_unordered_set.cpp:29: ../../include/tbb/internal/../atomic.h:421:27: note: 'struct tbb::atomic' declared here template<> struct atomic: internal::atomic_impl_with_arithmetic { \ ^~~~~~~~~ ../../include/tbb/internal/../atomic.h:471:1: note: in expansion of macro '__TBB_DECL_ATOMIC' __TBB_DECL_ATOMIC(int) ^~~~~~~~~~~~~~~~~ In file included from ../../src/test/test_container_move_support.h:26, from ../../src/test/test_concurrent_unordered_common.h:25, from ../../src/test/test_concurrent_unordered_set.cpp:53: ../../src/test/harness_allocator.h: In instantiation of 'debug_allocator::pointer debug_allocator::allocate(debug_allocator::size_type, const void*) [with T = std::reference_wrapper; Allocator = std::allocator; debug_allocator::pointer = std::reference_wrapper*; debug_allocator::size_type = long unsigned int]': ../../src/test/test_concurrent_unordered_common.h:896:17: required from 'void Examine(Table, const std::__cxx11::list&) [with bool defCtorPresent = false; Table = tbb::interface5::concurrent_unordered_set, tbb::tbb_hash >, Harness::IsEqual, debug_allocator, std::allocator> >; typename Table::value_type = std::reference_wrapper]' ../../src/test/test_concurrent_unordered_common.h:925:28: required from 'void TypeTester(const std::__cxx11::list&) [with bool defCtorPresent = false; Table = tbb::interface5::concurrent_unordered_set, tbb::tbb_hash >, Harness::IsEqual, tbb::tbb_allocator > >; TableDebugAlloc = tbb::interface5::concurrent_unordered_set, tbb::tbb_hash >, Harness::IsEqual, debug_allocator, std::allocator> >; typename Table::value_type = std::reference_wrapper]' ../../src/test/test_concurrent_unordered_set.cpp:86:128: required from 'void TestTypesSet(const std::__cxx11::list&) [with bool defCtorPresent = false; value_type = std::reference_wrapper]' ../../src/test/test_concurrent_unordered_set.cpp:107:54: required from here ../../src/test/harness_allocator.h:518:20: warning: 'void* memset(void*, int, size_t)' writing to an object of non-trivial type 'class std::reference_wrapper'; use assignment instead [-Wclass-memaccess] std::memset( ptr, 0xE3E3E3E3, n * sizeof(value_type) ); ~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ In file included from /usr/include/c++/8/bits/shared_ptr_base.h:54, from /usr/include/c++/8/bits/shared_ptr.h:52, from /usr/include/c++/8/memory:81, from ../../include/tbb/internal/../tbb_stddef.h:427, from ../../include/tbb/internal/_concurrent_unordered_impl.h:30, from ../../include/tbb/concurrent_unordered_set.h:27, from ../../src/test/test_concurrent_unordered_set.cpp:29: /usr/include/c++/8/bits/refwrap.h:289:11: note: 'class std::reference_wrapper' declared here class reference_wrapper ^~~~~~~~~~~~~~~~~ In file included from ../../src/test/test_container_move_support.h:26, from ../../src/test/test_concurrent_unordered_common.h:25, from ../../src/test/test_concurrent_unordered_set.cpp:53: ../../src/test/harness_allocator.h: In instantiation of 'debug_allocator::pointer debug_allocator::allocate(debug_allocator::size_type, const void*) [with T = std::shared_ptr; Allocator = std::allocator; debug_allocator::pointer = std::shared_ptr*; debug_allocator::size_type = long unsigned int]': ../../src/test/test_concurrent_unordered_common.h:896:17: required from 'void Examine(Table, const std::__cxx11::list&) [with bool defCtorPresent = true; Table = tbb::interface5::concurrent_unordered_set, tbb::tbb_hash >, Harness::IsEqual, debug_allocator, std::allocator> >; typename Table::value_type = std::shared_ptr]' ../../src/test/test_concurrent_unordered_common.h:925:28: required from 'void TypeTester(const std::__cxx11::list&) [with bool defCtorPresent = true; Table = tbb::interface5::concurrent_unordered_set, tbb::tbb_hash >, Harness::IsEqual, tbb::tbb_allocator > >; TableDebugAlloc = tbb::interface5::concurrent_unordered_set, tbb::tbb_hash >, Harness::IsEqual, debug_allocator, std::allocator> >; typename Table::value_type = std::shared_ptr]' ../../src/test/test_concurrent_unordered_set.cpp:86:128: required from 'void TestTypesSet(const std::__cxx11::list&) [with bool defCtorPresent = true; value_type = std::shared_ptr]' ../../src/test/test_concurrent_unordered_set.cpp:113:53: required from here ../../src/test/harness_allocator.h:518:20: warning: 'void* memset(void*, int, size_t)' writing to an object of type 'class std::shared_ptr' with no trivial copy-assignment [-Wclass-memaccess] std::memset( ptr, 0xE3E3E3E3, n * sizeof(value_type) ); ~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ In file included from /usr/include/c++/8/memory:81, from ../../include/tbb/internal/../tbb_stddef.h:427, from ../../include/tbb/internal/_concurrent_unordered_impl.h:30, from ../../include/tbb/concurrent_unordered_set.h:27, from ../../src/test/test_concurrent_unordered_set.cpp:29: /usr/include/c++/8/bits/shared_ptr.h:103:11: note: 'class std::shared_ptr' declared here class shared_ptr : public __shared_ptr<_Tp> ^~~~~~~~~~ In file included from ../../src/test/test_container_move_support.h:26, from ../../src/test/test_concurrent_unordered_common.h:25, from ../../src/test/test_concurrent_unordered_set.cpp:53: ../../src/test/harness_allocator.h: In instantiation of 'debug_allocator::pointer debug_allocator::allocate(debug_allocator::size_type, const void*) [with T = std::weak_ptr; Allocator = std::allocator; debug_allocator::pointer = std::weak_ptr*; debug_allocator::size_type = long unsigned int]': ../../src/test/test_concurrent_unordered_common.h:896:17: required from 'void Examine(Table, const std::__cxx11::list&) [with bool defCtorPresent = true; Table = tbb::interface5::concurrent_unordered_set, tbb::tbb_hash >, Harness::IsEqual, debug_allocator, std::allocator> >; typename Table::value_type = std::weak_ptr]' ../../src/test/test_concurrent_unordered_common.h:925:28: required from 'void TypeTester(const std::__cxx11::list&) [with bool defCtorPresent = true; Table = tbb::interface5::concurrent_unordered_set, tbb::tbb_hash >, Harness::IsEqual, tbb::tbb_allocator > >; TableDebugAlloc = tbb::interface5::concurrent_unordered_set, tbb::tbb_hash >, Harness::IsEqual, debug_allocator, std::allocator> >; typename Table::value_type = std::weak_ptr]' ../../src/test/test_concurrent_unordered_set.cpp:86:128: required from 'void TestTypesSet(const std::__cxx11::list&) [with bool defCtorPresent = true; value_type = std::weak_ptr]' ../../src/test/test_concurrent_unordered_set.cpp:117:52: required from here ../../src/test/harness_allocator.h:518:20: warning: 'void* memset(void*, int, size_t)' writing to an object of type 'class std::weak_ptr' with no trivial copy-assignment [-Wclass-memaccess] std::memset( ptr, 0xE3E3E3E3, n * sizeof(value_type) ); ~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ In file included from /usr/include/c++/8/memory:81, from ../../include/tbb/internal/../tbb_stddef.h:427, from ../../include/tbb/internal/_concurrent_unordered_impl.h:30, from ../../include/tbb/concurrent_unordered_set.h:27, from ../../src/test/test_concurrent_unordered_set.cpp:29: /usr/include/c++/8/bits/shared_ptr.h:536:11: note: 'class std::weak_ptr' declared here class weak_ptr : public __weak_ptr<_Tp> ^~~~~~~~ In file included from ../../include/tbb/concurrent_unordered_set.h:27, from ../../src/test/test_concurrent_unordered_set.cpp:29: ../../include/tbb/internal/_concurrent_unordered_impl.h: In instantiation of 'void tbb::interface5::internal::concurrent_unordered_base::set_bucket(tbb::interface5::internal::concurrent_unordered_base::size_type, tbb::interface5::internal::concurrent_unordered_base::raw_iterator) [with Traits = tbb::interface5::concurrent_unordered_set_traits, std::equal_to >, tbb::tbb_allocator, false>; tbb::interface5::internal::concurrent_unordered_base::size_type = long unsigned int; tbb::interface5::internal::concurrent_unordered_base::raw_iterator = tbb::interface5::internal::flist_iterator >, int>]': ../../include/tbb/internal/_concurrent_unordered_impl.h:1207:9: required from 'void tbb::interface5::internal::concurrent_unordered_base::internal_init() [with Traits = tbb::interface5::concurrent_unordered_set_traits, std::equal_to >, tbb::tbb_allocator, false>]' ../../include/tbb/internal/_concurrent_unordered_impl.h:710:9: required from 'tbb::interface5::internal::concurrent_unordered_base::concurrent_unordered_base(tbb::interface5::internal::concurrent_unordered_base::size_type, const hash_compare&, const allocator_type&) [with Traits = tbb::interface5::concurrent_unordered_set_traits, std::equal_to >, tbb::tbb_allocator, false>; tbb::interface5::internal::concurrent_unordered_base::size_type = long unsigned int; tbb::interface5::internal::concurrent_unordered_base::hash_compare = tbb::interface5::internal::hash_compare, std::equal_to >; tbb::interface5::internal::concurrent_unordered_base::allocator_type = tbb::tbb_allocator]' ../../include/tbb/concurrent_unordered_set.h:94:68: required from 'tbb::interface5::concurrent_unordered_set::concurrent_unordered_set(tbb::interface5::concurrent_unordered_set::size_type, const hasher&, const key_equal&, const allocator_type&) [with Key = int; Hasher = tbb::tbb_hash; Key_equality = std::equal_to; Allocator = tbb::tbb_allocator; tbb::interface5::concurrent_unordered_set::size_type = long unsigned int; tbb::interface5::concurrent_unordered_set::hasher = tbb::tbb_hash; tbb::interface5::concurrent_unordered_set::key_equal = std::equal_to; tbb::interface5::concurrent_unordered_set::allocator_type = tbb::tbb_allocator]' ../../src/test/test_concurrent_unordered_set.cpp:143:40: required from here ../../include/tbb/internal/_concurrent_unordered_impl.h:1471:24: warning: 'void* memset(void*, int, size_t)' clearing an object of non-trivial type 'tbb::interface5::internal::concurrent_unordered_base, std::equal_to >, tbb::tbb_allocator, false> >::raw_iterator' {aka 'class tbb::interface5::internal::flist_iterator >, int>'}; use assignment or value-initialization instead [-Wclass-memaccess] std::memset(new_segment, 0, sz*sizeof(raw_iterator)); ~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ In file included from ../../include/tbb/concurrent_unordered_set.h:27, from ../../src/test/test_concurrent_unordered_set.cpp:29: ../../include/tbb/internal/_concurrent_unordered_impl.h:61:7: note: 'tbb::interface5::internal::concurrent_unordered_base, std::equal_to >, tbb::tbb_allocator, false> >::raw_iterator' {aka 'class tbb::interface5::internal::flist_iterator >, int>'} declared here class flist_iterator : public std::iterator ^~~~~~~~~~~~~~ In file included from ../../include/tbb/concurrent_unordered_set.h:27, from ../../src/test/test_concurrent_unordered_set.cpp:29: ../../include/tbb/internal/_concurrent_unordered_impl.h: In instantiation of 'void tbb::interface5::internal::concurrent_unordered_base::set_bucket(tbb::interface5::internal::concurrent_unordered_base::size_type, tbb::interface5::internal::concurrent_unordered_base::raw_iterator) [with Traits = tbb::interface5::concurrent_unordered_set_traits, Harness::IsEqual>, tbb::tbb_allocator, false>; tbb::interface5::internal::concurrent_unordered_base::size_type = long unsigned int; tbb::interface5::internal::concurrent_unordered_base::raw_iterator = tbb::interface5::internal::flist_iterator >, int>]': ../../include/tbb/internal/_concurrent_unordered_impl.h:1207:9: required from 'void tbb::interface5::internal::concurrent_unordered_base::internal_init() [with Traits = tbb::interface5::concurrent_unordered_set_traits, Harness::IsEqual>, tbb::tbb_allocator, false>]' ../../include/tbb/internal/_concurrent_unordered_impl.h:724:9: required from 'tbb::interface5::internal::concurrent_unordered_base::concurrent_unordered_base(const tbb::interface5::internal::concurrent_unordered_base&) [with Traits = tbb::interface5::concurrent_unordered_set_traits, Harness::IsEqual>, tbb::tbb_allocator, false>]' ../../include/tbb/concurrent_unordered_set.h:56:7: required from 'void TypeTester(const std::__cxx11::list&) [with bool defCtorPresent = true; Table = tbb::interface5::concurrent_unordered_set, Harness::IsEqual, tbb::tbb_allocator >; TableDebugAlloc = tbb::interface5::concurrent_unordered_set, Harness::IsEqual, debug_allocator >; typename Table::value_type = int]' ../../src/test/test_concurrent_unordered_set.cpp:86:128: required from 'void TestTypesSet(const std::__cxx11::list&) [with bool defCtorPresent = true; value_type = int]' ../../src/test/test_concurrent_unordered_set.cpp:96:53: required from here ../../include/tbb/internal/_concurrent_unordered_impl.h:1471:24: warning: 'void* memset(void*, int, size_t)' clearing an object of non-trivial type 'tbb::interface5::internal::concurrent_unordered_base, Harness::IsEqual>, tbb::tbb_allocator, false> >::raw_iterator' {aka 'class tbb::interface5::internal::flist_iterator >, int>'}; use assignment or value-initialization instead [-Wclass-memaccess] std::memset(new_segment, 0, sz*sizeof(raw_iterator)); ~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ In file included from ../../include/tbb/concurrent_unordered_set.h:27, from ../../src/test/test_concurrent_unordered_set.cpp:29: ../../include/tbb/internal/_concurrent_unordered_impl.h:61:7: note: 'tbb::interface5::internal::concurrent_unordered_base, Harness::IsEqual>, tbb::tbb_allocator, false> >::raw_iterator' {aka 'class tbb::interface5::internal::flist_iterator >, int>'} declared here class flist_iterator : public std::iterator ^~~~~~~~~~~~~~ In file included from ../../include/tbb/concurrent_unordered_set.h:27, from ../../src/test/test_concurrent_unordered_set.cpp:29: ../../include/tbb/internal/_concurrent_unordered_impl.h: In instantiation of 'void tbb::interface5::internal::concurrent_unordered_base::set_bucket(tbb::interface5::internal::concurrent_unordered_base::size_type, tbb::interface5::internal::concurrent_unordered_base::raw_iterator) [with Traits = tbb::interface5::concurrent_unordered_set_traits, Harness::IsEqual>, debug_allocator, false>; tbb::interface5::internal::concurrent_unordered_base::size_type = long unsigned int; tbb::interface5::internal::concurrent_unordered_base::raw_iterator = tbb::interface5::internal::flist_iterator >, int>]': ../../include/tbb/internal/_concurrent_unordered_impl.h:1207:9: required from 'void tbb::interface5::internal::concurrent_unordered_base::internal_init() [with Traits = tbb::interface5::concurrent_unordered_set_traits, Harness::IsEqual>, debug_allocator, false>]' ../../include/tbb/internal/_concurrent_unordered_impl.h:724:9: required from 'tbb::interface5::internal::concurrent_unordered_base::concurrent_unordered_base(const tbb::interface5::internal::concurrent_unordered_base&) [with Traits = tbb::interface5::concurrent_unordered_set_traits, Harness::IsEqual>, debug_allocator, false>]' ../../include/tbb/concurrent_unordered_set.h:56:7: required from 'void TypeTester(const std::__cxx11::list&) [with bool defCtorPresent = true; Table = tbb::interface5::concurrent_unordered_set, Harness::IsEqual, tbb::tbb_allocator >; TableDebugAlloc = tbb::interface5::concurrent_unordered_set, Harness::IsEqual, debug_allocator >; typename Table::value_type = int]' ../../src/test/test_concurrent_unordered_set.cpp:86:128: required from 'void TestTypesSet(const std::__cxx11::list&) [with bool defCtorPresent = true; value_type = int]' ../../src/test/test_concurrent_unordered_set.cpp:96:53: required from here ../../include/tbb/internal/_concurrent_unordered_impl.h:1471:24: warning: 'void* memset(void*, int, size_t)' clearing an object of non-trivial type 'tbb::interface5::internal::concurrent_unordered_base, Harness::IsEqual>, debug_allocator, false> >::raw_iterator' {aka 'class tbb::interface5::internal::flist_iterator >, int>'}; use assignment or value-initialization instead [-Wclass-memaccess] std::memset(new_segment, 0, sz*sizeof(raw_iterator)); ~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ In file included from ../../include/tbb/concurrent_unordered_set.h:27, from ../../src/test/test_concurrent_unordered_set.cpp:29: ../../include/tbb/internal/_concurrent_unordered_impl.h:61:7: note: 'tbb::interface5::internal::concurrent_unordered_base, Harness::IsEqual>, debug_allocator, false> >::raw_iterator' {aka 'class tbb::interface5::internal::flist_iterator >, int>'} declared here class flist_iterator : public std::iterator ^~~~~~~~~~~~~~ In file included from ../../include/tbb/concurrent_unordered_set.h:27, from ../../src/test/test_concurrent_unordered_set.cpp:29: ../../include/tbb/internal/_concurrent_unordered_impl.h: In instantiation of 'void tbb::interface5::internal::concurrent_unordered_base::set_bucket(tbb::interface5::internal::concurrent_unordered_base::size_type, tbb::interface5::internal::concurrent_unordered_base::raw_iterator) [with Traits = tbb::interface5::concurrent_unordered_set_traits, Harness::IsEqual>, tbb::tbb_allocator, true>; tbb::interface5::internal::concurrent_unordered_base::size_type = long unsigned int; tbb::interface5::internal::concurrent_unordered_base::raw_iterator = tbb::interface5::internal::flist_iterator >, int>]': ../../include/tbb/internal/_concurrent_unordered_impl.h:1207:9: required from 'void tbb::interface5::internal::concurrent_unordered_base::internal_init() [with Traits = tbb::interface5::concurrent_unordered_set_traits, Harness::IsEqual>, tbb::tbb_allocator, true>]' ../../include/tbb/internal/_concurrent_unordered_impl.h:724:9: required from 'tbb::interface5::internal::concurrent_unordered_base::concurrent_unordered_base(const tbb::interface5::internal::concurrent_unordered_base&) [with Traits = tbb::interface5::concurrent_unordered_set_traits, Harness::IsEqual>, tbb::tbb_allocator, true>]' ../../include/tbb/concurrent_unordered_set.h:152:7: required from 'void TypeTester(const std::__cxx11::list&) [with bool defCtorPresent = true; Table = tbb::interface5::concurrent_unordered_multiset, Harness::IsEqual, tbb::tbb_allocator >; TableDebugAlloc = tbb::interface5::concurrent_unordered_multiset, Harness::IsEqual, debug_allocator >; typename Table::value_type = int]' ../../src/test/test_concurrent_unordered_set.cpp:88:133: required from 'void TestTypesSet(const std::__cxx11::list&) [with bool defCtorPresent = true; value_type = int]' ../../src/test/test_concurrent_unordered_set.cpp:96:53: required from here ../../include/tbb/internal/_concurrent_unordered_impl.h:1471:24: warning: 'void* memset(void*, int, size_t)' clearing an object of non-trivial type 'tbb::interface5::internal::concurrent_unordered_base, Harness::IsEqual>, tbb::tbb_allocator, true> >::raw_iterator' {aka 'class tbb::interface5::internal::flist_iterator >, int>'}; use assignment or value-initialization instead [-Wclass-memaccess] std::memset(new_segment, 0, sz*sizeof(raw_iterator)); ~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ In file included from ../../include/tbb/concurrent_unordered_set.h:27, from ../../src/test/test_concurrent_unordered_set.cpp:29: ../../include/tbb/internal/_concurrent_unordered_impl.h:61:7: note: 'tbb::interface5::internal::concurrent_unordered_base, Harness::IsEqual>, tbb::tbb_allocator, true> >::raw_iterator' {aka 'class tbb::interface5::internal::flist_iterator >, int>'} declared here class flist_iterator : public std::iterator ^~~~~~~~~~~~~~ In file included from ../../include/tbb/concurrent_unordered_set.h:27, from ../../src/test/test_concurrent_unordered_set.cpp:29: ../../include/tbb/internal/_concurrent_unordered_impl.h: In instantiation of 'void tbb::interface5::internal::concurrent_unordered_base::set_bucket(tbb::interface5::internal::concurrent_unordered_base::size_type, tbb::interface5::internal::concurrent_unordered_base::raw_iterator) [with Traits = tbb::interface5::concurrent_unordered_set_traits, Harness::IsEqual>, debug_allocator, true>; tbb::interface5::internal::concurrent_unordered_base::size_type = long unsigned int; tbb::interface5::internal::concurrent_unordered_base::raw_iterator = tbb::interface5::internal::flist_iterator >, int>]': ../../include/tbb/internal/_concurrent_unordered_impl.h:1207:9: required from 'void tbb::interface5::internal::concurrent_unordered_base::internal_init() [with Traits = tbb::interface5::concurrent_unordered_set_traits, Harness::IsEqual>, debug_allocator, true>]' ../../include/tbb/internal/_concurrent_unordered_impl.h:724:9: required from 'tbb::interface5::internal::concurrent_unordered_base::concurrent_unordered_base(const tbb::interface5::internal::concurrent_unordered_base&) [with Traits = tbb::interface5::concurrent_unordered_set_traits, Harness::IsEqual>, debug_allocator, true>]' ../../include/tbb/concurrent_unordered_set.h:152:7: required from 'void TypeTester(const std::__cxx11::list&) [with bool defCtorPresent = true; Table = tbb::interface5::concurrent_unordered_multiset, Harness::IsEqual, tbb::tbb_allocator >; TableDebugAlloc = tbb::interface5::concurrent_unordered_multiset, Harness::IsEqual, debug_allocator >; typename Table::value_type = int]' ../../src/test/test_concurrent_unordered_set.cpp:88:133: required from 'void TestTypesSet(const std::__cxx11::list&) [with bool defCtorPresent = true; value_type = int]' ../../src/test/test_concurrent_unordered_set.cpp:96:53: required from here ../../include/tbb/internal/_concurrent_unordered_impl.h:1471:24: warning: 'void* memset(void*, int, size_t)' clearing an object of non-trivial type 'tbb::interface5::internal::concurrent_unordered_base, Harness::IsEqual>, debug_allocator, true> >::raw_iterator' {aka 'class tbb::interface5::internal::flist_iterator >, int>'}; use assignment or value-initialization instead [-Wclass-memaccess] std::memset(new_segment, 0, sz*sizeof(raw_iterator)); ~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ In file included from ../../include/tbb/concurrent_unordered_set.h:27, from ../../src/test/test_concurrent_unordered_set.cpp:29: ../../include/tbb/internal/_concurrent_unordered_impl.h:61:7: note: 'tbb::interface5::internal::concurrent_unordered_base, Harness::IsEqual>, debug_allocator, true> >::raw_iterator' {aka 'class tbb::interface5::internal::flist_iterator >, int>'} declared here class flist_iterator : public std::iterator ^~~~~~~~~~~~~~ In file included from ../../include/tbb/concurrent_unordered_set.h:27, from ../../src/test/test_concurrent_unordered_set.cpp:29: ../../include/tbb/internal/_concurrent_unordered_impl.h: In instantiation of 'void tbb::interface5::internal::concurrent_unordered_base::set_bucket(tbb::interface5::internal::concurrent_unordered_base::size_type, tbb::interface5::internal::concurrent_unordered_base::raw_iterator) [with Traits = tbb::interface5::concurrent_unordered_set_traits, tbb::interface5::internal::hash_compare, tbb::tbb_hash >, Harness::IsEqual>, tbb::tbb_allocator >, false>; tbb::interface5::internal::concurrent_unordered_base::size_type = long unsigned int; tbb::interface5::internal::concurrent_unordered_base::raw_iterator = tbb::interface5::internal::flist_iterator, tbb::tbb_allocator > >, tbb::atomic >]': ../../include/tbb/internal/_concurrent_unordered_impl.h:1207:9: required from 'void tbb::interface5::internal::concurrent_unordered_base::internal_init() [with Traits = tbb::interface5::concurrent_unordered_set_traits, tbb::interface5::internal::hash_compare, tbb::tbb_hash >, Harness::IsEqual>, tbb::tbb_allocator >, false>]' ../../include/tbb/internal/_concurrent_unordered_impl.h:724:9: required from 'tbb::interface5::internal::concurrent_unordered_base::concurrent_unordered_base(const tbb::interface5::internal::concurrent_unordered_base&) [with Traits = tbb::interface5::concurrent_unordered_set_traits, tbb::interface5::internal::hash_compare, tbb::tbb_hash >, Harness::IsEqual>, tbb::tbb_allocator >, false>]' ../../include/tbb/concurrent_unordered_set.h:56:7: required from 'void TypeTester(const std::__cxx11::list&) [with bool defCtorPresent = true; Table = tbb::interface5::concurrent_unordered_set, tbb::tbb_hash >, Harness::IsEqual, tbb::tbb_allocator > >; TableDebugAlloc = tbb::interface5::concurrent_unordered_set, tbb::tbb_hash >, Harness::IsEqual, debug_allocator, std::allocator> >; typename Table::value_type = tbb::atomic]' ../../src/test/test_concurrent_unordered_set.cpp:86:128: required from 'void TestTypesSet(const std::__cxx11::list&) [with bool defCtorPresent = true; value_type = tbb::atomic]' ../../src/test/test_concurrent_unordered_set.cpp:101:53: required from here ../../include/tbb/internal/_concurrent_unordered_impl.h:1471:24: warning: 'void* memset(void*, int, size_t)' clearing an object of non-trivial type 'tbb::interface5::internal::concurrent_unordered_base, tbb::interface5::internal::hash_compare, tbb::tbb_hash >, Harness::IsEqual>, tbb::tbb_allocator >, false> >::raw_iterator' {aka 'class tbb::interface5::internal::flist_iterator, tbb::tbb_allocator > >, tbb::atomic >'}; use assignment or value-initialization instead [-Wclass-memaccess] std::memset(new_segment, 0, sz*sizeof(raw_iterator)); ~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ In file included from ../../include/tbb/concurrent_unordered_set.h:27, from ../../src/test/test_concurrent_unordered_set.cpp:29: ../../include/tbb/internal/_concurrent_unordered_impl.h:61:7: note: 'tbb::interface5::internal::concurrent_unordered_base, tbb::interface5::internal::hash_compare, tbb::tbb_hash >, Harness::IsEqual>, tbb::tbb_allocator >, false> >::raw_iterator' {aka 'class tbb::interface5::internal::flist_iterator, tbb::tbb_allocator > >, tbb::atomic >'} declared here class flist_iterator : public std::iterator ^~~~~~~~~~~~~~ In file included from ../../include/tbb/concurrent_unordered_set.h:27, from ../../src/test/test_concurrent_unordered_set.cpp:29: ../../include/tbb/internal/_concurrent_unordered_impl.h: In instantiation of 'void tbb::interface5::internal::concurrent_unordered_base::set_bucket(tbb::interface5::internal::concurrent_unordered_base::size_type, tbb::interface5::internal::concurrent_unordered_base::raw_iterator) [with Traits = tbb::interface5::concurrent_unordered_set_traits, tbb::interface5::internal::hash_compare, tbb::tbb_hash >, Harness::IsEqual>, debug_allocator, std::allocator>, false>; tbb::interface5::internal::concurrent_unordered_base::size_type = long unsigned int; tbb::interface5::internal::concurrent_unordered_base::raw_iterator = tbb::interface5::internal::flist_iterator, debug_allocator, std::allocator> >, tbb::atomic >]': ../../include/tbb/internal/_concurrent_unordered_impl.h:1207:9: required from 'void tbb::interface5::internal::concurrent_unordered_base::internal_init() [with Traits = tbb::interface5::concurrent_unordered_set_traits, tbb::interface5::internal::hash_compare, tbb::tbb_hash >, Harness::IsEqual>, debug_allocator, std::allocator>, false>]' ../../include/tbb/internal/_concurrent_unordered_impl.h:724:9: required from 'tbb::interface5::internal::concurrent_unordered_base::concurrent_unordered_base(const tbb::interface5::internal::concurrent_unordered_base&) [with Traits = tbb::interface5::concurrent_unordered_set_traits, tbb::interface5::internal::hash_compare, tbb::tbb_hash >, Harness::IsEqual>, debug_allocator, std::allocator>, false>]' ../../include/tbb/concurrent_unordered_set.h:56:7: required from 'void TypeTester(const std::__cxx11::list&) [with bool defCtorPresent = true; Table = tbb::interface5::concurrent_unordered_set, tbb::tbb_hash >, Harness::IsEqual, tbb::tbb_allocator > >; TableDebugAlloc = tbb::interface5::concurrent_unordered_set, tbb::tbb_hash >, Harness::IsEqual, debug_allocator, std::allocator> >; typename Table::value_type = tbb::atomic]' ../../src/test/test_concurrent_unordered_set.cpp:86:128: required from 'void TestTypesSet(const std::__cxx11::list&) [with bool defCtorPresent = true; value_type = tbb::atomic]' ../../src/test/test_concurrent_unordered_set.cpp:101:53: required from here ../../include/tbb/internal/_concurrent_unordered_impl.h:1471:24: warning: 'void* memset(void*, int, size_t)' clearing an object of non-trivial type 'tbb::interface5::internal::concurrent_unordered_base, tbb::interface5::internal::hash_compare, tbb::tbb_hash >, Harness::IsEqual>, debug_allocator, std::allocator>, false> >::raw_iterator' {aka 'class tbb::interface5::internal::flist_iterator, debug_allocator, std::allocator> >, tbb::atomic >'}; use assignment or value-initialization instead [-Wclass-memaccess] std::memset(new_segment, 0, sz*sizeof(raw_iterator)); ~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ In file included from ../../include/tbb/concurrent_unordered_set.h:27, from ../../src/test/test_concurrent_unordered_set.cpp:29: ../../include/tbb/internal/_concurrent_unordered_impl.h:61:7: note: 'tbb::interface5::internal::concurrent_unordered_base, tbb::interface5::internal::hash_compare, tbb::tbb_hash >, Harness::IsEqual>, debug_allocator, std::allocator>, false> >::raw_iterator' {aka 'class tbb::interface5::internal::flist_iterator, debug_allocator, std::allocator> >, tbb::atomic >'} declared here class flist_iterator : public std::iterator ^~~~~~~~~~~~~~ In file included from ../../include/tbb/concurrent_unordered_set.h:27, from ../../src/test/test_concurrent_unordered_set.cpp:29: ../../include/tbb/internal/_concurrent_unordered_impl.h: In instantiation of 'void tbb::interface5::internal::concurrent_unordered_base::set_bucket(tbb::interface5::internal::concurrent_unordered_base::size_type, tbb::interface5::internal::concurrent_unordered_base::raw_iterator) [with Traits = tbb::interface5::concurrent_unordered_set_traits, tbb::interface5::internal::hash_compare, tbb::tbb_hash >, Harness::IsEqual>, tbb::tbb_allocator >, true>; tbb::interface5::internal::concurrent_unordered_base::size_type = long unsigned int; tbb::interface5::internal::concurrent_unordered_base::raw_iterator = tbb::interface5::internal::flist_iterator, tbb::tbb_allocator > >, tbb::atomic >]': ../../include/tbb/internal/_concurrent_unordered_impl.h:1207:9: required from 'void tbb::interface5::internal::concurrent_unordered_base::internal_init() [with Traits = tbb::interface5::concurrent_unordered_set_traits, tbb::interface5::internal::hash_compare, tbb::tbb_hash >, Harness::IsEqual>, tbb::tbb_allocator >, true>]' ../../include/tbb/internal/_concurrent_unordered_impl.h:724:9: required from 'tbb::interface5::internal::concurrent_unordered_base::concurrent_unordered_base(const tbb::interface5::internal::concurrent_unordered_base&) [with Traits = tbb::interface5::concurrent_unordered_set_traits, tbb::interface5::internal::hash_compare, tbb::tbb_hash >, Harness::IsEqual>, tbb::tbb_allocator >, true>]' ../../include/tbb/concurrent_unordered_set.h:152:7: required from 'void TypeTester(const std::__cxx11::list&) [with bool defCtorPresent = true; Table = tbb::interface5::concurrent_unordered_multiset, tbb::tbb_hash >, Harness::IsEqual, tbb::tbb_allocator > >; TableDebugAlloc = tbb::interface5::concurrent_unordered_multiset, tbb::tbb_hash >, Harness::IsEqual, debug_allocator, std::allocator> >; typename Table::value_type = tbb::atomic]' ../../src/test/test_concurrent_unordered_set.cpp:88:133: required from 'void TestTypesSet(const std::__cxx11::list&) [with bool defCtorPresent = true; value_type = tbb::atomic]' ../../src/test/test_concurrent_unordered_set.cpp:101:53: required from here ../../include/tbb/internal/_concurrent_unordered_impl.h:1471:24: warning: 'void* memset(void*, int, size_t)' clearing an object of non-trivial type 'tbb::interface5::internal::concurrent_unordered_base, tbb::interface5::internal::hash_compare, tbb::tbb_hash >, Harness::IsEqual>, tbb::tbb_allocator >, true> >::raw_iterator' {aka 'class tbb::interface5::internal::flist_iterator, tbb::tbb_allocator > >, tbb::atomic >'}; use assignment or value-initialization instead [-Wclass-memaccess] std::memset(new_segment, 0, sz*sizeof(raw_iterator)); ~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ In file included from ../../include/tbb/concurrent_unordered_set.h:27, from ../../src/test/test_concurrent_unordered_set.cpp:29: ../../include/tbb/internal/_concurrent_unordered_impl.h:61:7: note: 'tbb::interface5::internal::concurrent_unordered_base, tbb::interface5::internal::hash_compare, tbb::tbb_hash >, Harness::IsEqual>, tbb::tbb_allocator >, true> >::raw_iterator' {aka 'class tbb::interface5::internal::flist_iterator, tbb::tbb_allocator > >, tbb::atomic >'} declared here class flist_iterator : public std::iterator ^~~~~~~~~~~~~~ In file included from ../../include/tbb/concurrent_unordered_set.h:27, from ../../src/test/test_concurrent_unordered_set.cpp:29: ../../include/tbb/internal/_concurrent_unordered_impl.h: In instantiation of 'void tbb::interface5::internal::concurrent_unordered_base::set_bucket(tbb::interface5::internal::concurrent_unordered_base::size_type, tbb::interface5::internal::concurrent_unordered_base::raw_iterator) [with Traits = tbb::interface5::concurrent_unordered_set_traits, tbb::interface5::internal::hash_compare, tbb::tbb_hash >, Harness::IsEqual>, debug_allocator, std::allocator>, true>; tbb::interface5::internal::concurrent_unordered_base::size_type = long unsigned int; tbb::interface5::internal::concurrent_unordered_base::raw_iterator = tbb::interface5::internal::flist_iterator, debug_allocator, std::allocator> >, tbb::atomic >]': ../../include/tbb/internal/_concurrent_unordered_impl.h:1207:9: required from 'void tbb::interface5::internal::concurrent_unordered_base::internal_init() [with Traits = tbb::interface5::concurrent_unordered_set_traits, tbb::interface5::internal::hash_compare, tbb::tbb_hash >, Harness::IsEqual>, debug_allocator, std::allocator>, true>]' ../../include/tbb/internal/_concurrent_unordered_impl.h:724:9: required from 'tbb::interface5::internal::concurrent_unordered_base::concurrent_unordered_base(const tbb::interface5::internal::concurrent_unordered_base&) [with Traits = tbb::interface5::concurrent_unordered_set_traits, tbb::interface5::internal::hash_compare, tbb::tbb_hash >, Harness::IsEqual>, debug_allocator, std::allocator>, true>]' ../../include/tbb/concurrent_unordered_set.h:152:7: required from 'void TypeTester(const std::__cxx11::list&) [with bool defCtorPresent = true; Table = tbb::interface5::concurrent_unordered_multiset, tbb::tbb_hash >, Harness::IsEqual, tbb::tbb_allocator > >; TableDebugAlloc = tbb::interface5::concurrent_unordered_multiset, tbb::tbb_hash >, Harness::IsEqual, debug_allocator, std::allocator> >; typename Table::value_type = tbb::atomic]' ../../src/test/test_concurrent_unordered_set.cpp:88:133: required from 'void TestTypesSet(const std::__cxx11::list&) [with bool defCtorPresent = true; value_type = tbb::atomic]' ../../src/test/test_concurrent_unordered_set.cpp:101:53: required from here ../../include/tbb/internal/_concurrent_unordered_impl.h:1471:24: warning: 'void* memset(void*, int, size_t)' clearing an object of non-trivial type 'tbb::interface5::internal::concurrent_unordered_base, tbb::interface5::internal::hash_compare, tbb::tbb_hash >, Harness::IsEqual>, debug_allocator, std::allocator>, true> >::raw_iterator' {aka 'class tbb::interface5::internal::flist_iterator, debug_allocator, std::allocator> >, tbb::atomic >'}; use assignment or value-initialization instead [-Wclass-memaccess] std::memset(new_segment, 0, sz*sizeof(raw_iterator)); ~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ In file included from ../../include/tbb/concurrent_unordered_set.h:27, from ../../src/test/test_concurrent_unordered_set.cpp:29: ../../include/tbb/internal/_concurrent_unordered_impl.h:61:7: note: 'tbb::interface5::internal::concurrent_unordered_base, tbb::interface5::internal::hash_compare, tbb::tbb_hash >, Harness::IsEqual>, debug_allocator, std::allocator>, true> >::raw_iterator' {aka 'class tbb::interface5::internal::flist_iterator, debug_allocator, std::allocator> >, tbb::atomic >'} declared here class flist_iterator : public std::iterator ^~~~~~~~~~~~~~ In file included from ../../include/tbb/concurrent_unordered_set.h:27, from ../../src/test/test_concurrent_unordered_set.cpp:29: ../../include/tbb/internal/_concurrent_unordered_impl.h: In instantiation of 'void tbb::interface5::internal::concurrent_unordered_base::set_bucket(tbb::interface5::internal::concurrent_unordered_base::size_type, tbb::interface5::internal::concurrent_unordered_base::raw_iterator) [with Traits = tbb::interface5::concurrent_unordered_set_traits, tbb::interface5::internal::hash_compare, tbb::tbb_hash >, Harness::IsEqual>, tbb::tbb_allocator >, false>; tbb::interface5::internal::concurrent_unordered_base::size_type = long unsigned int; tbb::interface5::internal::concurrent_unordered_base::raw_iterator = tbb::interface5::internal::flist_iterator, tbb::tbb_allocator > >, std::reference_wrapper >]': ../../include/tbb/internal/_concurrent_unordered_impl.h:1207:9: required from 'void tbb::interface5::internal::concurrent_unordered_base::internal_init() [with Traits = tbb::interface5::concurrent_unordered_set_traits, tbb::interface5::internal::hash_compare, tbb::tbb_hash >, Harness::IsEqual>, tbb::tbb_allocator >, false>]' ../../include/tbb/internal/_concurrent_unordered_impl.h:724:9: required from 'tbb::interface5::internal::concurrent_unordered_base::concurrent_unordered_base(const tbb::interface5::internal::concurrent_unordered_base&) [with Traits = tbb::interface5::concurrent_unordered_set_traits, tbb::interface5::internal::hash_compare, tbb::tbb_hash >, Harness::IsEqual>, tbb::tbb_allocator >, false>]' ../../include/tbb/concurrent_unordered_set.h:56:7: required from 'void TypeTester(const std::__cxx11::list&) [with bool defCtorPresent = false; Table = tbb::interface5::concurrent_unordered_set, tbb::tbb_hash >, Harness::IsEqual, tbb::tbb_allocator > >; TableDebugAlloc = tbb::interface5::concurrent_unordered_set, tbb::tbb_hash >, Harness::IsEqual, debug_allocator, std::allocator> >; typename Table::value_type = std::reference_wrapper]' ../../src/test/test_concurrent_unordered_set.cpp:86:128: required from 'void TestTypesSet(const std::__cxx11::list&) [with bool defCtorPresent = false; value_type = std::reference_wrapper]' ../../src/test/test_concurrent_unordered_set.cpp:107:54: required from here ../../include/tbb/internal/_concurrent_unordered_impl.h:1471:24: warning: 'void* memset(void*, int, size_t)' clearing an object of non-trivial type 'tbb::interface5::internal::concurrent_unordered_base, tbb::interface5::internal::hash_compare, tbb::tbb_hash >, Harness::IsEqual>, tbb::tbb_allocator >, false> >::raw_iterator' {aka 'class tbb::interface5::internal::flist_iterator, tbb::tbb_allocator > >, std::reference_wrapper >'}; use assignment or value-initialization instead [-Wclass-memaccess] std::memset(new_segment, 0, sz*sizeof(raw_iterator)); ~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ In file included from ../../include/tbb/concurrent_unordered_set.h:27, from ../../src/test/test_concurrent_unordered_set.cpp:29: ../../include/tbb/internal/_concurrent_unordered_impl.h:61:7: note: 'tbb::interface5::internal::concurrent_unordered_base, tbb::interface5::internal::hash_compare, tbb::tbb_hash >, Harness::IsEqual>, tbb::tbb_allocator >, false> >::raw_iterator' {aka 'class tbb::interface5::internal::flist_iterator, tbb::tbb_allocator > >, std::reference_wrapper >'} declared here class flist_iterator : public std::iterator ^~~~~~~~~~~~~~ In file included from ../../include/tbb/concurrent_unordered_set.h:27, from ../../src/test/test_concurrent_unordered_set.cpp:29: ../../include/tbb/internal/_concurrent_unordered_impl.h: In instantiation of 'void tbb::interface5::internal::concurrent_unordered_base::set_bucket(tbb::interface5::internal::concurrent_unordered_base::size_type, tbb::interface5::internal::concurrent_unordered_base::raw_iterator) [with Traits = tbb::interface5::concurrent_unordered_set_traits, tbb::interface5::internal::hash_compare, tbb::tbb_hash >, Harness::IsEqual>, debug_allocator, std::allocator>, false>; tbb::interface5::internal::concurrent_unordered_base::size_type = long unsigned int; tbb::interface5::internal::concurrent_unordered_base::raw_iterator = tbb::interface5::internal::flist_iterator, debug_allocator, std::allocator> >, std::reference_wrapper >]': ../../include/tbb/internal/_concurrent_unordered_impl.h:1207:9: required from 'void tbb::interface5::internal::concurrent_unordered_base::internal_init() [with Traits = tbb::interface5::concurrent_unordered_set_traits, tbb::interface5::internal::hash_compare, tbb::tbb_hash >, Harness::IsEqual>, debug_allocator, std::allocator>, false>]' ../../include/tbb/internal/_concurrent_unordered_impl.h:724:9: required from 'tbb::interface5::internal::concurrent_unordered_base::concurrent_unordered_base(const tbb::interface5::internal::concurrent_unordered_base&) [with Traits = tbb::interface5::concurrent_unordered_set_traits, tbb::interface5::internal::hash_compare, tbb::tbb_hash >, Harness::IsEqual>, debug_allocator, std::allocator>, false>]' ../../include/tbb/concurrent_unordered_set.h:56:7: required from 'void TypeTester(const std::__cxx11::list&) [with bool defCtorPresent = false; Table = tbb::interface5::concurrent_unordered_set, tbb::tbb_hash >, Harness::IsEqual, tbb::tbb_allocator > >; TableDebugAlloc = tbb::interface5::concurrent_unordered_set, tbb::tbb_hash >, Harness::IsEqual, debug_allocator, std::allocator> >; typename Table::value_type = std::reference_wrapper]' ../../src/test/test_concurrent_unordered_set.cpp:86:128: required from 'void TestTypesSet(const std::__cxx11::list&) [with bool defCtorPresent = false; value_type = std::reference_wrapper]' ../../src/test/test_concurrent_unordered_set.cpp:107:54: required from here ../../include/tbb/internal/_concurrent_unordered_impl.h:1471:24: warning: 'void* memset(void*, int, size_t)' clearing an object of non-trivial type 'tbb::interface5::internal::concurrent_unordered_base, tbb::interface5::internal::hash_compare, tbb::tbb_hash >, Harness::IsEqual>, debug_allocator, std::allocator>, false> >::raw_iterator' {aka 'class tbb::interface5::internal::flist_iterator, debug_allocator, std::allocator> >, std::reference_wrapper >'}; use assignment or value-initialization instead [-Wclass-memaccess] std::memset(new_segment, 0, sz*sizeof(raw_iterator)); ~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ In file included from ../../include/tbb/concurrent_unordered_set.h:27, from ../../src/test/test_concurrent_unordered_set.cpp:29: ../../include/tbb/internal/_concurrent_unordered_impl.h:61:7: note: 'tbb::interface5::internal::concurrent_unordered_base, tbb::interface5::internal::hash_compare, tbb::tbb_hash >, Harness::IsEqual>, debug_allocator, std::allocator>, false> >::raw_iterator' {aka 'class tbb::interface5::internal::flist_iterator, debug_allocator, std::allocator> >, std::reference_wrapper >'} declared here class flist_iterator : public std::iterator ^~~~~~~~~~~~~~ In file included from ../../include/tbb/concurrent_unordered_set.h:27, from ../../src/test/test_concurrent_unordered_set.cpp:29: ../../include/tbb/internal/_concurrent_unordered_impl.h: In instantiation of 'void tbb::interface5::internal::concurrent_unordered_base::set_bucket(tbb::interface5::internal::concurrent_unordered_base::size_type, tbb::interface5::internal::concurrent_unordered_base::raw_iterator) [with Traits = tbb::interface5::concurrent_unordered_set_traits, tbb::interface5::internal::hash_compare, tbb::tbb_hash >, Harness::IsEqual>, tbb::tbb_allocator >, true>; tbb::interface5::internal::concurrent_unordered_base::size_type = long unsigned int; tbb::interface5::internal::concurrent_unordered_base::raw_iterator = tbb::interface5::internal::flist_iterator, tbb::tbb_allocator > >, std::reference_wrapper >]': ../../include/tbb/internal/_concurrent_unordered_impl.h:1207:9: required from 'void tbb::interface5::internal::concurrent_unordered_base::internal_init() [with Traits = tbb::interface5::concurrent_unordered_set_traits, tbb::interface5::internal::hash_compare, tbb::tbb_hash >, Harness::IsEqual>, tbb::tbb_allocator >, true>]' ../../include/tbb/internal/_concurrent_unordered_impl.h:724:9: required from 'tbb::interface5::internal::concurrent_unordered_base::concurrent_unordered_base(const tbb::interface5::internal::concurrent_unordered_base&) [with Traits = tbb::interface5::concurrent_unordered_set_traits, tbb::interface5::internal::hash_compare, tbb::tbb_hash >, Harness::IsEqual>, tbb::tbb_allocator >, true>]' ../../include/tbb/concurrent_unordered_set.h:152:7: required from 'void TypeTester(const std::__cxx11::list&) [with bool defCtorPresent = false; Table = tbb::interface5::concurrent_unordered_multiset, tbb::tbb_hash >, Harness::IsEqual, tbb::tbb_allocator > >; TableDebugAlloc = tbb::interface5::concurrent_unordered_multiset, tbb::tbb_hash >, Harness::IsEqual, debug_allocator, std::allocator> >; typename Table::value_type = std::reference_wrapper]' ../../src/test/test_concurrent_unordered_set.cpp:88:133: required from 'void TestTypesSet(const std::__cxx11::list&) [with bool defCtorPresent = false; value_type = std::reference_wrapper]' ../../src/test/test_concurrent_unordered_set.cpp:107:54: required from here ../../include/tbb/internal/_concurrent_unordered_impl.h:1471:24: warning: 'void* memset(void*, int, size_t)' clearing an object of non-trivial type 'tbb::interface5::internal::concurrent_unordered_base, tbb::interface5::internal::hash_compare, tbb::tbb_hash >, Harness::IsEqual>, tbb::tbb_allocator >, true> >::raw_iterator' {aka 'class tbb::interface5::internal::flist_iterator, tbb::tbb_allocator > >, std::reference_wrapper >'}; use assignment or value-initialization instead [-Wclass-memaccess] std::memset(new_segment, 0, sz*sizeof(raw_iterator)); ~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ In file included from ../../include/tbb/concurrent_unordered_set.h:27, from ../../src/test/test_concurrent_unordered_set.cpp:29: ../../include/tbb/internal/_concurrent_unordered_impl.h:61:7: note: 'tbb::interface5::internal::concurrent_unordered_base, tbb::interface5::internal::hash_compare, tbb::tbb_hash >, Harness::IsEqual>, tbb::tbb_allocator >, true> >::raw_iterator' {aka 'class tbb::interface5::internal::flist_iterator, tbb::tbb_allocator > >, std::reference_wrapper >'} declared here class flist_iterator : public std::iterator ^~~~~~~~~~~~~~ In file included from ../../include/tbb/concurrent_unordered_set.h:27, from ../../src/test/test_concurrent_unordered_set.cpp:29: ../../include/tbb/internal/_concurrent_unordered_impl.h: In instantiation of 'void tbb::interface5::internal::concurrent_unordered_base::set_bucket(tbb::interface5::internal::concurrent_unordered_base::size_type, tbb::interface5::internal::concurrent_unordered_base::raw_iterator) [with Traits = tbb::interface5::concurrent_unordered_set_traits, tbb::interface5::internal::hash_compare, tbb::tbb_hash >, Harness::IsEqual>, debug_allocator, std::allocator>, true>; tbb::interface5::internal::concurrent_unordered_base::size_type = long unsigned int; tbb::interface5::internal::concurrent_unordered_base::raw_iterator = tbb::interface5::internal::flist_iterator, debug_allocator, std::allocator> >, std::reference_wrapper >]': ../../include/tbb/internal/_concurrent_unordered_impl.h:1207:9: required from 'void tbb::interface5::internal::concurrent_unordered_base::internal_init() [with Traits = tbb::interface5::concurrent_unordered_set_traits, tbb::interface5::internal::hash_compare, tbb::tbb_hash >, Harness::IsEqual>, debug_allocator, std::allocator>, true>]' ../../include/tbb/internal/_concurrent_unordered_impl.h:724:9: required from 'tbb::interface5::internal::concurrent_unordered_base::concurrent_unordered_base(const tbb::interface5::internal::concurrent_unordered_base&) [with Traits = tbb::interface5::concurrent_unordered_set_traits, tbb::interface5::internal::hash_compare, tbb::tbb_hash >, Harness::IsEqual>, debug_allocator, std::allocator>, true>]' ../../include/tbb/concurrent_unordered_set.h:152:7: required from 'void TypeTester(const std::__cxx11::list&) [with bool defCtorPresent = false; Table = tbb::interface5::concurrent_unordered_multiset, tbb::tbb_hash >, Harness::IsEqual, tbb::tbb_allocator > >; TableDebugAlloc = tbb::interface5::concurrent_unordered_multiset, tbb::tbb_hash >, Harness::IsEqual, debug_allocator, std::allocator> >; typename Table::value_type = std::reference_wrapper]' ../../src/test/test_concurrent_unordered_set.cpp:88:133: required from 'void TestTypesSet(const std::__cxx11::list&) [with bool defCtorPresent = false; value_type = std::reference_wrapper]' ../../src/test/test_concurrent_unordered_set.cpp:107:54: required from here ../../include/tbb/internal/_concurrent_unordered_impl.h:1471:24: warning: 'void* memset(void*, int, size_t)' clearing an object of non-trivial type 'tbb::interface5::internal::concurrent_unordered_base, tbb::interface5::internal::hash_compare, tbb::tbb_hash >, Harness::IsEqual>, debug_allocator, std::allocator>, true> >::raw_iterator' {aka 'class tbb::interface5::internal::flist_iterator, debug_allocator, std::allocator> >, std::reference_wrapper >'}; use assignment or value-initialization instead [-Wclass-memaccess] std::memset(new_segment, 0, sz*sizeof(raw_iterator)); ~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ In file included from ../../include/tbb/concurrent_unordered_set.h:27, from ../../src/test/test_concurrent_unordered_set.cpp:29: ../../include/tbb/internal/_concurrent_unordered_impl.h:61:7: note: 'tbb::interface5::internal::concurrent_unordered_base, tbb::interface5::internal::hash_compare, tbb::tbb_hash >, Harness::IsEqual>, debug_allocator, std::allocator>, true> >::raw_iterator' {aka 'class tbb::interface5::internal::flist_iterator, debug_allocator, std::allocator> >, std::reference_wrapper >'} declared here class flist_iterator : public std::iterator ^~~~~~~~~~~~~~ In file included from ../../include/tbb/concurrent_unordered_set.h:27, from ../../src/test/test_concurrent_unordered_set.cpp:29: ../../include/tbb/internal/_concurrent_unordered_impl.h: In instantiation of 'void tbb::interface5::internal::concurrent_unordered_base::set_bucket(tbb::interface5::internal::concurrent_unordered_base::size_type, tbb::interface5::internal::concurrent_unordered_base::raw_iterator) [with Traits = tbb::interface5::concurrent_unordered_set_traits, tbb::interface5::internal::hash_compare, tbb::tbb_hash >, Harness::IsEqual>, tbb::tbb_allocator >, false>; tbb::interface5::internal::concurrent_unordered_base::size_type = long unsigned int; tbb::interface5::internal::concurrent_unordered_base::raw_iterator = tbb::interface5::internal::flist_iterator, tbb::tbb_allocator > >, std::shared_ptr >]': ../../include/tbb/internal/_concurrent_unordered_impl.h:1207:9: required from 'void tbb::interface5::internal::concurrent_unordered_base::internal_init() [with Traits = tbb::interface5::concurrent_unordered_set_traits, tbb::interface5::internal::hash_compare, tbb::tbb_hash >, Harness::IsEqual>, tbb::tbb_allocator >, false>]' ../../include/tbb/internal/_concurrent_unordered_impl.h:724:9: required from 'tbb::interface5::internal::concurrent_unordered_base::concurrent_unordered_base(const tbb::interface5::internal::concurrent_unordered_base&) [with Traits = tbb::interface5::concurrent_unordered_set_traits, tbb::interface5::internal::hash_compare, tbb::tbb_hash >, Harness::IsEqual>, tbb::tbb_allocator >, false>]' ../../include/tbb/concurrent_unordered_set.h:56:7: required from 'void TypeTester(const std::__cxx11::list&) [with bool defCtorPresent = true; Table = tbb::interface5::concurrent_unordered_set, tbb::tbb_hash >, Harness::IsEqual, tbb::tbb_allocator > >; TableDebugAlloc = tbb::interface5::concurrent_unordered_set, tbb::tbb_hash >, Harness::IsEqual, debug_allocator, std::allocator> >; typename Table::value_type = std::shared_ptr]' ../../src/test/test_concurrent_unordered_set.cpp:86:128: required from 'void TestTypesSet(const std::__cxx11::list&) [with bool defCtorPresent = true; value_type = std::shared_ptr]' ../../src/test/test_concurrent_unordered_set.cpp:113:53: required from here ../../include/tbb/internal/_concurrent_unordered_impl.h:1471:24: warning: 'void* memset(void*, int, size_t)' clearing an object of non-trivial type 'tbb::interface5::internal::concurrent_unordered_base, tbb::interface5::internal::hash_compare, tbb::tbb_hash >, Harness::IsEqual>, tbb::tbb_allocator >, false> >::raw_iterator' {aka 'class tbb::interface5::internal::flist_iterator, tbb::tbb_allocator > >, std::shared_ptr >'}; use assignment or value-initialization instead [-Wclass-memaccess] std::memset(new_segment, 0, sz*sizeof(raw_iterator)); ~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ In file included from ../../include/tbb/concurrent_unordered_set.h:27, from ../../src/test/test_concurrent_unordered_set.cpp:29: ../../include/tbb/internal/_concurrent_unordered_impl.h:61:7: note: 'tbb::interface5::internal::concurrent_unordered_base, tbb::interface5::internal::hash_compare, tbb::tbb_hash >, Harness::IsEqual>, tbb::tbb_allocator >, false> >::raw_iterator' {aka 'class tbb::interface5::internal::flist_iterator, tbb::tbb_allocator > >, std::shared_ptr >'} declared here class flist_iterator : public std::iterator ^~~~~~~~~~~~~~ In file included from ../../include/tbb/concurrent_unordered_set.h:27, from ../../src/test/test_concurrent_unordered_set.cpp:29: ../../include/tbb/internal/_concurrent_unordered_impl.h: In instantiation of 'void tbb::interface5::internal::concurrent_unordered_base::set_bucket(tbb::interface5::internal::concurrent_unordered_base::size_type, tbb::interface5::internal::concurrent_unordered_base::raw_iterator) [with Traits = tbb::interface5::concurrent_unordered_set_traits, tbb::interface5::internal::hash_compare, tbb::tbb_hash >, Harness::IsEqual>, debug_allocator, std::allocator>, false>; tbb::interface5::internal::concurrent_unordered_base::size_type = long unsigned int; tbb::interface5::internal::concurrent_unordered_base::raw_iterator = tbb::interface5::internal::flist_iterator, debug_allocator, std::allocator> >, std::shared_ptr >]': ../../include/tbb/internal/_concurrent_unordered_impl.h:1207:9: required from 'void tbb::interface5::internal::concurrent_unordered_base::internal_init() [with Traits = tbb::interface5::concurrent_unordered_set_traits, tbb::interface5::internal::hash_compare, tbb::tbb_hash >, Harness::IsEqual>, debug_allocator, std::allocator>, false>]' ../../include/tbb/internal/_concurrent_unordered_impl.h:724:9: required from 'tbb::interface5::internal::concurrent_unordered_base::concurrent_unordered_base(const tbb::interface5::internal::concurrent_unordered_base&) [with Traits = tbb::interface5::concurrent_unordered_set_traits, tbb::interface5::internal::hash_compare, tbb::tbb_hash >, Harness::IsEqual>, debug_allocator, std::allocator>, false>]' ../../include/tbb/concurrent_unordered_set.h:56:7: required from 'void TypeTester(const std::__cxx11::list&) [with bool defCtorPresent = true; Table = tbb::interface5::concurrent_unordered_set, tbb::tbb_hash >, Harness::IsEqual, tbb::tbb_allocator > >; TableDebugAlloc = tbb::interface5::concurrent_unordered_set, tbb::tbb_hash >, Harness::IsEqual, debug_allocator, std::allocator> >; typename Table::value_type = std::shared_ptr]' ../../src/test/test_concurrent_unordered_set.cpp:86:128: required from 'void TestTypesSet(const std::__cxx11::list&) [with bool defCtorPresent = true; value_type = std::shared_ptr]' ../../src/test/test_concurrent_unordered_set.cpp:113:53: required from here ../../include/tbb/internal/_concurrent_unordered_impl.h:1471:24: warning: 'void* memset(void*, int, size_t)' clearing an object of non-trivial type 'tbb::interface5::internal::concurrent_unordered_base, tbb::interface5::internal::hash_compare, tbb::tbb_hash >, Harness::IsEqual>, debug_allocator, std::allocator>, false> >::raw_iterator' {aka 'class tbb::interface5::internal::flist_iterator, debug_allocator, std::allocator> >, std::shared_ptr >'}; use assignment or value-initialization instead [-Wclass-memaccess] std::memset(new_segment, 0, sz*sizeof(raw_iterator)); ~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ In file included from ../../include/tbb/concurrent_unordered_set.h:27, from ../../src/test/test_concurrent_unordered_set.cpp:29: ../../include/tbb/internal/_concurrent_unordered_impl.h:61:7: note: 'tbb::interface5::internal::concurrent_unordered_base, tbb::interface5::internal::hash_compare, tbb::tbb_hash >, Harness::IsEqual>, debug_allocator, std::allocator>, false> >::raw_iterator' {aka 'class tbb::interface5::internal::flist_iterator, debug_allocator, std::allocator> >, std::shared_ptr >'} declared here class flist_iterator : public std::iterator ^~~~~~~~~~~~~~ In file included from ../../include/tbb/concurrent_unordered_set.h:27, from ../../src/test/test_concurrent_unordered_set.cpp:29: ../../include/tbb/internal/_concurrent_unordered_impl.h: In instantiation of 'void tbb::interface5::internal::concurrent_unordered_base::set_bucket(tbb::interface5::internal::concurrent_unordered_base::size_type, tbb::interface5::internal::concurrent_unordered_base::raw_iterator) [with Traits = tbb::interface5::concurrent_unordered_set_traits, tbb::interface5::internal::hash_compare, tbb::tbb_hash >, Harness::IsEqual>, tbb::tbb_allocator >, true>; tbb::interface5::internal::concurrent_unordered_base::size_type = long unsigned int; tbb::interface5::internal::concurrent_unordered_base::raw_iterator = tbb::interface5::internal::flist_iterator, tbb::tbb_allocator > >, std::shared_ptr >]': ../../include/tbb/internal/_concurrent_unordered_impl.h:1207:9: required from 'void tbb::interface5::internal::concurrent_unordered_base::internal_init() [with Traits = tbb::interface5::concurrent_unordered_set_traits, tbb::interface5::internal::hash_compare, tbb::tbb_hash >, Harness::IsEqual>, tbb::tbb_allocator >, true>]' ../../include/tbb/internal/_concurrent_unordered_impl.h:724:9: required from 'tbb::interface5::internal::concurrent_unordered_base::concurrent_unordered_base(const tbb::interface5::internal::concurrent_unordered_base&) [with Traits = tbb::interface5::concurrent_unordered_set_traits, tbb::interface5::internal::hash_compare, tbb::tbb_hash >, Harness::IsEqual>, tbb::tbb_allocator >, true>]' ../../include/tbb/concurrent_unordered_set.h:152:7: required from 'void TypeTester(const std::__cxx11::list&) [with bool defCtorPresent = true; Table = tbb::interface5::concurrent_unordered_multiset, tbb::tbb_hash >, Harness::IsEqual, tbb::tbb_allocator > >; TableDebugAlloc = tbb::interface5::concurrent_unordered_multiset, tbb::tbb_hash >, Harness::IsEqual, debug_allocator, std::allocator> >; typename Table::value_type = std::shared_ptr]' ../../src/test/test_concurrent_unordered_set.cpp:88:133: required from 'void TestTypesSet(const std::__cxx11::list&) [with bool defCtorPresent = true; value_type = std::shared_ptr]' ../../src/test/test_concurrent_unordered_set.cpp:113:53: required from here ../../include/tbb/internal/_concurrent_unordered_impl.h:1471:24: warning: 'void* memset(void*, int, size_t)' clearing an object of non-trivial type 'tbb::interface5::internal::concurrent_unordered_base, tbb::interface5::internal::hash_compare, tbb::tbb_hash >, Harness::IsEqual>, tbb::tbb_allocator >, true> >::raw_iterator' {aka 'class tbb::interface5::internal::flist_iterator, tbb::tbb_allocator > >, std::shared_ptr >'}; use assignment or value-initialization instead [-Wclass-memaccess] std::memset(new_segment, 0, sz*sizeof(raw_iterator)); ~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ In file included from ../../include/tbb/concurrent_unordered_set.h:27, from ../../src/test/test_concurrent_unordered_set.cpp:29: ../../include/tbb/internal/_concurrent_unordered_impl.h:61:7: note: 'tbb::interface5::internal::concurrent_unordered_base, tbb::interface5::internal::hash_compare, tbb::tbb_hash >, Harness::IsEqual>, tbb::tbb_allocator >, true> >::raw_iterator' {aka 'class tbb::interface5::internal::flist_iterator, tbb::tbb_allocator > >, std::shared_ptr >'} declared here class flist_iterator : public std::iterator ^~~~~~~~~~~~~~ In file included from ../../include/tbb/concurrent_unordered_set.h:27, from ../../src/test/test_concurrent_unordered_set.cpp:29: ../../include/tbb/internal/_concurrent_unordered_impl.h: In instantiation of 'void tbb::interface5::internal::concurrent_unordered_base::set_bucket(tbb::interface5::internal::concurrent_unordered_base::size_type, tbb::interface5::internal::concurrent_unordered_base::raw_iterator) [with Traits = tbb::interface5::concurrent_unordered_set_traits, tbb::interface5::internal::hash_compare, tbb::tbb_hash >, Harness::IsEqual>, debug_allocator, std::allocator>, true>; tbb::interface5::internal::concurrent_unordered_base::size_type = long unsigned int; tbb::interface5::internal::concurrent_unordered_base::raw_iterator = tbb::interface5::internal::flist_iterator, debug_allocator, std::allocator> >, std::shared_ptr >]': ../../include/tbb/internal/_concurrent_unordered_impl.h:1207:9: required from 'void tbb::interface5::internal::concurrent_unordered_base::internal_init() [with Traits = tbb::interface5::concurrent_unordered_set_traits, tbb::interface5::internal::hash_compare, tbb::tbb_hash >, Harness::IsEqual>, debug_allocator, std::allocator>, true>]' ../../include/tbb/internal/_concurrent_unordered_impl.h:724:9: required from 'tbb::interface5::internal::concurrent_unordered_base::concurrent_unordered_base(const tbb::interface5::internal::concurrent_unordered_base&) [with Traits = tbb::interface5::concurrent_unordered_set_traits, tbb::interface5::internal::hash_compare, tbb::tbb_hash >, Harness::IsEqual>, debug_allocator, std::allocator>, true>]' ../../include/tbb/concurrent_unordered_set.h:152:7: required from 'void TypeTester(const std::__cxx11::list&) [with bool defCtorPresent = true; Table = tbb::interface5::concurrent_unordered_multiset, tbb::tbb_hash >, Harness::IsEqual, tbb::tbb_allocator > >; TableDebugAlloc = tbb::interface5::concurrent_unordered_multiset, tbb::tbb_hash >, Harness::IsEqual, debug_allocator, std::allocator> >; typename Table::value_type = std::shared_ptr]' ../../src/test/test_concurrent_unordered_set.cpp:88:133: required from 'void TestTypesSet(const std::__cxx11::list&) [with bool defCtorPresent = true; value_type = std::shared_ptr]' ../../src/test/test_concurrent_unordered_set.cpp:113:53: required from here ../../include/tbb/internal/_concurrent_unordered_impl.h:1471:24: warning: 'void* memset(void*, int, size_t)' clearing an object of non-trivial type 'tbb::interface5::internal::concurrent_unordered_base, tbb::interface5::internal::hash_compare, tbb::tbb_hash >, Harness::IsEqual>, debug_allocator, std::allocator>, true> >::raw_iterator' {aka 'class tbb::interface5::internal::flist_iterator, debug_allocator, std::allocator> >, std::shared_ptr >'}; use assignment or value-initialization instead [-Wclass-memaccess] std::memset(new_segment, 0, sz*sizeof(raw_iterator)); ~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ In file included from ../../include/tbb/concurrent_unordered_set.h:27, from ../../src/test/test_concurrent_unordered_set.cpp:29: ../../include/tbb/internal/_concurrent_unordered_impl.h:61:7: note: 'tbb::interface5::internal::concurrent_unordered_base, tbb::interface5::internal::hash_compare, tbb::tbb_hash >, Harness::IsEqual>, debug_allocator, std::allocator>, true> >::raw_iterator' {aka 'class tbb::interface5::internal::flist_iterator, debug_allocator, std::allocator> >, std::shared_ptr >'} declared here class flist_iterator : public std::iterator ^~~~~~~~~~~~~~ In file included from ../../include/tbb/concurrent_unordered_set.h:27, from ../../src/test/test_concurrent_unordered_set.cpp:29: ../../include/tbb/internal/_concurrent_unordered_impl.h: In instantiation of 'void tbb::interface5::internal::concurrent_unordered_base::set_bucket(tbb::interface5::internal::concurrent_unordered_base::size_type, tbb::interface5::internal::concurrent_unordered_base::raw_iterator) [with Traits = tbb::interface5::concurrent_unordered_set_traits, tbb::interface5::internal::hash_compare, tbb::tbb_hash >, Harness::IsEqual>, tbb::tbb_allocator >, false>; tbb::interface5::internal::concurrent_unordered_base::size_type = long unsigned int; tbb::interface5::internal::concurrent_unordered_base::raw_iterator = tbb::interface5::internal::flist_iterator, tbb::tbb_allocator > >, std::weak_ptr >]': ../../include/tbb/internal/_concurrent_unordered_impl.h:1207:9: required from 'void tbb::interface5::internal::concurrent_unordered_base::internal_init() [with Traits = tbb::interface5::concurrent_unordered_set_traits, tbb::interface5::internal::hash_compare, tbb::tbb_hash >, Harness::IsEqual>, tbb::tbb_allocator >, false>]' ../../include/tbb/internal/_concurrent_unordered_impl.h:724:9: required from 'tbb::interface5::internal::concurrent_unordered_base::concurrent_unordered_base(const tbb::interface5::internal::concurrent_unordered_base&) [with Traits = tbb::interface5::concurrent_unordered_set_traits, tbb::interface5::internal::hash_compare, tbb::tbb_hash >, Harness::IsEqual>, tbb::tbb_allocator >, false>]' ../../include/tbb/concurrent_unordered_set.h:56:7: required from 'void TypeTester(const std::__cxx11::list&) [with bool defCtorPresent = true; Table = tbb::interface5::concurrent_unordered_set, tbb::tbb_hash >, Harness::IsEqual, tbb::tbb_allocator > >; TableDebugAlloc = tbb::interface5::concurrent_unordered_set, tbb::tbb_hash >, Harness::IsEqual, debug_allocator, std::allocator> >; typename Table::value_type = std::weak_ptr]' ../../src/test/test_concurrent_unordered_set.cpp:86:128: required from 'void TestTypesSet(const std::__cxx11::list&) [with bool defCtorPresent = true; value_type = std::weak_ptr]' ../../src/test/test_concurrent_unordered_set.cpp:117:52: required from here ../../include/tbb/internal/_concurrent_unordered_impl.h:1471:24: warning: 'void* memset(void*, int, size_t)' clearing an object of non-trivial type 'tbb::interface5::internal::concurrent_unordered_base, tbb::interface5::internal::hash_compare, tbb::tbb_hash >, Harness::IsEqual>, tbb::tbb_allocator >, false> >::raw_iterator' {aka 'class tbb::interface5::internal::flist_iterator, tbb::tbb_allocator > >, std::weak_ptr >'}; use assignment or value-initialization instead [-Wclass-memaccess] std::memset(new_segment, 0, sz*sizeof(raw_iterator)); ~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ In file included from ../../include/tbb/concurrent_unordered_set.h:27, from ../../src/test/test_concurrent_unordered_set.cpp:29: ../../include/tbb/internal/_concurrent_unordered_impl.h:61:7: note: 'tbb::interface5::internal::concurrent_unordered_base, tbb::interface5::internal::hash_compare, tbb::tbb_hash >, Harness::IsEqual>, tbb::tbb_allocator >, false> >::raw_iterator' {aka 'class tbb::interface5::internal::flist_iterator, tbb::tbb_allocator > >, std::weak_ptr >'} declared here class flist_iterator : public std::iterator ^~~~~~~~~~~~~~ In file included from ../../include/tbb/concurrent_unordered_set.h:27, from ../../src/test/test_concurrent_unordered_set.cpp:29: ../../include/tbb/internal/_concurrent_unordered_impl.h: In instantiation of 'void tbb::interface5::internal::concurrent_unordered_base::set_bucket(tbb::interface5::internal::concurrent_unordered_base::size_type, tbb::interface5::internal::concurrent_unordered_base::raw_iterator) [with Traits = tbb::interface5::concurrent_unordered_set_traits, tbb::interface5::internal::hash_compare, tbb::tbb_hash >, Harness::IsEqual>, debug_allocator, std::allocator>, false>; tbb::interface5::internal::concurrent_unordered_base::size_type = long unsigned int; tbb::interface5::internal::concurrent_unordered_base::raw_iterator = tbb::interface5::internal::flist_iterator, debug_allocator, std::allocator> >, std::weak_ptr >]': ../../include/tbb/internal/_concurrent_unordered_impl.h:1207:9: required from 'void tbb::interface5::internal::concurrent_unordered_base::internal_init() [with Traits = tbb::interface5::concurrent_unordered_set_traits, tbb::interface5::internal::hash_compare, tbb::tbb_hash >, Harness::IsEqual>, debug_allocator, std::allocator>, false>]' ../../include/tbb/internal/_concurrent_unordered_impl.h:724:9: required from 'tbb::interface5::internal::concurrent_unordered_base::concurrent_unordered_base(const tbb::interface5::internal::concurrent_unordered_base&) [with Traits = tbb::interface5::concurrent_unordered_set_traits, tbb::interface5::internal::hash_compare, tbb::tbb_hash >, Harness::IsEqual>, debug_allocator, std::allocator>, false>]' ../../include/tbb/concurrent_unordered_set.h:56:7: required from 'void TypeTester(const std::__cxx11::list&) [with bool defCtorPresent = true; Table = tbb::interface5::concurrent_unordered_set, tbb::tbb_hash >, Harness::IsEqual, tbb::tbb_allocator > >; TableDebugAlloc = tbb::interface5::concurrent_unordered_set, tbb::tbb_hash >, Harness::IsEqual, debug_allocator, std::allocator> >; typename Table::value_type = std::weak_ptr]' ../../src/test/test_concurrent_unordered_set.cpp:86:128: required from 'void TestTypesSet(const std::__cxx11::list&) [with bool defCtorPresent = true; value_type = std::weak_ptr]' ../../src/test/test_concurrent_unordered_set.cpp:117:52: required from here ../../include/tbb/internal/_concurrent_unordered_impl.h:1471:24: warning: 'void* memset(void*, int, size_t)' clearing an object of non-trivial type 'tbb::interface5::internal::concurrent_unordered_base, tbb::interface5::internal::hash_compare, tbb::tbb_hash >, Harness::IsEqual>, debug_allocator, std::allocator>, false> >::raw_iterator' {aka 'class tbb::interface5::internal::flist_iterator, debug_allocator, std::allocator> >, std::weak_ptr >'}; use assignment or value-initialization instead [-Wclass-memaccess] std::memset(new_segment, 0, sz*sizeof(raw_iterator)); ~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ In file included from ../../include/tbb/concurrent_unordered_set.h:27, from ../../src/test/test_concurrent_unordered_set.cpp:29: ../../include/tbb/internal/_concurrent_unordered_impl.h:61:7: note: 'tbb::interface5::internal::concurrent_unordered_base, tbb::interface5::internal::hash_compare, tbb::tbb_hash >, Harness::IsEqual>, debug_allocator, std::allocator>, false> >::raw_iterator' {aka 'class tbb::interface5::internal::flist_iterator, debug_allocator, std::allocator> >, std::weak_ptr >'} declared here class flist_iterator : public std::iterator ^~~~~~~~~~~~~~ In file included from ../../include/tbb/concurrent_unordered_set.h:27, from ../../src/test/test_concurrent_unordered_set.cpp:29: ../../include/tbb/internal/_concurrent_unordered_impl.h: In instantiation of 'void tbb::interface5::internal::concurrent_unordered_base::set_bucket(tbb::interface5::internal::concurrent_unordered_base::size_type, tbb::interface5::internal::concurrent_unordered_base::raw_iterator) [with Traits = tbb::interface5::concurrent_unordered_set_traits, tbb::interface5::internal::hash_compare, tbb::tbb_hash >, Harness::IsEqual>, tbb::tbb_allocator >, true>; tbb::interface5::internal::concurrent_unordered_base::size_type = long unsigned int; tbb::interface5::internal::concurrent_unordered_base::raw_iterator = tbb::interface5::internal::flist_iterator, tbb::tbb_allocator > >, std::weak_ptr >]': ../../include/tbb/internal/_concurrent_unordered_impl.h:1207:9: required from 'void tbb::interface5::internal::concurrent_unordered_base::internal_init() [with Traits = tbb::interface5::concurrent_unordered_set_traits, tbb::interface5::internal::hash_compare, tbb::tbb_hash >, Harness::IsEqual>, tbb::tbb_allocator >, true>]' ../../include/tbb/internal/_concurrent_unordered_impl.h:724:9: required from 'tbb::interface5::internal::concurrent_unordered_base::concurrent_unordered_base(const tbb::interface5::internal::concurrent_unordered_base&) [with Traits = tbb::interface5::concurrent_unordered_set_traits, tbb::interface5::internal::hash_compare, tbb::tbb_hash >, Harness::IsEqual>, tbb::tbb_allocator >, true>]' ../../include/tbb/concurrent_unordered_set.h:152:7: required from 'void TypeTester(const std::__cxx11::list&) [with bool defCtorPresent = true; Table = tbb::interface5::concurrent_unordered_multiset, tbb::tbb_hash >, Harness::IsEqual, tbb::tbb_allocator > >; TableDebugAlloc = tbb::interface5::concurrent_unordered_multiset, tbb::tbb_hash >, Harness::IsEqual, debug_allocator, std::allocator> >; typename Table::value_type = std::weak_ptr]' ../../src/test/test_concurrent_unordered_set.cpp:88:133: required from 'void TestTypesSet(const std::__cxx11::list&) [with bool defCtorPresent = true; value_type = std::weak_ptr]' ../../src/test/test_concurrent_unordered_set.cpp:117:52: required from here ../../include/tbb/internal/_concurrent_unordered_impl.h:1471:24: warning: 'void* memset(void*, int, size_t)' clearing an object of non-trivial type 'tbb::interface5::internal::concurrent_unordered_base, tbb::interface5::internal::hash_compare, tbb::tbb_hash >, Harness::IsEqual>, tbb::tbb_allocator >, true> >::raw_iterator' {aka 'class tbb::interface5::internal::flist_iterator, tbb::tbb_allocator > >, std::weak_ptr >'}; use assignment or value-initialization instead [-Wclass-memaccess] std::memset(new_segment, 0, sz*sizeof(raw_iterator)); ~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ In file included from ../../include/tbb/concurrent_unordered_set.h:27, from ../../src/test/test_concurrent_unordered_set.cpp:29: ../../include/tbb/internal/_concurrent_unordered_impl.h:61:7: note: 'tbb::interface5::internal::concurrent_unordered_base, tbb::interface5::internal::hash_compare, tbb::tbb_hash >, Harness::IsEqual>, tbb::tbb_allocator >, true> >::raw_iterator' {aka 'class tbb::interface5::internal::flist_iterator, tbb::tbb_allocator > >, std::weak_ptr >'} declared here class flist_iterator : public std::iterator ^~~~~~~~~~~~~~ In file included from ../../include/tbb/concurrent_unordered_set.h:27, from ../../src/test/test_concurrent_unordered_set.cpp:29: ../../include/tbb/internal/_concurrent_unordered_impl.h: In instantiation of 'void tbb::interface5::internal::concurrent_unordered_base::set_bucket(tbb::interface5::internal::concurrent_unordered_base::size_type, tbb::interface5::internal::concurrent_unordered_base::raw_iterator) [with Traits = tbb::interface5::concurrent_unordered_set_traits, tbb::interface5::internal::hash_compare, tbb::tbb_hash >, Harness::IsEqual>, debug_allocator, std::allocator>, true>; tbb::interface5::internal::concurrent_unordered_base::size_type = long unsigned int; tbb::interface5::internal::concurrent_unordered_base::raw_iterator = tbb::interface5::internal::flist_iterator, debug_allocator, std::allocator> >, std::weak_ptr >]': ../../include/tbb/internal/_concurrent_unordered_impl.h:1207:9: required from 'void tbb::interface5::internal::concurrent_unordered_base::internal_init() [with Traits = tbb::interface5::concurrent_unordered_set_traits, tbb::interface5::internal::hash_compare, tbb::tbb_hash >, Harness::IsEqual>, debug_allocator, std::allocator>, true>]' ../../include/tbb/internal/_concurrent_unordered_impl.h:724:9: required from 'tbb::interface5::internal::concurrent_unordered_base::concurrent_unordered_base(const tbb::interface5::internal::concurrent_unordered_base&) [with Traits = tbb::interface5::concurrent_unordered_set_traits, tbb::interface5::internal::hash_compare, tbb::tbb_hash >, Harness::IsEqual>, debug_allocator, std::allocator>, true>]' ../../include/tbb/concurrent_unordered_set.h:152:7: required from 'void TypeTester(const std::__cxx11::list&) [with bool defCtorPresent = true; Table = tbb::interface5::concurrent_unordered_multiset, tbb::tbb_hash >, Harness::IsEqual, tbb::tbb_allocator > >; TableDebugAlloc = tbb::interface5::concurrent_unordered_multiset, tbb::tbb_hash >, Harness::IsEqual, debug_allocator, std::allocator> >; typename Table::value_type = std::weak_ptr]' ../../src/test/test_concurrent_unordered_set.cpp:88:133: required from 'void TestTypesSet(const std::__cxx11::list&) [with bool defCtorPresent = true; value_type = std::weak_ptr]' ../../src/test/test_concurrent_unordered_set.cpp:117:52: required from here ../../include/tbb/internal/_concurrent_unordered_impl.h:1471:24: warning: 'void* memset(void*, int, size_t)' clearing an object of non-trivial type 'tbb::interface5::internal::concurrent_unordered_base, tbb::interface5::internal::hash_compare, tbb::tbb_hash >, Harness::IsEqual>, debug_allocator, std::allocator>, true> >::raw_iterator' {aka 'class tbb::interface5::internal::flist_iterator, debug_allocator, std::allocator> >, std::weak_ptr >'}; use assignment or value-initialization instead [-Wclass-memaccess] std::memset(new_segment, 0, sz*sizeof(raw_iterator)); ~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ In file included from ../../include/tbb/concurrent_unordered_set.h:27, from ../../src/test/test_concurrent_unordered_set.cpp:29: ../../include/tbb/internal/_concurrent_unordered_impl.h:61:7: note: 'tbb::interface5::internal::concurrent_unordered_base, tbb::interface5::internal::hash_compare, tbb::tbb_hash >, Harness::IsEqual>, debug_allocator, std::allocator>, true> >::raw_iterator' {aka 'class tbb::interface5::internal::flist_iterator, debug_allocator, std::allocator> >, std::weak_ptr >'} declared here class flist_iterator : public std::iterator ^~~~~~~~~~~~~~ In file included from ../../include/tbb/concurrent_unordered_set.h:27, from ../../src/test/test_concurrent_unordered_set.cpp:29: ../../include/tbb/internal/_concurrent_unordered_impl.h: In instantiation of 'void tbb::interface5::internal::concurrent_unordered_base::set_bucket(tbb::interface5::internal::concurrent_unordered_base::size_type, tbb::interface5::internal::concurrent_unordered_base::raw_iterator) [with Traits = tbb::interface5::concurrent_unordered_set_traits, tbb::interface5::internal::hash_compare, tbb::tbb_hash >, std::equal_to > >, tbb::tbb_allocator >, false>; tbb::interface5::internal::concurrent_unordered_base::size_type = long unsigned int; tbb::interface5::internal::concurrent_unordered_base::raw_iterator = tbb::interface5::internal::flist_iterator, tbb::tbb_allocator > >, test::unique_ptr >]': ../../include/tbb/internal/_concurrent_unordered_impl.h:1207:9: required from 'void tbb::interface5::internal::concurrent_unordered_base::internal_init() [with Traits = tbb::interface5::concurrent_unordered_set_traits, tbb::interface5::internal::hash_compare, tbb::tbb_hash >, std::equal_to > >, tbb::tbb_allocator >, false>]' ../../include/tbb/internal/_concurrent_unordered_impl.h:710:9: required from 'tbb::interface5::internal::concurrent_unordered_base::concurrent_unordered_base(tbb::interface5::internal::concurrent_unordered_base::size_type, const hash_compare&, const allocator_type&) [with Traits = tbb::interface5::concurrent_unordered_set_traits, tbb::interface5::internal::hash_compare, tbb::tbb_hash >, std::equal_to > >, tbb::tbb_allocator >, false>; tbb::interface5::internal::concurrent_unordered_base::size_type = long unsigned int; tbb::interface5::internal::concurrent_unordered_base::hash_compare = tbb::interface5::internal::hash_compare, tbb::tbb_hash >, std::equal_to > >; tbb::interface5::internal::concurrent_unordered_base::allocator_type = tbb::tbb_allocator >]' ../../include/tbb/concurrent_unordered_set.h:94:68: required from 'tbb::interface5::concurrent_unordered_set::concurrent_unordered_set(tbb::interface5::concurrent_unordered_set::size_type, const hasher&, const key_equal&, const allocator_type&) [with Key = test::unique_ptr; Hasher = tbb::tbb_hash >; Key_equality = std::equal_to >; Allocator = tbb::tbb_allocator >; tbb::interface5::concurrent_unordered_set::size_type = long unsigned int; tbb::interface5::concurrent_unordered_set::hasher = tbb::tbb_hash >; tbb::interface5::concurrent_unordered_set::key_equal = std::equal_to >; tbb::interface5::concurrent_unordered_set::allocator_type = tbb::tbb_allocator >]' ../../src/test/test_concurrent_unordered_common.h:219:17: required from 'void test_emplace_insert(V, V) [with T = tbb::interface5::concurrent_unordered_set >; do_check_element_state = tbb::internal::bool_constant; V = int*]' ../../src/test/test_concurrent_unordered_set.cpp:122:70: required from here ../../include/tbb/internal/_concurrent_unordered_impl.h:1471:24: warning: 'void* memset(void*, int, size_t)' clearing an object of non-trivial type 'tbb::interface5::internal::concurrent_unordered_base, tbb::interface5::internal::hash_compare, tbb::tbb_hash >, std::equal_to > >, tbb::tbb_allocator >, false> >::raw_iterator' {aka 'class tbb::interface5::internal::flist_iterator, tbb::tbb_allocator > >, test::unique_ptr >'}; use assignment or value-initialization instead [-Wclass-memaccess] std::memset(new_segment, 0, sz*sizeof(raw_iterator)); ~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ In file included from ../../include/tbb/concurrent_unordered_set.h:27, from ../../src/test/test_concurrent_unordered_set.cpp:29: ../../include/tbb/internal/_concurrent_unordered_impl.h:61:7: note: 'tbb::interface5::internal::concurrent_unordered_base, tbb::interface5::internal::hash_compare, tbb::tbb_hash >, std::equal_to > >, tbb::tbb_allocator >, false> >::raw_iterator' {aka 'class tbb::interface5::internal::flist_iterator, tbb::tbb_allocator > >, test::unique_ptr >'} declared here class flist_iterator : public std::iterator ^~~~~~~~~~~~~~ In file included from ../../include/tbb/concurrent_unordered_set.h:27, from ../../src/test/test_concurrent_unordered_set.cpp:29: ../../include/tbb/internal/_concurrent_unordered_impl.h: In instantiation of 'void tbb::interface5::internal::concurrent_unordered_base::set_bucket(tbb::interface5::internal::concurrent_unordered_base::size_type, tbb::interface5::internal::concurrent_unordered_base::raw_iterator) [with Traits = tbb::interface5::concurrent_unordered_set_traits, tbb::interface5::internal::hash_compare, tbb::tbb_hash >, std::equal_to > >, tbb::tbb_allocator >, true>; tbb::interface5::internal::concurrent_unordered_base::size_type = long unsigned int; tbb::interface5::internal::concurrent_unordered_base::raw_iterator = tbb::interface5::internal::flist_iterator, tbb::tbb_allocator > >, test::unique_ptr >]': ../../include/tbb/internal/_concurrent_unordered_impl.h:1207:9: required from 'void tbb::interface5::internal::concurrent_unordered_base::internal_init() [with Traits = tbb::interface5::concurrent_unordered_set_traits, tbb::interface5::internal::hash_compare, tbb::tbb_hash >, std::equal_to > >, tbb::tbb_allocator >, true>]' ../../include/tbb/internal/_concurrent_unordered_impl.h:710:9: required from 'tbb::interface5::internal::concurrent_unordered_base::concurrent_unordered_base(tbb::interface5::internal::concurrent_unordered_base::size_type, const hash_compare&, const allocator_type&) [with Traits = tbb::interface5::concurrent_unordered_set_traits, tbb::interface5::internal::hash_compare, tbb::tbb_hash >, std::equal_to > >, tbb::tbb_allocator >, true>; tbb::interface5::internal::concurrent_unordered_base::size_type = long unsigned int; tbb::interface5::internal::concurrent_unordered_base::hash_compare = tbb::interface5::internal::hash_compare, tbb::tbb_hash >, std::equal_to > >; tbb::interface5::internal::concurrent_unordered_base::allocator_type = tbb::tbb_allocator >]' ../../include/tbb/concurrent_unordered_set.h:193:73: required from 'tbb::interface5::concurrent_unordered_multiset::concurrent_unordered_multiset(tbb::interface5::concurrent_unordered_multiset::size_type, const hasher&, const key_equal&, const allocator_type&) [with Key = test::unique_ptr; Hasher = tbb::tbb_hash >; Key_equality = std::equal_to >; Allocator = tbb::tbb_allocator >; tbb::interface5::concurrent_unordered_multiset::size_type = long unsigned int; tbb::interface5::concurrent_unordered_multiset::hasher = tbb::tbb_hash >; tbb::interface5::concurrent_unordered_multiset::key_equal = std::equal_to >; tbb::interface5::concurrent_unordered_multiset::allocator_type = tbb::tbb_allocator >]' ../../src/test/test_concurrent_unordered_common.h:219:17: required from 'void test_emplace_insert(V, V) [with T = tbb::interface5::concurrent_unordered_multiset >; do_check_element_state = tbb::internal::bool_constant; V = int*]' ../../src/test/test_concurrent_unordered_set.cpp:124:70: required from here ../../include/tbb/internal/_concurrent_unordered_impl.h:1471:24: warning: 'void* memset(void*, int, size_t)' clearing an object of non-trivial type 'tbb::interface5::internal::concurrent_unordered_base, tbb::interface5::internal::hash_compare, tbb::tbb_hash >, std::equal_to > >, tbb::tbb_allocator >, true> >::raw_iterator' {aka 'class tbb::interface5::internal::flist_iterator, tbb::tbb_allocator > >, test::unique_ptr >'}; use assignment or value-initialization instead [-Wclass-memaccess] std::memset(new_segment, 0, sz*sizeof(raw_iterator)); ~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ In file included from ../../include/tbb/concurrent_unordered_set.h:27, from ../../src/test/test_concurrent_unordered_set.cpp:29: ../../include/tbb/internal/_concurrent_unordered_impl.h:61:7: note: 'tbb::interface5::internal::concurrent_unordered_base, tbb::interface5::internal::hash_compare, tbb::tbb_hash >, std::equal_to > >, tbb::tbb_allocator >, true> >::raw_iterator' {aka 'class tbb::interface5::internal::flist_iterator, tbb::tbb_allocator > >, test::unique_ptr >'} declared here class flist_iterator : public std::iterator ^~~~~~~~~~~~~~ In file included from ../../src/test/test_container_move_support.h:26, from ../../src/test/test_concurrent_unordered_common.h:25, from ../../src/test/test_concurrent_unordered_set.cpp:53: ../../src/test/harness_allocator.h: In instantiation of 'debug_allocator::pointer debug_allocator::allocate(debug_allocator::size_type, const void*) [with T = tbb::interface5::internal::flist_iterator, tbb::atomic > >, int>; Allocator = std::allocator; debug_allocator::pointer = tbb::interface5::internal::flist_iterator, tbb::atomic > >, int>*; debug_allocator::size_type = long unsigned int]': ../../src/test/harness_allocator.h:474:43: required from 'local_counting_allocator::pointer local_counting_allocator::allocate(local_counting_allocator::size_type) [with base_alloc_t = debug_allocator, tbb::atomic > >, int>, std::allocator>; count_t = tbb::atomic; local_counting_allocator::pointer = tbb::interface5::internal::flist_iterator, tbb::atomic > >, int>*; local_counting_allocator::size_type = long unsigned int]' ../../include/tbb/internal/_concurrent_unordered_impl.h:1470:28: required from 'void tbb::interface5::internal::concurrent_unordered_base::set_bucket(tbb::interface5::internal::concurrent_unordered_base::size_type, tbb::interface5::internal::concurrent_unordered_base::raw_iterator) [with Traits = tbb::interface5::concurrent_unordered_set_traits, std::equal_to >, local_counting_allocator, std::allocator> >, false>; tbb::interface5::internal::concurrent_unordered_base::size_type = long unsigned int; tbb::interface5::internal::concurrent_unordered_base::raw_iterator = tbb::interface5::internal::flist_iterator, tbb::atomic > >, int>]' ../../include/tbb/internal/_concurrent_unordered_impl.h:1056:9: required from 'void tbb::interface5::internal::concurrent_unordered_base::clear() [with Traits = tbb::interface5::concurrent_unordered_set_traits, std::equal_to >, local_counting_allocator, std::allocator> >, false>]' ../../src/test/test_concurrent_unordered_common.h:657:5: required from 'void test_concurrent(const char*, bool) [with T = tbb::interface5::concurrent_unordered_set, std::equal_to, local_counting_allocator, std::allocator> > >]' ../../src/test/test_concurrent_unordered_set.cpp:165:54: required from here ../../src/test/harness_allocator.h:518:20: warning: 'void* memset(void*, int, size_t)' writing to an object of non-trivial type 'class tbb::interface5::internal::flist_iterator, tbb::atomic > >, int>'; use assignment instead [-Wclass-memaccess] std::memset( ptr, 0xE3E3E3E3, n * sizeof(value_type) ); ~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ In file included from ../../include/tbb/concurrent_unordered_set.h:27, from ../../src/test/test_concurrent_unordered_set.cpp:29: ../../include/tbb/internal/_concurrent_unordered_impl.h:61:7: note: 'class tbb::interface5::internal::flist_iterator, tbb::atomic > >, int>' declared here class flist_iterator : public std::iterator ^~~~~~~~~~~~~~ In file included from ../../src/test/test_container_move_support.h:26, from ../../src/test/test_concurrent_unordered_common.h:25, from ../../src/test/test_concurrent_unordered_set.cpp:53: ../../src/test/harness_allocator.h: In instantiation of 'debug_allocator::pointer debug_allocator::allocate(debug_allocator::size_type, const void*) [with T = tbb::interface5::internal::flist_iterator, local_counting_allocator, std::allocator>, tbb::atomic > >, check_type >; Allocator = std::allocator; debug_allocator::pointer = tbb::interface5::internal::flist_iterator, local_counting_allocator, std::allocator>, tbb::atomic > >, check_type >*; debug_allocator::size_type = long unsigned int]': ../../src/test/harness_allocator.h:474:43: required from 'local_counting_allocator::pointer local_counting_allocator::allocate(local_counting_allocator::size_type) [with base_alloc_t = debug_allocator, local_counting_allocator, std::allocator>, tbb::atomic > >, check_type >, std::allocator>; count_t = tbb::atomic; local_counting_allocator::pointer = tbb::interface5::internal::flist_iterator, local_counting_allocator, std::allocator>, tbb::atomic > >, check_type >*; local_counting_allocator::size_type = long unsigned int]' ../../include/tbb/internal/_concurrent_unordered_impl.h:1470:28: required from 'void tbb::interface5::internal::concurrent_unordered_base::set_bucket(tbb::interface5::internal::concurrent_unordered_base::size_type, tbb::interface5::internal::concurrent_unordered_base::raw_iterator) [with Traits = tbb::interface5::concurrent_unordered_set_traits, tbb::interface5::internal::hash_compare, tbb::tbb_hash >, std::equal_to > >, local_counting_allocator, std::allocator> >, false>; tbb::interface5::internal::concurrent_unordered_base::size_type = long unsigned int; tbb::interface5::internal::concurrent_unordered_base::raw_iterator = tbb::interface5::internal::flist_iterator, local_counting_allocator, std::allocator>, tbb::atomic > >, check_type >]' ../../include/tbb/internal/_concurrent_unordered_impl.h:1056:9: required from 'void tbb::interface5::internal::concurrent_unordered_base::clear() [with Traits = tbb::interface5::concurrent_unordered_set_traits, tbb::interface5::internal::hash_compare, tbb::tbb_hash >, std::equal_to > >, local_counting_allocator, std::allocator> >, false>]' ../../src/test/test_concurrent_unordered_common.h:657:5: required from 'void test_concurrent(const char*, bool) [with T = tbb::interface5::concurrent_unordered_set, tbb::tbb_hash >, std::equal_to >, local_counting_allocator, std::allocator> > >]' ../../src/test/test_concurrent_unordered_set.cpp:174:116: required from here ../../src/test/harness_allocator.h:518:20: warning: 'void* memset(void*, int, size_t)' writing to an object of non-trivial type 'class tbb::interface5::internal::flist_iterator, local_counting_allocator, std::allocator>, tbb::atomic > >, check_type >'; use assignment instead [-Wclass-memaccess] std::memset( ptr, 0xE3E3E3E3, n * sizeof(value_type) ); ~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ In file included from ../../include/tbb/concurrent_unordered_set.h:27, from ../../src/test/test_concurrent_unordered_set.cpp:29: ../../include/tbb/internal/_concurrent_unordered_impl.h:61:7: note: 'class tbb::interface5::internal::flist_iterator, local_counting_allocator, std::allocator>, tbb::atomic > >, check_type >' declared here class flist_iterator : public std::iterator ^~~~~~~~~~~~~~ In file included from ../../src/test/test_container_move_support.h:26, from ../../src/test/test_concurrent_unordered_common.h:25, from ../../src/test/test_concurrent_unordered_set.cpp:53: ../../src/test/harness_allocator.h: In instantiation of 'debug_allocator::pointer debug_allocator::allocate(debug_allocator::size_type, const void*) [with T = tbb::interface5::internal::flist_iterator, tbb::atomic > >, FooWithAssign>; Allocator = std::allocator; debug_allocator::pointer = tbb::interface5::internal::flist_iterator, tbb::atomic > >, FooWithAssign>*; debug_allocator::size_type = long unsigned int]': ../../src/test/harness_allocator.h:474:43: required from 'local_counting_allocator::pointer local_counting_allocator::allocate(local_counting_allocator::size_type) [with base_alloc_t = debug_allocator, tbb::atomic > >, FooWithAssign>, std::allocator>; count_t = tbb::atomic; local_counting_allocator::pointer = tbb::interface5::internal::flist_iterator, tbb::atomic > >, FooWithAssign>*; local_counting_allocator::size_type = long unsigned int]' ../../include/tbb/internal/_concurrent_unordered_impl.h:1470:28: required from 'void tbb::interface5::internal::concurrent_unordered_base::set_bucket(tbb::interface5::internal::concurrent_unordered_base::size_type, tbb::interface5::internal::concurrent_unordered_base::raw_iterator) [with Traits = tbb::interface5::concurrent_unordered_set_traits, std::equal_to >, local_counting_allocator, std::allocator> >, false>; tbb::interface5::internal::concurrent_unordered_base::size_type = long unsigned int; tbb::interface5::internal::concurrent_unordered_base::raw_iterator = tbb::interface5::internal::flist_iterator, tbb::atomic > >, FooWithAssign>]' ../../include/tbb/internal/_concurrent_unordered_impl.h:1056:9: required from 'void tbb::interface5::internal::concurrent_unordered_base::clear() [with Traits = tbb::interface5::concurrent_unordered_set_traits, std::equal_to >, local_counting_allocator, std::allocator> >, false>]' ../../src/test/test_concurrent_unordered_common.h:347:5: required from 'void test_basic(const char*, do_check_element_state) [with T = tbb::interface5::concurrent_unordered_set, std::equal_to, local_counting_allocator, std::allocator> > >; do_check_element_state = tbb::internal::bool_constant]' ../../src/test/test_concurrent_unordered_set.cpp:175:113: required from here ../../src/test/harness_allocator.h:518:20: warning: 'void* memset(void*, int, size_t)' writing to an object of non-trivial type 'class tbb::interface5::internal::flist_iterator, tbb::atomic > >, FooWithAssign>'; use assignment instead [-Wclass-memaccess] std::memset( ptr, 0xE3E3E3E3, n * sizeof(value_type) ); ~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ In file included from ../../include/tbb/concurrent_unordered_set.h:27, from ../../src/test/test_concurrent_unordered_set.cpp:29: ../../include/tbb/internal/_concurrent_unordered_impl.h:61:7: note: 'class tbb::interface5::internal::flist_iterator, tbb::atomic > >, FooWithAssign>' declared here class flist_iterator : public std::iterator ^~~~~~~~~~~~~~ In file included from ../../include/tbb/concurrent_unordered_set.h:27, from ../../src/test/test_concurrent_unordered_set.cpp:29: ../../include/tbb/internal/_concurrent_unordered_impl.h: In instantiation of 'void tbb::interface5::internal::concurrent_unordered_base::set_bucket(tbb::interface5::internal::concurrent_unordered_base::size_type, tbb::interface5::internal::concurrent_unordered_base::raw_iterator) [with Traits = tbb::interface5::concurrent_unordered_set_traits, std::equal_to >, static_shared_counting_allocator, arena, long unsigned int>, long unsigned int>, false>; tbb::interface5::internal::concurrent_unordered_base::size_type = long unsigned int; tbb::interface5::internal::concurrent_unordered_base::raw_iterator = tbb::interface5::internal::flist_iterator, arena, long unsigned int>, long unsigned int> >, FooWithAssign>]': ../../include/tbb/internal/_concurrent_unordered_impl.h:760:25: required from 'tbb::interface5::internal::concurrent_unordered_base::concurrent_unordered_base(tbb::interface5::internal::concurrent_unordered_base&&, const allocator_type&) [with Traits = tbb::interface5::concurrent_unordered_set_traits, std::equal_to >, static_shared_counting_allocator, arena, long unsigned int>, long unsigned int>, false>; tbb::interface5::internal::concurrent_unordered_base::allocator_type = static_shared_counting_allocator, arena, long unsigned int>, long unsigned int>]' ../../include/tbb/concurrent_unordered_set.h:140:40: required from 'tbb::interface5::concurrent_unordered_set::concurrent_unordered_set(tbb::interface5::concurrent_unordered_set&&, const Allocator&) [with Key = FooWithAssign; Hasher = tbb::tbb_hash; Key_equality = std::equal_to; Allocator = static_shared_counting_allocator, arena, long unsigned int>, long unsigned int>]' ../../src/test/test_container_move_support.h:836:5: required from 'void TestExceptionSafetyGuaranteesMoveConstructorWithUnEqualAllocatorMemoryFailure() [with container_traits = cu_set_type]' ../../src/test/test_concurrent_unordered_common.h:816:100: required from 'void test_rvalue_ref_support(const char*) [with container_traits = cu_set_type]' ../../src/test/test_concurrent_unordered_set.cpp:194:70: required from here ../../include/tbb/internal/_concurrent_unordered_impl.h:1471:24: warning: 'void* memset(void*, int, size_t)' clearing an object of non-trivial type 'tbb::interface5::internal::concurrent_unordered_base, std::equal_to >, static_shared_counting_allocator, arena, long unsigned int>, long unsigned int>, false> >::raw_iterator' {aka 'class tbb::interface5::internal::flist_iterator, arena, long unsigned int>, long unsigned int> >, FooWithAssign>'}; use assignment or value-initialization instead [-Wclass-memaccess] std::memset(new_segment, 0, sz*sizeof(raw_iterator)); ~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ In file included from ../../include/tbb/concurrent_unordered_set.h:27, from ../../src/test/test_concurrent_unordered_set.cpp:29: ../../include/tbb/internal/_concurrent_unordered_impl.h:61:7: note: 'tbb::interface5::internal::concurrent_unordered_base, std::equal_to >, static_shared_counting_allocator, arena, long unsigned int>, long unsigned int>, false> >::raw_iterator' {aka 'class tbb::interface5::internal::flist_iterator, arena, long unsigned int>, long unsigned int> >, FooWithAssign>'} declared here class flist_iterator : public std::iterator ^~~~~~~~~~~~~~ In file included from ../../include/tbb/concurrent_unordered_set.h:27, from ../../src/test/test_concurrent_unordered_set.cpp:29: ../../include/tbb/internal/_concurrent_unordered_impl.h: In instantiation of 'void tbb::interface5::internal::concurrent_unordered_base::set_bucket(tbb::interface5::internal::concurrent_unordered_base::size_type, tbb::interface5::internal::concurrent_unordered_base::raw_iterator) [with Traits = tbb::interface5::concurrent_unordered_set_traits, std::equal_to >, static_shared_counting_allocator, arena, long unsigned int>, long unsigned int>, true>; tbb::interface5::internal::concurrent_unordered_base::size_type = long unsigned int; tbb::interface5::internal::concurrent_unordered_base::raw_iterator = tbb::interface5::internal::flist_iterator, arena, long unsigned int>, long unsigned int> >, FooWithAssign>]': ../../include/tbb/internal/_concurrent_unordered_impl.h:760:25: required from 'tbb::interface5::internal::concurrent_unordered_base::concurrent_unordered_base(tbb::interface5::internal::concurrent_unordered_base&&, const allocator_type&) [with Traits = tbb::interface5::concurrent_unordered_set_traits, std::equal_to >, static_shared_counting_allocator, arena, long unsigned int>, long unsigned int>, true>; tbb::interface5::internal::concurrent_unordered_base::allocator_type = static_shared_counting_allocator, arena, long unsigned int>, long unsigned int>]' ../../include/tbb/concurrent_unordered_set.h:240:40: required from 'tbb::interface5::concurrent_unordered_multiset::concurrent_unordered_multiset(tbb::interface5::concurrent_unordered_multiset&&, const Allocator&) [with Key = FooWithAssign; Hasher = tbb::tbb_hash; Key_equality = std::equal_to; Allocator = static_shared_counting_allocator, arena, long unsigned int>, long unsigned int>]' ../../src/test/test_container_move_support.h:836:5: required from 'void TestExceptionSafetyGuaranteesMoveConstructorWithUnEqualAllocatorMemoryFailure() [with container_traits = cu_multiset_type]' ../../src/test/test_concurrent_unordered_common.h:816:100: required from 'void test_rvalue_ref_support(const char*) [with container_traits = cu_multiset_type]' ../../src/test/test_concurrent_unordered_set.cpp:195:80: required from here ../../include/tbb/internal/_concurrent_unordered_impl.h:1471:24: warning: 'void* memset(void*, int, size_t)' clearing an object of non-trivial type 'tbb::interface5::internal::concurrent_unordered_base, std::equal_to >, static_shared_counting_allocator, arena, long unsigned int>, long unsigned int>, true> >::raw_iterator' {aka 'class tbb::interface5::internal::flist_iterator, arena, long unsigned int>, long unsigned int> >, FooWithAssign>'}; use assignment or value-initialization instead [-Wclass-memaccess] std::memset(new_segment, 0, sz*sizeof(raw_iterator)); ~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ In file included from ../../include/tbb/concurrent_unordered_set.h:27, from ../../src/test/test_concurrent_unordered_set.cpp:29: ../../include/tbb/internal/_concurrent_unordered_impl.h:61:7: note: 'tbb::interface5::internal::concurrent_unordered_base, std::equal_to >, static_shared_counting_allocator, arena, long unsigned int>, long unsigned int>, true> >::raw_iterator' {aka 'class tbb::interface5::internal::flist_iterator, arena, long unsigned int>, long unsigned int> >, FooWithAssign>'} declared here class flist_iterator : public std::iterator ^~~~~~~~~~~~~~ In file included from ../../src/test/test_container_move_support.h:26, from ../../src/test/test_concurrent_unordered_common.h:25, from ../../src/test/test_concurrent_unordered_set.cpp:53: ../../src/test/harness_allocator.h: In instantiation of 'debug_allocator::pointer debug_allocator::allocate(debug_allocator::size_type, const void*) [with T = tbb::interface5::internal::split_ordered_list >::node; Allocator = std::allocator; debug_allocator::pointer = tbb::interface5::internal::split_ordered_list >::node*; debug_allocator::size_type = long unsigned int]': ../../include/tbb/internal/_concurrent_unordered_impl.h:255:19: required from 'tbb::interface5::internal::split_ordered_list::node* tbb::interface5::internal::split_ordered_list::create_node(tbb::interface5::internal::sokey_t) [with T = int; Allocator = debug_allocator; tbb::interface5::internal::split_ordered_list::nodeptr_t = tbb::interface5::internal::split_ordered_list >::node*; tbb::interface5::internal::sokey_t = long unsigned int]' ../../include/tbb/internal/_concurrent_unordered_impl.h:307:17: required from 'tbb::interface5::internal::split_ordered_list::split_ordered_list(tbb::interface5::internal::split_ordered_list::allocator_type) [with T = int; Allocator = debug_allocator; tbb::interface5::internal::split_ordered_list::allocator_type = debug_allocator]' ../../include/tbb/internal/_concurrent_unordered_impl.h:721:110: required from 'tbb::interface5::internal::concurrent_unordered_base::concurrent_unordered_base(const tbb::interface5::internal::concurrent_unordered_base&) [with Traits = tbb::interface5::concurrent_unordered_set_traits, Harness::IsEqual>, debug_allocator, false>]' ../../include/tbb/concurrent_unordered_set.h:56:7: required from 'void TypeTester(const std::__cxx11::list&) [with bool defCtorPresent = true; Table = tbb::interface5::concurrent_unordered_set, Harness::IsEqual, tbb::tbb_allocator >; TableDebugAlloc = tbb::interface5::concurrent_unordered_set, Harness::IsEqual, debug_allocator >; typename Table::value_type = int]' ../../src/test/test_concurrent_unordered_set.cpp:86:128: required from 'void TestTypesSet(const std::__cxx11::list&) [with bool defCtorPresent = true; value_type = int]' ../../src/test/test_concurrent_unordered_set.cpp:96:53: required from here ../../src/test/harness_allocator.h:518:20: warning: 'void* memset(void*, int, size_t)' writing to an object of type 'struct tbb::interface5::internal::split_ordered_list >::node' with no trivial copy-assignment [-Wclass-memaccess] std::memset( ptr, 0xE3E3E3E3, n * sizeof(value_type) ); ~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ In file included from ../../include/tbb/concurrent_unordered_set.h:27, from ../../src/test/test_concurrent_unordered_set.cpp:29: ../../include/tbb/internal/_concurrent_unordered_impl.h:206:12: note: 'struct tbb::interface5::internal::split_ordered_list >::node' declared here struct node : tbb::internal::no_assign ^~~~ In file included from ../../src/test/test_container_move_support.h:26, from ../../src/test/test_concurrent_unordered_common.h:25, from ../../src/test/test_concurrent_unordered_set.cpp:53: ../../src/test/harness_allocator.h: In instantiation of 'debug_allocator::pointer debug_allocator::allocate(debug_allocator::size_type, const void*) [with T = tbb::interface5::internal::flist_iterator >, int>; Allocator = std::allocator; debug_allocator::pointer = tbb::interface5::internal::flist_iterator >, int>*; debug_allocator::size_type = long unsigned int]': ../../include/tbb/internal/_concurrent_unordered_impl.h:1470:28: required from 'void tbb::interface5::internal::concurrent_unordered_base::set_bucket(tbb::interface5::internal::concurrent_unordered_base::size_type, tbb::interface5::internal::concurrent_unordered_base::raw_iterator) [with Traits = tbb::interface5::concurrent_unordered_set_traits, Harness::IsEqual>, debug_allocator, false>; tbb::interface5::internal::concurrent_unordered_base::size_type = long unsigned int; tbb::interface5::internal::concurrent_unordered_base::raw_iterator = tbb::interface5::internal::flist_iterator >, int>]' ../../include/tbb/internal/_concurrent_unordered_impl.h:1207:9: required from 'void tbb::interface5::internal::concurrent_unordered_base::internal_init() [with Traits = tbb::interface5::concurrent_unordered_set_traits, Harness::IsEqual>, debug_allocator, false>]' ../../include/tbb/internal/_concurrent_unordered_impl.h:724:9: required from 'tbb::interface5::internal::concurrent_unordered_base::concurrent_unordered_base(const tbb::interface5::internal::concurrent_unordered_base&) [with Traits = tbb::interface5::concurrent_unordered_set_traits, Harness::IsEqual>, debug_allocator, false>]' ../../include/tbb/concurrent_unordered_set.h:56:7: required from 'void TypeTester(const std::__cxx11::list&) [with bool defCtorPresent = true; Table = tbb::interface5::concurrent_unordered_set, Harness::IsEqual, tbb::tbb_allocator >; TableDebugAlloc = tbb::interface5::concurrent_unordered_set, Harness::IsEqual, debug_allocator >; typename Table::value_type = int]' ../../src/test/test_concurrent_unordered_set.cpp:86:128: required from 'void TestTypesSet(const std::__cxx11::list&) [with bool defCtorPresent = true; value_type = int]' ../../src/test/test_concurrent_unordered_set.cpp:96:53: required from here ../../src/test/harness_allocator.h:518:20: warning: 'void* memset(void*, int, size_t)' writing to an object of non-trivial type 'class tbb::interface5::internal::flist_iterator >, int>'; use assignment instead [-Wclass-memaccess] std::memset( ptr, 0xE3E3E3E3, n * sizeof(value_type) ); ~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ In file included from ../../include/tbb/concurrent_unordered_set.h:27, from ../../src/test/test_concurrent_unordered_set.cpp:29: ../../include/tbb/internal/_concurrent_unordered_impl.h:61:7: note: 'class tbb::interface5::internal::flist_iterator >, int>' declared here class flist_iterator : public std::iterator ^~~~~~~~~~~~~~ In file included from ../../src/test/test_container_move_support.h:26, from ../../src/test/test_concurrent_unordered_common.h:25, from ../../src/test/test_concurrent_unordered_set.cpp:53: ../../src/test/harness_allocator.h: In instantiation of 'debug_allocator::pointer debug_allocator::allocate(debug_allocator::size_type, const void*) [with T = tbb::interface5::internal::split_ordered_list, debug_allocator, std::allocator> >::node; Allocator = std::allocator; debug_allocator::pointer = tbb::interface5::internal::split_ordered_list, debug_allocator, std::allocator> >::node*; debug_allocator::size_type = long unsigned int]': ../../include/tbb/internal/_concurrent_unordered_impl.h:255:19: required from 'tbb::interface5::internal::split_ordered_list::node* tbb::interface5::internal::split_ordered_list::create_node(tbb::interface5::internal::sokey_t) [with T = tbb::atomic; Allocator = debug_allocator, std::allocator>; tbb::interface5::internal::split_ordered_list::nodeptr_t = tbb::interface5::internal::split_ordered_list, debug_allocator, std::allocator> >::node*; tbb::interface5::internal::sokey_t = long unsigned int]' ../../include/tbb/internal/_concurrent_unordered_impl.h:307:17: required from 'tbb::interface5::internal::split_ordered_list::split_ordered_list(tbb::interface5::internal::split_ordered_list::allocator_type) [with T = tbb::atomic; Allocator = debug_allocator, std::allocator>; tbb::interface5::internal::split_ordered_list::allocator_type = debug_allocator, std::allocator>]' ../../include/tbb/internal/_concurrent_unordered_impl.h:721:110: required from 'tbb::interface5::internal::concurrent_unordered_base::concurrent_unordered_base(const tbb::interface5::internal::concurrent_unordered_base&) [with Traits = tbb::interface5::concurrent_unordered_set_traits, tbb::interface5::internal::hash_compare, tbb::tbb_hash >, Harness::IsEqual>, debug_allocator, std::allocator>, false>]' ../../include/tbb/concurrent_unordered_set.h:56:7: required from 'void TypeTester(const std::__cxx11::list&) [with bool defCtorPresent = true; Table = tbb::interface5::concurrent_unordered_set, tbb::tbb_hash >, Harness::IsEqual, tbb::tbb_allocator > >; TableDebugAlloc = tbb::interface5::concurrent_unordered_set, tbb::tbb_hash >, Harness::IsEqual, debug_allocator, std::allocator> >; typename Table::value_type = tbb::atomic]' ../../src/test/test_concurrent_unordered_set.cpp:86:128: required from 'void TestTypesSet(const std::__cxx11::list&) [with bool defCtorPresent = true; value_type = tbb::atomic]' ../../src/test/test_concurrent_unordered_set.cpp:101:53: required from here ../../src/test/harness_allocator.h:518:20: warning: 'void* memset(void*, int, size_t)' writing to an object of type 'struct tbb::interface5::internal::split_ordered_list, debug_allocator, std::allocator> >::node' with no trivial copy-assignment [-Wclass-memaccess] std::memset( ptr, 0xE3E3E3E3, n * sizeof(value_type) ); ~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ In file included from ../../include/tbb/concurrent_unordered_set.h:27, from ../../src/test/test_concurrent_unordered_set.cpp:29: ../../include/tbb/internal/_concurrent_unordered_impl.h:206:12: note: 'struct tbb::interface5::internal::split_ordered_list, debug_allocator, std::allocator> >::node' declared here struct node : tbb::internal::no_assign ^~~~ In file included from ../../src/test/test_container_move_support.h:26, from ../../src/test/test_concurrent_unordered_common.h:25, from ../../src/test/test_concurrent_unordered_set.cpp:53: ../../src/test/harness_allocator.h: In instantiation of 'debug_allocator::pointer debug_allocator::allocate(debug_allocator::size_type, const void*) [with T = tbb::interface5::internal::flist_iterator, debug_allocator, std::allocator> >, tbb::atomic >; Allocator = std::allocator; debug_allocator::pointer = tbb::interface5::internal::flist_iterator, debug_allocator, std::allocator> >, tbb::atomic >*; debug_allocator::size_type = long unsigned int]': ../../include/tbb/internal/_concurrent_unordered_impl.h:1470:28: required from 'void tbb::interface5::internal::concurrent_unordered_base::set_bucket(tbb::interface5::internal::concurrent_unordered_base::size_type, tbb::interface5::internal::concurrent_unordered_base::raw_iterator) [with Traits = tbb::interface5::concurrent_unordered_set_traits, tbb::interface5::internal::hash_compare, tbb::tbb_hash >, Harness::IsEqual>, debug_allocator, std::allocator>, false>; tbb::interface5::internal::concurrent_unordered_base::size_type = long unsigned int; tbb::interface5::internal::concurrent_unordered_base::raw_iterator = tbb::interface5::internal::flist_iterator, debug_allocator, std::allocator> >, tbb::atomic >]' ../../include/tbb/internal/_concurrent_unordered_impl.h:1207:9: required from 'void tbb::interface5::internal::concurrent_unordered_base::internal_init() [with Traits = tbb::interface5::concurrent_unordered_set_traits, tbb::interface5::internal::hash_compare, tbb::tbb_hash >, Harness::IsEqual>, debug_allocator, std::allocator>, false>]' ../../include/tbb/internal/_concurrent_unordered_impl.h:724:9: required from 'tbb::interface5::internal::concurrent_unordered_base::concurrent_unordered_base(const tbb::interface5::internal::concurrent_unordered_base&) [with Traits = tbb::interface5::concurrent_unordered_set_traits, tbb::interface5::internal::hash_compare, tbb::tbb_hash >, Harness::IsEqual>, debug_allocator, std::allocator>, false>]' ../../include/tbb/concurrent_unordered_set.h:56:7: required from 'void TypeTester(const std::__cxx11::list&) [with bool defCtorPresent = true; Table = tbb::interface5::concurrent_unordered_set, tbb::tbb_hash >, Harness::IsEqual, tbb::tbb_allocator > >; TableDebugAlloc = tbb::interface5::concurrent_unordered_set, tbb::tbb_hash >, Harness::IsEqual, debug_allocator, std::allocator> >; typename Table::value_type = tbb::atomic]' ../../src/test/test_concurrent_unordered_set.cpp:86:128: required from 'void TestTypesSet(const std::__cxx11::list&) [with bool defCtorPresent = true; value_type = tbb::atomic]' ../../src/test/test_concurrent_unordered_set.cpp:101:53: required from here ../../src/test/harness_allocator.h:518:20: warning: 'void* memset(void*, int, size_t)' writing to an object of non-trivial type 'class tbb::interface5::internal::flist_iterator, debug_allocator, std::allocator> >, tbb::atomic >'; use assignment instead [-Wclass-memaccess] std::memset( ptr, 0xE3E3E3E3, n * sizeof(value_type) ); ~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ In file included from ../../include/tbb/concurrent_unordered_set.h:27, from ../../src/test/test_concurrent_unordered_set.cpp:29: ../../include/tbb/internal/_concurrent_unordered_impl.h:61:7: note: 'class tbb::interface5::internal::flist_iterator, debug_allocator, std::allocator> >, tbb::atomic >' declared here class flist_iterator : public std::iterator ^~~~~~~~~~~~~~ In file included from ../../src/test/test_container_move_support.h:26, from ../../src/test/test_concurrent_unordered_common.h:25, from ../../src/test/test_concurrent_unordered_set.cpp:53: ../../src/test/harness_allocator.h: In instantiation of 'debug_allocator::pointer debug_allocator::allocate(debug_allocator::size_type, const void*) [with T = tbb::interface5::internal::split_ordered_list, debug_allocator, std::allocator> >::node; Allocator = std::allocator; debug_allocator::pointer = tbb::interface5::internal::split_ordered_list, debug_allocator, std::allocator> >::node*; debug_allocator::size_type = long unsigned int]': ../../include/tbb/internal/_concurrent_unordered_impl.h:255:19: required from 'tbb::interface5::internal::split_ordered_list::node* tbb::interface5::internal::split_ordered_list::create_node(tbb::interface5::internal::sokey_t) [with T = std::reference_wrapper; Allocator = debug_allocator, std::allocator>; tbb::interface5::internal::split_ordered_list::nodeptr_t = tbb::interface5::internal::split_ordered_list, debug_allocator, std::allocator> >::node*; tbb::interface5::internal::sokey_t = long unsigned int]' ../../include/tbb/internal/_concurrent_unordered_impl.h:307:17: required from 'tbb::interface5::internal::split_ordered_list::split_ordered_list(tbb::interface5::internal::split_ordered_list::allocator_type) [with T = std::reference_wrapper; Allocator = debug_allocator, std::allocator>; tbb::interface5::internal::split_ordered_list::allocator_type = debug_allocator, std::allocator>]' ../../include/tbb/internal/_concurrent_unordered_impl.h:721:110: required from 'tbb::interface5::internal::concurrent_unordered_base::concurrent_unordered_base(const tbb::interface5::internal::concurrent_unordered_base&) [with Traits = tbb::interface5::concurrent_unordered_set_traits, tbb::interface5::internal::hash_compare, tbb::tbb_hash >, Harness::IsEqual>, debug_allocator, std::allocator>, false>]' ../../include/tbb/concurrent_unordered_set.h:56:7: required from 'void TypeTester(const std::__cxx11::list&) [with bool defCtorPresent = false; Table = tbb::interface5::concurrent_unordered_set, tbb::tbb_hash >, Harness::IsEqual, tbb::tbb_allocator > >; TableDebugAlloc = tbb::interface5::concurrent_unordered_set, tbb::tbb_hash >, Harness::IsEqual, debug_allocator, std::allocator> >; typename Table::value_type = std::reference_wrapper]' ../../src/test/test_concurrent_unordered_set.cpp:86:128: required from 'void TestTypesSet(const std::__cxx11::list&) [with bool defCtorPresent = false; value_type = std::reference_wrapper]' ../../src/test/test_concurrent_unordered_set.cpp:107:54: required from here ../../src/test/harness_allocator.h:518:20: warning: 'void* memset(void*, int, size_t)' writing to an object of type 'struct tbb::interface5::internal::split_ordered_list, debug_allocator, std::allocator> >::node' with no trivial copy-assignment [-Wclass-memaccess] std::memset( ptr, 0xE3E3E3E3, n * sizeof(value_type) ); ~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ In file included from ../../include/tbb/concurrent_unordered_set.h:27, from ../../src/test/test_concurrent_unordered_set.cpp:29: ../../include/tbb/internal/_concurrent_unordered_impl.h:206:12: note: 'struct tbb::interface5::internal::split_ordered_list, debug_allocator, std::allocator> >::node' declared here struct node : tbb::internal::no_assign ^~~~ In file included from ../../src/test/test_container_move_support.h:26, from ../../src/test/test_concurrent_unordered_common.h:25, from ../../src/test/test_concurrent_unordered_set.cpp:53: ../../src/test/harness_allocator.h: In instantiation of 'debug_allocator::pointer debug_allocator::allocate(debug_allocator::size_type, const void*) [with T = tbb::interface5::internal::flist_iterator, debug_allocator, std::allocator> >, std::reference_wrapper >; Allocator = std::allocator; debug_allocator::pointer = tbb::interface5::internal::flist_iterator, debug_allocator, std::allocator> >, std::reference_wrapper >*; debug_allocator::size_type = long unsigned int]': ../../include/tbb/internal/_concurrent_unordered_impl.h:1470:28: required from 'void tbb::interface5::internal::concurrent_unordered_base::set_bucket(tbb::interface5::internal::concurrent_unordered_base::size_type, tbb::interface5::internal::concurrent_unordered_base::raw_iterator) [with Traits = tbb::interface5::concurrent_unordered_set_traits, tbb::interface5::internal::hash_compare, tbb::tbb_hash >, Harness::IsEqual>, debug_allocator, std::allocator>, false>; tbb::interface5::internal::concurrent_unordered_base::size_type = long unsigned int; tbb::interface5::internal::concurrent_unordered_base::raw_iterator = tbb::interface5::internal::flist_iterator, debug_allocator, std::allocator> >, std::reference_wrapper >]' ../../include/tbb/internal/_concurrent_unordered_impl.h:1207:9: required from 'void tbb::interface5::internal::concurrent_unordered_base::internal_init() [with Traits = tbb::interface5::concurrent_unordered_set_traits, tbb::interface5::internal::hash_compare, tbb::tbb_hash >, Harness::IsEqual>, debug_allocator, std::allocator>, false>]' ../../include/tbb/internal/_concurrent_unordered_impl.h:724:9: required from 'tbb::interface5::internal::concurrent_unordered_base::concurrent_unordered_base(const tbb::interface5::internal::concurrent_unordered_base&) [with Traits = tbb::interface5::concurrent_unordered_set_traits, tbb::interface5::internal::hash_compare, tbb::tbb_hash >, Harness::IsEqual>, debug_allocator, std::allocator>, false>]' ../../include/tbb/concurrent_unordered_set.h:56:7: required from 'void TypeTester(const std::__cxx11::list&) [with bool defCtorPresent = false; Table = tbb::interface5::concurrent_unordered_set, tbb::tbb_hash >, Harness::IsEqual, tbb::tbb_allocator > >; TableDebugAlloc = tbb::interface5::concurrent_unordered_set, tbb::tbb_hash >, Harness::IsEqual, debug_allocator, std::allocator> >; typename Table::value_type = std::reference_wrapper]' ../../src/test/test_concurrent_unordered_set.cpp:86:128: required from 'void TestTypesSet(const std::__cxx11::list&) [with bool defCtorPresent = false; value_type = std::reference_wrapper]' ../../src/test/test_concurrent_unordered_set.cpp:107:54: required from here ../../src/test/harness_allocator.h:518:20: warning: 'void* memset(void*, int, size_t)' writing to an object of non-trivial type 'class tbb::interface5::internal::flist_iterator, debug_allocator, std::allocator> >, std::reference_wrapper >'; use assignment instead [-Wclass-memaccess] std::memset( ptr, 0xE3E3E3E3, n * sizeof(value_type) ); ~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ In file included from ../../include/tbb/concurrent_unordered_set.h:27, from ../../src/test/test_concurrent_unordered_set.cpp:29: ../../include/tbb/internal/_concurrent_unordered_impl.h:61:7: note: 'class tbb::interface5::internal::flist_iterator, debug_allocator, std::allocator> >, std::reference_wrapper >' declared here class flist_iterator : public std::iterator ^~~~~~~~~~~~~~ In file included from ../../src/test/test_container_move_support.h:26, from ../../src/test/test_concurrent_unordered_common.h:25, from ../../src/test/test_concurrent_unordered_set.cpp:53: ../../src/test/harness_allocator.h: In instantiation of 'debug_allocator::pointer debug_allocator::allocate(debug_allocator::size_type, const void*) [with T = tbb::interface5::internal::split_ordered_list, debug_allocator, std::allocator> >::node; Allocator = std::allocator; debug_allocator::pointer = tbb::interface5::internal::split_ordered_list, debug_allocator, std::allocator> >::node*; debug_allocator::size_type = long unsigned int]': ../../include/tbb/internal/_concurrent_unordered_impl.h:255:19: required from 'tbb::interface5::internal::split_ordered_list::node* tbb::interface5::internal::split_ordered_list::create_node(tbb::interface5::internal::sokey_t) [with T = std::shared_ptr; Allocator = debug_allocator, std::allocator>; tbb::interface5::internal::split_ordered_list::nodeptr_t = tbb::interface5::internal::split_ordered_list, debug_allocator, std::allocator> >::node*; tbb::interface5::internal::sokey_t = long unsigned int]' ../../include/tbb/internal/_concurrent_unordered_impl.h:307:17: required from 'tbb::interface5::internal::split_ordered_list::split_ordered_list(tbb::interface5::internal::split_ordered_list::allocator_type) [with T = std::shared_ptr; Allocator = debug_allocator, std::allocator>; tbb::interface5::internal::split_ordered_list::allocator_type = debug_allocator, std::allocator>]' ../../include/tbb/internal/_concurrent_unordered_impl.h:721:110: required from 'tbb::interface5::internal::concurrent_unordered_base::concurrent_unordered_base(const tbb::interface5::internal::concurrent_unordered_base&) [with Traits = tbb::interface5::concurrent_unordered_set_traits, tbb::interface5::internal::hash_compare, tbb::tbb_hash >, Harness::IsEqual>, debug_allocator, std::allocator>, false>]' ../../include/tbb/concurrent_unordered_set.h:56:7: required from 'void TypeTester(const std::__cxx11::list&) [with bool defCtorPresent = true; Table = tbb::interface5::concurrent_unordered_set, tbb::tbb_hash >, Harness::IsEqual, tbb::tbb_allocator > >; TableDebugAlloc = tbb::interface5::concurrent_unordered_set, tbb::tbb_hash >, Harness::IsEqual, debug_allocator, std::allocator> >; typename Table::value_type = std::shared_ptr]' ../../src/test/test_concurrent_unordered_set.cpp:86:128: required from 'void TestTypesSet(const std::__cxx11::list&) [with bool defCtorPresent = true; value_type = std::shared_ptr]' ../../src/test/test_concurrent_unordered_set.cpp:113:53: required from here ../../src/test/harness_allocator.h:518:20: warning: 'void* memset(void*, int, size_t)' writing to an object of type 'struct tbb::interface5::internal::split_ordered_list, debug_allocator, std::allocator> >::node' with no trivial copy-assignment [-Wclass-memaccess] std::memset( ptr, 0xE3E3E3E3, n * sizeof(value_type) ); ~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ In file included from ../../include/tbb/concurrent_unordered_set.h:27, from ../../src/test/test_concurrent_unordered_set.cpp:29: ../../include/tbb/internal/_concurrent_unordered_impl.h:206:12: note: 'struct tbb::interface5::internal::split_ordered_list, debug_allocator, std::allocator> >::node' declared here struct node : tbb::internal::no_assign ^~~~ In file included from ../../src/test/test_container_move_support.h:26, from ../../src/test/test_concurrent_unordered_common.h:25, from ../../src/test/test_concurrent_unordered_set.cpp:53: ../../src/test/harness_allocator.h: In instantiation of 'debug_allocator::pointer debug_allocator::allocate(debug_allocator::size_type, const void*) [with T = tbb::interface5::internal::flist_iterator, debug_allocator, std::allocator> >, std::shared_ptr >; Allocator = std::allocator; debug_allocator::pointer = tbb::interface5::internal::flist_iterator, debug_allocator, std::allocator> >, std::shared_ptr >*; debug_allocator::size_type = long unsigned int]': ../../include/tbb/internal/_concurrent_unordered_impl.h:1470:28: required from 'void tbb::interface5::internal::concurrent_unordered_base::set_bucket(tbb::interface5::internal::concurrent_unordered_base::size_type, tbb::interface5::internal::concurrent_unordered_base::raw_iterator) [with Traits = tbb::interface5::concurrent_unordered_set_traits, tbb::interface5::internal::hash_compare, tbb::tbb_hash >, Harness::IsEqual>, debug_allocator, std::allocator>, false>; tbb::interface5::internal::concurrent_unordered_base::size_type = long unsigned int; tbb::interface5::internal::concurrent_unordered_base::raw_iterator = tbb::interface5::internal::flist_iterator, debug_allocator, std::allocator> >, std::shared_ptr >]' ../../include/tbb/internal/_concurrent_unordered_impl.h:1207:9: required from 'void tbb::interface5::internal::concurrent_unordered_base::internal_init() [with Traits = tbb::interface5::concurrent_unordered_set_traits, tbb::interface5::internal::hash_compare, tbb::tbb_hash >, Harness::IsEqual>, debug_allocator, std::allocator>, false>]' ../../include/tbb/internal/_concurrent_unordered_impl.h:724:9: required from 'tbb::interface5::internal::concurrent_unordered_base::concurrent_unordered_base(const tbb::interface5::internal::concurrent_unordered_base&) [with Traits = tbb::interface5::concurrent_unordered_set_traits, tbb::interface5::internal::hash_compare, tbb::tbb_hash >, Harness::IsEqual>, debug_allocator, std::allocator>, false>]' ../../include/tbb/concurrent_unordered_set.h:56:7: required from 'void TypeTester(const std::__cxx11::list&) [with bool defCtorPresent = true; Table = tbb::interface5::concurrent_unordered_set, tbb::tbb_hash >, Harness::IsEqual, tbb::tbb_allocator > >; TableDebugAlloc = tbb::interface5::concurrent_unordered_set, tbb::tbb_hash >, Harness::IsEqual, debug_allocator, std::allocator> >; typename Table::value_type = std::shared_ptr]' ../../src/test/test_concurrent_unordered_set.cpp:86:128: required from 'void TestTypesSet(const std::__cxx11::list&) [with bool defCtorPresent = true; value_type = std::shared_ptr]' ../../src/test/test_concurrent_unordered_set.cpp:113:53: required from here ../../src/test/harness_allocator.h:518:20: warning: 'void* memset(void*, int, size_t)' writing to an object of non-trivial type 'class tbb::interface5::internal::flist_iterator, debug_allocator, std::allocator> >, std::shared_ptr >'; use assignment instead [-Wclass-memaccess] std::memset( ptr, 0xE3E3E3E3, n * sizeof(value_type) ); ~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ In file included from ../../include/tbb/concurrent_unordered_set.h:27, from ../../src/test/test_concurrent_unordered_set.cpp:29: ../../include/tbb/internal/_concurrent_unordered_impl.h:61:7: note: 'class tbb::interface5::internal::flist_iterator, debug_allocator, std::allocator> >, std::shared_ptr >' declared here class flist_iterator : public std::iterator ^~~~~~~~~~~~~~ In file included from ../../src/test/test_container_move_support.h:26, from ../../src/test/test_concurrent_unordered_common.h:25, from ../../src/test/test_concurrent_unordered_set.cpp:53: ../../src/test/harness_allocator.h: In instantiation of 'debug_allocator::pointer debug_allocator::allocate(debug_allocator::size_type, const void*) [with T = tbb::interface5::internal::split_ordered_list, debug_allocator, std::allocator> >::node; Allocator = std::allocator; debug_allocator::pointer = tbb::interface5::internal::split_ordered_list, debug_allocator, std::allocator> >::node*; debug_allocator::size_type = long unsigned int]': ../../include/tbb/internal/_concurrent_unordered_impl.h:255:19: required from 'tbb::interface5::internal::split_ordered_list::node* tbb::interface5::internal::split_ordered_list::create_node(tbb::interface5::internal::sokey_t) [with T = std::weak_ptr; Allocator = debug_allocator, std::allocator>; tbb::interface5::internal::split_ordered_list::nodeptr_t = tbb::interface5::internal::split_ordered_list, debug_allocator, std::allocator> >::node*; tbb::interface5::internal::sokey_t = long unsigned int]' ../../include/tbb/internal/_concurrent_unordered_impl.h:307:17: required from 'tbb::interface5::internal::split_ordered_list::split_ordered_list(tbb::interface5::internal::split_ordered_list::allocator_type) [with T = std::weak_ptr; Allocator = debug_allocator, std::allocator>; tbb::interface5::internal::split_ordered_list::allocator_type = debug_allocator, std::allocator>]' ../../include/tbb/internal/_concurrent_unordered_impl.h:721:110: required from 'tbb::interface5::internal::concurrent_unordered_base::concurrent_unordered_base(const tbb::interface5::internal::concurrent_unordered_base&) [with Traits = tbb::interface5::concurrent_unordered_set_traits, tbb::interface5::internal::hash_compare, tbb::tbb_hash >, Harness::IsEqual>, debug_allocator, std::allocator>, false>]' ../../include/tbb/concurrent_unordered_set.h:56:7: required from 'void TypeTester(const std::__cxx11::list&) [with bool defCtorPresent = true; Table = tbb::interface5::concurrent_unordered_set, tbb::tbb_hash >, Harness::IsEqual, tbb::tbb_allocator > >; TableDebugAlloc = tbb::interface5::concurrent_unordered_set, tbb::tbb_hash >, Harness::IsEqual, debug_allocator, std::allocator> >; typename Table::value_type = std::weak_ptr]' ../../src/test/test_concurrent_unordered_set.cpp:86:128: required from 'void TestTypesSet(const std::__cxx11::list&) [with bool defCtorPresent = true; value_type = std::weak_ptr]' ../../src/test/test_concurrent_unordered_set.cpp:117:52: required from here ../../src/test/harness_allocator.h:518:20: warning: 'void* memset(void*, int, size_t)' writing to an object of type 'struct tbb::interface5::internal::split_ordered_list, debug_allocator, std::allocator> >::node' with no trivial copy-assignment [-Wclass-memaccess] std::memset( ptr, 0xE3E3E3E3, n * sizeof(value_type) ); ~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ In file included from ../../include/tbb/concurrent_unordered_set.h:27, from ../../src/test/test_concurrent_unordered_set.cpp:29: ../../include/tbb/internal/_concurrent_unordered_impl.h:206:12: note: 'struct tbb::interface5::internal::split_ordered_list, debug_allocator, std::allocator> >::node' declared here struct node : tbb::internal::no_assign ^~~~ In file included from ../../src/test/test_container_move_support.h:26, from ../../src/test/test_concurrent_unordered_common.h:25, from ../../src/test/test_concurrent_unordered_set.cpp:53: ../../src/test/harness_allocator.h: In instantiation of 'debug_allocator::pointer debug_allocator::allocate(debug_allocator::size_type, const void*) [with T = tbb::interface5::internal::flist_iterator, debug_allocator, std::allocator> >, std::weak_ptr >; Allocator = std::allocator; debug_allocator::pointer = tbb::interface5::internal::flist_iterator, debug_allocator, std::allocator> >, std::weak_ptr >*; debug_allocator::size_type = long unsigned int]': ../../include/tbb/internal/_concurrent_unordered_impl.h:1470:28: required from 'void tbb::interface5::internal::concurrent_unordered_base::set_bucket(tbb::interface5::internal::concurrent_unordered_base::size_type, tbb::interface5::internal::concurrent_unordered_base::raw_iterator) [with Traits = tbb::interface5::concurrent_unordered_set_traits, tbb::interface5::internal::hash_compare, tbb::tbb_hash >, Harness::IsEqual>, debug_allocator, std::allocator>, false>; tbb::interface5::internal::concurrent_unordered_base::size_type = long unsigned int; tbb::interface5::internal::concurrent_unordered_base::raw_iterator = tbb::interface5::internal::flist_iterator, debug_allocator, std::allocator> >, std::weak_ptr >]' ../../include/tbb/internal/_concurrent_unordered_impl.h:1207:9: required from 'void tbb::interface5::internal::concurrent_unordered_base::internal_init() [with Traits = tbb::interface5::concurrent_unordered_set_traits, tbb::interface5::internal::hash_compare, tbb::tbb_hash >, Harness::IsEqual>, debug_allocator, std::allocator>, false>]' ../../include/tbb/internal/_concurrent_unordered_impl.h:724:9: required from 'tbb::interface5::internal::concurrent_unordered_base::concurrent_unordered_base(const tbb::interface5::internal::concurrent_unordered_base&) [with Traits = tbb::interface5::concurrent_unordered_set_traits, tbb::interface5::internal::hash_compare, tbb::tbb_hash >, Harness::IsEqual>, debug_allocator, std::allocator>, false>]' ../../include/tbb/concurrent_unordered_set.h:56:7: required from 'void TypeTester(const std::__cxx11::list&) [with bool defCtorPresent = true; Table = tbb::interface5::concurrent_unordered_set, tbb::tbb_hash >, Harness::IsEqual, tbb::tbb_allocator > >; TableDebugAlloc = tbb::interface5::concurrent_unordered_set, tbb::tbb_hash >, Harness::IsEqual, debug_allocator, std::allocator> >; typename Table::value_type = std::weak_ptr]' ../../src/test/test_concurrent_unordered_set.cpp:86:128: required from 'void TestTypesSet(const std::__cxx11::list&) [with bool defCtorPresent = true; value_type = std::weak_ptr]' ../../src/test/test_concurrent_unordered_set.cpp:117:52: required from here ../../src/test/harness_allocator.h:518:20: warning: 'void* memset(void*, int, size_t)' writing to an object of non-trivial type 'class tbb::interface5::internal::flist_iterator, debug_allocator, std::allocator> >, std::weak_ptr >'; use assignment instead [-Wclass-memaccess] std::memset( ptr, 0xE3E3E3E3, n * sizeof(value_type) ); ~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ In file included from ../../include/tbb/concurrent_unordered_set.h:27, from ../../src/test/test_concurrent_unordered_set.cpp:29: ../../include/tbb/internal/_concurrent_unordered_impl.h:61:7: note: 'class tbb::interface5::internal::flist_iterator, debug_allocator, std::allocator> >, std::weak_ptr >' declared here class flist_iterator : public std::iterator ^~~~~~~~~~~~~~ In file included from ../../src/test/test_container_move_support.h:26, from ../../src/test/test_concurrent_unordered_common.h:25, from ../../src/test/test_concurrent_unordered_set.cpp:53: ../../src/test/harness_allocator.h: In instantiation of 'debug_allocator::pointer debug_allocator::allocate(debug_allocator::size_type, const void*) [with T = tbb::interface5::internal::split_ordered_list, tbb::atomic > >::node; Allocator = std::allocator; debug_allocator::pointer = tbb::interface5::internal::split_ordered_list, tbb::atomic > >::node*; debug_allocator::size_type = long unsigned int]': ../../src/test/harness_allocator.h:474:43: required from 'local_counting_allocator::pointer local_counting_allocator::allocate(local_counting_allocator::size_type) [with base_alloc_t = debug_allocator, tbb::atomic > >::node, std::allocator>; count_t = tbb::atomic; local_counting_allocator::pointer = tbb::interface5::internal::split_ordered_list, tbb::atomic > >::node*; local_counting_allocator::size_type = long unsigned int]' ../../include/tbb/internal/_concurrent_unordered_impl.h:264:19: required from 'tbb::interface5::internal::split_ordered_list::node* tbb::interface5::internal::split_ordered_list::create_node(tbb::interface5::internal::sokey_t, Arg&&, tbb::internal::true_type) [with Arg = FooWithAssign; T = FooWithAssign; Allocator = local_counting_allocator, tbb::atomic >; tbb::interface5::internal::split_ordered_list::nodeptr_t = tbb::interface5::internal::split_ordered_list, tbb::atomic > >::node*; tbb::interface5::internal::sokey_t = long unsigned int; tbb::internal::true_type = tbb::internal::bool_constant]' ../../include/tbb/internal/_concurrent_unordered_impl.h:1282:27: required from 'std::pair::iterator, bool> tbb::interface5::internal::concurrent_unordered_base::internal_insert(ValueType&&, tbb::interface5::internal::concurrent_unordered_base::nodeptr_t) [with AllowCreate = tbb::internal::bool_constant; ValueType = FooWithAssign; Traits = tbb::interface5::concurrent_unordered_set_traits, std::equal_to >, local_counting_allocator, std::allocator> >, false>; typename tbb::interface5::internal::split_ordered_list::iterator = tbb::interface5::internal::solist_iterator, tbb::atomic > >, FooWithAssign>; tbb::interface5::internal::concurrent_unordered_base::nodeptr_t = tbb::interface5::internal::split_ordered_list, tbb::atomic > >::node*]' ../../include/tbb/internal/_concurrent_unordered_impl.h:969:73: required from 'std::pair::iterator, bool> tbb::interface5::internal::concurrent_unordered_base::insert(tbb::interface5::internal::concurrent_unordered_base::value_type&&) [with Traits = tbb::interface5::concurrent_unordered_set_traits, std::equal_to >, local_counting_allocator, std::allocator> >, false>; typename tbb::interface5::internal::split_ordered_list::iterator = tbb::interface5::internal::solist_iterator, tbb::atomic > >, FooWithAssign>; tbb::interface5::internal::concurrent_unordered_base::value_type = FooWithAssign]' ../../src/test/test_concurrent_unordered_common.h:254:43: required from 'void test_basic(const char*, do_check_element_state) [with T = tbb::interface5::concurrent_unordered_set, std::equal_to, local_counting_allocator, std::allocator> > >; do_check_element_state = tbb::internal::bool_constant]' ../../src/test/test_concurrent_unordered_set.cpp:175:113: required from here ../../src/test/harness_allocator.h:518:20: warning: 'void* memset(void*, int, size_t)' writing to an object of type 'struct tbb::interface5::internal::split_ordered_list, tbb::atomic > >::node' with no trivial copy-assignment [-Wclass-memaccess] std::memset( ptr, 0xE3E3E3E3, n * sizeof(value_type) ); ~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ In file included from ../../include/tbb/concurrent_unordered_set.h:27, from ../../src/test/test_concurrent_unordered_set.cpp:29: ../../include/tbb/internal/_concurrent_unordered_impl.h:206:12: note: 'struct tbb::interface5::internal::split_ordered_list, tbb::atomic > >::node' declared here struct node : tbb::internal::no_assign ^~~~ In file included from ../../include/tbb/concurrent_unordered_set.h:27, from ../../src/test/test_concurrent_unordered_set.cpp:29: ../../include/tbb/internal/_concurrent_unordered_impl.h: In instantiation of 'void tbb::interface5::internal::concurrent_unordered_base::set_bucket(tbb::interface5::internal::concurrent_unordered_base::size_type, tbb::interface5::internal::concurrent_unordered_base::raw_iterator) [with Traits = tbb::interface5::concurrent_unordered_set_traits, std::equal_to >, std::allocator, false>; tbb::interface5::internal::concurrent_unordered_base::size_type = long unsigned int; tbb::interface5::internal::concurrent_unordered_base::raw_iterator = tbb::interface5::internal::flist_iterator >, FooWithAssign>]': ../../include/tbb/internal/_concurrent_unordered_impl.h:760:25: required from 'tbb::interface5::internal::concurrent_unordered_base::concurrent_unordered_base(tbb::interface5::internal::concurrent_unordered_base&&, const allocator_type&) [with Traits = tbb::interface5::concurrent_unordered_set_traits, std::equal_to >, std::allocator, false>; tbb::interface5::internal::concurrent_unordered_base::allocator_type = std::allocator]' ../../include/tbb/internal/_concurrent_unordered_impl.h:798:43: required from 'tbb::interface5::internal::concurrent_unordered_base& tbb::interface5::internal::concurrent_unordered_base::operator=(tbb::interface5::internal::concurrent_unordered_base&&) [with Traits = tbb::interface5::concurrent_unordered_set_traits, std::equal_to >, std::allocator, false>]' ../../include/tbb/concurrent_unordered_set.h:56:7: required from 'void TestMoveAssignOperatorPOCMANonStateful() [with container_traits = cu_set_type]' ../../src/test/test_container_move_support.h:794:61: required from 'void TestMoveAssignOperator() [with container_traits = cu_set_type]' ../../src/test/test_concurrent_unordered_common.h:814:45: required from 'void test_rvalue_ref_support(const char*) [with container_traits = cu_set_type]' ../../src/test/test_concurrent_unordered_set.cpp:194:70: required from here ../../include/tbb/internal/_concurrent_unordered_impl.h:1471:24: warning: 'void* memset(void*, int, size_t)' clearing an object of non-trivial type 'tbb::interface5::internal::concurrent_unordered_base, std::equal_to >, std::allocator, false> >::raw_iterator' {aka 'class tbb::interface5::internal::flist_iterator >, FooWithAssign>'}; use assignment or value-initialization instead [-Wclass-memaccess] std::memset(new_segment, 0, sz*sizeof(raw_iterator)); ~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ In file included from ../../include/tbb/concurrent_unordered_set.h:27, from ../../src/test/test_concurrent_unordered_set.cpp:29: ../../include/tbb/internal/_concurrent_unordered_impl.h:61:7: note: 'tbb::interface5::internal::concurrent_unordered_base, std::equal_to >, std::allocator, false> >::raw_iterator' {aka 'class tbb::interface5::internal::flist_iterator >, FooWithAssign>'} declared here class flist_iterator : public std::iterator ^~~~~~~~~~~~~~ In file included from ../../include/tbb/concurrent_unordered_set.h:27, from ../../src/test/test_concurrent_unordered_set.cpp:29: ../../include/tbb/internal/_concurrent_unordered_impl.h: In instantiation of 'void tbb::interface5::internal::concurrent_unordered_base::set_bucket(tbb::interface5::internal::concurrent_unordered_base::size_type, tbb::interface5::internal::concurrent_unordered_base::raw_iterator) [with Traits = tbb::interface5::concurrent_unordered_set_traits, std::equal_to >, static_shared_counting_allocator, arena, long unsigned int>, long unsigned int>, false>; tbb::interface5::internal::concurrent_unordered_base::size_type = long unsigned int; tbb::interface5::internal::concurrent_unordered_base::raw_iterator = tbb::interface5::internal::flist_iterator, arena, long unsigned int>, long unsigned int> >, FooWithAssign>]': ../../include/tbb/internal/_concurrent_unordered_impl.h:760:25: required from 'tbb::interface5::internal::concurrent_unordered_base::concurrent_unordered_base(tbb::interface5::internal::concurrent_unordered_base&&, const allocator_type&) [with Traits = tbb::interface5::concurrent_unordered_set_traits, std::equal_to >, static_shared_counting_allocator, arena, long unsigned int>, long unsigned int>, false>; tbb::interface5::internal::concurrent_unordered_base::allocator_type = static_shared_counting_allocator, arena, long unsigned int>, long unsigned int>]' ../../include/tbb/internal/_concurrent_unordered_impl.h:798:43: required from 'tbb::interface5::internal::concurrent_unordered_base& tbb::interface5::internal::concurrent_unordered_base::operator=(tbb::interface5::internal::concurrent_unordered_base&&) [with Traits = tbb::interface5::concurrent_unordered_set_traits, std::equal_to >, static_shared_counting_allocator, arena, long unsigned int>, long unsigned int>, false>]' ../../include/tbb/concurrent_unordered_set.h:56:7: required from 'void TestMoveAssignOperatorPOCMAStateful() [with container_traits = cu_set_type]' ../../src/test/test_container_move_support.h:795:58: required from 'void TestMoveAssignOperator() [with container_traits = cu_set_type]' ../../src/test/test_concurrent_unordered_common.h:814:45: required from 'void test_rvalue_ref_support(const char*) [with container_traits = cu_set_type]' ../../src/test/test_concurrent_unordered_set.cpp:194:70: required from here ../../include/tbb/internal/_concurrent_unordered_impl.h:1471:24: warning: 'void* memset(void*, int, size_t)' clearing an object of non-trivial type 'tbb::interface5::internal::concurrent_unordered_base, std::equal_to >, static_shared_counting_allocator, arena, long unsigned int>, long unsigned int>, false> >::raw_iterator' {aka 'class tbb::interface5::internal::flist_iterator, arena, long unsigned int>, long unsigned int> >, FooWithAssign>'}; use assignment or value-initialization instead [-Wclass-memaccess] std::memset(new_segment, 0, sz*sizeof(raw_iterator)); ~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ In file included from ../../include/tbb/concurrent_unordered_set.h:27, from ../../src/test/test_concurrent_unordered_set.cpp:29: ../../include/tbb/internal/_concurrent_unordered_impl.h:61:7: note: 'tbb::interface5::internal::concurrent_unordered_base, std::equal_to >, static_shared_counting_allocator, arena, long unsigned int>, long unsigned int>, false> >::raw_iterator' {aka 'class tbb::interface5::internal::flist_iterator, arena, long unsigned int>, long unsigned int> >, FooWithAssign>'} declared here class flist_iterator : public std::iterator ^~~~~~~~~~~~~~ In file included from ../../include/tbb/concurrent_unordered_set.h:27, from ../../src/test/test_concurrent_unordered_set.cpp:29: ../../include/tbb/internal/_concurrent_unordered_impl.h: In instantiation of 'void tbb::interface5::internal::concurrent_unordered_base::set_bucket(tbb::interface5::internal::concurrent_unordered_base::size_type, tbb::interface5::internal::concurrent_unordered_base::raw_iterator) [with Traits = tbb::interface5::concurrent_unordered_set_traits, std::equal_to >, std::allocator, true>; tbb::interface5::internal::concurrent_unordered_base::size_type = long unsigned int; tbb::interface5::internal::concurrent_unordered_base::raw_iterator = tbb::interface5::internal::flist_iterator >, FooWithAssign>]': ../../include/tbb/internal/_concurrent_unordered_impl.h:760:25: required from 'tbb::interface5::internal::concurrent_unordered_base::concurrent_unordered_base(tbb::interface5::internal::concurrent_unordered_base&&, const allocator_type&) [with Traits = tbb::interface5::concurrent_unordered_set_traits, std::equal_to >, std::allocator, true>; tbb::interface5::internal::concurrent_unordered_base::allocator_type = std::allocator]' ../../include/tbb/internal/_concurrent_unordered_impl.h:798:43: required from 'tbb::interface5::internal::concurrent_unordered_base& tbb::interface5::internal::concurrent_unordered_base::operator=(tbb::interface5::internal::concurrent_unordered_base&&) [with Traits = tbb::interface5::concurrent_unordered_set_traits, std::equal_to >, std::allocator, true>]' ../../include/tbb/concurrent_unordered_set.h:152:7: required from 'void TestMoveAssignOperatorPOCMANonStateful() [with container_traits = cu_multiset_type]' ../../src/test/test_container_move_support.h:794:61: required from 'void TestMoveAssignOperator() [with container_traits = cu_multiset_type]' ../../src/test/test_concurrent_unordered_common.h:814:45: required from 'void test_rvalue_ref_support(const char*) [with container_traits = cu_multiset_type]' ../../src/test/test_concurrent_unordered_set.cpp:195:80: required from here ../../include/tbb/internal/_concurrent_unordered_impl.h:1471:24: warning: 'void* memset(void*, int, size_t)' clearing an object of non-trivial type 'tbb::interface5::internal::concurrent_unordered_base, std::equal_to >, std::allocator, true> >::raw_iterator' {aka 'class tbb::interface5::internal::flist_iterator >, FooWithAssign>'}; use assignment or value-initialization instead [-Wclass-memaccess] std::memset(new_segment, 0, sz*sizeof(raw_iterator)); ~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ In file included from ../../include/tbb/concurrent_unordered_set.h:27, from ../../src/test/test_concurrent_unordered_set.cpp:29: ../../include/tbb/internal/_concurrent_unordered_impl.h:61:7: note: 'tbb::interface5::internal::concurrent_unordered_base, std::equal_to >, std::allocator, true> >::raw_iterator' {aka 'class tbb::interface5::internal::flist_iterator >, FooWithAssign>'} declared here class flist_iterator : public std::iterator ^~~~~~~~~~~~~~ In file included from ../../include/tbb/concurrent_unordered_set.h:27, from ../../src/test/test_concurrent_unordered_set.cpp:29: ../../include/tbb/internal/_concurrent_unordered_impl.h: In instantiation of 'void tbb::interface5::internal::concurrent_unordered_base::set_bucket(tbb::interface5::internal::concurrent_unordered_base::size_type, tbb::interface5::internal::concurrent_unordered_base::raw_iterator) [with Traits = tbb::interface5::concurrent_unordered_set_traits, std::equal_to >, static_shared_counting_allocator, arena, long unsigned int>, long unsigned int>, true>; tbb::interface5::internal::concurrent_unordered_base::size_type = long unsigned int; tbb::interface5::internal::concurrent_unordered_base::raw_iterator = tbb::interface5::internal::flist_iterator, arena, long unsigned int>, long unsigned int> >, FooWithAssign>]': ../../include/tbb/internal/_concurrent_unordered_impl.h:760:25: required from 'tbb::interface5::internal::concurrent_unordered_base::concurrent_unordered_base(tbb::interface5::internal::concurrent_unordered_base&&, const allocator_type&) [with Traits = tbb::interface5::concurrent_unordered_set_traits, std::equal_to >, static_shared_counting_allocator, arena, long unsigned int>, long unsigned int>, true>; tbb::interface5::internal::concurrent_unordered_base::allocator_type = static_shared_counting_allocator, arena, long unsigned int>, long unsigned int>]' ../../include/tbb/internal/_concurrent_unordered_impl.h:798:43: required from 'tbb::interface5::internal::concurrent_unordered_base& tbb::interface5::internal::concurrent_unordered_base::operator=(tbb::interface5::internal::concurrent_unordered_base&&) [with Traits = tbb::interface5::concurrent_unordered_set_traits, std::equal_to >, static_shared_counting_allocator, arena, long unsigned int>, long unsigned int>, true>]' ../../include/tbb/concurrent_unordered_set.h:152:7: required from 'void TestMoveAssignOperatorPOCMAStateful() [with container_traits = cu_multiset_type]' ../../src/test/test_container_move_support.h:795:58: required from 'void TestMoveAssignOperator() [with container_traits = cu_multiset_type]' ../../src/test/test_concurrent_unordered_common.h:814:45: required from 'void test_rvalue_ref_support(const char*) [with container_traits = cu_multiset_type]' ../../src/test/test_concurrent_unordered_set.cpp:195:80: required from here ../../include/tbb/internal/_concurrent_unordered_impl.h:1471:24: warning: 'void* memset(void*, int, size_t)' clearing an object of non-trivial type 'tbb::interface5::internal::concurrent_unordered_base, std::equal_to >, static_shared_counting_allocator, arena, long unsigned int>, long unsigned int>, true> >::raw_iterator' {aka 'class tbb::interface5::internal::flist_iterator, arena, long unsigned int>, long unsigned int> >, FooWithAssign>'}; use assignment or value-initialization instead [-Wclass-memaccess] std::memset(new_segment, 0, sz*sizeof(raw_iterator)); ~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ In file included from ../../include/tbb/concurrent_unordered_set.h:27, from ../../src/test/test_concurrent_unordered_set.cpp:29: ../../include/tbb/internal/_concurrent_unordered_impl.h:61:7: note: 'tbb::interface5::internal::concurrent_unordered_base, std::equal_to >, static_shared_counting_allocator, arena, long unsigned int>, long unsigned int>, true> >::raw_iterator' {aka 'class tbb::interface5::internal::flist_iterator, arena, long unsigned int>, long unsigned int> >, FooWithAssign>'} declared here class flist_iterator : public std::iterator ^~~~~~~~~~~~~~ In file included from ../../src/test/test_container_move_support.h:26, from ../../src/test/test_concurrent_unordered_common.h:25, from ../../src/test/test_concurrent_unordered_set.cpp:53: ../../src/test/harness_allocator.h: In instantiation of 'debug_allocator::pointer debug_allocator::allocate(debug_allocator::size_type, const void*) [with T = tbb::interface5::internal::split_ordered_list, tbb::atomic > >::node; Allocator = std::allocator; debug_allocator::pointer = tbb::interface5::internal::split_ordered_list, tbb::atomic > >::node*; debug_allocator::size_type = long unsigned int]': ../../src/test/harness_allocator.h:474:43: required from 'local_counting_allocator::pointer local_counting_allocator::allocate(local_counting_allocator::size_type) [with base_alloc_t = debug_allocator, tbb::atomic > >::node, std::allocator>; count_t = tbb::atomic; local_counting_allocator::pointer = tbb::interface5::internal::split_ordered_list, tbb::atomic > >::node*; local_counting_allocator::size_type = long unsigned int]' ../../include/tbb/internal/_concurrent_unordered_impl.h:264:19: required from 'tbb::interface5::internal::split_ordered_list::node* tbb::interface5::internal::split_ordered_list::create_node(tbb::interface5::internal::sokey_t, Arg&&, tbb::internal::true_type) [with Arg = int; T = int; Allocator = local_counting_allocator, tbb::atomic >; tbb::interface5::internal::split_ordered_list::nodeptr_t = tbb::interface5::internal::split_ordered_list, tbb::atomic > >::node*; tbb::interface5::internal::sokey_t = long unsigned int; tbb::internal::true_type = tbb::internal::bool_constant]' ../../include/tbb/internal/_concurrent_unordered_impl.h:1282:27: required from 'std::pair::iterator, bool> tbb::interface5::internal::concurrent_unordered_base::internal_insert(ValueType&&, tbb::interface5::internal::concurrent_unordered_base::nodeptr_t) [with AllowCreate = tbb::internal::bool_constant; ValueType = int; Traits = tbb::interface5::concurrent_unordered_set_traits, std::equal_to >, local_counting_allocator, std::allocator> >, false>; typename tbb::interface5::internal::split_ordered_list::iterator = tbb::interface5::internal::solist_iterator, tbb::atomic > >, int>; tbb::interface5::internal::concurrent_unordered_base::nodeptr_t = tbb::interface5::internal::split_ordered_list, tbb::atomic > >::node*]' ../../include/tbb/internal/_concurrent_unordered_impl.h:969:73: required from 'std::pair::iterator, bool> tbb::interface5::internal::concurrent_unordered_base::insert(tbb::interface5::internal::concurrent_unordered_base::value_type&&) [with Traits = tbb::interface5::concurrent_unordered_set_traits, std::equal_to >, local_counting_allocator, std::allocator> >, false>; typename tbb::interface5::internal::split_ordered_list::iterator = tbb::interface5::internal::solist_iterator, tbb::atomic > >, int>; tbb::interface5::internal::concurrent_unordered_base::value_type = int]' ../../src/test/test_concurrent_unordered_common.h:254:43: required from 'void test_basic(const char*, do_check_element_state) [with T = tbb::interface5::concurrent_unordered_set, std::equal_to, local_counting_allocator, std::allocator> > >; do_check_element_state = tbb::internal::bool_constant]' ../../src/test/test_concurrent_unordered_common.h:473:18: required from 'void test_basic(const char*) [with T = tbb::interface5::concurrent_unordered_set, std::equal_to, local_counting_allocator, std::allocator> > >]' ../../src/test/test_concurrent_unordered_set.cpp:163:51: required from here ../../src/test/harness_allocator.h:518:20: warning: 'void* memset(void*, int, size_t)' writing to an object of type 'struct tbb::interface5::internal::split_ordered_list, tbb::atomic > >::node' with no trivial copy-assignment [-Wclass-memaccess] std::memset( ptr, 0xE3E3E3E3, n * sizeof(value_type) ); ~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ In file included from ../../include/tbb/concurrent_unordered_set.h:27, from ../../src/test/test_concurrent_unordered_set.cpp:29: ../../include/tbb/internal/_concurrent_unordered_impl.h:206:12: note: 'struct tbb::interface5::internal::split_ordered_list, tbb::atomic > >::node' declared here struct node : tbb::internal::no_assign ^~~~ In file included from ../../src/test/test_container_move_support.h:26, from ../../src/test/test_concurrent_unordered_common.h:25, from ../../src/test/test_concurrent_unordered_set.cpp:53: ../../src/test/harness_allocator.h: In instantiation of 'debug_allocator::pointer debug_allocator::allocate(debug_allocator::size_type, const void*) [with T = tbb::interface5::internal::split_ordered_list, local_counting_allocator, std::allocator>, tbb::atomic > >::node; Allocator = std::allocator; debug_allocator::pointer = tbb::interface5::internal::split_ordered_list, local_counting_allocator, std::allocator>, tbb::atomic > >::node*; debug_allocator::size_type = long unsigned int]': ../../src/test/harness_allocator.h:474:43: required from 'local_counting_allocator::pointer local_counting_allocator::allocate(local_counting_allocator::size_type) [with base_alloc_t = debug_allocator, local_counting_allocator, std::allocator>, tbb::atomic > >::node, std::allocator>; count_t = tbb::atomic; local_counting_allocator::pointer = tbb::interface5::internal::split_ordered_list, local_counting_allocator, std::allocator>, tbb::atomic > >::node*; local_counting_allocator::size_type = long unsigned int]' ../../include/tbb/internal/_concurrent_unordered_impl.h:264:19: required from 'tbb::interface5::internal::split_ordered_list::node* tbb::interface5::internal::split_ordered_list::create_node(tbb::interface5::internal::sokey_t, Arg&&, tbb::internal::true_type) [with Arg = check_type; T = check_type; Allocator = local_counting_allocator, std::allocator>, tbb::atomic >; tbb::interface5::internal::split_ordered_list::nodeptr_t = tbb::interface5::internal::split_ordered_list, local_counting_allocator, std::allocator>, tbb::atomic > >::node*; tbb::interface5::internal::sokey_t = long unsigned int; tbb::internal::true_type = tbb::internal::bool_constant]' ../../include/tbb/internal/_concurrent_unordered_impl.h:1282:27: required from 'std::pair::iterator, bool> tbb::interface5::internal::concurrent_unordered_base::internal_insert(ValueType&&, tbb::interface5::internal::concurrent_unordered_base::nodeptr_t) [with AllowCreate = tbb::internal::bool_constant; ValueType = check_type; Traits = tbb::interface5::concurrent_unordered_set_traits, tbb::interface5::internal::hash_compare, tbb::tbb_hash >, std::equal_to > >, local_counting_allocator, std::allocator> >, false>; typename tbb::interface5::internal::split_ordered_list::iterator = tbb::interface5::internal::solist_iterator, local_counting_allocator, std::allocator>, tbb::atomic > >, check_type >; tbb::interface5::internal::concurrent_unordered_base::nodeptr_t = tbb::interface5::internal::split_ordered_list, local_counting_allocator, std::allocator>, tbb::atomic > >::node*]' ../../include/tbb/internal/_concurrent_unordered_impl.h:969:73: required from 'std::pair::iterator, bool> tbb::interface5::internal::concurrent_unordered_base::insert(tbb::interface5::internal::concurrent_unordered_base::value_type&&) [with Traits = tbb::interface5::concurrent_unordered_set_traits, tbb::interface5::internal::hash_compare, tbb::tbb_hash >, std::equal_to > >, local_counting_allocator, std::allocator> >, false>; typename tbb::interface5::internal::split_ordered_list::iterator = tbb::interface5::internal::solist_iterator, local_counting_allocator, std::allocator>, tbb::atomic > >, check_type >; tbb::interface5::internal::concurrent_unordered_base::value_type = check_type]' ../../src/test/test_concurrent_unordered_common.h:254:43: required from 'void test_basic(const char*, do_check_element_state) [with T = tbb::interface5::concurrent_unordered_set, tbb::tbb_hash >, std::equal_to >, local_counting_allocator, std::allocator> > >; do_check_element_state = tbb::internal::bool_constant]' ../../src/test/test_concurrent_unordered_common.h:473:18: required from 'void test_basic(const char*) [with T = tbb::interface5::concurrent_unordered_set, tbb::tbb_hash >, std::equal_to >, local_counting_allocator, std::allocator> > >]' ../../src/test/test_concurrent_unordered_set.cpp:173:111: required from here ../../src/test/harness_allocator.h:518:20: warning: 'void* memset(void*, int, size_t)' writing to an object of type 'struct tbb::interface5::internal::split_ordered_list, local_counting_allocator, std::allocator>, tbb::atomic > >::node' with no trivial copy-assignment [-Wclass-memaccess] std::memset( ptr, 0xE3E3E3E3, n * sizeof(value_type) ); ~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ In file included from ../../include/tbb/concurrent_unordered_set.h:27, from ../../src/test/test_concurrent_unordered_set.cpp:29: ../../include/tbb/internal/_concurrent_unordered_impl.h:206:12: note: 'struct tbb::interface5::internal::split_ordered_list, local_counting_allocator, std::allocator>, tbb::atomic > >::node' declared here struct node : tbb::internal::no_assign ^~~~ In file included from ../../include/tbb/concurrent_unordered_set.h:27, from ../../src/test/test_concurrent_unordered_set.cpp:29: ../../include/tbb/internal/_concurrent_unordered_impl.h: In instantiation of 'void tbb::interface5::internal::concurrent_unordered_base::set_bucket(tbb::interface5::internal::concurrent_unordered_base::size_type, tbb::interface5::internal::concurrent_unordered_base::raw_iterator) [with Traits = tbb::interface5::concurrent_unordered_set_traits, std::equal_to >, tbb::tbb_allocator, true>; tbb::interface5::internal::concurrent_unordered_base::size_type = long unsigned int; tbb::interface5::internal::concurrent_unordered_base::raw_iterator = tbb::interface5::internal::flist_iterator >, int>]': ../../include/tbb/internal/_concurrent_unordered_impl.h:1207:9: required from 'void tbb::interface5::internal::concurrent_unordered_base::internal_init() [with Traits = tbb::interface5::concurrent_unordered_set_traits, std::equal_to >, tbb::tbb_allocator, true>]' ../../include/tbb/internal/_concurrent_unordered_impl.h:710:9: required from 'tbb::interface5::internal::concurrent_unordered_base::concurrent_unordered_base(tbb::interface5::internal::concurrent_unordered_base::size_type, const hash_compare&, const allocator_type&) [with Traits = tbb::interface5::concurrent_unordered_set_traits, std::equal_to >, tbb::tbb_allocator, true>; tbb::interface5::internal::concurrent_unordered_base::size_type = long unsigned int; tbb::interface5::internal::concurrent_unordered_base::hash_compare = tbb::interface5::internal::hash_compare, std::equal_to >; tbb::interface5::internal::concurrent_unordered_base::allocator_type = tbb::tbb_allocator]' ../../include/tbb/concurrent_unordered_set.h:203:73: required from 'tbb::interface5::concurrent_unordered_multiset::concurrent_unordered_multiset(Iterator, Iterator, tbb::interface5::concurrent_unordered_multiset::size_type, const hasher&, const key_equal&, const allocator_type&) [with Iterator = __gnu_cxx::__normal_iterator > >; Key = int; Hasher = tbb::tbb_hash; Key_equality = std::equal_to; Allocator = tbb::tbb_allocator; tbb::interface5::concurrent_unordered_multiset::size_type = long unsigned int; tbb::interface5::concurrent_unordered_multiset::hasher = tbb::tbb_hash; tbb::interface5::concurrent_unordered_multiset::key_equal = std::equal_to; tbb::interface5::concurrent_unordered_multiset::allocator_type = tbb::tbb_allocator]' ../../src/test/test_initializer_list.h:72:24: required from 'void initializer_list_support_tests::TestInitListSupport(std::initializer_list) [with container_type = tbb::interface5::concurrent_unordered_multiset; test_assign = initializer_list_support_tests::skip_test; test_special = initializer_list_support_tests::test_special_insert; typename Traits::value_type = int]' ../../src/test/test_initializer_list.h:87:69: required from 'void initializer_list_support_tests::TestInitListSupportWithoutAssign(std::initializer_list) [with container_type = tbb::interface5::concurrent_unordered_multiset; test_special = initializer_list_support_tests::test_special_insert; typename Traits::value_type = int]' ../../src/test/test_concurrent_unordered_common.h:138:70: required from 'void TestInitList(std::initializer_list) [with Table = tbb::interface5::concurrent_unordered_set; MultiTable = tbb::interface5::concurrent_unordered_multiset; typename Traits::value_type = int]' ../../src/test/test_concurrent_unordered_set.cpp:190:74: required from here ../../include/tbb/internal/_concurrent_unordered_impl.h:1471:24: warning: 'void* memset(void*, int, size_t)' clearing an object of non-trivial type 'tbb::interface5::internal::concurrent_unordered_base, std::equal_to >, tbb::tbb_allocator, true> >::raw_iterator' {aka 'class tbb::interface5::internal::flist_iterator >, int>'}; use assignment or value-initialization instead [-Wclass-memaccess] std::memset(new_segment, 0, sz*sizeof(raw_iterator)); ~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ In file included from ../../include/tbb/concurrent_unordered_set.h:27, from ../../src/test/test_concurrent_unordered_set.cpp:29: ../../include/tbb/internal/_concurrent_unordered_impl.h:61:7: note: 'tbb::interface5::internal::concurrent_unordered_base, std::equal_to >, tbb::tbb_allocator, true> >::raw_iterator' {aka 'class tbb::interface5::internal::flist_iterator >, int>'} declared here class flist_iterator : public std::iterator ^~~~~~~~~~~~~~ g++ -o test_concurrent_unordered_set_secondary.o -c -MMD -O2 -g -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -fexceptions -fstack-protector-strong -grecord-gcc-switches -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -mcpu=power8 -mtune=power8 -funwind-tables -fstack-clash-protection -g -O2 -DUSE_PTHREAD -DTEST_USES_TBB=1 -Wall -Wshadow -Wcast-qual -Woverloaded-virtual -Wnon-virtual-dtor -Wextra -O2 -g -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -fexceptions -fstack-protector-strong -grecord-gcc-switches -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -mcpu=power8 -mtune=power8 -funwind-tables -fstack-clash-protection -D__TBB_TEST_SECONDARY=1 -std=c++14 -I../../src -I../../src/rml/include -I../../include -I. -include ../../src/test/harness_preload.h ../../src/test/test_concurrent_unordered_set.cpp In file included from ../../include/tbb/internal/../tbb_machine.h:243, from ../../include/tbb/internal/../atomic.h:32, from ../../include/tbb/internal/_concurrent_unordered_impl.h:39, from ../../include/tbb/concurrent_unordered_set.h:27, from ../../src/test/test_concurrent_unordered_set.cpp:29: ../../include/tbb/internal/../machine/mac_ppc.h: In function 'int32_t __TBB_machine_cmpswp4(volatile void*, int32_t, int32_t)': ../../include/tbb/internal/../machine/mac_ppc.h:91:46: warning: cast from type 'volatile void*' to type 'int32_t*' {aka 'int*'} casts away qualifiers [-Wcast-qual] , "+m"(* (int32_t*) ptr) /* redundant with "memory" */ ^~~ ../../include/tbb/internal/../machine/mac_ppc.h: In function 'int64_t __TBB_machine_cmpswp8(volatile void*, int64_t, int64_t)': ../../include/tbb/internal/../machine/mac_ppc.h:116:46: warning: cast from type 'volatile void*' to type 'int64_t*' {aka 'long int*'} casts away qualifiers [-Wcast-qual] , "+m"(* (int64_t*) ptr) /* redundant with "memory" */ ^~~ In file included from ../../include/tbb/concurrent_unordered_set.h:27, from ../../src/test/test_concurrent_unordered_set.cpp:29: ../../include/tbb/internal/_concurrent_unordered_impl.h: In instantiation of 'void tbb::interface5::internal::concurrent_unordered_base::set_bucket(tbb::interface5::internal::concurrent_unordered_base::size_type, tbb::interface5::internal::concurrent_unordered_base::raw_iterator) [with Traits = tbb::interface5::concurrent_unordered_set_traits, std::equal_to >, tbb::tbb_allocator, false>; tbb::interface5::internal::concurrent_unordered_base::size_type = long unsigned int; tbb::interface5::internal::concurrent_unordered_base::raw_iterator = tbb::interface5::internal::flist_iterator >, int>]': ../../include/tbb/internal/_concurrent_unordered_impl.h:1207:9: required from 'void tbb::interface5::internal::concurrent_unordered_base::internal_init() [with Traits = tbb::interface5::concurrent_unordered_set_traits, std::equal_to >, tbb::tbb_allocator, false>]' ../../include/tbb/internal/_concurrent_unordered_impl.h:710:9: required from 'tbb::interface5::internal::concurrent_unordered_base::concurrent_unordered_base(tbb::interface5::internal::concurrent_unordered_base::size_type, const hash_compare&, const allocator_type&) [with Traits = tbb::interface5::concurrent_unordered_set_traits, std::equal_to >, tbb::tbb_allocator, false>; tbb::interface5::internal::concurrent_unordered_base::size_type = long unsigned int; tbb::interface5::internal::concurrent_unordered_base::hash_compare = tbb::interface5::internal::hash_compare, std::equal_to >; tbb::interface5::internal::concurrent_unordered_base::allocator_type = tbb::tbb_allocator]' ../../include/tbb/concurrent_unordered_set.h:94:68: required from 'tbb::interface5::concurrent_unordered_set::concurrent_unordered_set(tbb::interface5::concurrent_unordered_set::size_type, const hasher&, const key_equal&, const allocator_type&) [with Key = int; Hasher = tbb::tbb_hash; Key_equality = std::equal_to; Allocator = tbb::tbb_allocator; tbb::interface5::concurrent_unordered_set::size_type = long unsigned int; tbb::interface5::concurrent_unordered_set::hasher = tbb::tbb_hash; tbb::interface5::concurrent_unordered_set::key_equal = std::equal_to; tbb::interface5::concurrent_unordered_set::allocator_type = tbb::tbb_allocator]' ../../src/test/test_concurrent_unordered_set.cpp:143:40: required from here ../../include/tbb/internal/_concurrent_unordered_impl.h:1471:24: warning: 'void* memset(void*, int, size_t)' clearing an object of non-trivial type 'tbb::interface5::internal::concurrent_unordered_base, std::equal_to >, tbb::tbb_allocator, false> >::raw_iterator' {aka 'class tbb::interface5::internal::flist_iterator >, int>'}; use assignment or value-initialization instead [-Wclass-memaccess] std::memset(new_segment, 0, sz*sizeof(raw_iterator)); ~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ In file included from ../../include/tbb/concurrent_unordered_set.h:27, from ../../src/test/test_concurrent_unordered_set.cpp:29: ../../include/tbb/internal/_concurrent_unordered_impl.h:61:7: note: 'tbb::interface5::internal::concurrent_unordered_base, std::equal_to >, tbb::tbb_allocator, false> >::raw_iterator' {aka 'class tbb::interface5::internal::flist_iterator >, int>'} declared here class flist_iterator : public std::iterator ^~~~~~~~~~~~~~ g++ -o test_concurrent_unordered_set.exe -O2 -g -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -fexceptions -fstack-protector-strong -grecord-gcc-switches -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -mcpu=power8 -mtune=power8 -funwind-tables -fstack-clash-protection -g -O2 -DUSE_PTHREAD -DTEST_USES_TBB=1 -Wall -Wshadow -Wcast-qual -Woverloaded-virtual -Wnon-virtual-dtor -Wextra -O2 -g -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -fexceptions -fstack-protector-strong -grecord-gcc-switches -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -mcpu=power8 -mtune=power8 -funwind-tables -fstack-clash-protection test_concurrent_unordered_set.o libtbb.so test_concurrent_unordered_set_secondary.o -lpthread -lrt -Wl,-rpath-link=. -rdynamic g++ -o test_concurrent_unordered_map.o -c -MMD -O2 -g -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -fexceptions -fstack-protector-strong -grecord-gcc-switches -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -mcpu=power8 -mtune=power8 -funwind-tables -fstack-clash-protection -g -O2 -DUSE_PTHREAD -DTEST_USES_TBB=1 -Wall -Wshadow -Wcast-qual -Woverloaded-virtual -Wnon-virtual-dtor -Wextra -O2 -g -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -fexceptions -fstack-protector-strong -grecord-gcc-switches -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -mcpu=power8 -mtune=power8 -funwind-tables -fstack-clash-protection -std=c++14 -I../../src -I../../src/rml/include -I../../include -I. -include ../../src/test/harness_preload.h ../../src/test/test_concurrent_unordered_map.cpp In file included from ../../include/tbb/internal/../tbb_machine.h:243, from ../../include/tbb/internal/../atomic.h:32, from ../../include/tbb/internal/_concurrent_unordered_impl.h:39, from ../../include/tbb/concurrent_unordered_map.h:27, from ../../src/test/test_concurrent_unordered_map.cpp:26: ../../include/tbb/internal/../machine/mac_ppc.h: In function 'int32_t __TBB_machine_cmpswp4(volatile void*, int32_t, int32_t)': ../../include/tbb/internal/../machine/mac_ppc.h:91:46: warning: cast from type 'volatile void*' to type 'int32_t*' {aka 'int*'} casts away qualifiers [-Wcast-qual] , "+m"(* (int32_t*) ptr) /* redundant with "memory" */ ^~~ ../../include/tbb/internal/../machine/mac_ppc.h: In function 'int64_t __TBB_machine_cmpswp8(volatile void*, int64_t, int64_t)': ../../include/tbb/internal/../machine/mac_ppc.h:116:46: warning: cast from type 'volatile void*' to type 'int64_t*' {aka 'long int*'} casts away qualifiers [-Wcast-qual] , "+m"(* (int64_t*) ptr) /* redundant with "memory" */ ^~~ In file included from ../../src/test/test_concurrent_unordered_map.cpp:42: ../../src/test/test_concurrent_unordered_common.h: In instantiation of 'void test_concurrent(const char*, bool) [with T = tbb::interface5::concurrent_unordered_map, std::equal_to, local_counting_allocator, std::allocator> > >]': ../../src/test/test_concurrent_unordered_map.cpp:304:56: required from here ../../src/test/test_concurrent_unordered_common.h:638:15: warning: 'void* memset(void*, int, size_t)' clearing an object of type 'AtomicByte' {aka 'struct tbb::atomic'} with no trivial copy-assignment; use assignment or value-initialization instead [-Wclass-memaccess] memset( array, 0, items*sizeof(AtomicByte) ); ~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ In file included from ../../include/tbb/internal/_concurrent_unordered_impl.h:39, from ../../include/tbb/concurrent_unordered_map.h:27, from ../../src/test/test_concurrent_unordered_map.cpp:26: ../../include/tbb/internal/../atomic.h:421:27: note: 'AtomicByte' {aka 'struct tbb::atomic'} declared here template<> struct atomic: internal::atomic_impl_with_arithmetic { \ ^~~~~~~~~ ../../include/tbb/internal/../atomic.h:478:1: note: in expansion of macro '__TBB_DECL_ATOMIC' __TBB_DECL_ATOMIC(unsigned char) ^~~~~~~~~~~~~~~~~ In file included from ../../src/test/test_concurrent_unordered_map.cpp:42: ../../src/test/test_concurrent_unordered_common.h:647:15: warning: 'void* memset(void*, int, size_t)' clearing an object of type 'AtomicByte' {aka 'struct tbb::atomic'} with no trivial copy-assignment; use assignment or value-initialization instead [-Wclass-memaccess] memset( array, 0, items*sizeof(AtomicByte) ); ~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ In file included from ../../include/tbb/internal/_concurrent_unordered_impl.h:39, from ../../include/tbb/concurrent_unordered_map.h:27, from ../../src/test/test_concurrent_unordered_map.cpp:26: ../../include/tbb/internal/../atomic.h:421:27: note: 'AtomicByte' {aka 'struct tbb::atomic'} declared here template<> struct atomic: internal::atomic_impl_with_arithmetic { \ ^~~~~~~~~ ../../include/tbb/internal/../atomic.h:478:1: note: in expansion of macro '__TBB_DECL_ATOMIC' __TBB_DECL_ATOMIC(unsigned char) ^~~~~~~~~~~~~~~~~ In file included from ../../src/test/test_concurrent_unordered_map.cpp:42: ../../src/test/test_concurrent_unordered_common.h: In instantiation of 'void test_concurrent(const char*, bool) [with T = tbb::interface5::concurrent_unordered_map, std::equal_to, local_counting_allocator, std::allocator> > >]': ../../src/test/test_concurrent_unordered_map.cpp:305:77: required from here ../../src/test/test_concurrent_unordered_common.h:638:15: warning: 'void* memset(void*, int, size_t)' clearing an object of type 'AtomicByte' {aka 'struct tbb::atomic'} with no trivial copy-assignment; use assignment or value-initialization instead [-Wclass-memaccess] memset( array, 0, items*sizeof(AtomicByte) ); ~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ In file included from ../../include/tbb/internal/_concurrent_unordered_impl.h:39, from ../../include/tbb/concurrent_unordered_map.h:27, from ../../src/test/test_concurrent_unordered_map.cpp:26: ../../include/tbb/internal/../atomic.h:421:27: note: 'AtomicByte' {aka 'struct tbb::atomic'} declared here template<> struct atomic: internal::atomic_impl_with_arithmetic { \ ^~~~~~~~~ ../../include/tbb/internal/../atomic.h:478:1: note: in expansion of macro '__TBB_DECL_ATOMIC' __TBB_DECL_ATOMIC(unsigned char) ^~~~~~~~~~~~~~~~~ In file included from ../../src/test/test_concurrent_unordered_map.cpp:42: ../../src/test/test_concurrent_unordered_common.h:647:15: warning: 'void* memset(void*, int, size_t)' clearing an object of type 'AtomicByte' {aka 'struct tbb::atomic'} with no trivial copy-assignment; use assignment or value-initialization instead [-Wclass-memaccess] memset( array, 0, items*sizeof(AtomicByte) ); ~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ In file included from ../../include/tbb/internal/_concurrent_unordered_impl.h:39, from ../../include/tbb/concurrent_unordered_map.h:27, from ../../src/test/test_concurrent_unordered_map.cpp:26: ../../include/tbb/internal/../atomic.h:421:27: note: 'AtomicByte' {aka 'struct tbb::atomic'} declared here template<> struct atomic: internal::atomic_impl_with_arithmetic { \ ^~~~~~~~~ ../../include/tbb/internal/../atomic.h:478:1: note: in expansion of macro '__TBB_DECL_ATOMIC' __TBB_DECL_ATOMIC(unsigned char) ^~~~~~~~~~~~~~~~~ In file included from ../../src/test/test_concurrent_unordered_map.cpp:42: ../../src/test/test_concurrent_unordered_common.h: In instantiation of 'void test_concurrent(const char*, bool) [with T = tbb::interface5::concurrent_unordered_multimap, std::equal_to, local_counting_allocator, std::allocator> > >]': ../../src/test/test_concurrent_unordered_map.cpp:308:66: required from here ../../src/test/test_concurrent_unordered_common.h:638:15: warning: 'void* memset(void*, int, size_t)' clearing an object of type 'AtomicByte' {aka 'struct tbb::atomic'} with no trivial copy-assignment; use assignment or value-initialization instead [-Wclass-memaccess] memset( array, 0, items*sizeof(AtomicByte) ); ~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ In file included from ../../include/tbb/internal/_concurrent_unordered_impl.h:39, from ../../include/tbb/concurrent_unordered_map.h:27, from ../../src/test/test_concurrent_unordered_map.cpp:26: ../../include/tbb/internal/../atomic.h:421:27: note: 'AtomicByte' {aka 'struct tbb::atomic'} declared here template<> struct atomic: internal::atomic_impl_with_arithmetic { \ ^~~~~~~~~ ../../include/tbb/internal/../atomic.h:478:1: note: in expansion of macro '__TBB_DECL_ATOMIC' __TBB_DECL_ATOMIC(unsigned char) ^~~~~~~~~~~~~~~~~ In file included from ../../src/test/test_concurrent_unordered_map.cpp:42: ../../src/test/test_concurrent_unordered_common.h:647:15: warning: 'void* memset(void*, int, size_t)' clearing an object of type 'AtomicByte' {aka 'struct tbb::atomic'} with no trivial copy-assignment; use assignment or value-initialization instead [-Wclass-memaccess] memset( array, 0, items*sizeof(AtomicByte) ); ~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ In file included from ../../include/tbb/internal/_concurrent_unordered_impl.h:39, from ../../include/tbb/concurrent_unordered_map.h:27, from ../../src/test/test_concurrent_unordered_map.cpp:26: ../../include/tbb/internal/../atomic.h:421:27: note: 'AtomicByte' {aka 'struct tbb::atomic'} declared here template<> struct atomic: internal::atomic_impl_with_arithmetic { \ ^~~~~~~~~ ../../include/tbb/internal/../atomic.h:478:1: note: in expansion of macro '__TBB_DECL_ATOMIC' __TBB_DECL_ATOMIC(unsigned char) ^~~~~~~~~~~~~~~~~ In file included from ../../src/test/test_concurrent_unordered_map.cpp:42: ../../src/test/test_concurrent_unordered_common.h: In instantiation of 'void test_concurrent(const char*, bool) [with T = tbb::interface5::concurrent_unordered_multimap, std::equal_to, local_counting_allocator, std::allocator> > >]': ../../src/test/test_concurrent_unordered_map.cpp:309:87: required from here ../../src/test/test_concurrent_unordered_common.h:638:15: warning: 'void* memset(void*, int, size_t)' clearing an object of type 'AtomicByte' {aka 'struct tbb::atomic'} with no trivial copy-assignment; use assignment or value-initialization instead [-Wclass-memaccess] memset( array, 0, items*sizeof(AtomicByte) ); ~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ In file included from ../../include/tbb/internal/_concurrent_unordered_impl.h:39, from ../../include/tbb/concurrent_unordered_map.h:27, from ../../src/test/test_concurrent_unordered_map.cpp:26: ../../include/tbb/internal/../atomic.h:421:27: note: 'AtomicByte' {aka 'struct tbb::atomic'} declared here template<> struct atomic: internal::atomic_impl_with_arithmetic { \ ^~~~~~~~~ ../../include/tbb/internal/../atomic.h:478:1: note: in expansion of macro '__TBB_DECL_ATOMIC' __TBB_DECL_ATOMIC(unsigned char) ^~~~~~~~~~~~~~~~~ In file included from ../../src/test/test_concurrent_unordered_map.cpp:42: ../../src/test/test_concurrent_unordered_common.h:647:15: warning: 'void* memset(void*, int, size_t)' clearing an object of type 'AtomicByte' {aka 'struct tbb::atomic'} with no trivial copy-assignment; use assignment or value-initialization instead [-Wclass-memaccess] memset( array, 0, items*sizeof(AtomicByte) ); ~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ In file included from ../../include/tbb/internal/_concurrent_unordered_impl.h:39, from ../../include/tbb/concurrent_unordered_map.h:27, from ../../src/test/test_concurrent_unordered_map.cpp:26: ../../include/tbb/internal/../atomic.h:421:27: note: 'AtomicByte' {aka 'struct tbb::atomic'} declared here template<> struct atomic: internal::atomic_impl_with_arithmetic { \ ^~~~~~~~~ ../../include/tbb/internal/../atomic.h:478:1: note: in expansion of macro '__TBB_DECL_ATOMIC' __TBB_DECL_ATOMIC(unsigned char) ^~~~~~~~~~~~~~~~~ In file included from ../../src/test/test_concurrent_unordered_map.cpp:42: ../../src/test/test_concurrent_unordered_common.h: In instantiation of 'void test_concurrent(const char*, bool) [with T = tbb::interface5::concurrent_unordered_map, tbb::tbb_hash, std::equal_to, local_counting_allocator, std::allocator> > >]': ../../src/test/test_concurrent_unordered_map.cpp:313:116: required from here ../../src/test/test_concurrent_unordered_common.h:638:15: warning: 'void* memset(void*, int, size_t)' clearing an object of type 'AtomicByte' {aka 'struct tbb::atomic'} with no trivial copy-assignment; use assignment or value-initialization instead [-Wclass-memaccess] memset( array, 0, items*sizeof(AtomicByte) ); ~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ In file included from ../../include/tbb/internal/_concurrent_unordered_impl.h:39, from ../../include/tbb/concurrent_unordered_map.h:27, from ../../src/test/test_concurrent_unordered_map.cpp:26: ../../include/tbb/internal/../atomic.h:421:27: note: 'AtomicByte' {aka 'struct tbb::atomic'} declared here template<> struct atomic: internal::atomic_impl_with_arithmetic { \ ^~~~~~~~~ ../../include/tbb/internal/../atomic.h:478:1: note: in expansion of macro '__TBB_DECL_ATOMIC' __TBB_DECL_ATOMIC(unsigned char) ^~~~~~~~~~~~~~~~~ In file included from ../../src/test/test_concurrent_unordered_map.cpp:42: ../../src/test/test_concurrent_unordered_common.h:647:15: warning: 'void* memset(void*, int, size_t)' clearing an object of type 'AtomicByte' {aka 'struct tbb::atomic'} with no trivial copy-assignment; use assignment or value-initialization instead [-Wclass-memaccess] memset( array, 0, items*sizeof(AtomicByte) ); ~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ In file included from ../../include/tbb/internal/_concurrent_unordered_impl.h:39, from ../../include/tbb/concurrent_unordered_map.h:27, from ../../src/test/test_concurrent_unordered_map.cpp:26: ../../include/tbb/internal/../atomic.h:421:27: note: 'AtomicByte' {aka 'struct tbb::atomic'} declared here template<> struct atomic: internal::atomic_impl_with_arithmetic { \ ^~~~~~~~~ ../../include/tbb/internal/../atomic.h:478:1: note: in expansion of macro '__TBB_DECL_ATOMIC' __TBB_DECL_ATOMIC(unsigned char) ^~~~~~~~~~~~~~~~~ In file included from ../../src/test/test_concurrent_unordered_map.cpp:42: ../../src/test/test_concurrent_unordered_common.h: In instantiation of 'void test_concurrent(const char*, bool) [with T = tbb::interface5::concurrent_unordered_map, std::equal_to, local_counting_allocator, std::allocator> > >]': ../../src/test/test_concurrent_unordered_map.cpp:315:94: required from here ../../src/test/test_concurrent_unordered_common.h:638:15: warning: 'void* memset(void*, int, size_t)' clearing an object of type 'AtomicByte' {aka 'struct tbb::atomic'} with no trivial copy-assignment; use assignment or value-initialization instead [-Wclass-memaccess] memset( array, 0, items*sizeof(AtomicByte) ); ~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ In file included from ../../include/tbb/internal/_concurrent_unordered_impl.h:39, from ../../include/tbb/concurrent_unordered_map.h:27, from ../../src/test/test_concurrent_unordered_map.cpp:26: ../../include/tbb/internal/../atomic.h:421:27: note: 'AtomicByte' {aka 'struct tbb::atomic'} declared here template<> struct atomic: internal::atomic_impl_with_arithmetic { \ ^~~~~~~~~ ../../include/tbb/internal/../atomic.h:478:1: note: in expansion of macro '__TBB_DECL_ATOMIC' __TBB_DECL_ATOMIC(unsigned char) ^~~~~~~~~~~~~~~~~ In file included from ../../src/test/test_concurrent_unordered_map.cpp:42: ../../src/test/test_concurrent_unordered_common.h:647:15: warning: 'void* memset(void*, int, size_t)' clearing an object of type 'AtomicByte' {aka 'struct tbb::atomic'} with no trivial copy-assignment; use assignment or value-initialization instead [-Wclass-memaccess] memset( array, 0, items*sizeof(AtomicByte) ); ~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ In file included from ../../include/tbb/internal/_concurrent_unordered_impl.h:39, from ../../include/tbb/concurrent_unordered_map.h:27, from ../../src/test/test_concurrent_unordered_map.cpp:26: ../../include/tbb/internal/../atomic.h:421:27: note: 'AtomicByte' {aka 'struct tbb::atomic'} declared here template<> struct atomic: internal::atomic_impl_with_arithmetic { \ ^~~~~~~~~ ../../include/tbb/internal/../atomic.h:478:1: note: in expansion of macro '__TBB_DECL_ATOMIC' __TBB_DECL_ATOMIC(unsigned char) ^~~~~~~~~~~~~~~~~ In file included from ../../src/test/test_concurrent_unordered_map.cpp:42: ../../src/test/test_concurrent_unordered_common.h: In instantiation of 'void test_concurrent(const char*, bool) [with T = tbb::interface5::concurrent_unordered_multimap, tbb::tbb_hash, std::equal_to, local_counting_allocator, std::allocator> > >]': ../../src/test/test_concurrent_unordered_map.cpp:318:131: required from here ../../src/test/test_concurrent_unordered_common.h:638:15: warning: 'void* memset(void*, int, size_t)' clearing an object of type 'AtomicByte' {aka 'struct tbb::atomic'} with no trivial copy-assignment; use assignment or value-initialization instead [-Wclass-memaccess] memset( array, 0, items*sizeof(AtomicByte) ); ~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ In file included from ../../include/tbb/internal/_concurrent_unordered_impl.h:39, from ../../include/tbb/concurrent_unordered_map.h:27, from ../../src/test/test_concurrent_unordered_map.cpp:26: ../../include/tbb/internal/../atomic.h:421:27: note: 'AtomicByte' {aka 'struct tbb::atomic'} declared here template<> struct atomic: internal::atomic_impl_with_arithmetic { \ ^~~~~~~~~ ../../include/tbb/internal/../atomic.h:478:1: note: in expansion of macro '__TBB_DECL_ATOMIC' __TBB_DECL_ATOMIC(unsigned char) ^~~~~~~~~~~~~~~~~ In file included from ../../src/test/test_concurrent_unordered_map.cpp:42: ../../src/test/test_concurrent_unordered_common.h:647:15: warning: 'void* memset(void*, int, size_t)' clearing an object of type 'AtomicByte' {aka 'struct tbb::atomic'} with no trivial copy-assignment; use assignment or value-initialization instead [-Wclass-memaccess] memset( array, 0, items*sizeof(AtomicByte) ); ~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ In file included from ../../include/tbb/internal/_concurrent_unordered_impl.h:39, from ../../include/tbb/concurrent_unordered_map.h:27, from ../../src/test/test_concurrent_unordered_map.cpp:26: ../../include/tbb/internal/../atomic.h:421:27: note: 'AtomicByte' {aka 'struct tbb::atomic'} declared here template<> struct atomic: internal::atomic_impl_with_arithmetic { \ ^~~~~~~~~ ../../include/tbb/internal/../atomic.h:478:1: note: in expansion of macro '__TBB_DECL_ATOMIC' __TBB_DECL_ATOMIC(unsigned char) ^~~~~~~~~~~~~~~~~ In file included from ../../include/tbb/concurrent_unordered_map.h:27, from ../../src/test/test_concurrent_unordered_map.cpp:26: ../../include/tbb/internal/_concurrent_unordered_impl.h: In instantiation of 'void tbb::interface5::internal::concurrent_unordered_base::set_bucket(tbb::interface5::internal::concurrent_unordered_base::size_type, tbb::interface5::internal::concurrent_unordered_base::raw_iterator) [with Traits = tbb::interface5::concurrent_unordered_map_traits, std::equal_to >, local_counting_allocator, std::allocator> >, true>; tbb::interface5::internal::concurrent_unordered_base::size_type = long unsigned int; tbb::interface5::internal::concurrent_unordered_base::raw_iterator = tbb::interface5::internal::flist_iterator, local_counting_allocator, std::allocator> > >, std::pair >]': ../../include/tbb/internal/_concurrent_unordered_impl.h:1056:9: required from 'void tbb::interface5::internal::concurrent_unordered_base::clear() [with Traits = tbb::interface5::concurrent_unordered_map_traits, std::equal_to >, local_counting_allocator, std::allocator> >, true>]' ../../src/test/test_concurrent_unordered_map.cpp:161:20: required from here ../../include/tbb/internal/_concurrent_unordered_impl.h:1471:24: warning: 'void* memset(void*, int, size_t)' clearing an object of non-trivial type 'tbb::interface5::internal::concurrent_unordered_base, std::equal_to >, local_counting_allocator, std::allocator> >, true> >::raw_iterator' {aka 'class tbb::interface5::internal::flist_iterator, local_counting_allocator, std::allocator> > >, std::pair >'}; use assignment or value-initialization instead [-Wclass-memaccess] std::memset(new_segment, 0, sz*sizeof(raw_iterator)); ~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ In file included from ../../include/tbb/concurrent_unordered_map.h:27, from ../../src/test/test_concurrent_unordered_map.cpp:26: ../../include/tbb/internal/_concurrent_unordered_impl.h:61:7: note: 'tbb::interface5::internal::concurrent_unordered_base, std::equal_to >, local_counting_allocator, std::allocator> >, true> >::raw_iterator' {aka 'class tbb::interface5::internal::flist_iterator, local_counting_allocator, std::allocator> > >, std::pair >'} declared here class flist_iterator : public std::iterator ^~~~~~~~~~~~~~ In file included from ../../include/tbb/concurrent_unordered_map.h:27, from ../../src/test/test_concurrent_unordered_map.cpp:26: ../../include/tbb/internal/_concurrent_unordered_impl.h: In instantiation of 'void tbb::interface5::internal::concurrent_unordered_base::set_bucket(tbb::interface5::internal::concurrent_unordered_base::size_type, tbb::interface5::internal::concurrent_unordered_base::raw_iterator) [with Traits = tbb::interface5::concurrent_unordered_map_traits, std::equal_to >, local_counting_allocator, std::allocator> >, false>; tbb::interface5::internal::concurrent_unordered_base::size_type = long unsigned int; tbb::interface5::internal::concurrent_unordered_base::raw_iterator = tbb::interface5::internal::flist_iterator, local_counting_allocator, std::allocator> > >, std::pair >]': ../../include/tbb/internal/_concurrent_unordered_impl.h:1056:9: required from 'void tbb::interface5::internal::concurrent_unordered_base::clear() [with Traits = tbb::interface5::concurrent_unordered_map_traits, std::equal_to >, local_counting_allocator, std::allocator> >, false>]' ../../src/test/test_concurrent_unordered_common.h:657:5: required from 'void test_concurrent(const char*, bool) [with T = tbb::interface5::concurrent_unordered_map, std::equal_to, local_counting_allocator, std::allocator> > >]' ../../src/test/test_concurrent_unordered_map.cpp:304:56: required from here ../../include/tbb/internal/_concurrent_unordered_impl.h:1471:24: warning: 'void* memset(void*, int, size_t)' clearing an object of non-trivial type 'tbb::interface5::internal::concurrent_unordered_base, std::equal_to >, local_counting_allocator, std::allocator> >, false> >::raw_iterator' {aka 'class tbb::interface5::internal::flist_iterator, local_counting_allocator, std::allocator> > >, std::pair >'}; use assignment or value-initialization instead [-Wclass-memaccess] std::memset(new_segment, 0, sz*sizeof(raw_iterator)); ~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ In file included from ../../include/tbb/concurrent_unordered_map.h:27, from ../../src/test/test_concurrent_unordered_map.cpp:26: ../../include/tbb/internal/_concurrent_unordered_impl.h:61:7: note: 'tbb::interface5::internal::concurrent_unordered_base, std::equal_to >, local_counting_allocator, std::allocator> >, false> >::raw_iterator' {aka 'class tbb::interface5::internal::flist_iterator, local_counting_allocator, std::allocator> > >, std::pair >'} declared here class flist_iterator : public std::iterator ^~~~~~~~~~~~~~ In file included from ../../include/tbb/concurrent_unordered_map.h:27, from ../../src/test/test_concurrent_unordered_map.cpp:26: ../../include/tbb/internal/_concurrent_unordered_impl.h: In instantiation of 'void tbb::interface5::internal::concurrent_unordered_base::set_bucket(tbb::interface5::internal::concurrent_unordered_base::size_type, tbb::interface5::internal::concurrent_unordered_base::raw_iterator) [with Traits = tbb::interface5::concurrent_unordered_map_traits, std::equal_to >, local_counting_allocator, std::allocator> >, false>; tbb::interface5::internal::concurrent_unordered_base::size_type = long unsigned int; tbb::interface5::internal::concurrent_unordered_base::raw_iterator = tbb::interface5::internal::flist_iterator, local_counting_allocator, std::allocator> > >, std::pair >]': ../../include/tbb/internal/_concurrent_unordered_impl.h:1056:9: required from 'void tbb::interface5::internal::concurrent_unordered_base::clear() [with Traits = tbb::interface5::concurrent_unordered_map_traits, std::equal_to >, local_counting_allocator, std::allocator> >, false>]' ../../src/test/test_concurrent_unordered_common.h:657:5: required from 'void test_concurrent(const char*, bool) [with T = tbb::interface5::concurrent_unordered_map, std::equal_to, local_counting_allocator, std::allocator> > >]' ../../src/test/test_concurrent_unordered_map.cpp:305:77: required from here ../../include/tbb/internal/_concurrent_unordered_impl.h:1471:24: warning: 'void* memset(void*, int, size_t)' clearing an object of non-trivial type 'tbb::interface5::internal::concurrent_unordered_base, std::equal_to >, local_counting_allocator, std::allocator> >, false> >::raw_iterator' {aka 'class tbb::interface5::internal::flist_iterator, local_counting_allocator, std::allocator> > >, std::pair >'}; use assignment or value-initialization instead [-Wclass-memaccess] std::memset(new_segment, 0, sz*sizeof(raw_iterator)); ~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ In file included from ../../include/tbb/concurrent_unordered_map.h:27, from ../../src/test/test_concurrent_unordered_map.cpp:26: ../../include/tbb/internal/_concurrent_unordered_impl.h:61:7: note: 'tbb::interface5::internal::concurrent_unordered_base, std::equal_to >, local_counting_allocator, std::allocator> >, false> >::raw_iterator' {aka 'class tbb::interface5::internal::flist_iterator, local_counting_allocator, std::allocator> > >, std::pair >'} declared here class flist_iterator : public std::iterator ^~~~~~~~~~~~~~ In file included from ../../include/tbb/concurrent_unordered_map.h:27, from ../../src/test/test_concurrent_unordered_map.cpp:26: ../../include/tbb/internal/_concurrent_unordered_impl.h: In instantiation of 'void tbb::interface5::internal::concurrent_unordered_base::set_bucket(tbb::interface5::internal::concurrent_unordered_base::size_type, tbb::interface5::internal::concurrent_unordered_base::raw_iterator) [with Traits = tbb::interface5::concurrent_unordered_map_traits, std::equal_to >, local_counting_allocator, std::allocator> >, true>; tbb::interface5::internal::concurrent_unordered_base::size_type = long unsigned int; tbb::interface5::internal::concurrent_unordered_base::raw_iterator = tbb::interface5::internal::flist_iterator, local_counting_allocator, std::allocator> > >, std::pair >]': ../../include/tbb/internal/_concurrent_unordered_impl.h:1056:9: required from 'void tbb::interface5::internal::concurrent_unordered_base::clear() [with Traits = tbb::interface5::concurrent_unordered_map_traits, std::equal_to >, local_counting_allocator, std::allocator> >, true>]' ../../src/test/test_concurrent_unordered_common.h:657:5: required from 'void test_concurrent(const char*, bool) [with T = tbb::interface5::concurrent_unordered_multimap, std::equal_to, local_counting_allocator, std::allocator> > >]' ../../src/test/test_concurrent_unordered_map.cpp:309:87: required from here ../../include/tbb/internal/_concurrent_unordered_impl.h:1471:24: warning: 'void* memset(void*, int, size_t)' clearing an object of non-trivial type 'tbb::interface5::internal::concurrent_unordered_base, std::equal_to >, local_counting_allocator, std::allocator> >, true> >::raw_iterator' {aka 'class tbb::interface5::internal::flist_iterator, local_counting_allocator, std::allocator> > >, std::pair >'}; use assignment or value-initialization instead [-Wclass-memaccess] std::memset(new_segment, 0, sz*sizeof(raw_iterator)); ~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ In file included from ../../include/tbb/concurrent_unordered_map.h:27, from ../../src/test/test_concurrent_unordered_map.cpp:26: ../../include/tbb/internal/_concurrent_unordered_impl.h:61:7: note: 'tbb::interface5::internal::concurrent_unordered_base, std::equal_to >, local_counting_allocator, std::allocator> >, true> >::raw_iterator' {aka 'class tbb::interface5::internal::flist_iterator, local_counting_allocator, std::allocator> > >, std::pair >'} declared here class flist_iterator : public std::iterator ^~~~~~~~~~~~~~ In file included from ../../include/tbb/concurrent_unordered_map.h:27, from ../../src/test/test_concurrent_unordered_map.cpp:26: ../../include/tbb/internal/_concurrent_unordered_impl.h: In instantiation of 'void tbb::interface5::internal::concurrent_unordered_base::set_bucket(tbb::interface5::internal::concurrent_unordered_base::size_type, tbb::interface5::internal::concurrent_unordered_base::raw_iterator) [with Traits = tbb::interface5::concurrent_unordered_map_traits, tbb::interface5::internal::hash_compare, std::equal_to >, local_counting_allocator, std::allocator> >, false>; tbb::interface5::internal::concurrent_unordered_base::size_type = long unsigned int; tbb::interface5::internal::concurrent_unordered_base::raw_iterator = tbb::interface5::internal::flist_iterator >, local_counting_allocator >, std::allocator>, tbb::atomic > >, std::pair > >]': ../../include/tbb/internal/_concurrent_unordered_impl.h:1056:9: required from 'void tbb::interface5::internal::concurrent_unordered_base::clear() [with Traits = tbb::interface5::concurrent_unordered_map_traits, tbb::interface5::internal::hash_compare, std::equal_to >, local_counting_allocator, std::allocator> >, false>]' ../../src/test/test_concurrent_unordered_common.h:657:5: required from 'void test_concurrent(const char*, bool) [with T = tbb::interface5::concurrent_unordered_map, tbb::tbb_hash, std::equal_to, local_counting_allocator, std::allocator> > >]' ../../src/test/test_concurrent_unordered_map.cpp:313:116: required from here ../../include/tbb/internal/_concurrent_unordered_impl.h:1471:24: warning: 'void* memset(void*, int, size_t)' clearing an object of non-trivial type 'tbb::interface5::internal::concurrent_unordered_base, tbb::interface5::internal::hash_compare, std::equal_to >, local_counting_allocator, std::allocator> >, false> >::raw_iterator' {aka 'class tbb::interface5::internal::flist_iterator >, local_counting_allocator >, std::allocator>, tbb::atomic > >, std::pair > >'}; use assignment or value-initialization instead [-Wclass-memaccess] std::memset(new_segment, 0, sz*sizeof(raw_iterator)); ~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ In file included from ../../include/tbb/concurrent_unordered_map.h:27, from ../../src/test/test_concurrent_unordered_map.cpp:26: ../../include/tbb/internal/_concurrent_unordered_impl.h:61:7: note: 'tbb::interface5::internal::concurrent_unordered_base, tbb::interface5::internal::hash_compare, std::equal_to >, local_counting_allocator, std::allocator> >, false> >::raw_iterator' {aka 'class tbb::interface5::internal::flist_iterator >, local_counting_allocator >, std::allocator>, tbb::atomic > >, std::pair > >'} declared here class flist_iterator : public std::iterator ^~~~~~~~~~~~~~ In file included from ../../include/tbb/concurrent_unordered_map.h:27, from ../../src/test/test_concurrent_unordered_map.cpp:26: ../../include/tbb/internal/_concurrent_unordered_impl.h: In instantiation of 'void tbb::interface5::internal::concurrent_unordered_base::set_bucket(tbb::interface5::internal::concurrent_unordered_base::size_type, tbb::interface5::internal::concurrent_unordered_base::raw_iterator) [with Traits = tbb::interface5::concurrent_unordered_map_traits, std::equal_to >, local_counting_allocator, std::allocator> >, false>; tbb::interface5::internal::concurrent_unordered_base::size_type = long unsigned int; tbb::interface5::internal::concurrent_unordered_base::raw_iterator = tbb::interface5::internal::flist_iterator, local_counting_allocator, std::allocator>, tbb::atomic > >, std::pair >]': ../../include/tbb/internal/_concurrent_unordered_impl.h:1056:9: required from 'void tbb::interface5::internal::concurrent_unordered_base::clear() [with Traits = tbb::interface5::concurrent_unordered_map_traits, std::equal_to >, local_counting_allocator, std::allocator> >, false>]' ../../src/test/test_concurrent_unordered_common.h:347:5: required from 'void test_basic(const char*, do_check_element_state) [with T = tbb::interface5::concurrent_unordered_map, std::equal_to, local_counting_allocator, std::allocator> > >; do_check_element_state = tbb::internal::bool_constant]' ../../src/test/test_concurrent_unordered_map.cpp:314:117: required from here ../../include/tbb/internal/_concurrent_unordered_impl.h:1471:24: warning: 'void* memset(void*, int, size_t)' clearing an object of non-trivial type 'tbb::interface5::internal::concurrent_unordered_base, std::equal_to >, local_counting_allocator, std::allocator> >, false> >::raw_iterator' {aka 'class tbb::interface5::internal::flist_iterator, local_counting_allocator, std::allocator>, tbb::atomic > >, std::pair >'}; use assignment or value-initialization instead [-Wclass-memaccess] std::memset(new_segment, 0, sz*sizeof(raw_iterator)); ~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ In file included from ../../include/tbb/concurrent_unordered_map.h:27, from ../../src/test/test_concurrent_unordered_map.cpp:26: ../../include/tbb/internal/_concurrent_unordered_impl.h:61:7: note: 'tbb::interface5::internal::concurrent_unordered_base, std::equal_to >, local_counting_allocator, std::allocator> >, false> >::raw_iterator' {aka 'class tbb::interface5::internal::flist_iterator, local_counting_allocator, std::allocator>, tbb::atomic > >, std::pair >'} declared here class flist_iterator : public std::iterator ^~~~~~~~~~~~~~ In file included from ../../include/tbb/concurrent_unordered_map.h:27, from ../../src/test/test_concurrent_unordered_map.cpp:26: ../../include/tbb/internal/_concurrent_unordered_impl.h: In instantiation of 'void tbb::interface5::internal::concurrent_unordered_base::set_bucket(tbb::interface5::internal::concurrent_unordered_base::size_type, tbb::interface5::internal::concurrent_unordered_base::raw_iterator) [with Traits = tbb::interface5::concurrent_unordered_map_traits, tbb::interface5::internal::hash_compare, std::equal_to >, local_counting_allocator, std::allocator> >, true>; tbb::interface5::internal::concurrent_unordered_base::size_type = long unsigned int; tbb::interface5::internal::concurrent_unordered_base::raw_iterator = tbb::interface5::internal::flist_iterator >, local_counting_allocator >, std::allocator>, tbb::atomic > >, std::pair > >]': ../../include/tbb/internal/_concurrent_unordered_impl.h:1056:9: required from 'void tbb::interface5::internal::concurrent_unordered_base::clear() [with Traits = tbb::interface5::concurrent_unordered_map_traits, tbb::interface5::internal::hash_compare, std::equal_to >, local_counting_allocator, std::allocator> >, true>]' ../../src/test/test_concurrent_unordered_common.h:657:5: required from 'void test_concurrent(const char*, bool) [with T = tbb::interface5::concurrent_unordered_multimap, tbb::tbb_hash, std::equal_to, local_counting_allocator, std::allocator> > >]' ../../src/test/test_concurrent_unordered_map.cpp:318:131: required from here ../../include/tbb/internal/_concurrent_unordered_impl.h:1471:24: warning: 'void* memset(void*, int, size_t)' clearing an object of non-trivial type 'tbb::interface5::internal::concurrent_unordered_base, tbb::interface5::internal::hash_compare, std::equal_to >, local_counting_allocator, std::allocator> >, true> >::raw_iterator' {aka 'class tbb::interface5::internal::flist_iterator >, local_counting_allocator >, std::allocator>, tbb::atomic > >, std::pair > >'}; use assignment or value-initialization instead [-Wclass-memaccess] std::memset(new_segment, 0, sz*sizeof(raw_iterator)); ~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ In file included from ../../include/tbb/concurrent_unordered_map.h:27, from ../../src/test/test_concurrent_unordered_map.cpp:26: ../../include/tbb/internal/_concurrent_unordered_impl.h:61:7: note: 'tbb::interface5::internal::concurrent_unordered_base, tbb::interface5::internal::hash_compare, std::equal_to >, local_counting_allocator, std::allocator> >, true> >::raw_iterator' {aka 'class tbb::interface5::internal::flist_iterator >, local_counting_allocator >, std::allocator>, tbb::atomic > >, std::pair > >'} declared here class flist_iterator : public std::iterator ^~~~~~~~~~~~~~ In file included from ../../src/test/test_container_move_support.h:26, from ../../src/test/test_concurrent_unordered_common.h:25, from ../../src/test/test_concurrent_unordered_map.cpp:42: ../../src/test/harness_allocator.h: In instantiation of 'debug_allocator::pointer debug_allocator::allocate(debug_allocator::size_type, const void*) [with T = tbb::interface5::internal::flist_iterator, local_counting_allocator, std::allocator> > >, std::pair >; Allocator = std::allocator; debug_allocator::pointer = tbb::interface5::internal::flist_iterator, local_counting_allocator, std::allocator> > >, std::pair >*; debug_allocator::size_type = long unsigned int]': ../../src/test/harness_allocator.h:474:43: required from 'local_counting_allocator::pointer local_counting_allocator::allocate(local_counting_allocator::size_type) [with base_alloc_t = debug_allocator, local_counting_allocator, std::allocator> > >, std::pair >, std::allocator>; count_t = tbb::atomic; local_counting_allocator::pointer = tbb::interface5::internal::flist_iterator, local_counting_allocator, std::allocator> > >, std::pair >*; local_counting_allocator::size_type = long unsigned int]' ../../include/tbb/internal/_concurrent_unordered_impl.h:1470:28: required from 'void tbb::interface5::internal::concurrent_unordered_base::set_bucket(tbb::interface5::internal::concurrent_unordered_base::size_type, tbb::interface5::internal::concurrent_unordered_base::raw_iterator) [with Traits = tbb::interface5::concurrent_unordered_map_traits, std::equal_to >, local_counting_allocator, std::allocator> >, true>; tbb::interface5::internal::concurrent_unordered_base::size_type = long unsigned int; tbb::interface5::internal::concurrent_unordered_base::raw_iterator = tbb::interface5::internal::flist_iterator, local_counting_allocator, std::allocator> > >, std::pair >]' ../../include/tbb/internal/_concurrent_unordered_impl.h:1056:9: required from 'void tbb::interface5::internal::concurrent_unordered_base::clear() [with Traits = tbb::interface5::concurrent_unordered_map_traits, std::equal_to >, local_counting_allocator, std::allocator> >, true>]' ../../src/test/test_concurrent_unordered_map.cpp:161:20: required from here ../../src/test/harness_allocator.h:518:20: warning: 'void* memset(void*, int, size_t)' writing to an object of non-trivial type 'class tbb::interface5::internal::flist_iterator, local_counting_allocator, std::allocator> > >, std::pair >'; use assignment instead [-Wclass-memaccess] std::memset( ptr, 0xE3E3E3E3, n * sizeof(value_type) ); ~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ In file included from ../../include/tbb/concurrent_unordered_map.h:27, from ../../src/test/test_concurrent_unordered_map.cpp:26: ../../include/tbb/internal/_concurrent_unordered_impl.h:61:7: note: 'class tbb::interface5::internal::flist_iterator, local_counting_allocator, std::allocator> > >, std::pair >' declared here class flist_iterator : public std::iterator ^~~~~~~~~~~~~~ In file included from ../../include/tbb/concurrent_unordered_map.h:27, from ../../src/test/test_concurrent_unordered_map.cpp:26: ../../include/tbb/internal/_concurrent_unordered_impl.h: In instantiation of 'void tbb::interface5::internal::concurrent_unordered_base::set_bucket(tbb::interface5::internal::concurrent_unordered_base::size_type, tbb::interface5::internal::concurrent_unordered_base::raw_iterator) [with Traits = tbb::interface5::concurrent_unordered_map_traits, std::equal_to >, tbb::tbb_allocator >, false>; tbb::interface5::internal::concurrent_unordered_base::size_type = long unsigned int; tbb::interface5::internal::concurrent_unordered_base::raw_iterator = tbb::interface5::internal::flist_iterator, tbb::tbb_allocator > >, std::pair >]': ../../include/tbb/internal/_concurrent_unordered_impl.h:1207:9: required from 'void tbb::interface5::internal::concurrent_unordered_base::internal_init() [with Traits = tbb::interface5::concurrent_unordered_map_traits, std::equal_to >, tbb::tbb_allocator >, false>]' ../../include/tbb/internal/_concurrent_unordered_impl.h:710:9: required from 'tbb::interface5::internal::concurrent_unordered_base::concurrent_unordered_base(tbb::interface5::internal::concurrent_unordered_base::size_type, const hash_compare&, const allocator_type&) [with Traits = tbb::interface5::concurrent_unordered_map_traits, std::equal_to >, tbb::tbb_allocator >, false>; tbb::interface5::internal::concurrent_unordered_base::size_type = long unsigned int; tbb::interface5::internal::concurrent_unordered_base::hash_compare = tbb::interface5::internal::hash_compare, std::equal_to >; tbb::interface5::internal::concurrent_unordered_base::allocator_type = tbb::tbb_allocator >]' ../../include/tbb/concurrent_unordered_map.h:101:73: required from 'tbb::interface5::concurrent_unordered_map::concurrent_unordered_map(tbb::interface5::concurrent_unordered_map::size_type, const hasher&, const key_equal&, const allocator_type&) [with Key = int; T = int; Hasher = tbb::tbb_hash; Key_equality = std::equal_to; Allocator = tbb::tbb_allocator >; tbb::interface5::concurrent_unordered_map::size_type = long unsigned int; tbb::interface5::concurrent_unordered_map::hasher = tbb::tbb_hash; tbb::interface5::concurrent_unordered_map::key_equal = std::equal_to; tbb::interface5::concurrent_unordered_map::allocator_type = tbb::tbb_allocator >]' ../../src/test/test_concurrent_unordered_map.cpp:183:12: required from here ../../include/tbb/internal/_concurrent_unordered_impl.h:1471:24: warning: 'void* memset(void*, int, size_t)' clearing an object of non-trivial type 'tbb::interface5::internal::concurrent_unordered_base, std::equal_to >, tbb::tbb_allocator >, false> >::raw_iterator' {aka 'class tbb::interface5::internal::flist_iterator, tbb::tbb_allocator > >, std::pair >'}; use assignment or value-initialization instead [-Wclass-memaccess] std::memset(new_segment, 0, sz*sizeof(raw_iterator)); ~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ In file included from ../../include/tbb/concurrent_unordered_map.h:27, from ../../src/test/test_concurrent_unordered_map.cpp:26: ../../include/tbb/internal/_concurrent_unordered_impl.h:61:7: note: 'tbb::interface5::internal::concurrent_unordered_base, std::equal_to >, tbb::tbb_allocator >, false> >::raw_iterator' {aka 'class tbb::interface5::internal::flist_iterator, tbb::tbb_allocator > >, std::pair >'} declared here class flist_iterator : public std::iterator ^~~~~~~~~~~~~~ In file included from ../../src/test/test_container_move_support.h:26, from ../../src/test/test_concurrent_unordered_common.h:25, from ../../src/test/test_concurrent_unordered_map.cpp:42: ../../src/test/harness_allocator.h: In instantiation of 'debug_allocator::pointer debug_allocator::allocate(debug_allocator::size_type, const void*) [with T = std::pair; Allocator = std::allocator; debug_allocator::pointer = std::pair*; debug_allocator::size_type = long unsigned int]': ../../src/test/test_concurrent_unordered_common.h:896:17: required from 'void Examine(Table, const std::__cxx11::list&) [with bool defCtorPresent = true; Table = tbb::interface5::concurrent_unordered_map, Harness::IsEqual, debug_allocator, std::allocator> >; typename Table::value_type = std::pair]' ../../src/test/test_concurrent_unordered_common.h:925:28: required from 'void TypeTester(const std::__cxx11::list&) [with bool defCtorPresent = true; Table = tbb::interface5::concurrent_unordered_map, Harness::IsEqual, tbb::tbb_allocator > >; TableDebugAlloc = tbb::interface5::concurrent_unordered_map, Harness::IsEqual, debug_allocator, std::allocator> >; typename Table::value_type = std::pair]' ../../src/test/test_concurrent_unordered_map.cpp:240:131: required from 'void TestTypesMap(const std::__cxx11::list&) [with bool defCtorPresent = true; ValueType = std::pair]' ../../src/test/test_concurrent_unordered_map.cpp:250:58: required from here ../../src/test/harness_allocator.h:518:20: warning: 'void* memset(void*, int, size_t)' writing to an object of type 'struct std::pair' with no trivial copy-assignment [-Wclass-memaccess] std::memset( ptr, 0xE3E3E3E3, n * sizeof(value_type) ); ~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ In file included from /usr/include/c++/8/bits/stl_algobase.h:64, from /usr/include/c++/8/memory:62, from ../../include/tbb/internal/../tbb_stddef.h:427, from ../../include/tbb/internal/_concurrent_unordered_impl.h:30, from ../../include/tbb/concurrent_unordered_map.h:27, from ../../src/test/test_concurrent_unordered_map.cpp:26: /usr/include/c++/8/bits/stl_pair.h:198:12: note: 'struct std::pair' declared here struct pair ^~~~ In file included from ../../src/test/test_container_move_support.h:26, from ../../src/test/test_concurrent_unordered_common.h:25, from ../../src/test/test_concurrent_unordered_map.cpp:42: ../../src/test/harness_allocator.h: In instantiation of 'debug_allocator::pointer debug_allocator::allocate(debug_allocator::size_type, const void*) [with T = std::pair >; Allocator = std::allocator; debug_allocator::pointer = std::pair >*; debug_allocator::size_type = long unsigned int]': ../../src/test/test_concurrent_unordered_common.h:896:17: required from 'void Examine(Table, const std::__cxx11::list&) [with bool defCtorPresent = true; Table = tbb::interface5::concurrent_unordered_map, tbb::tbb_hash, Harness::IsEqual, debug_allocator >, std::allocator> >; typename Table::value_type = std::pair >]' ../../src/test/test_concurrent_unordered_common.h:925:28: required from 'void TypeTester(const std::__cxx11::list&) [with bool defCtorPresent = true; Table = tbb::interface5::concurrent_unordered_map, tbb::tbb_hash, Harness::IsEqual, tbb::tbb_allocator > > >; TableDebugAlloc = tbb::interface5::concurrent_unordered_map, tbb::tbb_hash, Harness::IsEqual, debug_allocator >, std::allocator> >; typename Table::value_type = std::pair >]' ../../src/test/test_concurrent_unordered_map.cpp:240:131: required from 'void TestTypesMap(const std::__cxx11::list&) [with bool defCtorPresent = true; ValueType = std::pair >]' ../../src/test/test_concurrent_unordered_map.cpp:258:56: required from here ../../src/test/harness_allocator.h:518:20: warning: 'void* memset(void*, int, size_t)' writing to an object of type 'struct std::pair >' with no trivial copy-assignment [-Wclass-memaccess] std::memset( ptr, 0xE3E3E3E3, n * sizeof(value_type) ); ~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ In file included from /usr/include/c++/8/bits/stl_algobase.h:64, from /usr/include/c++/8/memory:62, from ../../include/tbb/internal/../tbb_stddef.h:427, from ../../include/tbb/internal/_concurrent_unordered_impl.h:30, from ../../include/tbb/concurrent_unordered_map.h:27, from ../../src/test/test_concurrent_unordered_map.cpp:26: /usr/include/c++/8/bits/stl_pair.h:198:12: note: 'struct std::pair >' declared here struct pair ^~~~ In file included from ../../src/test/test_container_move_support.h:26, from ../../src/test/test_concurrent_unordered_common.h:25, from ../../src/test/test_concurrent_unordered_map.cpp:42: ../../src/test/harness_allocator.h: In instantiation of 'debug_allocator::pointer debug_allocator::allocate(debug_allocator::size_type, const void*) [with T = std::pair, int>; Allocator = std::allocator; debug_allocator::pointer = std::pair, int>*; debug_allocator::size_type = long unsigned int]': ../../src/test/test_concurrent_unordered_common.h:896:17: required from 'void Examine(Table, const std::__cxx11::list&) [with bool defCtorPresent = true; Table = tbb::interface5::concurrent_unordered_map, int, tbb::tbb_hash >, Harness::IsEqual, debug_allocator, int>, std::allocator> >; typename Table::value_type = std::pair, int>]' ../../src/test/test_concurrent_unordered_common.h:925:28: required from 'void TypeTester(const std::__cxx11::list&) [with bool defCtorPresent = true; Table = tbb::interface5::concurrent_unordered_map, int, tbb::tbb_hash >, Harness::IsEqual, tbb::tbb_allocator, int> > >; TableDebugAlloc = tbb::interface5::concurrent_unordered_map, int, tbb::tbb_hash >, Harness::IsEqual, debug_allocator, int>, std::allocator> >; typename Table::value_type = std::pair, int>]' ../../src/test/test_concurrent_unordered_map.cpp:240:131: required from 'void TestTypesMap(const std::__cxx11::list&) [with bool defCtorPresent = true; ValueType = std::pair, int>]' ../../src/test/test_concurrent_unordered_map.cpp:264:56: required from here ../../src/test/harness_allocator.h:518:20: warning: 'void* memset(void*, int, size_t)' writing to an object of type 'struct std::pair, int>' with no trivial copy-assignment [-Wclass-memaccess] std::memset( ptr, 0xE3E3E3E3, n * sizeof(value_type) ); ~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ In file included from /usr/include/c++/8/bits/stl_algobase.h:64, from /usr/include/c++/8/memory:62, from ../../include/tbb/internal/../tbb_stddef.h:427, from ../../include/tbb/internal/_concurrent_unordered_impl.h:30, from ../../include/tbb/concurrent_unordered_map.h:27, from ../../src/test/test_concurrent_unordered_map.cpp:26: /usr/include/c++/8/bits/stl_pair.h:198:12: note: 'struct std::pair, int>' declared here struct pair ^~~~ In file included from ../../src/test/test_container_move_support.h:26, from ../../src/test/test_concurrent_unordered_common.h:25, from ../../src/test/test_concurrent_unordered_map.cpp:42: ../../src/test/harness_allocator.h: In instantiation of 'debug_allocator::pointer debug_allocator::allocate(debug_allocator::size_type, const void*) [with T = std::pair >; Allocator = std::allocator; debug_allocator::pointer = std::pair >*; debug_allocator::size_type = long unsigned int]': ../../src/test/test_concurrent_unordered_common.h:896:17: required from 'void Examine(Table, const std::__cxx11::list&) [with bool defCtorPresent = false; Table = tbb::interface5::concurrent_unordered_map, tbb::tbb_hash, Harness::IsEqual, debug_allocator >, std::allocator> >; typename Table::value_type = std::pair >]' ../../src/test/test_concurrent_unordered_common.h:925:28: required from 'void TypeTester(const std::__cxx11::list&) [with bool defCtorPresent = false; Table = tbb::interface5::concurrent_unordered_map, tbb::tbb_hash, Harness::IsEqual, tbb::tbb_allocator > > >; TableDebugAlloc = tbb::interface5::concurrent_unordered_map, tbb::tbb_hash, Harness::IsEqual, debug_allocator >, std::allocator> >; typename Table::value_type = std::pair >]' ../../src/test/test_concurrent_unordered_map.cpp:240:131: required from 'void TestTypesMap(const std::__cxx11::list&) [with bool defCtorPresent = false; ValueType = std::pair >]' ../../src/test/test_concurrent_unordered_map.cpp:271:57: required from here ../../src/test/harness_allocator.h:518:20: warning: 'void* memset(void*, int, size_t)' writing to an object of type 'struct std::pair >' with no trivial copy-assignment [-Wclass-memaccess] std::memset( ptr, 0xE3E3E3E3, n * sizeof(value_type) ); ~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ In file included from /usr/include/c++/8/bits/stl_algobase.h:64, from /usr/include/c++/8/memory:62, from ../../include/tbb/internal/../tbb_stddef.h:427, from ../../include/tbb/internal/_concurrent_unordered_impl.h:30, from ../../include/tbb/concurrent_unordered_map.h:27, from ../../src/test/test_concurrent_unordered_map.cpp:26: /usr/include/c++/8/bits/stl_pair.h:198:12: note: 'struct std::pair >' declared here struct pair ^~~~ In file included from ../../src/test/test_container_move_support.h:26, from ../../src/test/test_concurrent_unordered_common.h:25, from ../../src/test/test_concurrent_unordered_map.cpp:42: ../../src/test/harness_allocator.h: In instantiation of 'debug_allocator::pointer debug_allocator::allocate(debug_allocator::size_type, const void*) [with T = std::pair, std::shared_ptr >; Allocator = std::allocator; debug_allocator::pointer = std::pair, std::shared_ptr >*; debug_allocator::size_type = long unsigned int]': ../../src/test/test_concurrent_unordered_common.h:896:17: required from 'void Examine(Table, const std::__cxx11::list&) [with bool defCtorPresent = true; Table = tbb::interface5::concurrent_unordered_map, std::shared_ptr, tbb::tbb_hash >, Harness::IsEqual, debug_allocator, std::shared_ptr >, std::allocator> >; typename Table::value_type = std::pair, std::shared_ptr >]' ../../src/test/test_concurrent_unordered_common.h:925:28: required from 'void TypeTester(const std::__cxx11::list&) [with bool defCtorPresent = true; Table = tbb::interface5::concurrent_unordered_map, std::shared_ptr, tbb::tbb_hash >, Harness::IsEqual, tbb::tbb_allocator, std::shared_ptr > > >; TableDebugAlloc = tbb::interface5::concurrent_unordered_map, std::shared_ptr, tbb::tbb_hash >, Harness::IsEqual, debug_allocator, std::shared_ptr >, std::allocator> >; typename Table::value_type = std::pair, std::shared_ptr >]' ../../src/test/test_concurrent_unordered_map.cpp:240:131: required from 'void TestTypesMap(const std::__cxx11::list&) [with bool defCtorPresent = true; ValueType = std::pair, std::shared_ptr >]' ../../src/test/test_concurrent_unordered_map.cpp:280:56: required from here ../../src/test/harness_allocator.h:518:20: warning: 'void* memset(void*, int, size_t)' writing to an object of type 'struct std::pair, std::shared_ptr >' with no trivial copy-assignment [-Wclass-memaccess] std::memset( ptr, 0xE3E3E3E3, n * sizeof(value_type) ); ~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ In file included from /usr/include/c++/8/bits/stl_algobase.h:64, from /usr/include/c++/8/memory:62, from ../../include/tbb/internal/../tbb_stddef.h:427, from ../../include/tbb/internal/_concurrent_unordered_impl.h:30, from ../../include/tbb/concurrent_unordered_map.h:27, from ../../src/test/test_concurrent_unordered_map.cpp:26: /usr/include/c++/8/bits/stl_pair.h:198:12: note: 'struct std::pair, std::shared_ptr >' declared here struct pair ^~~~ In file included from ../../src/test/test_container_move_support.h:26, from ../../src/test/test_concurrent_unordered_common.h:25, from ../../src/test/test_concurrent_unordered_map.cpp:42: ../../src/test/harness_allocator.h: In instantiation of 'debug_allocator::pointer debug_allocator::allocate(debug_allocator::size_type, const void*) [with T = std::pair, std::weak_ptr >; Allocator = std::allocator; debug_allocator::pointer = std::pair, std::weak_ptr >*; debug_allocator::size_type = long unsigned int]': ../../src/test/test_concurrent_unordered_common.h:896:17: required from 'void Examine(Table, const std::__cxx11::list&) [with bool defCtorPresent = true; Table = tbb::interface5::concurrent_unordered_map, std::weak_ptr, tbb::tbb_hash >, Harness::IsEqual, debug_allocator, std::weak_ptr >, std::allocator> >; typename Table::value_type = std::pair, std::weak_ptr >]' ../../src/test/test_concurrent_unordered_common.h:925:28: required from 'void TypeTester(const std::__cxx11::list&) [with bool defCtorPresent = true; Table = tbb::interface5::concurrent_unordered_map, std::weak_ptr, tbb::tbb_hash >, Harness::IsEqual, tbb::tbb_allocator, std::weak_ptr > > >; TableDebugAlloc = tbb::interface5::concurrent_unordered_map, std::weak_ptr, tbb::tbb_hash >, Harness::IsEqual, debug_allocator, std::weak_ptr >, std::allocator> >; typename Table::value_type = std::pair, std::weak_ptr >]' ../../src/test/test_concurrent_unordered_map.cpp:240:131: required from 'void TestTypesMap(const std::__cxx11::list&) [with bool defCtorPresent = true; ValueType = std::pair, std::weak_ptr >]' ../../src/test/test_concurrent_unordered_map.cpp:284:54: required from here ../../src/test/harness_allocator.h:518:20: warning: 'void* memset(void*, int, size_t)' writing to an object of type 'struct std::pair, std::weak_ptr >' with no trivial copy-assignment [-Wclass-memaccess] std::memset( ptr, 0xE3E3E3E3, n * sizeof(value_type) ); ~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ In file included from /usr/include/c++/8/bits/stl_algobase.h:64, from /usr/include/c++/8/memory:62, from ../../include/tbb/internal/../tbb_stddef.h:427, from ../../include/tbb/internal/_concurrent_unordered_impl.h:30, from ../../include/tbb/concurrent_unordered_map.h:27, from ../../src/test/test_concurrent_unordered_map.cpp:26: /usr/include/c++/8/bits/stl_pair.h:198:12: note: 'struct std::pair, std::weak_ptr >' declared here struct pair ^~~~ In file included from ../../src/test/test_container_move_support.h:26, from ../../src/test/test_concurrent_unordered_common.h:25, from ../../src/test/test_concurrent_unordered_map.cpp:42: ../../src/test/harness_allocator.h: In instantiation of 'debug_allocator::pointer debug_allocator::allocate(debug_allocator::size_type, const void*) [with T = tbb::interface5::internal::split_ordered_list, local_counting_allocator, std::allocator> > >::node; Allocator = std::allocator; debug_allocator::pointer = tbb::interface5::internal::split_ordered_list, local_counting_allocator, std::allocator> > >::node*; debug_allocator::size_type = long unsigned int]': ../../src/test/harness_allocator.h:474:43: required from 'local_counting_allocator::pointer local_counting_allocator::allocate(local_counting_allocator::size_type) [with base_alloc_t = debug_allocator, local_counting_allocator, std::allocator> > >::node, std::allocator>; count_t = tbb::atomic; local_counting_allocator::pointer = tbb::interface5::internal::split_ordered_list, local_counting_allocator, std::allocator> > >::node*; local_counting_allocator::size_type = long unsigned int]' ../../include/tbb/internal/_concurrent_unordered_impl.h:264:19: required from 'tbb::interface5::internal::split_ordered_list::node* tbb::interface5::internal::split_ordered_list::create_node(tbb::interface5::internal::sokey_t, Arg&&, tbb::internal::true_type) [with Arg = std::pair; T = std::pair; Allocator = local_counting_allocator, std::allocator> >; tbb::interface5::internal::split_ordered_list::nodeptr_t = tbb::interface5::internal::split_ordered_list, local_counting_allocator, std::allocator> > >::node*; tbb::interface5::internal::sokey_t = long unsigned int; tbb::internal::true_type = tbb::internal::bool_constant]' ../../include/tbb/internal/_concurrent_unordered_impl.h:1282:27: required from 'std::pair::iterator, bool> tbb::interface5::internal::concurrent_unordered_base::internal_insert(ValueType&&, tbb::interface5::internal::concurrent_unordered_base::nodeptr_t) [with AllowCreate = tbb::internal::bool_constant; ValueType = std::pair; Traits = tbb::interface5::concurrent_unordered_map_traits, std::equal_to >, local_counting_allocator, std::allocator> >, true>; typename tbb::interface5::internal::split_ordered_list::iterator = tbb::interface5::internal::solist_iterator, local_counting_allocator, std::allocator> > >, std::pair >; tbb::interface5::internal::concurrent_unordered_base::nodeptr_t = tbb::interface5::internal::split_ordered_list, local_counting_allocator, std::allocator> > >::node*]' ../../include/tbb/internal/_concurrent_unordered_impl.h:969:73: required from 'std::pair::iterator, bool> tbb::interface5::internal::concurrent_unordered_base::insert(tbb::interface5::internal::concurrent_unordered_base::value_type&&) [with Traits = tbb::interface5::concurrent_unordered_map_traits, std::equal_to >, local_counting_allocator, std::allocator> >, true>; typename tbb::interface5::internal::split_ordered_list::iterator = tbb::interface5::internal::solist_iterator, local_counting_allocator, std::allocator> > >, std::pair >; tbb::interface5::internal::concurrent_unordered_base::value_type = std::pair]' ../../src/test/test_concurrent_unordered_map.cpp:115:57: required from here ../../src/test/harness_allocator.h:518:20: warning: 'void* memset(void*, int, size_t)' writing to an object of type 'struct tbb::interface5::internal::split_ordered_list, local_counting_allocator, std::allocator> > >::node' with no trivial copy-assignment [-Wclass-memaccess] std::memset( ptr, 0xE3E3E3E3, n * sizeof(value_type) ); ~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ In file included from ../../include/tbb/concurrent_unordered_map.h:27, from ../../src/test/test_concurrent_unordered_map.cpp:26: ../../include/tbb/internal/_concurrent_unordered_impl.h:206:12: note: 'struct tbb::interface5::internal::split_ordered_list, local_counting_allocator, std::allocator> > >::node' declared here struct node : tbb::internal::no_assign ^~~~ In file included from ../../include/tbb/concurrent_unordered_map.h:27, from ../../src/test/test_concurrent_unordered_map.cpp:26: ../../include/tbb/internal/_concurrent_unordered_impl.h: In instantiation of 'void tbb::interface5::internal::concurrent_unordered_base::set_bucket(tbb::interface5::internal::concurrent_unordered_base::size_type, tbb::interface5::internal::concurrent_unordered_base::raw_iterator) [with Traits = tbb::interface5::concurrent_unordered_map_traits, Harness::IsEqual>, tbb::tbb_allocator >, false>; tbb::interface5::internal::concurrent_unordered_base::size_type = long unsigned int; tbb::interface5::internal::concurrent_unordered_base::raw_iterator = tbb::interface5::internal::flist_iterator, tbb::tbb_allocator > >, std::pair >]': ../../include/tbb/internal/_concurrent_unordered_impl.h:1207:9: required from 'void tbb::interface5::internal::concurrent_unordered_base::internal_init() [with Traits = tbb::interface5::concurrent_unordered_map_traits, Harness::IsEqual>, tbb::tbb_allocator >, false>]' ../../include/tbb/internal/_concurrent_unordered_impl.h:724:9: required from 'tbb::interface5::internal::concurrent_unordered_base::concurrent_unordered_base(const tbb::interface5::internal::concurrent_unordered_base&) [with Traits = tbb::interface5::concurrent_unordered_map_traits, Harness::IsEqual>, tbb::tbb_allocator >, false>]' ../../include/tbb/concurrent_unordered_map.h:58:7: required from 'void TypeTester(const std::__cxx11::list&) [with bool defCtorPresent = true; Table = tbb::interface5::concurrent_unordered_map, Harness::IsEqual, tbb::tbb_allocator > >; TableDebugAlloc = tbb::interface5::concurrent_unordered_map, Harness::IsEqual, debug_allocator, std::allocator> >; typename Table::value_type = std::pair]' ../../src/test/test_concurrent_unordered_map.cpp:240:131: required from 'void TestTypesMap(const std::__cxx11::list&) [with bool defCtorPresent = true; ValueType = std::pair]' ../../src/test/test_concurrent_unordered_map.cpp:250:58: required from here ../../include/tbb/internal/_concurrent_unordered_impl.h:1471:24: warning: 'void* memset(void*, int, size_t)' clearing an object of non-trivial type 'tbb::interface5::internal::concurrent_unordered_base, Harness::IsEqual>, tbb::tbb_allocator >, false> >::raw_iterator' {aka 'class tbb::interface5::internal::flist_iterator, tbb::tbb_allocator > >, std::pair >'}; use assignment or value-initialization instead [-Wclass-memaccess] std::memset(new_segment, 0, sz*sizeof(raw_iterator)); ~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ In file included from ../../include/tbb/concurrent_unordered_map.h:27, from ../../src/test/test_concurrent_unordered_map.cpp:26: ../../include/tbb/internal/_concurrent_unordered_impl.h:61:7: note: 'tbb::interface5::internal::concurrent_unordered_base, Harness::IsEqual>, tbb::tbb_allocator >, false> >::raw_iterator' {aka 'class tbb::interface5::internal::flist_iterator, tbb::tbb_allocator > >, std::pair >'} declared here class flist_iterator : public std::iterator ^~~~~~~~~~~~~~ In file included from ../../include/tbb/concurrent_unordered_map.h:27, from ../../src/test/test_concurrent_unordered_map.cpp:26: ../../include/tbb/internal/_concurrent_unordered_impl.h: In instantiation of 'void tbb::interface5::internal::concurrent_unordered_base::set_bucket(tbb::interface5::internal::concurrent_unordered_base::size_type, tbb::interface5::internal::concurrent_unordered_base::raw_iterator) [with Traits = tbb::interface5::concurrent_unordered_map_traits, Harness::IsEqual>, debug_allocator, std::allocator>, false>; tbb::interface5::internal::concurrent_unordered_base::size_type = long unsigned int; tbb::interface5::internal::concurrent_unordered_base::raw_iterator = tbb::interface5::internal::flist_iterator, debug_allocator, std::allocator> >, std::pair >]': ../../include/tbb/internal/_concurrent_unordered_impl.h:1207:9: required from 'void tbb::interface5::internal::concurrent_unordered_base::internal_init() [with Traits = tbb::interface5::concurrent_unordered_map_traits, Harness::IsEqual>, debug_allocator, std::allocator>, false>]' ../../include/tbb/internal/_concurrent_unordered_impl.h:724:9: required from 'tbb::interface5::internal::concurrent_unordered_base::concurrent_unordered_base(const tbb::interface5::internal::concurrent_unordered_base&) [with Traits = tbb::interface5::concurrent_unordered_map_traits, Harness::IsEqual>, debug_allocator, std::allocator>, false>]' ../../include/tbb/concurrent_unordered_map.h:58:7: required from 'void TypeTester(const std::__cxx11::list&) [with bool defCtorPresent = true; Table = tbb::interface5::concurrent_unordered_map, Harness::IsEqual, tbb::tbb_allocator > >; TableDebugAlloc = tbb::interface5::concurrent_unordered_map, Harness::IsEqual, debug_allocator, std::allocator> >; typename Table::value_type = std::pair]' ../../src/test/test_concurrent_unordered_map.cpp:240:131: required from 'void TestTypesMap(const std::__cxx11::list&) [with bool defCtorPresent = true; ValueType = std::pair]' ../../src/test/test_concurrent_unordered_map.cpp:250:58: required from here ../../include/tbb/internal/_concurrent_unordered_impl.h:1471:24: warning: 'void* memset(void*, int, size_t)' clearing an object of non-trivial type 'tbb::interface5::internal::concurrent_unordered_base, Harness::IsEqual>, debug_allocator, std::allocator>, false> >::raw_iterator' {aka 'class tbb::interface5::internal::flist_iterator, debug_allocator, std::allocator> >, std::pair >'}; use assignment or value-initialization instead [-Wclass-memaccess] std::memset(new_segment, 0, sz*sizeof(raw_iterator)); ~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ In file included from ../../include/tbb/concurrent_unordered_map.h:27, from ../../src/test/test_concurrent_unordered_map.cpp:26: ../../include/tbb/internal/_concurrent_unordered_impl.h:61:7: note: 'tbb::interface5::internal::concurrent_unordered_base, Harness::IsEqual>, debug_allocator, std::allocator>, false> >::raw_iterator' {aka 'class tbb::interface5::internal::flist_iterator, debug_allocator, std::allocator> >, std::pair >'} declared here class flist_iterator : public std::iterator ^~~~~~~~~~~~~~ In file included from ../../include/tbb/concurrent_unordered_map.h:27, from ../../src/test/test_concurrent_unordered_map.cpp:26: ../../include/tbb/internal/_concurrent_unordered_impl.h: In instantiation of 'void tbb::interface5::internal::concurrent_unordered_base::set_bucket(tbb::interface5::internal::concurrent_unordered_base::size_type, tbb::interface5::internal::concurrent_unordered_base::raw_iterator) [with Traits = tbb::interface5::concurrent_unordered_map_traits, Harness::IsEqual>, tbb::tbb_allocator >, true>; tbb::interface5::internal::concurrent_unordered_base::size_type = long unsigned int; tbb::interface5::internal::concurrent_unordered_base::raw_iterator = tbb::interface5::internal::flist_iterator, tbb::tbb_allocator > >, std::pair >]': ../../include/tbb/internal/_concurrent_unordered_impl.h:1207:9: required from 'void tbb::interface5::internal::concurrent_unordered_base::internal_init() [with Traits = tbb::interface5::concurrent_unordered_map_traits, Harness::IsEqual>, tbb::tbb_allocator >, true>]' ../../include/tbb/internal/_concurrent_unordered_impl.h:724:9: required from 'tbb::interface5::internal::concurrent_unordered_base::concurrent_unordered_base(const tbb::interface5::internal::concurrent_unordered_base&) [with Traits = tbb::interface5::concurrent_unordered_map_traits, Harness::IsEqual>, tbb::tbb_allocator >, true>]' ../../include/tbb/concurrent_unordered_map.h:196:7: required from 'void TypeTester(const std::__cxx11::list&) [with bool defCtorPresent = true; Table = tbb::interface5::concurrent_unordered_multimap, Harness::IsEqual, tbb::tbb_allocator > >; TableDebugAlloc = tbb::interface5::concurrent_unordered_multimap, Harness::IsEqual, debug_allocator, std::allocator> >; typename Table::value_type = std::pair]' ../../src/test/test_concurrent_unordered_map.cpp:242:136: required from 'void TestTypesMap(const std::__cxx11::list&) [with bool defCtorPresent = true; ValueType = std::pair]' ../../src/test/test_concurrent_unordered_map.cpp:250:58: required from here ../../include/tbb/internal/_concurrent_unordered_impl.h:1471:24: warning: 'void* memset(void*, int, size_t)' clearing an object of non-trivial type 'tbb::interface5::internal::concurrent_unordered_base, Harness::IsEqual>, tbb::tbb_allocator >, true> >::raw_iterator' {aka 'class tbb::interface5::internal::flist_iterator, tbb::tbb_allocator > >, std::pair >'}; use assignment or value-initialization instead [-Wclass-memaccess] std::memset(new_segment, 0, sz*sizeof(raw_iterator)); ~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ In file included from ../../include/tbb/concurrent_unordered_map.h:27, from ../../src/test/test_concurrent_unordered_map.cpp:26: ../../include/tbb/internal/_concurrent_unordered_impl.h:61:7: note: 'tbb::interface5::internal::concurrent_unordered_base, Harness::IsEqual>, tbb::tbb_allocator >, true> >::raw_iterator' {aka 'class tbb::interface5::internal::flist_iterator, tbb::tbb_allocator > >, std::pair >'} declared here class flist_iterator : public std::iterator ^~~~~~~~~~~~~~ In file included from ../../include/tbb/concurrent_unordered_map.h:27, from ../../src/test/test_concurrent_unordered_map.cpp:26: ../../include/tbb/internal/_concurrent_unordered_impl.h: In instantiation of 'void tbb::interface5::internal::concurrent_unordered_base::set_bucket(tbb::interface5::internal::concurrent_unordered_base::size_type, tbb::interface5::internal::concurrent_unordered_base::raw_iterator) [with Traits = tbb::interface5::concurrent_unordered_map_traits, Harness::IsEqual>, debug_allocator, std::allocator>, true>; tbb::interface5::internal::concurrent_unordered_base::size_type = long unsigned int; tbb::interface5::internal::concurrent_unordered_base::raw_iterator = tbb::interface5::internal::flist_iterator, debug_allocator, std::allocator> >, std::pair >]': ../../include/tbb/internal/_concurrent_unordered_impl.h:1207:9: required from 'void tbb::interface5::internal::concurrent_unordered_base::internal_init() [with Traits = tbb::interface5::concurrent_unordered_map_traits, Harness::IsEqual>, debug_allocator, std::allocator>, true>]' ../../include/tbb/internal/_concurrent_unordered_impl.h:724:9: required from 'tbb::interface5::internal::concurrent_unordered_base::concurrent_unordered_base(const tbb::interface5::internal::concurrent_unordered_base&) [with Traits = tbb::interface5::concurrent_unordered_map_traits, Harness::IsEqual>, debug_allocator, std::allocator>, true>]' ../../include/tbb/concurrent_unordered_map.h:196:7: required from 'void TypeTester(const std::__cxx11::list&) [with bool defCtorPresent = true; Table = tbb::interface5::concurrent_unordered_multimap, Harness::IsEqual, tbb::tbb_allocator > >; TableDebugAlloc = tbb::interface5::concurrent_unordered_multimap, Harness::IsEqual, debug_allocator, std::allocator> >; typename Table::value_type = std::pair]' ../../src/test/test_concurrent_unordered_map.cpp:242:136: required from 'void TestTypesMap(const std::__cxx11::list&) [with bool defCtorPresent = true; ValueType = std::pair]' ../../src/test/test_concurrent_unordered_map.cpp:250:58: required from here ../../include/tbb/internal/_concurrent_unordered_impl.h:1471:24: warning: 'void* memset(void*, int, size_t)' clearing an object of non-trivial type 'tbb::interface5::internal::concurrent_unordered_base, Harness::IsEqual>, debug_allocator, std::allocator>, true> >::raw_iterator' {aka 'class tbb::interface5::internal::flist_iterator, debug_allocator, std::allocator> >, std::pair >'}; use assignment or value-initialization instead [-Wclass-memaccess] std::memset(new_segment, 0, sz*sizeof(raw_iterator)); ~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ In file included from ../../include/tbb/concurrent_unordered_map.h:27, from ../../src/test/test_concurrent_unordered_map.cpp:26: ../../include/tbb/internal/_concurrent_unordered_impl.h:61:7: note: 'tbb::interface5::internal::concurrent_unordered_base, Harness::IsEqual>, debug_allocator, std::allocator>, true> >::raw_iterator' {aka 'class tbb::interface5::internal::flist_iterator, debug_allocator, std::allocator> >, std::pair >'} declared here class flist_iterator : public std::iterator ^~~~~~~~~~~~~~ In file included from ../../include/tbb/concurrent_unordered_map.h:27, from ../../src/test/test_concurrent_unordered_map.cpp:26: ../../include/tbb/internal/_concurrent_unordered_impl.h: In instantiation of 'void tbb::interface5::internal::concurrent_unordered_base::set_bucket(tbb::interface5::internal::concurrent_unordered_base::size_type, tbb::interface5::internal::concurrent_unordered_base::raw_iterator) [with Traits = tbb::interface5::concurrent_unordered_map_traits, tbb::interface5::internal::hash_compare, Harness::IsEqual>, tbb::tbb_allocator > >, false>; tbb::interface5::internal::concurrent_unordered_base::size_type = long unsigned int; tbb::interface5::internal::concurrent_unordered_base::raw_iterator = tbb::interface5::internal::flist_iterator >, tbb::tbb_allocator > > >, std::pair > >]': ../../include/tbb/internal/_concurrent_unordered_impl.h:1207:9: required from 'void tbb::interface5::internal::concurrent_unordered_base::internal_init() [with Traits = tbb::interface5::concurrent_unordered_map_traits, tbb::interface5::internal::hash_compare, Harness::IsEqual>, tbb::tbb_allocator > >, false>]' ../../include/tbb/internal/_concurrent_unordered_impl.h:724:9: required from 'tbb::interface5::internal::concurrent_unordered_base::concurrent_unordered_base(const tbb::interface5::internal::concurrent_unordered_base&) [with Traits = tbb::interface5::concurrent_unordered_map_traits, tbb::interface5::internal::hash_compare, Harness::IsEqual>, tbb::tbb_allocator > >, false>]' ../../include/tbb/concurrent_unordered_map.h:58:7: required from 'void TypeTester(const std::__cxx11::list&) [with bool defCtorPresent = true; Table = tbb::interface5::concurrent_unordered_map, tbb::tbb_hash, Harness::IsEqual, tbb::tbb_allocator > > >; TableDebugAlloc = tbb::interface5::concurrent_unordered_map, tbb::tbb_hash, Harness::IsEqual, debug_allocator >, std::allocator> >; typename Table::value_type = std::pair >]' ../../src/test/test_concurrent_unordered_map.cpp:240:131: required from 'void TestTypesMap(const std::__cxx11::list&) [with bool defCtorPresent = true; ValueType = std::pair >]' ../../src/test/test_concurrent_unordered_map.cpp:258:56: required from here ../../include/tbb/internal/_concurrent_unordered_impl.h:1471:24: warning: 'void* memset(void*, int, size_t)' clearing an object of non-trivial type 'tbb::interface5::internal::concurrent_unordered_base, tbb::interface5::internal::hash_compare, Harness::IsEqual>, tbb::tbb_allocator > >, false> >::raw_iterator' {aka 'class tbb::interface5::internal::flist_iterator >, tbb::tbb_allocator > > >, std::pair > >'}; use assignment or value-initialization instead [-Wclass-memaccess] std::memset(new_segment, 0, sz*sizeof(raw_iterator)); ~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ In file included from ../../include/tbb/concurrent_unordered_map.h:27, from ../../src/test/test_concurrent_unordered_map.cpp:26: ../../include/tbb/internal/_concurrent_unordered_impl.h:61:7: note: 'tbb::interface5::internal::concurrent_unordered_base, tbb::interface5::internal::hash_compare, Harness::IsEqual>, tbb::tbb_allocator > >, false> >::raw_iterator' {aka 'class tbb::interface5::internal::flist_iterator >, tbb::tbb_allocator > > >, std::pair > >'} declared here class flist_iterator : public std::iterator ^~~~~~~~~~~~~~ In file included from ../../include/tbb/concurrent_unordered_map.h:27, from ../../src/test/test_concurrent_unordered_map.cpp:26: ../../include/tbb/internal/_concurrent_unordered_impl.h: In instantiation of 'void tbb::interface5::internal::concurrent_unordered_base::set_bucket(tbb::interface5::internal::concurrent_unordered_base::size_type, tbb::interface5::internal::concurrent_unordered_base::raw_iterator) [with Traits = tbb::interface5::concurrent_unordered_map_traits, tbb::interface5::internal::hash_compare, Harness::IsEqual>, debug_allocator >, std::allocator>, false>; tbb::interface5::internal::concurrent_unordered_base::size_type = long unsigned int; tbb::interface5::internal::concurrent_unordered_base::raw_iterator = tbb::interface5::internal::flist_iterator >, debug_allocator >, std::allocator> >, std::pair > >]': ../../include/tbb/internal/_concurrent_unordered_impl.h:1207:9: required from 'void tbb::interface5::internal::concurrent_unordered_base::internal_init() [with Traits = tbb::interface5::concurrent_unordered_map_traits, tbb::interface5::internal::hash_compare, Harness::IsEqual>, debug_allocator >, std::allocator>, false>]' ../../include/tbb/internal/_concurrent_unordered_impl.h:724:9: required from 'tbb::interface5::internal::concurrent_unordered_base::concurrent_unordered_base(const tbb::interface5::internal::concurrent_unordered_base&) [with Traits = tbb::interface5::concurrent_unordered_map_traits, tbb::interface5::internal::hash_compare, Harness::IsEqual>, debug_allocator >, std::allocator>, false>]' ../../include/tbb/concurrent_unordered_map.h:58:7: required from 'void TypeTester(const std::__cxx11::list&) [with bool defCtorPresent = true; Table = tbb::interface5::concurrent_unordered_map, tbb::tbb_hash, Harness::IsEqual, tbb::tbb_allocator > > >; TableDebugAlloc = tbb::interface5::concurrent_unordered_map, tbb::tbb_hash, Harness::IsEqual, debug_allocator >, std::allocator> >; typename Table::value_type = std::pair >]' ../../src/test/test_concurrent_unordered_map.cpp:240:131: required from 'void TestTypesMap(const std::__cxx11::list&) [with bool defCtorPresent = true; ValueType = std::pair >]' ../../src/test/test_concurrent_unordered_map.cpp:258:56: required from here ../../include/tbb/internal/_concurrent_unordered_impl.h:1471:24: warning: 'void* memset(void*, int, size_t)' clearing an object of non-trivial type 'tbb::interface5::internal::concurrent_unordered_base, tbb::interface5::internal::hash_compare, Harness::IsEqual>, debug_allocator >, std::allocator>, false> >::raw_iterator' {aka 'class tbb::interface5::internal::flist_iterator >, debug_allocator >, std::allocator> >, std::pair > >'}; use assignment or value-initialization instead [-Wclass-memaccess] std::memset(new_segment, 0, sz*sizeof(raw_iterator)); ~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ In file included from ../../include/tbb/concurrent_unordered_map.h:27, from ../../src/test/test_concurrent_unordered_map.cpp:26: ../../include/tbb/internal/_concurrent_unordered_impl.h:61:7: note: 'tbb::interface5::internal::concurrent_unordered_base, tbb::interface5::internal::hash_compare, Harness::IsEqual>, debug_allocator >, std::allocator>, false> >::raw_iterator' {aka 'class tbb::interface5::internal::flist_iterator >, debug_allocator >, std::allocator> >, std::pair > >'} declared here class flist_iterator : public std::iterator ^~~~~~~~~~~~~~ In file included from ../../include/tbb/concurrent_unordered_map.h:27, from ../../src/test/test_concurrent_unordered_map.cpp:26: ../../include/tbb/internal/_concurrent_unordered_impl.h: In instantiation of 'void tbb::interface5::internal::concurrent_unordered_base::set_bucket(tbb::interface5::internal::concurrent_unordered_base::size_type, tbb::interface5::internal::concurrent_unordered_base::raw_iterator) [with Traits = tbb::interface5::concurrent_unordered_map_traits, tbb::interface5::internal::hash_compare, Harness::IsEqual>, tbb::tbb_allocator > >, true>; tbb::interface5::internal::concurrent_unordered_base::size_type = long unsigned int; tbb::interface5::internal::concurrent_unordered_base::raw_iterator = tbb::interface5::internal::flist_iterator >, tbb::tbb_allocator > > >, std::pair > >]': ../../include/tbb/internal/_concurrent_unordered_impl.h:1207:9: required from 'void tbb::interface5::internal::concurrent_unordered_base::internal_init() [with Traits = tbb::interface5::concurrent_unordered_map_traits, tbb::interface5::internal::hash_compare, Harness::IsEqual>, tbb::tbb_allocator > >, true>]' ../../include/tbb/internal/_concurrent_unordered_impl.h:724:9: required from 'tbb::interface5::internal::concurrent_unordered_base::concurrent_unordered_base(const tbb::interface5::internal::concurrent_unordered_base&) [with Traits = tbb::interface5::concurrent_unordered_map_traits, tbb::interface5::internal::hash_compare, Harness::IsEqual>, tbb::tbb_allocator > >, true>]' ../../include/tbb/concurrent_unordered_map.h:196:7: required from 'void TypeTester(const std::__cxx11::list&) [with bool defCtorPresent = true; Table = tbb::interface5::concurrent_unordered_multimap, tbb::tbb_hash, Harness::IsEqual, tbb::tbb_allocator > > >; TableDebugAlloc = tbb::interface5::concurrent_unordered_multimap, tbb::tbb_hash, Harness::IsEqual, debug_allocator >, std::allocator> >; typename Table::value_type = std::pair >]' ../../src/test/test_concurrent_unordered_map.cpp:242:136: required from 'void TestTypesMap(const std::__cxx11::list&) [with bool defCtorPresent = true; ValueType = std::pair >]' ../../src/test/test_concurrent_unordered_map.cpp:258:56: required from here ../../include/tbb/internal/_concurrent_unordered_impl.h:1471:24: warning: 'void* memset(void*, int, size_t)' clearing an object of non-trivial type 'tbb::interface5::internal::concurrent_unordered_base, tbb::interface5::internal::hash_compare, Harness::IsEqual>, tbb::tbb_allocator > >, true> >::raw_iterator' {aka 'class tbb::interface5::internal::flist_iterator >, tbb::tbb_allocator > > >, std::pair > >'}; use assignment or value-initialization instead [-Wclass-memaccess] std::memset(new_segment, 0, sz*sizeof(raw_iterator)); ~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ In file included from ../../include/tbb/concurrent_unordered_map.h:27, from ../../src/test/test_concurrent_unordered_map.cpp:26: ../../include/tbb/internal/_concurrent_unordered_impl.h:61:7: note: 'tbb::interface5::internal::concurrent_unordered_base, tbb::interface5::internal::hash_compare, Harness::IsEqual>, tbb::tbb_allocator > >, true> >::raw_iterator' {aka 'class tbb::interface5::internal::flist_iterator >, tbb::tbb_allocator > > >, std::pair > >'} declared here class flist_iterator : public std::iterator ^~~~~~~~~~~~~~ In file included from ../../include/tbb/concurrent_unordered_map.h:27, from ../../src/test/test_concurrent_unordered_map.cpp:26: ../../include/tbb/internal/_concurrent_unordered_impl.h: In instantiation of 'void tbb::interface5::internal::concurrent_unordered_base::set_bucket(tbb::interface5::internal::concurrent_unordered_base::size_type, tbb::interface5::internal::concurrent_unordered_base::raw_iterator) [with Traits = tbb::interface5::concurrent_unordered_map_traits, tbb::interface5::internal::hash_compare, Harness::IsEqual>, debug_allocator >, std::allocator>, true>; tbb::interface5::internal::concurrent_unordered_base::size_type = long unsigned int; tbb::interface5::internal::concurrent_unordered_base::raw_iterator = tbb::interface5::internal::flist_iterator >, debug_allocator >, std::allocator> >, std::pair > >]': ../../include/tbb/internal/_concurrent_unordered_impl.h:1207:9: required from 'void tbb::interface5::internal::concurrent_unordered_base::internal_init() [with Traits = tbb::interface5::concurrent_unordered_map_traits, tbb::interface5::internal::hash_compare, Harness::IsEqual>, debug_allocator >, std::allocator>, true>]' ../../include/tbb/internal/_concurrent_unordered_impl.h:724:9: required from 'tbb::interface5::internal::concurrent_unordered_base::concurrent_unordered_base(const tbb::interface5::internal::concurrent_unordered_base&) [with Traits = tbb::interface5::concurrent_unordered_map_traits, tbb::interface5::internal::hash_compare, Harness::IsEqual>, debug_allocator >, std::allocator>, true>]' ../../include/tbb/concurrent_unordered_map.h:196:7: required from 'void TypeTester(const std::__cxx11::list&) [with bool defCtorPresent = true; Table = tbb::interface5::concurrent_unordered_multimap, tbb::tbb_hash, Harness::IsEqual, tbb::tbb_allocator > > >; TableDebugAlloc = tbb::interface5::concurrent_unordered_multimap, tbb::tbb_hash, Harness::IsEqual, debug_allocator >, std::allocator> >; typename Table::value_type = std::pair >]' ../../src/test/test_concurrent_unordered_map.cpp:242:136: required from 'void TestTypesMap(const std::__cxx11::list&) [with bool defCtorPresent = true; ValueType = std::pair >]' ../../src/test/test_concurrent_unordered_map.cpp:258:56: required from here ../../include/tbb/internal/_concurrent_unordered_impl.h:1471:24: warning: 'void* memset(void*, int, size_t)' clearing an object of non-trivial type 'tbb::interface5::internal::concurrent_unordered_base, tbb::interface5::internal::hash_compare, Harness::IsEqual>, debug_allocator >, std::allocator>, true> >::raw_iterator' {aka 'class tbb::interface5::internal::flist_iterator >, debug_allocator >, std::allocator> >, std::pair > >'}; use assignment or value-initialization instead [-Wclass-memaccess] std::memset(new_segment, 0, sz*sizeof(raw_iterator)); ~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ In file included from ../../include/tbb/concurrent_unordered_map.h:27, from ../../src/test/test_concurrent_unordered_map.cpp:26: ../../include/tbb/internal/_concurrent_unordered_impl.h:61:7: note: 'tbb::interface5::internal::concurrent_unordered_base, tbb::interface5::internal::hash_compare, Harness::IsEqual>, debug_allocator >, std::allocator>, true> >::raw_iterator' {aka 'class tbb::interface5::internal::flist_iterator >, debug_allocator >, std::allocator> >, std::pair > >'} declared here class flist_iterator : public std::iterator ^~~~~~~~~~~~~~ In file included from ../../include/tbb/concurrent_unordered_map.h:27, from ../../src/test/test_concurrent_unordered_map.cpp:26: ../../include/tbb/internal/_concurrent_unordered_impl.h: In instantiation of 'void tbb::interface5::internal::concurrent_unordered_base::set_bucket(tbb::interface5::internal::concurrent_unordered_base::size_type, tbb::interface5::internal::concurrent_unordered_base::raw_iterator) [with Traits = tbb::interface5::concurrent_unordered_map_traits, int, tbb::interface5::internal::hash_compare, tbb::tbb_hash >, Harness::IsEqual>, tbb::tbb_allocator, int> >, false>; tbb::interface5::internal::concurrent_unordered_base::size_type = long unsigned int; tbb::interface5::internal::concurrent_unordered_base::raw_iterator = tbb::interface5::internal::flist_iterator, int>, tbb::tbb_allocator, int> > >, std::pair, int> >]': ../../include/tbb/internal/_concurrent_unordered_impl.h:1207:9: required from 'void tbb::interface5::internal::concurrent_unordered_base::internal_init() [with Traits = tbb::interface5::concurrent_unordered_map_traits, int, tbb::interface5::internal::hash_compare, tbb::tbb_hash >, Harness::IsEqual>, tbb::tbb_allocator, int> >, false>]' ../../include/tbb/internal/_concurrent_unordered_impl.h:724:9: required from 'tbb::interface5::internal::concurrent_unordered_base::concurrent_unordered_base(const tbb::interface5::internal::concurrent_unordered_base&) [with Traits = tbb::interface5::concurrent_unordered_map_traits, int, tbb::interface5::internal::hash_compare, tbb::tbb_hash >, Harness::IsEqual>, tbb::tbb_allocator, int> >, false>]' ../../include/tbb/concurrent_unordered_map.h:58:7: required from 'void TypeTester(const std::__cxx11::list&) [with bool defCtorPresent = true; Table = tbb::interface5::concurrent_unordered_map, int, tbb::tbb_hash >, Harness::IsEqual, tbb::tbb_allocator, int> > >; TableDebugAlloc = tbb::interface5::concurrent_unordered_map, int, tbb::tbb_hash >, Harness::IsEqual, debug_allocator, int>, std::allocator> >; typename Table::value_type = std::pair, int>]' ../../src/test/test_concurrent_unordered_map.cpp:240:131: required from 'void TestTypesMap(const std::__cxx11::list&) [with bool defCtorPresent = true; ValueType = std::pair, int>]' ../../src/test/test_concurrent_unordered_map.cpp:264:56: required from here ../../include/tbb/internal/_concurrent_unordered_impl.h:1471:24: warning: 'void* memset(void*, int, size_t)' clearing an object of non-trivial type 'tbb::interface5::internal::concurrent_unordered_base, int, tbb::interface5::internal::hash_compare, tbb::tbb_hash >, Harness::IsEqual>, tbb::tbb_allocator, int> >, false> >::raw_iterator' {aka 'class tbb::interface5::internal::flist_iterator, int>, tbb::tbb_allocator, int> > >, std::pair, int> >'}; use assignment or value-initialization instead [-Wclass-memaccess] std::memset(new_segment, 0, sz*sizeof(raw_iterator)); ~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ In file included from ../../include/tbb/concurrent_unordered_map.h:27, from ../../src/test/test_concurrent_unordered_map.cpp:26: ../../include/tbb/internal/_concurrent_unordered_impl.h:61:7: note: 'tbb::interface5::internal::concurrent_unordered_base, int, tbb::interface5::internal::hash_compare, tbb::tbb_hash >, Harness::IsEqual>, tbb::tbb_allocator, int> >, false> >::raw_iterator' {aka 'class tbb::interface5::internal::flist_iterator, int>, tbb::tbb_allocator, int> > >, std::pair, int> >'} declared here class flist_iterator : public std::iterator ^~~~~~~~~~~~~~ In file included from ../../include/tbb/concurrent_unordered_map.h:27, from ../../src/test/test_concurrent_unordered_map.cpp:26: ../../include/tbb/internal/_concurrent_unordered_impl.h: In instantiation of 'void tbb::interface5::internal::concurrent_unordered_base::set_bucket(tbb::interface5::internal::concurrent_unordered_base::size_type, tbb::interface5::internal::concurrent_unordered_base::raw_iterator) [with Traits = tbb::interface5::concurrent_unordered_map_traits, int, tbb::interface5::internal::hash_compare, tbb::tbb_hash >, Harness::IsEqual>, debug_allocator, int>, std::allocator>, false>; tbb::interface5::internal::concurrent_unordered_base::size_type = long unsigned int; tbb::interface5::internal::concurrent_unordered_base::raw_iterator = tbb::interface5::internal::flist_iterator, int>, debug_allocator, int>, std::allocator> >, std::pair, int> >]': ../../include/tbb/internal/_concurrent_unordered_impl.h:1207:9: required from 'void tbb::interface5::internal::concurrent_unordered_base::internal_init() [with Traits = tbb::interface5::concurrent_unordered_map_traits, int, tbb::interface5::internal::hash_compare, tbb::tbb_hash >, Harness::IsEqual>, debug_allocator, int>, std::allocator>, false>]' ../../include/tbb/internal/_concurrent_unordered_impl.h:724:9: required from 'tbb::interface5::internal::concurrent_unordered_base::concurrent_unordered_base(const tbb::interface5::internal::concurrent_unordered_base&) [with Traits = tbb::interface5::concurrent_unordered_map_traits, int, tbb::interface5::internal::hash_compare, tbb::tbb_hash >, Harness::IsEqual>, debug_allocator, int>, std::allocator>, false>]' ../../include/tbb/concurrent_unordered_map.h:58:7: required from 'void TypeTester(const std::__cxx11::list&) [with bool defCtorPresent = true; Table = tbb::interface5::concurrent_unordered_map, int, tbb::tbb_hash >, Harness::IsEqual, tbb::tbb_allocator, int> > >; TableDebugAlloc = tbb::interface5::concurrent_unordered_map, int, tbb::tbb_hash >, Harness::IsEqual, debug_allocator, int>, std::allocator> >; typename Table::value_type = std::pair, int>]' ../../src/test/test_concurrent_unordered_map.cpp:240:131: required from 'void TestTypesMap(const std::__cxx11::list&) [with bool defCtorPresent = true; ValueType = std::pair, int>]' ../../src/test/test_concurrent_unordered_map.cpp:264:56: required from here ../../include/tbb/internal/_concurrent_unordered_impl.h:1471:24: warning: 'void* memset(void*, int, size_t)' clearing an object of non-trivial type 'tbb::interface5::internal::concurrent_unordered_base, int, tbb::interface5::internal::hash_compare, tbb::tbb_hash >, Harness::IsEqual>, debug_allocator, int>, std::allocator>, false> >::raw_iterator' {aka 'class tbb::interface5::internal::flist_iterator, int>, debug_allocator, int>, std::allocator> >, std::pair, int> >'}; use assignment or value-initialization instead [-Wclass-memaccess] std::memset(new_segment, 0, sz*sizeof(raw_iterator)); ~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ In file included from ../../include/tbb/concurrent_unordered_map.h:27, from ../../src/test/test_concurrent_unordered_map.cpp:26: ../../include/tbb/internal/_concurrent_unordered_impl.h:61:7: note: 'tbb::interface5::internal::concurrent_unordered_base, int, tbb::interface5::internal::hash_compare, tbb::tbb_hash >, Harness::IsEqual>, debug_allocator, int>, std::allocator>, false> >::raw_iterator' {aka 'class tbb::interface5::internal::flist_iterator, int>, debug_allocator, int>, std::allocator> >, std::pair, int> >'} declared here class flist_iterator : public std::iterator ^~~~~~~~~~~~~~ In file included from ../../include/tbb/concurrent_unordered_map.h:27, from ../../src/test/test_concurrent_unordered_map.cpp:26: ../../include/tbb/internal/_concurrent_unordered_impl.h: In instantiation of 'void tbb::interface5::internal::concurrent_unordered_base::set_bucket(tbb::interface5::internal::concurrent_unordered_base::size_type, tbb::interface5::internal::concurrent_unordered_base::raw_iterator) [with Traits = tbb::interface5::concurrent_unordered_map_traits, int, tbb::interface5::internal::hash_compare, tbb::tbb_hash >, Harness::IsEqual>, tbb::tbb_allocator, int> >, true>; tbb::interface5::internal::concurrent_unordered_base::size_type = long unsigned int; tbb::interface5::internal::concurrent_unordered_base::raw_iterator = tbb::interface5::internal::flist_iterator, int>, tbb::tbb_allocator, int> > >, std::pair, int> >]': ../../include/tbb/internal/_concurrent_unordered_impl.h:1207:9: required from 'void tbb::interface5::internal::concurrent_unordered_base::internal_init() [with Traits = tbb::interface5::concurrent_unordered_map_traits, int, tbb::interface5::internal::hash_compare, tbb::tbb_hash >, Harness::IsEqual>, tbb::tbb_allocator, int> >, true>]' ../../include/tbb/internal/_concurrent_unordered_impl.h:724:9: required from 'tbb::interface5::internal::concurrent_unordered_base::concurrent_unordered_base(const tbb::interface5::internal::concurrent_unordered_base&) [with Traits = tbb::interface5::concurrent_unordered_map_traits, int, tbb::interface5::internal::hash_compare, tbb::tbb_hash >, Harness::IsEqual>, tbb::tbb_allocator, int> >, true>]' ../../include/tbb/concurrent_unordered_map.h:196:7: required from 'void TypeTester(const std::__cxx11::list&) [with bool defCtorPresent = true; Table = tbb::interface5::concurrent_unordered_multimap, int, tbb::tbb_hash >, Harness::IsEqual, tbb::tbb_allocator, int> > >; TableDebugAlloc = tbb::interface5::concurrent_unordered_multimap, int, tbb::tbb_hash >, Harness::IsEqual, debug_allocator, int>, std::allocator> >; typename Table::value_type = std::pair, int>]' ../../src/test/test_concurrent_unordered_map.cpp:242:136: required from 'void TestTypesMap(const std::__cxx11::list&) [with bool defCtorPresent = true; ValueType = std::pair, int>]' ../../src/test/test_concurrent_unordered_map.cpp:264:56: required from here ../../include/tbb/internal/_concurrent_unordered_impl.h:1471:24: warning: 'void* memset(void*, int, size_t)' clearing an object of non-trivial type 'tbb::interface5::internal::concurrent_unordered_base, int, tbb::interface5::internal::hash_compare, tbb::tbb_hash >, Harness::IsEqual>, tbb::tbb_allocator, int> >, true> >::raw_iterator' {aka 'class tbb::interface5::internal::flist_iterator, int>, tbb::tbb_allocator, int> > >, std::pair, int> >'}; use assignment or value-initialization instead [-Wclass-memaccess] std::memset(new_segment, 0, sz*sizeof(raw_iterator)); ~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ In file included from ../../include/tbb/concurrent_unordered_map.h:27, from ../../src/test/test_concurrent_unordered_map.cpp:26: ../../include/tbb/internal/_concurrent_unordered_impl.h:61:7: note: 'tbb::interface5::internal::concurrent_unordered_base, int, tbb::interface5::internal::hash_compare, tbb::tbb_hash >, Harness::IsEqual>, tbb::tbb_allocator, int> >, true> >::raw_iterator' {aka 'class tbb::interface5::internal::flist_iterator, int>, tbb::tbb_allocator, int> > >, std::pair, int> >'} declared here class flist_iterator : public std::iterator ^~~~~~~~~~~~~~ In file included from ../../include/tbb/concurrent_unordered_map.h:27, from ../../src/test/test_concurrent_unordered_map.cpp:26: ../../include/tbb/internal/_concurrent_unordered_impl.h: In instantiation of 'void tbb::interface5::internal::concurrent_unordered_base::set_bucket(tbb::interface5::internal::concurrent_unordered_base::size_type, tbb::interface5::internal::concurrent_unordered_base::raw_iterator) [with Traits = tbb::interface5::concurrent_unordered_map_traits, int, tbb::interface5::internal::hash_compare, tbb::tbb_hash >, Harness::IsEqual>, debug_allocator, int>, std::allocator>, true>; tbb::interface5::internal::concurrent_unordered_base::size_type = long unsigned int; tbb::interface5::internal::concurrent_unordered_base::raw_iterator = tbb::interface5::internal::flist_iterator, int>, debug_allocator, int>, std::allocator> >, std::pair, int> >]': ../../include/tbb/internal/_concurrent_unordered_impl.h:1207:9: required from 'void tbb::interface5::internal::concurrent_unordered_base::internal_init() [with Traits = tbb::interface5::concurrent_unordered_map_traits, int, tbb::interface5::internal::hash_compare, tbb::tbb_hash >, Harness::IsEqual>, debug_allocator, int>, std::allocator>, true>]' ../../include/tbb/internal/_concurrent_unordered_impl.h:724:9: required from 'tbb::interface5::internal::concurrent_unordered_base::concurrent_unordered_base(const tbb::interface5::internal::concurrent_unordered_base&) [with Traits = tbb::interface5::concurrent_unordered_map_traits, int, tbb::interface5::internal::hash_compare, tbb::tbb_hash >, Harness::IsEqual>, debug_allocator, int>, std::allocator>, true>]' ../../include/tbb/concurrent_unordered_map.h:196:7: required from 'void TypeTester(const std::__cxx11::list&) [with bool defCtorPresent = true; Table = tbb::interface5::concurrent_unordered_multimap, int, tbb::tbb_hash >, Harness::IsEqual, tbb::tbb_allocator, int> > >; TableDebugAlloc = tbb::interface5::concurrent_unordered_multimap, int, tbb::tbb_hash >, Harness::IsEqual, debug_allocator, int>, std::allocator> >; typename Table::value_type = std::pair, int>]' ../../src/test/test_concurrent_unordered_map.cpp:242:136: required from 'void TestTypesMap(const std::__cxx11::list&) [with bool defCtorPresent = true; ValueType = std::pair, int>]' ../../src/test/test_concurrent_unordered_map.cpp:264:56: required from here ../../include/tbb/internal/_concurrent_unordered_impl.h:1471:24: warning: 'void* memset(void*, int, size_t)' clearing an object of non-trivial type 'tbb::interface5::internal::concurrent_unordered_base, int, tbb::interface5::internal::hash_compare, tbb::tbb_hash >, Harness::IsEqual>, debug_allocator, int>, std::allocator>, true> >::raw_iterator' {aka 'class tbb::interface5::internal::flist_iterator, int>, debug_allocator, int>, std::allocator> >, std::pair, int> >'}; use assignment or value-initialization instead [-Wclass-memaccess] std::memset(new_segment, 0, sz*sizeof(raw_iterator)); ~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ In file included from ../../include/tbb/concurrent_unordered_map.h:27, from ../../src/test/test_concurrent_unordered_map.cpp:26: ../../include/tbb/internal/_concurrent_unordered_impl.h:61:7: note: 'tbb::interface5::internal::concurrent_unordered_base, int, tbb::interface5::internal::hash_compare, tbb::tbb_hash >, Harness::IsEqual>, debug_allocator, int>, std::allocator>, true> >::raw_iterator' {aka 'class tbb::interface5::internal::flist_iterator, int>, debug_allocator, int>, std::allocator> >, std::pair, int> >'} declared here class flist_iterator : public std::iterator ^~~~~~~~~~~~~~ In file included from ../../include/tbb/concurrent_unordered_map.h:27, from ../../src/test/test_concurrent_unordered_map.cpp:26: ../../include/tbb/internal/_concurrent_unordered_impl.h: In instantiation of 'void tbb::interface5::internal::concurrent_unordered_base::set_bucket(tbb::interface5::internal::concurrent_unordered_base::size_type, tbb::interface5::internal::concurrent_unordered_base::raw_iterator) [with Traits = tbb::interface5::concurrent_unordered_map_traits, tbb::interface5::internal::hash_compare, Harness::IsEqual>, tbb::tbb_allocator > >, false>; tbb::interface5::internal::concurrent_unordered_base::size_type = long unsigned int; tbb::interface5::internal::concurrent_unordered_base::raw_iterator = tbb::interface5::internal::flist_iterator >, tbb::tbb_allocator > > >, std::pair > >]': ../../include/tbb/internal/_concurrent_unordered_impl.h:1207:9: required from 'void tbb::interface5::internal::concurrent_unordered_base::internal_init() [with Traits = tbb::interface5::concurrent_unordered_map_traits, tbb::interface5::internal::hash_compare, Harness::IsEqual>, tbb::tbb_allocator > >, false>]' ../../include/tbb/internal/_concurrent_unordered_impl.h:724:9: required from 'tbb::interface5::internal::concurrent_unordered_base::concurrent_unordered_base(const tbb::interface5::internal::concurrent_unordered_base&) [with Traits = tbb::interface5::concurrent_unordered_map_traits, tbb::interface5::internal::hash_compare, Harness::IsEqual>, tbb::tbb_allocator > >, false>]' ../../include/tbb/concurrent_unordered_map.h:58:7: required from 'void TypeTester(const std::__cxx11::list&) [with bool defCtorPresent = false; Table = tbb::interface5::concurrent_unordered_map, tbb::tbb_hash, Harness::IsEqual, tbb::tbb_allocator > > >; TableDebugAlloc = tbb::interface5::concurrent_unordered_map, tbb::tbb_hash, Harness::IsEqual, debug_allocator >, std::allocator> >; typename Table::value_type = std::pair >]' ../../src/test/test_concurrent_unordered_map.cpp:240:131: required from 'void TestTypesMap(const std::__cxx11::list&) [with bool defCtorPresent = false; ValueType = std::pair >]' ../../src/test/test_concurrent_unordered_map.cpp:271:57: required from here ../../include/tbb/internal/_concurrent_unordered_impl.h:1471:24: warning: 'void* memset(void*, int, size_t)' clearing an object of non-trivial type 'tbb::interface5::internal::concurrent_unordered_base, tbb::interface5::internal::hash_compare, Harness::IsEqual>, tbb::tbb_allocator > >, false> >::raw_iterator' {aka 'class tbb::interface5::internal::flist_iterator >, tbb::tbb_allocator > > >, std::pair > >'}; use assignment or value-initialization instead [-Wclass-memaccess] std::memset(new_segment, 0, sz*sizeof(raw_iterator)); ~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ In file included from ../../include/tbb/concurrent_unordered_map.h:27, from ../../src/test/test_concurrent_unordered_map.cpp:26: ../../include/tbb/internal/_concurrent_unordered_impl.h:61:7: note: 'tbb::interface5::internal::concurrent_unordered_base, tbb::interface5::internal::hash_compare, Harness::IsEqual>, tbb::tbb_allocator > >, false> >::raw_iterator' {aka 'class tbb::interface5::internal::flist_iterator >, tbb::tbb_allocator > > >, std::pair > >'} declared here class flist_iterator : public std::iterator ^~~~~~~~~~~~~~ In file included from ../../include/tbb/concurrent_unordered_map.h:27, from ../../src/test/test_concurrent_unordered_map.cpp:26: ../../include/tbb/internal/_concurrent_unordered_impl.h: In instantiation of 'void tbb::interface5::internal::concurrent_unordered_base::set_bucket(tbb::interface5::internal::concurrent_unordered_base::size_type, tbb::interface5::internal::concurrent_unordered_base::raw_iterator) [with Traits = tbb::interface5::concurrent_unordered_map_traits, tbb::interface5::internal::hash_compare, Harness::IsEqual>, debug_allocator >, std::allocator>, false>; tbb::interface5::internal::concurrent_unordered_base::size_type = long unsigned int; tbb::interface5::internal::concurrent_unordered_base::raw_iterator = tbb::interface5::internal::flist_iterator >, debug_allocator >, std::allocator> >, std::pair > >]': ../../include/tbb/internal/_concurrent_unordered_impl.h:1207:9: required from 'void tbb::interface5::internal::concurrent_unordered_base::internal_init() [with Traits = tbb::interface5::concurrent_unordered_map_traits, tbb::interface5::internal::hash_compare, Harness::IsEqual>, debug_allocator >, std::allocator>, false>]' ../../include/tbb/internal/_concurrent_unordered_impl.h:724:9: required from 'tbb::interface5::internal::concurrent_unordered_base::concurrent_unordered_base(const tbb::interface5::internal::concurrent_unordered_base&) [with Traits = tbb::interface5::concurrent_unordered_map_traits, tbb::interface5::internal::hash_compare, Harness::IsEqual>, debug_allocator >, std::allocator>, false>]' ../../include/tbb/concurrent_unordered_map.h:58:7: required from 'void TypeTester(const std::__cxx11::list&) [with bool defCtorPresent = false; Table = tbb::interface5::concurrent_unordered_map, tbb::tbb_hash, Harness::IsEqual, tbb::tbb_allocator > > >; TableDebugAlloc = tbb::interface5::concurrent_unordered_map, tbb::tbb_hash, Harness::IsEqual, debug_allocator >, std::allocator> >; typename Table::value_type = std::pair >]' ../../src/test/test_concurrent_unordered_map.cpp:240:131: required from 'void TestTypesMap(const std::__cxx11::list&) [with bool defCtorPresent = false; ValueType = std::pair >]' ../../src/test/test_concurrent_unordered_map.cpp:271:57: required from here ../../include/tbb/internal/_concurrent_unordered_impl.h:1471:24: warning: 'void* memset(void*, int, size_t)' clearing an object of non-trivial type 'tbb::interface5::internal::concurrent_unordered_base, tbb::interface5::internal::hash_compare, Harness::IsEqual>, debug_allocator >, std::allocator>, false> >::raw_iterator' {aka 'class tbb::interface5::internal::flist_iterator >, debug_allocator >, std::allocator> >, std::pair > >'}; use assignment or value-initialization instead [-Wclass-memaccess] std::memset(new_segment, 0, sz*sizeof(raw_iterator)); ~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ In file included from ../../include/tbb/concurrent_unordered_map.h:27, from ../../src/test/test_concurrent_unordered_map.cpp:26: ../../include/tbb/internal/_concurrent_unordered_impl.h:61:7: note: 'tbb::interface5::internal::concurrent_unordered_base, tbb::interface5::internal::hash_compare, Harness::IsEqual>, debug_allocator >, std::allocator>, false> >::raw_iterator' {aka 'class tbb::interface5::internal::flist_iterator >, debug_allocator >, std::allocator> >, std::pair > >'} declared here class flist_iterator : public std::iterator ^~~~~~~~~~~~~~ In file included from ../../include/tbb/concurrent_unordered_map.h:27, from ../../src/test/test_concurrent_unordered_map.cpp:26: ../../include/tbb/internal/_concurrent_unordered_impl.h: In instantiation of 'void tbb::interface5::internal::concurrent_unordered_base::set_bucket(tbb::interface5::internal::concurrent_unordered_base::size_type, tbb::interface5::internal::concurrent_unordered_base::raw_iterator) [with Traits = tbb::interface5::concurrent_unordered_map_traits, tbb::interface5::internal::hash_compare, Harness::IsEqual>, tbb::tbb_allocator > >, true>; tbb::interface5::internal::concurrent_unordered_base::size_type = long unsigned int; tbb::interface5::internal::concurrent_unordered_base::raw_iterator = tbb::interface5::internal::flist_iterator >, tbb::tbb_allocator > > >, std::pair > >]': ../../include/tbb/internal/_concurrent_unordered_impl.h:1207:9: required from 'void tbb::interface5::internal::concurrent_unordered_base::internal_init() [with Traits = tbb::interface5::concurrent_unordered_map_traits, tbb::interface5::internal::hash_compare, Harness::IsEqual>, tbb::tbb_allocator > >, true>]' ../../include/tbb/internal/_concurrent_unordered_impl.h:724:9: required from 'tbb::interface5::internal::concurrent_unordered_base::concurrent_unordered_base(const tbb::interface5::internal::concurrent_unordered_base&) [with Traits = tbb::interface5::concurrent_unordered_map_traits, tbb::interface5::internal::hash_compare, Harness::IsEqual>, tbb::tbb_allocator > >, true>]' ../../include/tbb/concurrent_unordered_map.h:196:7: required from 'void TypeTester(const std::__cxx11::list&) [with bool defCtorPresent = false; Table = tbb::interface5::concurrent_unordered_multimap, tbb::tbb_hash, Harness::IsEqual, tbb::tbb_allocator > > >; TableDebugAlloc = tbb::interface5::concurrent_unordered_multimap, tbb::tbb_hash, Harness::IsEqual, debug_allocator >, std::allocator> >; typename Table::value_type = std::pair >]' ../../src/test/test_concurrent_unordered_map.cpp:242:136: required from 'void TestTypesMap(const std::__cxx11::list&) [with bool defCtorPresent = false; ValueType = std::pair >]' ../../src/test/test_concurrent_unordered_map.cpp:271:57: required from here ../../include/tbb/internal/_concurrent_unordered_impl.h:1471:24: warning: 'void* memset(void*, int, size_t)' clearing an object of non-trivial type 'tbb::interface5::internal::concurrent_unordered_base, tbb::interface5::internal::hash_compare, Harness::IsEqual>, tbb::tbb_allocator > >, true> >::raw_iterator' {aka 'class tbb::interface5::internal::flist_iterator >, tbb::tbb_allocator > > >, std::pair > >'}; use assignment or value-initialization instead [-Wclass-memaccess] std::memset(new_segment, 0, sz*sizeof(raw_iterator)); ~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ In file included from ../../include/tbb/concurrent_unordered_map.h:27, from ../../src/test/test_concurrent_unordered_map.cpp:26: ../../include/tbb/internal/_concurrent_unordered_impl.h:61:7: note: 'tbb::interface5::internal::concurrent_unordered_base, tbb::interface5::internal::hash_compare, Harness::IsEqual>, tbb::tbb_allocator > >, true> >::raw_iterator' {aka 'class tbb::interface5::internal::flist_iterator >, tbb::tbb_allocator > > >, std::pair > >'} declared here class flist_iterator : public std::iterator ^~~~~~~~~~~~~~ In file included from ../../include/tbb/concurrent_unordered_map.h:27, from ../../src/test/test_concurrent_unordered_map.cpp:26: ../../include/tbb/internal/_concurrent_unordered_impl.h: In instantiation of 'void tbb::interface5::internal::concurrent_unordered_base::set_bucket(tbb::interface5::internal::concurrent_unordered_base::size_type, tbb::interface5::internal::concurrent_unordered_base::raw_iterator) [with Traits = tbb::interface5::concurrent_unordered_map_traits, tbb::interface5::internal::hash_compare, Harness::IsEqual>, debug_allocator >, std::allocator>, true>; tbb::interface5::internal::concurrent_unordered_base::size_type = long unsigned int; tbb::interface5::internal::concurrent_unordered_base::raw_iterator = tbb::interface5::internal::flist_iterator >, debug_allocator >, std::allocator> >, std::pair > >]': ../../include/tbb/internal/_concurrent_unordered_impl.h:1207:9: required from 'void tbb::interface5::internal::concurrent_unordered_base::internal_init() [with Traits = tbb::interface5::concurrent_unordered_map_traits, tbb::interface5::internal::hash_compare, Harness::IsEqual>, debug_allocator >, std::allocator>, true>]' ../../include/tbb/internal/_concurrent_unordered_impl.h:724:9: required from 'tbb::interface5::internal::concurrent_unordered_base::concurrent_unordered_base(const tbb::interface5::internal::concurrent_unordered_base&) [with Traits = tbb::interface5::concurrent_unordered_map_traits, tbb::interface5::internal::hash_compare, Harness::IsEqual>, debug_allocator >, std::allocator>, true>]' ../../include/tbb/concurrent_unordered_map.h:196:7: required from 'void TypeTester(const std::__cxx11::list&) [with bool defCtorPresent = false; Table = tbb::interface5::concurrent_unordered_multimap, tbb::tbb_hash, Harness::IsEqual, tbb::tbb_allocator > > >; TableDebugAlloc = tbb::interface5::concurrent_unordered_multimap, tbb::tbb_hash, Harness::IsEqual, debug_allocator >, std::allocator> >; typename Table::value_type = std::pair >]' ../../src/test/test_concurrent_unordered_map.cpp:242:136: required from 'void TestTypesMap(const std::__cxx11::list&) [with bool defCtorPresent = false; ValueType = std::pair >]' ../../src/test/test_concurrent_unordered_map.cpp:271:57: required from here ../../include/tbb/internal/_concurrent_unordered_impl.h:1471:24: warning: 'void* memset(void*, int, size_t)' clearing an object of non-trivial type 'tbb::interface5::internal::concurrent_unordered_base, tbb::interface5::internal::hash_compare, Harness::IsEqual>, debug_allocator >, std::allocator>, true> >::raw_iterator' {aka 'class tbb::interface5::internal::flist_iterator >, debug_allocator >, std::allocator> >, std::pair > >'}; use assignment or value-initialization instead [-Wclass-memaccess] std::memset(new_segment, 0, sz*sizeof(raw_iterator)); ~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ In file included from ../../include/tbb/concurrent_unordered_map.h:27, from ../../src/test/test_concurrent_unordered_map.cpp:26: ../../include/tbb/internal/_concurrent_unordered_impl.h:61:7: note: 'tbb::interface5::internal::concurrent_unordered_base, tbb::interface5::internal::hash_compare, Harness::IsEqual>, debug_allocator >, std::allocator>, true> >::raw_iterator' {aka 'class tbb::interface5::internal::flist_iterator >, debug_allocator >, std::allocator> >, std::pair > >'} declared here class flist_iterator : public std::iterator ^~~~~~~~~~~~~~ In file included from ../../include/tbb/concurrent_unordered_map.h:27, from ../../src/test/test_concurrent_unordered_map.cpp:26: ../../include/tbb/internal/_concurrent_unordered_impl.h: In instantiation of 'void tbb::interface5::internal::concurrent_unordered_base::set_bucket(tbb::interface5::internal::concurrent_unordered_base::size_type, tbb::interface5::internal::concurrent_unordered_base::raw_iterator) [with Traits = tbb::interface5::concurrent_unordered_map_traits, std::shared_ptr, tbb::interface5::internal::hash_compare, tbb::tbb_hash >, Harness::IsEqual>, tbb::tbb_allocator, std::shared_ptr > >, false>; tbb::interface5::internal::concurrent_unordered_base::size_type = long unsigned int; tbb::interface5::internal::concurrent_unordered_base::raw_iterator = tbb::interface5::internal::flist_iterator, std::shared_ptr >, tbb::tbb_allocator, std::shared_ptr > > >, std::pair, std::shared_ptr > >]': ../../include/tbb/internal/_concurrent_unordered_impl.h:1207:9: required from 'void tbb::interface5::internal::concurrent_unordered_base::internal_init() [with Traits = tbb::interface5::concurrent_unordered_map_traits, std::shared_ptr, tbb::interface5::internal::hash_compare, tbb::tbb_hash >, Harness::IsEqual>, tbb::tbb_allocator, std::shared_ptr > >, false>]' ../../include/tbb/internal/_concurrent_unordered_impl.h:724:9: required from 'tbb::interface5::internal::concurrent_unordered_base::concurrent_unordered_base(const tbb::interface5::internal::concurrent_unordered_base&) [with Traits = tbb::interface5::concurrent_unordered_map_traits, std::shared_ptr, tbb::interface5::internal::hash_compare, tbb::tbb_hash >, Harness::IsEqual>, tbb::tbb_allocator, std::shared_ptr > >, false>]' ../../include/tbb/concurrent_unordered_map.h:58:7: required from 'void TypeTester(const std::__cxx11::list&) [with bool defCtorPresent = true; Table = tbb::interface5::concurrent_unordered_map, std::shared_ptr, tbb::tbb_hash >, Harness::IsEqual, tbb::tbb_allocator, std::shared_ptr > > >; TableDebugAlloc = tbb::interface5::concurrent_unordered_map, std::shared_ptr, tbb::tbb_hash >, Harness::IsEqual, debug_allocator, std::shared_ptr >, std::allocator> >; typename Table::value_type = std::pair, std::shared_ptr >]' ../../src/test/test_concurrent_unordered_map.cpp:240:131: required from 'void TestTypesMap(const std::__cxx11::list&) [with bool defCtorPresent = true; ValueType = std::pair, std::shared_ptr >]' ../../src/test/test_concurrent_unordered_map.cpp:280:56: required from here ../../include/tbb/internal/_concurrent_unordered_impl.h:1471:24: warning: 'void* memset(void*, int, size_t)' clearing an object of non-trivial type 'tbb::interface5::internal::concurrent_unordered_base, std::shared_ptr, tbb::interface5::internal::hash_compare, tbb::tbb_hash >, Harness::IsEqual>, tbb::tbb_allocator, std::shared_ptr > >, false> >::raw_iterator' {aka 'class tbb::interface5::internal::flist_iterator, std::shared_ptr >, tbb::tbb_allocator, std::shared_ptr > > >, std::pair, std::shared_ptr > >'}; use assignment or value-initialization instead [-Wclass-memaccess] std::memset(new_segment, 0, sz*sizeof(raw_iterator)); ~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ In file included from ../../include/tbb/concurrent_unordered_map.h:27, from ../../src/test/test_concurrent_unordered_map.cpp:26: ../../include/tbb/internal/_concurrent_unordered_impl.h:61:7: note: 'tbb::interface5::internal::concurrent_unordered_base, std::shared_ptr, tbb::interface5::internal::hash_compare, tbb::tbb_hash >, Harness::IsEqual>, tbb::tbb_allocator, std::shared_ptr > >, false> >::raw_iterator' {aka 'class tbb::interface5::internal::flist_iterator, std::shared_ptr >, tbb::tbb_allocator, std::shared_ptr > > >, std::pair, std::shared_ptr > >'} declared here class flist_iterator : public std::iterator ^~~~~~~~~~~~~~ In file included from ../../include/tbb/concurrent_unordered_map.h:27, from ../../src/test/test_concurrent_unordered_map.cpp:26: ../../include/tbb/internal/_concurrent_unordered_impl.h: In instantiation of 'void tbb::interface5::internal::concurrent_unordered_base::set_bucket(tbb::interface5::internal::concurrent_unordered_base::size_type, tbb::interface5::internal::concurrent_unordered_base::raw_iterator) [with Traits = tbb::interface5::concurrent_unordered_map_traits, std::shared_ptr, tbb::interface5::internal::hash_compare, tbb::tbb_hash >, Harness::IsEqual>, debug_allocator, std::shared_ptr >, std::allocator>, false>; tbb::interface5::internal::concurrent_unordered_base::size_type = long unsigned int; tbb::interface5::internal::concurrent_unordered_base::raw_iterator = tbb::interface5::internal::flist_iterator, std::shared_ptr >, debug_allocator, std::shared_ptr >, std::allocator> >, std::pair, std::shared_ptr > >]': ../../include/tbb/internal/_concurrent_unordered_impl.h:1207:9: required from 'void tbb::interface5::internal::concurrent_unordered_base::internal_init() [with Traits = tbb::interface5::concurrent_unordered_map_traits, std::shared_ptr, tbb::interface5::internal::hash_compare, tbb::tbb_hash >, Harness::IsEqual>, debug_allocator, std::shared_ptr >, std::allocator>, false>]' ../../include/tbb/internal/_concurrent_unordered_impl.h:724:9: required from 'tbb::interface5::internal::concurrent_unordered_base::concurrent_unordered_base(const tbb::interface5::internal::concurrent_unordered_base&) [with Traits = tbb::interface5::concurrent_unordered_map_traits, std::shared_ptr, tbb::interface5::internal::hash_compare, tbb::tbb_hash >, Harness::IsEqual>, debug_allocator, std::shared_ptr >, std::allocator>, false>]' ../../include/tbb/concurrent_unordered_map.h:58:7: required from 'void TypeTester(const std::__cxx11::list&) [with bool defCtorPresent = true; Table = tbb::interface5::concurrent_unordered_map, std::shared_ptr, tbb::tbb_hash >, Harness::IsEqual, tbb::tbb_allocator, std::shared_ptr > > >; TableDebugAlloc = tbb::interface5::concurrent_unordered_map, std::shared_ptr, tbb::tbb_hash >, Harness::IsEqual, debug_allocator, std::shared_ptr >, std::allocator> >; typename Table::value_type = std::pair, std::shared_ptr >]' ../../src/test/test_concurrent_unordered_map.cpp:240:131: required from 'void TestTypesMap(const std::__cxx11::list&) [with bool defCtorPresent = true; ValueType = std::pair, std::shared_ptr >]' ../../src/test/test_concurrent_unordered_map.cpp:280:56: required from here ../../include/tbb/internal/_concurrent_unordered_impl.h:1471:24: warning: 'void* memset(void*, int, size_t)' clearing an object of non-trivial type 'tbb::interface5::internal::concurrent_unordered_base, std::shared_ptr, tbb::interface5::internal::hash_compare, tbb::tbb_hash >, Harness::IsEqual>, debug_allocator, std::shared_ptr >, std::allocator>, false> >::raw_iterator' {aka 'class tbb::interface5::internal::flist_iterator, std::shared_ptr >, debug_allocator, std::shared_ptr >, std::allocator> >, std::pair, std::shared_ptr > >'}; use assignment or value-initialization instead [-Wclass-memaccess] std::memset(new_segment, 0, sz*sizeof(raw_iterator)); ~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ In file included from ../../include/tbb/concurrent_unordered_map.h:27, from ../../src/test/test_concurrent_unordered_map.cpp:26: ../../include/tbb/internal/_concurrent_unordered_impl.h:61:7: note: 'tbb::interface5::internal::concurrent_unordered_base, std::shared_ptr, tbb::interface5::internal::hash_compare, tbb::tbb_hash >, Harness::IsEqual>, debug_allocator, std::shared_ptr >, std::allocator>, false> >::raw_iterator' {aka 'class tbb::interface5::internal::flist_iterator, std::shared_ptr >, debug_allocator, std::shared_ptr >, std::allocator> >, std::pair, std::shared_ptr > >'} declared here class flist_iterator : public std::iterator ^~~~~~~~~~~~~~ In file included from ../../include/tbb/concurrent_unordered_map.h:27, from ../../src/test/test_concurrent_unordered_map.cpp:26: ../../include/tbb/internal/_concurrent_unordered_impl.h: In instantiation of 'void tbb::interface5::internal::concurrent_unordered_base::set_bucket(tbb::interface5::internal::concurrent_unordered_base::size_type, tbb::interface5::internal::concurrent_unordered_base::raw_iterator) [with Traits = tbb::interface5::concurrent_unordered_map_traits, std::shared_ptr, tbb::interface5::internal::hash_compare, tbb::tbb_hash >, Harness::IsEqual>, tbb::tbb_allocator, std::shared_ptr > >, true>; tbb::interface5::internal::concurrent_unordered_base::size_type = long unsigned int; tbb::interface5::internal::concurrent_unordered_base::raw_iterator = tbb::interface5::internal::flist_iterator, std::shared_ptr >, tbb::tbb_allocator, std::shared_ptr > > >, std::pair, std::shared_ptr > >]': ../../include/tbb/internal/_concurrent_unordered_impl.h:1207:9: required from 'void tbb::interface5::internal::concurrent_unordered_base::internal_init() [with Traits = tbb::interface5::concurrent_unordered_map_traits, std::shared_ptr, tbb::interface5::internal::hash_compare, tbb::tbb_hash >, Harness::IsEqual>, tbb::tbb_allocator, std::shared_ptr > >, true>]' ../../include/tbb/internal/_concurrent_unordered_impl.h:724:9: required from 'tbb::interface5::internal::concurrent_unordered_base::concurrent_unordered_base(const tbb::interface5::internal::concurrent_unordered_base&) [with Traits = tbb::interface5::concurrent_unordered_map_traits, std::shared_ptr, tbb::interface5::internal::hash_compare, tbb::tbb_hash >, Harness::IsEqual>, tbb::tbb_allocator, std::shared_ptr > >, true>]' ../../include/tbb/concurrent_unordered_map.h:196:7: required from 'void TypeTester(const std::__cxx11::list&) [with bool defCtorPresent = true; Table = tbb::interface5::concurrent_unordered_multimap, std::shared_ptr, tbb::tbb_hash >, Harness::IsEqual, tbb::tbb_allocator, std::shared_ptr > > >; TableDebugAlloc = tbb::interface5::concurrent_unordered_multimap, std::shared_ptr, tbb::tbb_hash >, Harness::IsEqual, debug_allocator, std::shared_ptr >, std::allocator> >; typename Table::value_type = std::pair, std::shared_ptr >]' ../../src/test/test_concurrent_unordered_map.cpp:242:136: required from 'void TestTypesMap(const std::__cxx11::list&) [with bool defCtorPresent = true; ValueType = std::pair, std::shared_ptr >]' ../../src/test/test_concurrent_unordered_map.cpp:280:56: required from here ../../include/tbb/internal/_concurrent_unordered_impl.h:1471:24: warning: 'void* memset(void*, int, size_t)' clearing an object of non-trivial type 'tbb::interface5::internal::concurrent_unordered_base, std::shared_ptr, tbb::interface5::internal::hash_compare, tbb::tbb_hash >, Harness::IsEqual>, tbb::tbb_allocator, std::shared_ptr > >, true> >::raw_iterator' {aka 'class tbb::interface5::internal::flist_iterator, std::shared_ptr >, tbb::tbb_allocator, std::shared_ptr > > >, std::pair, std::shared_ptr > >'}; use assignment or value-initialization instead [-Wclass-memaccess] std::memset(new_segment, 0, sz*sizeof(raw_iterator)); ~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ In file included from ../../include/tbb/concurrent_unordered_map.h:27, from ../../src/test/test_concurrent_unordered_map.cpp:26: ../../include/tbb/internal/_concurrent_unordered_impl.h:61:7: note: 'tbb::interface5::internal::concurrent_unordered_base, std::shared_ptr, tbb::interface5::internal::hash_compare, tbb::tbb_hash >, Harness::IsEqual>, tbb::tbb_allocator, std::shared_ptr > >, true> >::raw_iterator' {aka 'class tbb::interface5::internal::flist_iterator, std::shared_ptr >, tbb::tbb_allocator, std::shared_ptr > > >, std::pair, std::shared_ptr > >'} declared here class flist_iterator : public std::iterator ^~~~~~~~~~~~~~ In file included from ../../include/tbb/concurrent_unordered_map.h:27, from ../../src/test/test_concurrent_unordered_map.cpp:26: ../../include/tbb/internal/_concurrent_unordered_impl.h: In instantiation of 'void tbb::interface5::internal::concurrent_unordered_base::set_bucket(tbb::interface5::internal::concurrent_unordered_base::size_type, tbb::interface5::internal::concurrent_unordered_base::raw_iterator) [with Traits = tbb::interface5::concurrent_unordered_map_traits, std::shared_ptr, tbb::interface5::internal::hash_compare, tbb::tbb_hash >, Harness::IsEqual>, debug_allocator, std::shared_ptr >, std::allocator>, true>; tbb::interface5::internal::concurrent_unordered_base::size_type = long unsigned int; tbb::interface5::internal::concurrent_unordered_base::raw_iterator = tbb::interface5::internal::flist_iterator, std::shared_ptr >, debug_allocator, std::shared_ptr >, std::allocator> >, std::pair, std::shared_ptr > >]': ../../include/tbb/internal/_concurrent_unordered_impl.h:1207:9: required from 'void tbb::interface5::internal::concurrent_unordered_base::internal_init() [with Traits = tbb::interface5::concurrent_unordered_map_traits, std::shared_ptr, tbb::interface5::internal::hash_compare, tbb::tbb_hash >, Harness::IsEqual>, debug_allocator, std::shared_ptr >, std::allocator>, true>]' ../../include/tbb/internal/_concurrent_unordered_impl.h:724:9: required from 'tbb::interface5::internal::concurrent_unordered_base::concurrent_unordered_base(const tbb::interface5::internal::concurrent_unordered_base&) [with Traits = tbb::interface5::concurrent_unordered_map_traits, std::shared_ptr, tbb::interface5::internal::hash_compare, tbb::tbb_hash >, Harness::IsEqual>, debug_allocator, std::shared_ptr >, std::allocator>, true>]' ../../include/tbb/concurrent_unordered_map.h:196:7: required from 'void TypeTester(const std::__cxx11::list&) [with bool defCtorPresent = true; Table = tbb::interface5::concurrent_unordered_multimap, std::shared_ptr, tbb::tbb_hash >, Harness::IsEqual, tbb::tbb_allocator, std::shared_ptr > > >; TableDebugAlloc = tbb::interface5::concurrent_unordered_multimap, std::shared_ptr, tbb::tbb_hash >, Harness::IsEqual, debug_allocator, std::shared_ptr >, std::allocator> >; typename Table::value_type = std::pair, std::shared_ptr >]' ../../src/test/test_concurrent_unordered_map.cpp:242:136: required from 'void TestTypesMap(const std::__cxx11::list&) [with bool defCtorPresent = true; ValueType = std::pair, std::shared_ptr >]' ../../src/test/test_concurrent_unordered_map.cpp:280:56: required from here ../../include/tbb/internal/_concurrent_unordered_impl.h:1471:24: warning: 'void* memset(void*, int, size_t)' clearing an object of non-trivial type 'tbb::interface5::internal::concurrent_unordered_base, std::shared_ptr, tbb::interface5::internal::hash_compare, tbb::tbb_hash >, Harness::IsEqual>, debug_allocator, std::shared_ptr >, std::allocator>, true> >::raw_iterator' {aka 'class tbb::interface5::internal::flist_iterator, std::shared_ptr >, debug_allocator, std::shared_ptr >, std::allocator> >, std::pair, std::shared_ptr > >'}; use assignment or value-initialization instead [-Wclass-memaccess] std::memset(new_segment, 0, sz*sizeof(raw_iterator)); ~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ In file included from ../../include/tbb/concurrent_unordered_map.h:27, from ../../src/test/test_concurrent_unordered_map.cpp:26: ../../include/tbb/internal/_concurrent_unordered_impl.h:61:7: note: 'tbb::interface5::internal::concurrent_unordered_base, std::shared_ptr, tbb::interface5::internal::hash_compare, tbb::tbb_hash >, Harness::IsEqual>, debug_allocator, std::shared_ptr >, std::allocator>, true> >::raw_iterator' {aka 'class tbb::interface5::internal::flist_iterator, std::shared_ptr >, debug_allocator, std::shared_ptr >, std::allocator> >, std::pair, std::shared_ptr > >'} declared here class flist_iterator : public std::iterator ^~~~~~~~~~~~~~ In file included from ../../include/tbb/concurrent_unordered_map.h:27, from ../../src/test/test_concurrent_unordered_map.cpp:26: ../../include/tbb/internal/_concurrent_unordered_impl.h: In instantiation of 'void tbb::interface5::internal::concurrent_unordered_base::set_bucket(tbb::interface5::internal::concurrent_unordered_base::size_type, tbb::interface5::internal::concurrent_unordered_base::raw_iterator) [with Traits = tbb::interface5::concurrent_unordered_map_traits, std::weak_ptr, tbb::interface5::internal::hash_compare, tbb::tbb_hash >, Harness::IsEqual>, tbb::tbb_allocator, std::weak_ptr > >, false>; tbb::interface5::internal::concurrent_unordered_base::size_type = long unsigned int; tbb::interface5::internal::concurrent_unordered_base::raw_iterator = tbb::interface5::internal::flist_iterator, std::weak_ptr >, tbb::tbb_allocator, std::weak_ptr > > >, std::pair, std::weak_ptr > >]': ../../include/tbb/internal/_concurrent_unordered_impl.h:1207:9: required from 'void tbb::interface5::internal::concurrent_unordered_base::internal_init() [with Traits = tbb::interface5::concurrent_unordered_map_traits, std::weak_ptr, tbb::interface5::internal::hash_compare, tbb::tbb_hash >, Harness::IsEqual>, tbb::tbb_allocator, std::weak_ptr > >, false>]' ../../include/tbb/internal/_concurrent_unordered_impl.h:724:9: required from 'tbb::interface5::internal::concurrent_unordered_base::concurrent_unordered_base(const tbb::interface5::internal::concurrent_unordered_base&) [with Traits = tbb::interface5::concurrent_unordered_map_traits, std::weak_ptr, tbb::interface5::internal::hash_compare, tbb::tbb_hash >, Harness::IsEqual>, tbb::tbb_allocator, std::weak_ptr > >, false>]' ../../include/tbb/concurrent_unordered_map.h:58:7: required from 'void TypeTester(const std::__cxx11::list&) [with bool defCtorPresent = true; Table = tbb::interface5::concurrent_unordered_map, std::weak_ptr, tbb::tbb_hash >, Harness::IsEqual, tbb::tbb_allocator, std::weak_ptr > > >; TableDebugAlloc = tbb::interface5::concurrent_unordered_map, std::weak_ptr, tbb::tbb_hash >, Harness::IsEqual, debug_allocator, std::weak_ptr >, std::allocator> >; typename Table::value_type = std::pair, std::weak_ptr >]' ../../src/test/test_concurrent_unordered_map.cpp:240:131: required from 'void TestTypesMap(const std::__cxx11::list&) [with bool defCtorPresent = true; ValueType = std::pair, std::weak_ptr >]' ../../src/test/test_concurrent_unordered_map.cpp:284:54: required from here ../../include/tbb/internal/_concurrent_unordered_impl.h:1471:24: warning: 'void* memset(void*, int, size_t)' clearing an object of non-trivial type 'tbb::interface5::internal::concurrent_unordered_base, std::weak_ptr, tbb::interface5::internal::hash_compare, tbb::tbb_hash >, Harness::IsEqual>, tbb::tbb_allocator, std::weak_ptr > >, false> >::raw_iterator' {aka 'class tbb::interface5::internal::flist_iterator, std::weak_ptr >, tbb::tbb_allocator, std::weak_ptr > > >, std::pair, std::weak_ptr > >'}; use assignment or value-initialization instead [-Wclass-memaccess] std::memset(new_segment, 0, sz*sizeof(raw_iterator)); ~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ In file included from ../../include/tbb/concurrent_unordered_map.h:27, from ../../src/test/test_concurrent_unordered_map.cpp:26: ../../include/tbb/internal/_concurrent_unordered_impl.h:61:7: note: 'tbb::interface5::internal::concurrent_unordered_base, std::weak_ptr, tbb::interface5::internal::hash_compare, tbb::tbb_hash >, Harness::IsEqual>, tbb::tbb_allocator, std::weak_ptr > >, false> >::raw_iterator' {aka 'class tbb::interface5::internal::flist_iterator, std::weak_ptr >, tbb::tbb_allocator, std::weak_ptr > > >, std::pair, std::weak_ptr > >'} declared here class flist_iterator : public std::iterator ^~~~~~~~~~~~~~ In file included from ../../include/tbb/concurrent_unordered_map.h:27, from ../../src/test/test_concurrent_unordered_map.cpp:26: ../../include/tbb/internal/_concurrent_unordered_impl.h: In instantiation of 'void tbb::interface5::internal::concurrent_unordered_base::set_bucket(tbb::interface5::internal::concurrent_unordered_base::size_type, tbb::interface5::internal::concurrent_unordered_base::raw_iterator) [with Traits = tbb::interface5::concurrent_unordered_map_traits, std::weak_ptr, tbb::interface5::internal::hash_compare, tbb::tbb_hash >, Harness::IsEqual>, debug_allocator, std::weak_ptr >, std::allocator>, false>; tbb::interface5::internal::concurrent_unordered_base::size_type = long unsigned int; tbb::interface5::internal::concurrent_unordered_base::raw_iterator = tbb::interface5::internal::flist_iterator, std::weak_ptr >, debug_allocator, std::weak_ptr >, std::allocator> >, std::pair, std::weak_ptr > >]': ../../include/tbb/internal/_concurrent_unordered_impl.h:1207:9: required from 'void tbb::interface5::internal::concurrent_unordered_base::internal_init() [with Traits = tbb::interface5::concurrent_unordered_map_traits, std::weak_ptr, tbb::interface5::internal::hash_compare, tbb::tbb_hash >, Harness::IsEqual>, debug_allocator, std::weak_ptr >, std::allocator>, false>]' ../../include/tbb/internal/_concurrent_unordered_impl.h:724:9: required from 'tbb::interface5::internal::concurrent_unordered_base::concurrent_unordered_base(const tbb::interface5::internal::concurrent_unordered_base&) [with Traits = tbb::interface5::concurrent_unordered_map_traits, std::weak_ptr, tbb::interface5::internal::hash_compare, tbb::tbb_hash >, Harness::IsEqual>, debug_allocator, std::weak_ptr >, std::allocator>, false>]' ../../include/tbb/concurrent_unordered_map.h:58:7: required from 'void TypeTester(const std::__cxx11::list&) [with bool defCtorPresent = true; Table = tbb::interface5::concurrent_unordered_map, std::weak_ptr, tbb::tbb_hash >, Harness::IsEqual, tbb::tbb_allocator, std::weak_ptr > > >; TableDebugAlloc = tbb::interface5::concurrent_unordered_map, std::weak_ptr, tbb::tbb_hash >, Harness::IsEqual, debug_allocator, std::weak_ptr >, std::allocator> >; typename Table::value_type = std::pair, std::weak_ptr >]' ../../src/test/test_concurrent_unordered_map.cpp:240:131: required from 'void TestTypesMap(const std::__cxx11::list&) [with bool defCtorPresent = true; ValueType = std::pair, std::weak_ptr >]' ../../src/test/test_concurrent_unordered_map.cpp:284:54: required from here ../../include/tbb/internal/_concurrent_unordered_impl.h:1471:24: warning: 'void* memset(void*, int, size_t)' clearing an object of non-trivial type 'tbb::interface5::internal::concurrent_unordered_base, std::weak_ptr, tbb::interface5::internal::hash_compare, tbb::tbb_hash >, Harness::IsEqual>, debug_allocator, std::weak_ptr >, std::allocator>, false> >::raw_iterator' {aka 'class tbb::interface5::internal::flist_iterator, std::weak_ptr >, debug_allocator, std::weak_ptr >, std::allocator> >, std::pair, std::weak_ptr > >'}; use assignment or value-initialization instead [-Wclass-memaccess] std::memset(new_segment, 0, sz*sizeof(raw_iterator)); ~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ In file included from ../../include/tbb/concurrent_unordered_map.h:27, from ../../src/test/test_concurrent_unordered_map.cpp:26: ../../include/tbb/internal/_concurrent_unordered_impl.h:61:7: note: 'tbb::interface5::internal::concurrent_unordered_base, std::weak_ptr, tbb::interface5::internal::hash_compare, tbb::tbb_hash >, Harness::IsEqual>, debug_allocator, std::weak_ptr >, std::allocator>, false> >::raw_iterator' {aka 'class tbb::interface5::internal::flist_iterator, std::weak_ptr >, debug_allocator, std::weak_ptr >, std::allocator> >, std::pair, std::weak_ptr > >'} declared here class flist_iterator : public std::iterator ^~~~~~~~~~~~~~ In file included from ../../include/tbb/concurrent_unordered_map.h:27, from ../../src/test/test_concurrent_unordered_map.cpp:26: ../../include/tbb/internal/_concurrent_unordered_impl.h: In instantiation of 'void tbb::interface5::internal::concurrent_unordered_base::set_bucket(tbb::interface5::internal::concurrent_unordered_base::size_type, tbb::interface5::internal::concurrent_unordered_base::raw_iterator) [with Traits = tbb::interface5::concurrent_unordered_map_traits, std::weak_ptr, tbb::interface5::internal::hash_compare, tbb::tbb_hash >, Harness::IsEqual>, tbb::tbb_allocator, std::weak_ptr > >, true>; tbb::interface5::internal::concurrent_unordered_base::size_type = long unsigned int; tbb::interface5::internal::concurrent_unordered_base::raw_iterator = tbb::interface5::internal::flist_iterator, std::weak_ptr >, tbb::tbb_allocator, std::weak_ptr > > >, std::pair, std::weak_ptr > >]': ../../include/tbb/internal/_concurrent_unordered_impl.h:1207:9: required from 'void tbb::interface5::internal::concurrent_unordered_base::internal_init() [with Traits = tbb::interface5::concurrent_unordered_map_traits, std::weak_ptr, tbb::interface5::internal::hash_compare, tbb::tbb_hash >, Harness::IsEqual>, tbb::tbb_allocator, std::weak_ptr > >, true>]' ../../include/tbb/internal/_concurrent_unordered_impl.h:724:9: required from 'tbb::interface5::internal::concurrent_unordered_base::concurrent_unordered_base(const tbb::interface5::internal::concurrent_unordered_base&) [with Traits = tbb::interface5::concurrent_unordered_map_traits, std::weak_ptr, tbb::interface5::internal::hash_compare, tbb::tbb_hash >, Harness::IsEqual>, tbb::tbb_allocator, std::weak_ptr > >, true>]' ../../include/tbb/concurrent_unordered_map.h:196:7: required from 'void TypeTester(const std::__cxx11::list&) [with bool defCtorPresent = true; Table = tbb::interface5::concurrent_unordered_multimap, std::weak_ptr, tbb::tbb_hash >, Harness::IsEqual, tbb::tbb_allocator, std::weak_ptr > > >; TableDebugAlloc = tbb::interface5::concurrent_unordered_multimap, std::weak_ptr, tbb::tbb_hash >, Harness::IsEqual, debug_allocator, std::weak_ptr >, std::allocator> >; typename Table::value_type = std::pair, std::weak_ptr >]' ../../src/test/test_concurrent_unordered_map.cpp:242:136: required from 'void TestTypesMap(const std::__cxx11::list&) [with bool defCtorPresent = true; ValueType = std::pair, std::weak_ptr >]' ../../src/test/test_concurrent_unordered_map.cpp:284:54: required from here ../../include/tbb/internal/_concurrent_unordered_impl.h:1471:24: warning: 'void* memset(void*, int, size_t)' clearing an object of non-trivial type 'tbb::interface5::internal::concurrent_unordered_base, std::weak_ptr, tbb::interface5::internal::hash_compare, tbb::tbb_hash >, Harness::IsEqual>, tbb::tbb_allocator, std::weak_ptr > >, true> >::raw_iterator' {aka 'class tbb::interface5::internal::flist_iterator, std::weak_ptr >, tbb::tbb_allocator, std::weak_ptr > > >, std::pair, std::weak_ptr > >'}; use assignment or value-initialization instead [-Wclass-memaccess] std::memset(new_segment, 0, sz*sizeof(raw_iterator)); ~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ In file included from ../../include/tbb/concurrent_unordered_map.h:27, from ../../src/test/test_concurrent_unordered_map.cpp:26: ../../include/tbb/internal/_concurrent_unordered_impl.h:61:7: note: 'tbb::interface5::internal::concurrent_unordered_base, std::weak_ptr, tbb::interface5::internal::hash_compare, tbb::tbb_hash >, Harness::IsEqual>, tbb::tbb_allocator, std::weak_ptr > >, true> >::raw_iterator' {aka 'class tbb::interface5::internal::flist_iterator, std::weak_ptr >, tbb::tbb_allocator, std::weak_ptr > > >, std::pair, std::weak_ptr > >'} declared here class flist_iterator : public std::iterator ^~~~~~~~~~~~~~ In file included from ../../include/tbb/concurrent_unordered_map.h:27, from ../../src/test/test_concurrent_unordered_map.cpp:26: ../../include/tbb/internal/_concurrent_unordered_impl.h: In instantiation of 'void tbb::interface5::internal::concurrent_unordered_base::set_bucket(tbb::interface5::internal::concurrent_unordered_base::size_type, tbb::interface5::internal::concurrent_unordered_base::raw_iterator) [with Traits = tbb::interface5::concurrent_unordered_map_traits, std::weak_ptr, tbb::interface5::internal::hash_compare, tbb::tbb_hash >, Harness::IsEqual>, debug_allocator, std::weak_ptr >, std::allocator>, true>; tbb::interface5::internal::concurrent_unordered_base::size_type = long unsigned int; tbb::interface5::internal::concurrent_unordered_base::raw_iterator = tbb::interface5::internal::flist_iterator, std::weak_ptr >, debug_allocator, std::weak_ptr >, std::allocator> >, std::pair, std::weak_ptr > >]': ../../include/tbb/internal/_concurrent_unordered_impl.h:1207:9: required from 'void tbb::interface5::internal::concurrent_unordered_base::internal_init() [with Traits = tbb::interface5::concurrent_unordered_map_traits, std::weak_ptr, tbb::interface5::internal::hash_compare, tbb::tbb_hash >, Harness::IsEqual>, debug_allocator, std::weak_ptr >, std::allocator>, true>]' ../../include/tbb/internal/_concurrent_unordered_impl.h:724:9: required from 'tbb::interface5::internal::concurrent_unordered_base::concurrent_unordered_base(const tbb::interface5::internal::concurrent_unordered_base&) [with Traits = tbb::interface5::concurrent_unordered_map_traits, std::weak_ptr, tbb::interface5::internal::hash_compare, tbb::tbb_hash >, Harness::IsEqual>, debug_allocator, std::weak_ptr >, std::allocator>, true>]' ../../include/tbb/concurrent_unordered_map.h:196:7: required from 'void TypeTester(const std::__cxx11::list&) [with bool defCtorPresent = true; Table = tbb::interface5::concurrent_unordered_multimap, std::weak_ptr, tbb::tbb_hash >, Harness::IsEqual, tbb::tbb_allocator, std::weak_ptr > > >; TableDebugAlloc = tbb::interface5::concurrent_unordered_multimap, std::weak_ptr, tbb::tbb_hash >, Harness::IsEqual, debug_allocator, std::weak_ptr >, std::allocator> >; typename Table::value_type = std::pair, std::weak_ptr >]' ../../src/test/test_concurrent_unordered_map.cpp:242:136: required from 'void TestTypesMap(const std::__cxx11::list&) [with bool defCtorPresent = true; ValueType = std::pair, std::weak_ptr >]' ../../src/test/test_concurrent_unordered_map.cpp:284:54: required from here ../../include/tbb/internal/_concurrent_unordered_impl.h:1471:24: warning: 'void* memset(void*, int, size_t)' clearing an object of non-trivial type 'tbb::interface5::internal::concurrent_unordered_base, std::weak_ptr, tbb::interface5::internal::hash_compare, tbb::tbb_hash >, Harness::IsEqual>, debug_allocator, std::weak_ptr >, std::allocator>, true> >::raw_iterator' {aka 'class tbb::interface5::internal::flist_iterator, std::weak_ptr >, debug_allocator, std::weak_ptr >, std::allocator> >, std::pair, std::weak_ptr > >'}; use assignment or value-initialization instead [-Wclass-memaccess] std::memset(new_segment, 0, sz*sizeof(raw_iterator)); ~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ In file included from ../../include/tbb/concurrent_unordered_map.h:27, from ../../src/test/test_concurrent_unordered_map.cpp:26: ../../include/tbb/internal/_concurrent_unordered_impl.h:61:7: note: 'tbb::interface5::internal::concurrent_unordered_base, std::weak_ptr, tbb::interface5::internal::hash_compare, tbb::tbb_hash >, Harness::IsEqual>, debug_allocator, std::weak_ptr >, std::allocator>, true> >::raw_iterator' {aka 'class tbb::interface5::internal::flist_iterator, std::weak_ptr >, debug_allocator, std::weak_ptr >, std::allocator> >, std::pair, std::weak_ptr > >'} declared here class flist_iterator : public std::iterator ^~~~~~~~~~~~~~ In file included from ../../include/tbb/concurrent_unordered_map.h:27, from ../../src/test/test_concurrent_unordered_map.cpp:26: ../../include/tbb/internal/_concurrent_unordered_impl.h: In instantiation of 'void tbb::interface5::internal::concurrent_unordered_base::set_bucket(tbb::interface5::internal::concurrent_unordered_base::size_type, tbb::interface5::internal::concurrent_unordered_base::raw_iterator) [with Traits = tbb::interface5::concurrent_unordered_map_traits, tbb::interface5::internal::hash_compare, std::equal_to >, tbb::tbb_allocator > >, false>; tbb::interface5::internal::concurrent_unordered_base::size_type = long unsigned int; tbb::interface5::internal::concurrent_unordered_base::raw_iterator = tbb::interface5::internal::flist_iterator >, tbb::tbb_allocator > > >, std::pair > >]': ../../include/tbb/internal/_concurrent_unordered_impl.h:1207:9: required from 'void tbb::interface5::internal::concurrent_unordered_base::internal_init() [with Traits = tbb::interface5::concurrent_unordered_map_traits, tbb::interface5::internal::hash_compare, std::equal_to >, tbb::tbb_allocator > >, false>]' ../../include/tbb/internal/_concurrent_unordered_impl.h:710:9: required from 'tbb::interface5::internal::concurrent_unordered_base::concurrent_unordered_base(tbb::interface5::internal::concurrent_unordered_base::size_type, const hash_compare&, const allocator_type&) [with Traits = tbb::interface5::concurrent_unordered_map_traits, tbb::interface5::internal::hash_compare, std::equal_to >, tbb::tbb_allocator > >, false>; tbb::interface5::internal::concurrent_unordered_base::size_type = long unsigned int; tbb::interface5::internal::concurrent_unordered_base::hash_compare = tbb::interface5::internal::hash_compare, std::equal_to >; tbb::interface5::internal::concurrent_unordered_base::allocator_type = tbb::tbb_allocator > >]' ../../include/tbb/concurrent_unordered_map.h:101:73: required from 'tbb::interface5::concurrent_unordered_map::concurrent_unordered_map(tbb::interface5::concurrent_unordered_map::size_type, const hasher&, const key_equal&, const allocator_type&) [with Key = int*; T = test::unique_ptr; Hasher = tbb::tbb_hash; Key_equality = std::equal_to; Allocator = tbb::tbb_allocator > >; tbb::interface5::concurrent_unordered_map::size_type = long unsigned int; tbb::interface5::concurrent_unordered_map::hasher = tbb::tbb_hash; tbb::interface5::concurrent_unordered_map::key_equal = std::equal_to; tbb::interface5::concurrent_unordered_map::allocator_type = tbb::tbb_allocator > >]' ../../src/test/test_concurrent_unordered_common.h:219:17: required from 'void test_emplace_insert(V, V) [with T = tbb::interface5::concurrent_unordered_map >; do_check_element_state = tbb::internal::bool_constant; V = int*]' ../../src/test/test_concurrent_unordered_map.cpp:289:70: required from here ../../include/tbb/internal/_concurrent_unordered_impl.h:1471:24: warning: 'void* memset(void*, int, size_t)' clearing an object of non-trivial type 'tbb::interface5::internal::concurrent_unordered_base, tbb::interface5::internal::hash_compare, std::equal_to >, tbb::tbb_allocator > >, false> >::raw_iterator' {aka 'class tbb::interface5::internal::flist_iterator >, tbb::tbb_allocator > > >, std::pair > >'}; use assignment or value-initialization instead [-Wclass-memaccess] std::memset(new_segment, 0, sz*sizeof(raw_iterator)); ~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ In file included from ../../include/tbb/concurrent_unordered_map.h:27, from ../../src/test/test_concurrent_unordered_map.cpp:26: ../../include/tbb/internal/_concurrent_unordered_impl.h:61:7: note: 'tbb::interface5::internal::concurrent_unordered_base, tbb::interface5::internal::hash_compare, std::equal_to >, tbb::tbb_allocator > >, false> >::raw_iterator' {aka 'class tbb::interface5::internal::flist_iterator >, tbb::tbb_allocator > > >, std::pair > >'} declared here class flist_iterator : public std::iterator ^~~~~~~~~~~~~~ In file included from ../../include/tbb/concurrent_unordered_map.h:27, from ../../src/test/test_concurrent_unordered_map.cpp:26: ../../include/tbb/internal/_concurrent_unordered_impl.h: In instantiation of 'void tbb::interface5::internal::concurrent_unordered_base::set_bucket(tbb::interface5::internal::concurrent_unordered_base::size_type, tbb::interface5::internal::concurrent_unordered_base::raw_iterator) [with Traits = tbb::interface5::concurrent_unordered_map_traits, tbb::interface5::internal::hash_compare, std::equal_to >, tbb::tbb_allocator > >, true>; tbb::interface5::internal::concurrent_unordered_base::size_type = long unsigned int; tbb::interface5::internal::concurrent_unordered_base::raw_iterator = tbb::interface5::internal::flist_iterator >, tbb::tbb_allocator > > >, std::pair > >]': ../../include/tbb/internal/_concurrent_unordered_impl.h:1207:9: required from 'void tbb::interface5::internal::concurrent_unordered_base::internal_init() [with Traits = tbb::interface5::concurrent_unordered_map_traits, tbb::interface5::internal::hash_compare, std::equal_to >, tbb::tbb_allocator > >, true>]' ../../include/tbb/internal/_concurrent_unordered_impl.h:710:9: required from 'tbb::interface5::internal::concurrent_unordered_base::concurrent_unordered_base(tbb::interface5::internal::concurrent_unordered_base::size_type, const hash_compare&, const allocator_type&) [with Traits = tbb::interface5::concurrent_unordered_map_traits, tbb::interface5::internal::hash_compare, std::equal_to >, tbb::tbb_allocator > >, true>; tbb::interface5::internal::concurrent_unordered_base::size_type = long unsigned int; tbb::interface5::internal::concurrent_unordered_base::hash_compare = tbb::interface5::internal::hash_compare, std::equal_to >; tbb::interface5::internal::concurrent_unordered_base::allocator_type = tbb::tbb_allocator > >]' ../../include/tbb/concurrent_unordered_map.h:237:73: required from 'tbb::interface5::concurrent_unordered_multimap::concurrent_unordered_multimap(tbb::interface5::concurrent_unordered_multimap::size_type, const hasher&, const key_equal&, const allocator_type&) [with Key = int*; T = test::unique_ptr; Hasher = tbb::tbb_hash; Key_equality = std::equal_to; Allocator = tbb::tbb_allocator > >; tbb::interface5::concurrent_unordered_multimap::size_type = long unsigned int; tbb::interface5::concurrent_unordered_multimap::hasher = tbb::tbb_hash; tbb::interface5::concurrent_unordered_multimap::key_equal = std::equal_to; tbb::interface5::concurrent_unordered_multimap::allocator_type = tbb::tbb_allocator > >]' ../../src/test/test_concurrent_unordered_common.h:219:17: required from 'void test_emplace_insert(V, V) [with T = tbb::interface5::concurrent_unordered_multimap >; do_check_element_state = tbb::internal::bool_constant; V = int*]' ../../src/test/test_concurrent_unordered_map.cpp:291:70: required from here ../../include/tbb/internal/_concurrent_unordered_impl.h:1471:24: warning: 'void* memset(void*, int, size_t)' clearing an object of non-trivial type 'tbb::interface5::internal::concurrent_unordered_base, tbb::interface5::internal::hash_compare, std::equal_to >, tbb::tbb_allocator > >, true> >::raw_iterator' {aka 'class tbb::interface5::internal::flist_iterator >, tbb::tbb_allocator > > >, std::pair > >'}; use assignment or value-initialization instead [-Wclass-memaccess] std::memset(new_segment, 0, sz*sizeof(raw_iterator)); ~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ In file included from ../../include/tbb/concurrent_unordered_map.h:27, from ../../src/test/test_concurrent_unordered_map.cpp:26: ../../include/tbb/internal/_concurrent_unordered_impl.h:61:7: note: 'tbb::interface5::internal::concurrent_unordered_base, tbb::interface5::internal::hash_compare, std::equal_to >, tbb::tbb_allocator > >, true> >::raw_iterator' {aka 'class tbb::interface5::internal::flist_iterator >, tbb::tbb_allocator > > >, std::pair > >'} declared here class flist_iterator : public std::iterator ^~~~~~~~~~~~~~ In file included from ../../src/test/test_container_move_support.h:26, from ../../src/test/test_concurrent_unordered_common.h:25, from ../../src/test/test_concurrent_unordered_map.cpp:42: ../../src/test/harness_allocator.h: In instantiation of 'debug_allocator::pointer debug_allocator::allocate(debug_allocator::size_type, const void*) [with T = tbb::interface5::internal::flist_iterator >, local_counting_allocator >, std::allocator>, tbb::atomic > >, std::pair > >; Allocator = std::allocator; debug_allocator::pointer = tbb::interface5::internal::flist_iterator >, local_counting_allocator >, std::allocator>, tbb::atomic > >, std::pair > >*; debug_allocator::size_type = long unsigned int]': ../../src/test/harness_allocator.h:474:43: required from 'local_counting_allocator::pointer local_counting_allocator::allocate(local_counting_allocator::size_type) [with base_alloc_t = debug_allocator >, local_counting_allocator >, std::allocator>, tbb::atomic > >, std::pair > >, std::allocator>; count_t = tbb::atomic; local_counting_allocator::pointer = tbb::interface5::internal::flist_iterator >, local_counting_allocator >, std::allocator>, tbb::atomic > >, std::pair > >*; local_counting_allocator::size_type = long unsigned int]' ../../include/tbb/internal/_concurrent_unordered_impl.h:1470:28: required from 'void tbb::interface5::internal::concurrent_unordered_base::set_bucket(tbb::interface5::internal::concurrent_unordered_base::size_type, tbb::interface5::internal::concurrent_unordered_base::raw_iterator) [with Traits = tbb::interface5::concurrent_unordered_map_traits, tbb::interface5::internal::hash_compare, std::equal_to >, local_counting_allocator, std::allocator> >, false>; tbb::interface5::internal::concurrent_unordered_base::size_type = long unsigned int; tbb::interface5::internal::concurrent_unordered_base::raw_iterator = tbb::interface5::internal::flist_iterator >, local_counting_allocator >, std::allocator>, tbb::atomic > >, std::pair > >]' ../../include/tbb/internal/_concurrent_unordered_impl.h:1056:9: required from 'void tbb::interface5::internal::concurrent_unordered_base::clear() [with Traits = tbb::interface5::concurrent_unordered_map_traits, tbb::interface5::internal::hash_compare, std::equal_to >, local_counting_allocator, std::allocator> >, false>]' ../../src/test/test_concurrent_unordered_common.h:657:5: required from 'void test_concurrent(const char*, bool) [with T = tbb::interface5::concurrent_unordered_map, tbb::tbb_hash, std::equal_to, local_counting_allocator, std::allocator> > >]' ../../src/test/test_concurrent_unordered_map.cpp:313:116: required from here ../../src/test/harness_allocator.h:518:20: warning: 'void* memset(void*, int, size_t)' writing to an object of non-trivial type 'class tbb::interface5::internal::flist_iterator >, local_counting_allocator >, std::allocator>, tbb::atomic > >, std::pair > >'; use assignment instead [-Wclass-memaccess] std::memset( ptr, 0xE3E3E3E3, n * sizeof(value_type) ); ~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ In file included from ../../include/tbb/concurrent_unordered_map.h:27, from ../../src/test/test_concurrent_unordered_map.cpp:26: ../../include/tbb/internal/_concurrent_unordered_impl.h:61:7: note: 'class tbb::interface5::internal::flist_iterator >, local_counting_allocator >, std::allocator>, tbb::atomic > >, std::pair > >' declared here class flist_iterator : public std::iterator ^~~~~~~~~~~~~~ In file included from ../../src/test/test_container_move_support.h:26, from ../../src/test/test_concurrent_unordered_common.h:25, from ../../src/test/test_concurrent_unordered_map.cpp:42: ../../src/test/harness_allocator.h: In instantiation of 'debug_allocator::pointer debug_allocator::allocate(debug_allocator::size_type, const void*) [with T = tbb::interface5::internal::flist_iterator, local_counting_allocator, std::allocator>, tbb::atomic > >, std::pair >; Allocator = std::allocator; debug_allocator::pointer = tbb::interface5::internal::flist_iterator, local_counting_allocator, std::allocator>, tbb::atomic > >, std::pair >*; debug_allocator::size_type = long unsigned int]': ../../src/test/harness_allocator.h:474:43: required from 'local_counting_allocator::pointer local_counting_allocator::allocate(local_counting_allocator::size_type) [with base_alloc_t = debug_allocator, local_counting_allocator, std::allocator>, tbb::atomic > >, std::pair >, std::allocator>; count_t = tbb::atomic; local_counting_allocator::pointer = tbb::interface5::internal::flist_iterator, local_counting_allocator, std::allocator>, tbb::atomic > >, std::pair >*; local_counting_allocator::size_type = long unsigned int]' ../../include/tbb/internal/_concurrent_unordered_impl.h:1470:28: required from 'void tbb::interface5::internal::concurrent_unordered_base::set_bucket(tbb::interface5::internal::concurrent_unordered_base::size_type, tbb::interface5::internal::concurrent_unordered_base::raw_iterator) [with Traits = tbb::interface5::concurrent_unordered_map_traits, std::equal_to >, local_counting_allocator, std::allocator> >, false>; tbb::interface5::internal::concurrent_unordered_base::size_type = long unsigned int; tbb::interface5::internal::concurrent_unordered_base::raw_iterator = tbb::interface5::internal::flist_iterator, local_counting_allocator, std::allocator>, tbb::atomic > >, std::pair >]' ../../include/tbb/internal/_concurrent_unordered_impl.h:1056:9: required from 'void tbb::interface5::internal::concurrent_unordered_base::clear() [with Traits = tbb::interface5::concurrent_unordered_map_traits, std::equal_to >, local_counting_allocator, std::allocator> >, false>]' ../../src/test/test_concurrent_unordered_common.h:347:5: required from 'void test_basic(const char*, do_check_element_state) [with T = tbb::interface5::concurrent_unordered_map, std::equal_to, local_counting_allocator, std::allocator> > >; do_check_element_state = tbb::internal::bool_constant]' ../../src/test/test_concurrent_unordered_map.cpp:314:117: required from here ../../src/test/harness_allocator.h:518:20: warning: 'void* memset(void*, int, size_t)' writing to an object of non-trivial type 'class tbb::interface5::internal::flist_iterator, local_counting_allocator, std::allocator>, tbb::atomic > >, std::pair >'; use assignment instead [-Wclass-memaccess] std::memset( ptr, 0xE3E3E3E3, n * sizeof(value_type) ); ~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ In file included from ../../include/tbb/concurrent_unordered_map.h:27, from ../../src/test/test_concurrent_unordered_map.cpp:26: ../../include/tbb/internal/_concurrent_unordered_impl.h:61:7: note: 'class tbb::interface5::internal::flist_iterator, local_counting_allocator, std::allocator>, tbb::atomic > >, std::pair >' declared here class flist_iterator : public std::iterator ^~~~~~~~~~~~~~ In file included from ../../include/tbb/concurrent_unordered_map.h:27, from ../../src/test/test_concurrent_unordered_map.cpp:26: ../../include/tbb/internal/_concurrent_unordered_impl.h: In instantiation of 'void tbb::interface5::internal::concurrent_unordered_base::set_bucket(tbb::interface5::internal::concurrent_unordered_base::size_type, tbb::interface5::internal::concurrent_unordered_base::raw_iterator) [with Traits = tbb::interface5::concurrent_unordered_map_traits, std::equal_to >, static_shared_counting_allocator, arena, long unsigned int>, long unsigned int>, false>; tbb::interface5::internal::concurrent_unordered_base::size_type = long unsigned int; tbb::interface5::internal::concurrent_unordered_base::raw_iterator = tbb::interface5::internal::flist_iterator, static_shared_counting_allocator, arena, std::integral_constant, long unsigned int>, long unsigned int> >, std::pair >]': ../../include/tbb/internal/_concurrent_unordered_impl.h:760:25: required from 'tbb::interface5::internal::concurrent_unordered_base::concurrent_unordered_base(tbb::interface5::internal::concurrent_unordered_base&&, const allocator_type&) [with Traits = tbb::interface5::concurrent_unordered_map_traits, std::equal_to >, static_shared_counting_allocator, arena, long unsigned int>, long unsigned int>, false>; tbb::interface5::internal::concurrent_unordered_base::allocator_type = static_shared_counting_allocator, arena, std::integral_constant, long unsigned int>, long unsigned int>]' ../../include/tbb/concurrent_unordered_map.h:148:115: required from 'tbb::interface5::concurrent_unordered_map::concurrent_unordered_map(tbb::interface5::concurrent_unordered_map&&, const Allocator&) [with Key = FooWithAssign; T = FooWithAssign; Hasher = tbb::tbb_hash; Key_equality = std::equal_to; Allocator = static_shared_counting_allocator, arena, long unsigned int>, long unsigned int>]' ../../src/test/test_container_move_support.h:836:5: required from 'void TestExceptionSafetyGuaranteesMoveConstructorWithUnEqualAllocatorMemoryFailure() [with container_traits = cu_map_type]' ../../src/test/test_concurrent_unordered_common.h:816:100: required from 'void test_rvalue_ref_support(const char*) [with container_traits = cu_map_type]' ../../src/test/test_concurrent_unordered_map.cpp:330:70: required from here ../../include/tbb/internal/_concurrent_unordered_impl.h:1471:24: warning: 'void* memset(void*, int, size_t)' clearing an object of non-trivial type 'tbb::interface5::internal::concurrent_unordered_base, std::equal_to >, static_shared_counting_allocator, arena, long unsigned int>, long unsigned int>, false> >::raw_iterator' {aka 'class tbb::interface5::internal::flist_iterator, static_shared_counting_allocator, arena, std::integral_constant, long unsigned int>, long unsigned int> >, std::pair >'}; use assignment or value-initialization instead [-Wclass-memaccess] std::memset(new_segment, 0, sz*sizeof(raw_iterator)); ~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ In file included from ../../include/tbb/concurrent_unordered_map.h:27, from ../../src/test/test_concurrent_unordered_map.cpp:26: ../../include/tbb/internal/_concurrent_unordered_impl.h:61:7: note: 'tbb::interface5::internal::concurrent_unordered_base, std::equal_to >, static_shared_counting_allocator, arena, long unsigned int>, long unsigned int>, false> >::raw_iterator' {aka 'class tbb::interface5::internal::flist_iterator, static_shared_counting_allocator, arena, std::integral_constant, long unsigned int>, long unsigned int> >, std::pair >'} declared here class flist_iterator : public std::iterator ^~~~~~~~~~~~~~ In file included from ../../include/tbb/concurrent_unordered_map.h:27, from ../../src/test/test_concurrent_unordered_map.cpp:26: ../../include/tbb/internal/_concurrent_unordered_impl.h: In instantiation of 'void tbb::interface5::internal::concurrent_unordered_base::set_bucket(tbb::interface5::internal::concurrent_unordered_base::size_type, tbb::interface5::internal::concurrent_unordered_base::raw_iterator) [with Traits = tbb::interface5::concurrent_unordered_map_traits, std::equal_to >, static_shared_counting_allocator, arena, long unsigned int>, long unsigned int>, true>; tbb::interface5::internal::concurrent_unordered_base::size_type = long unsigned int; tbb::interface5::internal::concurrent_unordered_base::raw_iterator = tbb::interface5::internal::flist_iterator, static_shared_counting_allocator, arena, std::integral_constant, long unsigned int>, long unsigned int> >, std::pair >]': ../../include/tbb/internal/_concurrent_unordered_impl.h:760:25: required from 'tbb::interface5::internal::concurrent_unordered_base::concurrent_unordered_base(tbb::interface5::internal::concurrent_unordered_base&&, const allocator_type&) [with Traits = tbb::interface5::concurrent_unordered_map_traits, std::equal_to >, static_shared_counting_allocator, arena, long unsigned int>, long unsigned int>, true>; tbb::interface5::internal::concurrent_unordered_base::allocator_type = static_shared_counting_allocator, arena, std::integral_constant, long unsigned int>, long unsigned int>]' ../../include/tbb/concurrent_unordered_map.h:284:125: required from 'tbb::interface5::concurrent_unordered_multimap::concurrent_unordered_multimap(tbb::interface5::concurrent_unordered_multimap&&, const Allocator&) [with Key = FooWithAssign; T = FooWithAssign; Hasher = tbb::tbb_hash; Key_equality = std::equal_to; Allocator = static_shared_counting_allocator, arena, long unsigned int>, long unsigned int>]' ../../src/test/test_container_move_support.h:836:5: required from 'void TestExceptionSafetyGuaranteesMoveConstructorWithUnEqualAllocatorMemoryFailure() [with container_traits = cu_multimap_type]' ../../src/test/test_concurrent_unordered_common.h:816:100: required from 'void test_rvalue_ref_support(const char*) [with container_traits = cu_multimap_type]' ../../src/test/test_concurrent_unordered_map.cpp:331:80: required from here ../../include/tbb/internal/_concurrent_unordered_impl.h:1471:24: warning: 'void* memset(void*, int, size_t)' clearing an object of non-trivial type 'tbb::interface5::internal::concurrent_unordered_base, std::equal_to >, static_shared_counting_allocator, arena, long unsigned int>, long unsigned int>, true> >::raw_iterator' {aka 'class tbb::interface5::internal::flist_iterator, static_shared_counting_allocator, arena, std::integral_constant, long unsigned int>, long unsigned int> >, std::pair >'}; use assignment or value-initialization instead [-Wclass-memaccess] std::memset(new_segment, 0, sz*sizeof(raw_iterator)); ~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ In file included from ../../include/tbb/concurrent_unordered_map.h:27, from ../../src/test/test_concurrent_unordered_map.cpp:26: ../../include/tbb/internal/_concurrent_unordered_impl.h:61:7: note: 'tbb::interface5::internal::concurrent_unordered_base, std::equal_to >, static_shared_counting_allocator, arena, long unsigned int>, long unsigned int>, true> >::raw_iterator' {aka 'class tbb::interface5::internal::flist_iterator, static_shared_counting_allocator, arena, std::integral_constant, long unsigned int>, long unsigned int> >, std::pair >'} declared here class flist_iterator : public std::iterator ^~~~~~~~~~~~~~ In file included from ../../src/test/test_container_move_support.h:26, from ../../src/test/test_concurrent_unordered_common.h:25, from ../../src/test/test_concurrent_unordered_map.cpp:42: ../../src/test/harness_allocator.h: In instantiation of 'debug_allocator::pointer debug_allocator::allocate(debug_allocator::size_type, const void*) [with T = tbb::interface5::internal::split_ordered_list, debug_allocator, std::allocator> >::node; Allocator = std::allocator; debug_allocator::pointer = tbb::interface5::internal::split_ordered_list, debug_allocator, std::allocator> >::node*; debug_allocator::size_type = long unsigned int]': ../../include/tbb/internal/_concurrent_unordered_impl.h:255:19: required from 'tbb::interface5::internal::split_ordered_list::node* tbb::interface5::internal::split_ordered_list::create_node(tbb::interface5::internal::sokey_t) [with T = std::pair; Allocator = debug_allocator, std::allocator>; tbb::interface5::internal::split_ordered_list::nodeptr_t = tbb::interface5::internal::split_ordered_list, debug_allocator, std::allocator> >::node*; tbb::interface5::internal::sokey_t = long unsigned int]' ../../include/tbb/internal/_concurrent_unordered_impl.h:307:17: required from 'tbb::interface5::internal::split_ordered_list::split_ordered_list(tbb::interface5::internal::split_ordered_list::allocator_type) [with T = std::pair; Allocator = debug_allocator, std::allocator>; tbb::interface5::internal::split_ordered_list::allocator_type = debug_allocator, std::allocator>]' ../../include/tbb/internal/_concurrent_unordered_impl.h:721:110: required from 'tbb::interface5::internal::concurrent_unordered_base::concurrent_unordered_base(const tbb::interface5::internal::concurrent_unordered_base&) [with Traits = tbb::interface5::concurrent_unordered_map_traits, Harness::IsEqual>, debug_allocator, std::allocator>, false>]' ../../include/tbb/concurrent_unordered_map.h:58:7: required from 'void TypeTester(const std::__cxx11::list&) [with bool defCtorPresent = true; Table = tbb::interface5::concurrent_unordered_map, Harness::IsEqual, tbb::tbb_allocator > >; TableDebugAlloc = tbb::interface5::concurrent_unordered_map, Harness::IsEqual, debug_allocator, std::allocator> >; typename Table::value_type = std::pair]' ../../src/test/test_concurrent_unordered_map.cpp:240:131: required from 'void TestTypesMap(const std::__cxx11::list&) [with bool defCtorPresent = true; ValueType = std::pair]' ../../src/test/test_concurrent_unordered_map.cpp:250:58: required from here ../../src/test/harness_allocator.h:518:20: warning: 'void* memset(void*, int, size_t)' writing to an object of type 'struct tbb::interface5::internal::split_ordered_list, debug_allocator, std::allocator> >::node' with no trivial copy-assignment [-Wclass-memaccess] std::memset( ptr, 0xE3E3E3E3, n * sizeof(value_type) ); ~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ In file included from ../../include/tbb/concurrent_unordered_map.h:27, from ../../src/test/test_concurrent_unordered_map.cpp:26: ../../include/tbb/internal/_concurrent_unordered_impl.h:206:12: note: 'struct tbb::interface5::internal::split_ordered_list, debug_allocator, std::allocator> >::node' declared here struct node : tbb::internal::no_assign ^~~~ In file included from ../../src/test/test_container_move_support.h:26, from ../../src/test/test_concurrent_unordered_common.h:25, from ../../src/test/test_concurrent_unordered_map.cpp:42: ../../src/test/harness_allocator.h: In instantiation of 'debug_allocator::pointer debug_allocator::allocate(debug_allocator::size_type, const void*) [with T = tbb::interface5::internal::flist_iterator, debug_allocator, std::allocator> >, std::pair >; Allocator = std::allocator; debug_allocator::pointer = tbb::interface5::internal::flist_iterator, debug_allocator, std::allocator> >, std::pair >*; debug_allocator::size_type = long unsigned int]': ../../include/tbb/internal/_concurrent_unordered_impl.h:1470:28: required from 'void tbb::interface5::internal::concurrent_unordered_base::set_bucket(tbb::interface5::internal::concurrent_unordered_base::size_type, tbb::interface5::internal::concurrent_unordered_base::raw_iterator) [with Traits = tbb::interface5::concurrent_unordered_map_traits, Harness::IsEqual>, debug_allocator, std::allocator>, false>; tbb::interface5::internal::concurrent_unordered_base::size_type = long unsigned int; tbb::interface5::internal::concurrent_unordered_base::raw_iterator = tbb::interface5::internal::flist_iterator, debug_allocator, std::allocator> >, std::pair >]' ../../include/tbb/internal/_concurrent_unordered_impl.h:1207:9: required from 'void tbb::interface5::internal::concurrent_unordered_base::internal_init() [with Traits = tbb::interface5::concurrent_unordered_map_traits, Harness::IsEqual>, debug_allocator, std::allocator>, false>]' ../../include/tbb/internal/_concurrent_unordered_impl.h:724:9: required from 'tbb::interface5::internal::concurrent_unordered_base::concurrent_unordered_base(const tbb::interface5::internal::concurrent_unordered_base&) [with Traits = tbb::interface5::concurrent_unordered_map_traits, Harness::IsEqual>, debug_allocator, std::allocator>, false>]' ../../include/tbb/concurrent_unordered_map.h:58:7: required from 'void TypeTester(const std::__cxx11::list&) [with bool defCtorPresent = true; Table = tbb::interface5::concurrent_unordered_map, Harness::IsEqual, tbb::tbb_allocator > >; TableDebugAlloc = tbb::interface5::concurrent_unordered_map, Harness::IsEqual, debug_allocator, std::allocator> >; typename Table::value_type = std::pair]' ../../src/test/test_concurrent_unordered_map.cpp:240:131: required from 'void TestTypesMap(const std::__cxx11::list&) [with bool defCtorPresent = true; ValueType = std::pair]' ../../src/test/test_concurrent_unordered_map.cpp:250:58: required from here ../../src/test/harness_allocator.h:518:20: warning: 'void* memset(void*, int, size_t)' writing to an object of non-trivial type 'class tbb::interface5::internal::flist_iterator, debug_allocator, std::allocator> >, std::pair >'; use assignment instead [-Wclass-memaccess] std::memset( ptr, 0xE3E3E3E3, n * sizeof(value_type) ); ~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ In file included from ../../include/tbb/concurrent_unordered_map.h:27, from ../../src/test/test_concurrent_unordered_map.cpp:26: ../../include/tbb/internal/_concurrent_unordered_impl.h:61:7: note: 'class tbb::interface5::internal::flist_iterator, debug_allocator, std::allocator> >, std::pair >' declared here class flist_iterator : public std::iterator ^~~~~~~~~~~~~~ In file included from ../../src/test/test_container_move_support.h:26, from ../../src/test/test_concurrent_unordered_common.h:25, from ../../src/test/test_concurrent_unordered_map.cpp:42: ../../src/test/harness_allocator.h: In instantiation of 'debug_allocator::pointer debug_allocator::allocate(debug_allocator::size_type, const void*) [with T = tbb::interface5::internal::split_ordered_list >, debug_allocator >, std::allocator> >::node; Allocator = std::allocator; debug_allocator::pointer = tbb::interface5::internal::split_ordered_list >, debug_allocator >, std::allocator> >::node*; debug_allocator::size_type = long unsigned int]': ../../include/tbb/internal/_concurrent_unordered_impl.h:255:19: required from 'tbb::interface5::internal::split_ordered_list::node* tbb::interface5::internal::split_ordered_list::create_node(tbb::interface5::internal::sokey_t) [with T = std::pair >; Allocator = debug_allocator >, std::allocator>; tbb::interface5::internal::split_ordered_list::nodeptr_t = tbb::interface5::internal::split_ordered_list >, debug_allocator >, std::allocator> >::node*; tbb::interface5::internal::sokey_t = long unsigned int]' ../../include/tbb/internal/_concurrent_unordered_impl.h:307:17: required from 'tbb::interface5::internal::split_ordered_list::split_ordered_list(tbb::interface5::internal::split_ordered_list::allocator_type) [with T = std::pair >; Allocator = debug_allocator >, std::allocator>; tbb::interface5::internal::split_ordered_list::allocator_type = debug_allocator >, std::allocator>]' ../../include/tbb/internal/_concurrent_unordered_impl.h:721:110: required from 'tbb::interface5::internal::concurrent_unordered_base::concurrent_unordered_base(const tbb::interface5::internal::concurrent_unordered_base&) [with Traits = tbb::interface5::concurrent_unordered_map_traits, tbb::interface5::internal::hash_compare, Harness::IsEqual>, debug_allocator >, std::allocator>, false>]' ../../include/tbb/concurrent_unordered_map.h:58:7: required from 'void TypeTester(const std::__cxx11::list&) [with bool defCtorPresent = true; Table = tbb::interface5::concurrent_unordered_map, tbb::tbb_hash, Harness::IsEqual, tbb::tbb_allocator > > >; TableDebugAlloc = tbb::interface5::concurrent_unordered_map, tbb::tbb_hash, Harness::IsEqual, debug_allocator >, std::allocator> >; typename Table::value_type = std::pair >]' ../../src/test/test_concurrent_unordered_map.cpp:240:131: required from 'void TestTypesMap(const std::__cxx11::list&) [with bool defCtorPresent = true; ValueType = std::pair >]' ../../src/test/test_concurrent_unordered_map.cpp:258:56: required from here ../../src/test/harness_allocator.h:518:20: warning: 'void* memset(void*, int, size_t)' writing to an object of type 'struct tbb::interface5::internal::split_ordered_list >, debug_allocator >, std::allocator> >::node' with no trivial copy-assignment [-Wclass-memaccess] std::memset( ptr, 0xE3E3E3E3, n * sizeof(value_type) ); ~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ In file included from ../../include/tbb/concurrent_unordered_map.h:27, from ../../src/test/test_concurrent_unordered_map.cpp:26: ../../include/tbb/internal/_concurrent_unordered_impl.h:206:12: note: 'struct tbb::interface5::internal::split_ordered_list >, debug_allocator >, std::allocator> >::node' declared here struct node : tbb::internal::no_assign ^~~~ In file included from ../../src/test/test_container_move_support.h:26, from ../../src/test/test_concurrent_unordered_common.h:25, from ../../src/test/test_concurrent_unordered_map.cpp:42: ../../src/test/harness_allocator.h: In instantiation of 'debug_allocator::pointer debug_allocator::allocate(debug_allocator::size_type, const void*) [with T = tbb::interface5::internal::flist_iterator >, debug_allocator >, std::allocator> >, std::pair > >; Allocator = std::allocator; debug_allocator::pointer = tbb::interface5::internal::flist_iterator >, debug_allocator >, std::allocator> >, std::pair > >*; debug_allocator::size_type = long unsigned int]': ../../include/tbb/internal/_concurrent_unordered_impl.h:1470:28: required from 'void tbb::interface5::internal::concurrent_unordered_base::set_bucket(tbb::interface5::internal::concurrent_unordered_base::size_type, tbb::interface5::internal::concurrent_unordered_base::raw_iterator) [with Traits = tbb::interface5::concurrent_unordered_map_traits, tbb::interface5::internal::hash_compare, Harness::IsEqual>, debug_allocator >, std::allocator>, false>; tbb::interface5::internal::concurrent_unordered_base::size_type = long unsigned int; tbb::interface5::internal::concurrent_unordered_base::raw_iterator = tbb::interface5::internal::flist_iterator >, debug_allocator >, std::allocator> >, std::pair > >]' ../../include/tbb/internal/_concurrent_unordered_impl.h:1207:9: required from 'void tbb::interface5::internal::concurrent_unordered_base::internal_init() [with Traits = tbb::interface5::concurrent_unordered_map_traits, tbb::interface5::internal::hash_compare, Harness::IsEqual>, debug_allocator >, std::allocator>, false>]' ../../include/tbb/internal/_concurrent_unordered_impl.h:724:9: required from 'tbb::interface5::internal::concurrent_unordered_base::concurrent_unordered_base(const tbb::interface5::internal::concurrent_unordered_base&) [with Traits = tbb::interface5::concurrent_unordered_map_traits, tbb::interface5::internal::hash_compare, Harness::IsEqual>, debug_allocator >, std::allocator>, false>]' ../../include/tbb/concurrent_unordered_map.h:58:7: required from 'void TypeTester(const std::__cxx11::list&) [with bool defCtorPresent = true; Table = tbb::interface5::concurrent_unordered_map, tbb::tbb_hash, Harness::IsEqual, tbb::tbb_allocator > > >; TableDebugAlloc = tbb::interface5::concurrent_unordered_map, tbb::tbb_hash, Harness::IsEqual, debug_allocator >, std::allocator> >; typename Table::value_type = std::pair >]' ../../src/test/test_concurrent_unordered_map.cpp:240:131: required from 'void TestTypesMap(const std::__cxx11::list&) [with bool defCtorPresent = true; ValueType = std::pair >]' ../../src/test/test_concurrent_unordered_map.cpp:258:56: required from here ../../src/test/harness_allocator.h:518:20: warning: 'void* memset(void*, int, size_t)' writing to an object of non-trivial type 'class tbb::interface5::internal::flist_iterator >, debug_allocator >, std::allocator> >, std::pair > >'; use assignment instead [-Wclass-memaccess] std::memset( ptr, 0xE3E3E3E3, n * sizeof(value_type) ); ~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ In file included from ../../include/tbb/concurrent_unordered_map.h:27, from ../../src/test/test_concurrent_unordered_map.cpp:26: ../../include/tbb/internal/_concurrent_unordered_impl.h:61:7: note: 'class tbb::interface5::internal::flist_iterator >, debug_allocator >, std::allocator> >, std::pair > >' declared here class flist_iterator : public std::iterator ^~~~~~~~~~~~~~ In file included from ../../src/test/test_container_move_support.h:26, from ../../src/test/test_concurrent_unordered_common.h:25, from ../../src/test/test_concurrent_unordered_map.cpp:42: ../../src/test/harness_allocator.h: In instantiation of 'debug_allocator::pointer debug_allocator::allocate(debug_allocator::size_type, const void*) [with T = tbb::interface5::internal::split_ordered_list, int>, debug_allocator, int>, std::allocator> >::node; Allocator = std::allocator; debug_allocator::pointer = tbb::interface5::internal::split_ordered_list, int>, debug_allocator, int>, std::allocator> >::node*; debug_allocator::size_type = long unsigned int]': ../../include/tbb/internal/_concurrent_unordered_impl.h:255:19: required from 'tbb::interface5::internal::split_ordered_list::node* tbb::interface5::internal::split_ordered_list::create_node(tbb::interface5::internal::sokey_t) [with T = std::pair, int>; Allocator = debug_allocator, int>, std::allocator>; tbb::interface5::internal::split_ordered_list::nodeptr_t = tbb::interface5::internal::split_ordered_list, int>, debug_allocator, int>, std::allocator> >::node*; tbb::interface5::internal::sokey_t = long unsigned int]' ../../include/tbb/internal/_concurrent_unordered_impl.h:307:17: required from 'tbb::interface5::internal::split_ordered_list::split_ordered_list(tbb::interface5::internal::split_ordered_list::allocator_type) [with T = std::pair, int>; Allocator = debug_allocator, int>, std::allocator>; tbb::interface5::internal::split_ordered_list::allocator_type = debug_allocator, int>, std::allocator>]' ../../include/tbb/internal/_concurrent_unordered_impl.h:721:110: required from 'tbb::interface5::internal::concurrent_unordered_base::concurrent_unordered_base(const tbb::interface5::internal::concurrent_unordered_base&) [with Traits = tbb::interface5::concurrent_unordered_map_traits, int, tbb::interface5::internal::hash_compare, tbb::tbb_hash >, Harness::IsEqual>, debug_allocator, int>, std::allocator>, false>]' ../../include/tbb/concurrent_unordered_map.h:58:7: required from 'void TypeTester(const std::__cxx11::list&) [with bool defCtorPresent = true; Table = tbb::interface5::concurrent_unordered_map, int, tbb::tbb_hash >, Harness::IsEqual, tbb::tbb_allocator, int> > >; TableDebugAlloc = tbb::interface5::concurrent_unordered_map, int, tbb::tbb_hash >, Harness::IsEqual, debug_allocator, int>, std::allocator> >; typename Table::value_type = std::pair, int>]' ../../src/test/test_concurrent_unordered_map.cpp:240:131: required from 'void TestTypesMap(const std::__cxx11::list&) [with bool defCtorPresent = true; ValueType = std::pair, int>]' ../../src/test/test_concurrent_unordered_map.cpp:264:56: required from here ../../src/test/harness_allocator.h:518:20: warning: 'void* memset(void*, int, size_t)' writing to an object of type 'struct tbb::interface5::internal::split_ordered_list, int>, debug_allocator, int>, std::allocator> >::node' with no trivial copy-assignment [-Wclass-memaccess] std::memset( ptr, 0xE3E3E3E3, n * sizeof(value_type) ); ~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ In file included from ../../include/tbb/concurrent_unordered_map.h:27, from ../../src/test/test_concurrent_unordered_map.cpp:26: ../../include/tbb/internal/_concurrent_unordered_impl.h:206:12: note: 'struct tbb::interface5::internal::split_ordered_list, int>, debug_allocator, int>, std::allocator> >::node' declared here struct node : tbb::internal::no_assign ^~~~ In file included from ../../src/test/test_container_move_support.h:26, from ../../src/test/test_concurrent_unordered_common.h:25, from ../../src/test/test_concurrent_unordered_map.cpp:42: ../../src/test/harness_allocator.h: In instantiation of 'debug_allocator::pointer debug_allocator::allocate(debug_allocator::size_type, const void*) [with T = tbb::interface5::internal::flist_iterator, int>, debug_allocator, int>, std::allocator> >, std::pair, int> >; Allocator = std::allocator; debug_allocator::pointer = tbb::interface5::internal::flist_iterator, int>, debug_allocator, int>, std::allocator> >, std::pair, int> >*; debug_allocator::size_type = long unsigned int]': ../../include/tbb/internal/_concurrent_unordered_impl.h:1470:28: required from 'void tbb::interface5::internal::concurrent_unordered_base::set_bucket(tbb::interface5::internal::concurrent_unordered_base::size_type, tbb::interface5::internal::concurrent_unordered_base::raw_iterator) [with Traits = tbb::interface5::concurrent_unordered_map_traits, int, tbb::interface5::internal::hash_compare, tbb::tbb_hash >, Harness::IsEqual>, debug_allocator, int>, std::allocator>, false>; tbb::interface5::internal::concurrent_unordered_base::size_type = long unsigned int; tbb::interface5::internal::concurrent_unordered_base::raw_iterator = tbb::interface5::internal::flist_iterator, int>, debug_allocator, int>, std::allocator> >, std::pair, int> >]' ../../include/tbb/internal/_concurrent_unordered_impl.h:1207:9: required from 'void tbb::interface5::internal::concurrent_unordered_base::internal_init() [with Traits = tbb::interface5::concurrent_unordered_map_traits, int, tbb::interface5::internal::hash_compare, tbb::tbb_hash >, Harness::IsEqual>, debug_allocator, int>, std::allocator>, false>]' ../../include/tbb/internal/_concurrent_unordered_impl.h:724:9: required from 'tbb::interface5::internal::concurrent_unordered_base::concurrent_unordered_base(const tbb::interface5::internal::concurrent_unordered_base&) [with Traits = tbb::interface5::concurrent_unordered_map_traits, int, tbb::interface5::internal::hash_compare, tbb::tbb_hash >, Harness::IsEqual>, debug_allocator, int>, std::allocator>, false>]' ../../include/tbb/concurrent_unordered_map.h:58:7: required from 'void TypeTester(const std::__cxx11::list&) [with bool defCtorPresent = true; Table = tbb::interface5::concurrent_unordered_map, int, tbb::tbb_hash >, Harness::IsEqual, tbb::tbb_allocator, int> > >; TableDebugAlloc = tbb::interface5::concurrent_unordered_map, int, tbb::tbb_hash >, Harness::IsEqual, debug_allocator, int>, std::allocator> >; typename Table::value_type = std::pair, int>]' ../../src/test/test_concurrent_unordered_map.cpp:240:131: required from 'void TestTypesMap(const std::__cxx11::list&) [with bool defCtorPresent = true; ValueType = std::pair, int>]' ../../src/test/test_concurrent_unordered_map.cpp:264:56: required from here ../../src/test/harness_allocator.h:518:20: warning: 'void* memset(void*, int, size_t)' writing to an object of non-trivial type 'class tbb::interface5::internal::flist_iterator, int>, debug_allocator, int>, std::allocator> >, std::pair, int> >'; use assignment instead [-Wclass-memaccess] std::memset( ptr, 0xE3E3E3E3, n * sizeof(value_type) ); ~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ In file included from ../../include/tbb/concurrent_unordered_map.h:27, from ../../src/test/test_concurrent_unordered_map.cpp:26: ../../include/tbb/internal/_concurrent_unordered_impl.h:61:7: note: 'class tbb::interface5::internal::flist_iterator, int>, debug_allocator, int>, std::allocator> >, std::pair, int> >' declared here class flist_iterator : public std::iterator ^~~~~~~~~~~~~~ In file included from ../../src/test/test_container_move_support.h:26, from ../../src/test/test_concurrent_unordered_common.h:25, from ../../src/test/test_concurrent_unordered_map.cpp:42: ../../src/test/harness_allocator.h: In instantiation of 'debug_allocator::pointer debug_allocator::allocate(debug_allocator::size_type, const void*) [with T = tbb::interface5::internal::split_ordered_list >, debug_allocator >, std::allocator> >::node; Allocator = std::allocator; debug_allocator::pointer = tbb::interface5::internal::split_ordered_list >, debug_allocator >, std::allocator> >::node*; debug_allocator::size_type = long unsigned int]': ../../include/tbb/internal/_concurrent_unordered_impl.h:255:19: required from 'tbb::interface5::internal::split_ordered_list::node* tbb::interface5::internal::split_ordered_list::create_node(tbb::interface5::internal::sokey_t) [with T = std::pair >; Allocator = debug_allocator >, std::allocator>; tbb::interface5::internal::split_ordered_list::nodeptr_t = tbb::interface5::internal::split_ordered_list >, debug_allocator >, std::allocator> >::node*; tbb::interface5::internal::sokey_t = long unsigned int]' ../../include/tbb/internal/_concurrent_unordered_impl.h:307:17: required from 'tbb::interface5::internal::split_ordered_list::split_ordered_list(tbb::interface5::internal::split_ordered_list::allocator_type) [with T = std::pair >; Allocator = debug_allocator >, std::allocator>; tbb::interface5::internal::split_ordered_list::allocator_type = debug_allocator >, std::allocator>]' ../../include/tbb/internal/_concurrent_unordered_impl.h:721:110: required from 'tbb::interface5::internal::concurrent_unordered_base::concurrent_unordered_base(const tbb::interface5::internal::concurrent_unordered_base&) [with Traits = tbb::interface5::concurrent_unordered_map_traits, tbb::interface5::internal::hash_compare, Harness::IsEqual>, debug_allocator >, std::allocator>, false>]' ../../include/tbb/concurrent_unordered_map.h:58:7: required from 'void TypeTester(const std::__cxx11::list&) [with bool defCtorPresent = false; Table = tbb::interface5::concurrent_unordered_map, tbb::tbb_hash, Harness::IsEqual, tbb::tbb_allocator > > >; TableDebugAlloc = tbb::interface5::concurrent_unordered_map, tbb::tbb_hash, Harness::IsEqual, debug_allocator >, std::allocator> >; typename Table::value_type = std::pair >]' ../../src/test/test_concurrent_unordered_map.cpp:240:131: required from 'void TestTypesMap(const std::__cxx11::list&) [with bool defCtorPresent = false; ValueType = std::pair >]' ../../src/test/test_concurrent_unordered_map.cpp:271:57: required from here ../../src/test/harness_allocator.h:518:20: warning: 'void* memset(void*, int, size_t)' writing to an object of type 'struct tbb::interface5::internal::split_ordered_list >, debug_allocator >, std::allocator> >::node' with no trivial copy-assignment [-Wclass-memaccess] std::memset( ptr, 0xE3E3E3E3, n * sizeof(value_type) ); ~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ In file included from ../../include/tbb/concurrent_unordered_map.h:27, from ../../src/test/test_concurrent_unordered_map.cpp:26: ../../include/tbb/internal/_concurrent_unordered_impl.h:206:12: note: 'struct tbb::interface5::internal::split_ordered_list >, debug_allocator >, std::allocator> >::node' declared here struct node : tbb::internal::no_assign ^~~~ In file included from ../../src/test/test_container_move_support.h:26, from ../../src/test/test_concurrent_unordered_common.h:25, from ../../src/test/test_concurrent_unordered_map.cpp:42: ../../src/test/harness_allocator.h: In instantiation of 'debug_allocator::pointer debug_allocator::allocate(debug_allocator::size_type, const void*) [with T = tbb::interface5::internal::flist_iterator >, debug_allocator >, std::allocator> >, std::pair > >; Allocator = std::allocator; debug_allocator::pointer = tbb::interface5::internal::flist_iterator >, debug_allocator >, std::allocator> >, std::pair > >*; debug_allocator::size_type = long unsigned int]': ../../include/tbb/internal/_concurrent_unordered_impl.h:1470:28: required from 'void tbb::interface5::internal::concurrent_unordered_base::set_bucket(tbb::interface5::internal::concurrent_unordered_base::size_type, tbb::interface5::internal::concurrent_unordered_base::raw_iterator) [with Traits = tbb::interface5::concurrent_unordered_map_traits, tbb::interface5::internal::hash_compare, Harness::IsEqual>, debug_allocator >, std::allocator>, false>; tbb::interface5::internal::concurrent_unordered_base::size_type = long unsigned int; tbb::interface5::internal::concurrent_unordered_base::raw_iterator = tbb::interface5::internal::flist_iterator >, debug_allocator >, std::allocator> >, std::pair > >]' ../../include/tbb/internal/_concurrent_unordered_impl.h:1207:9: required from 'void tbb::interface5::internal::concurrent_unordered_base::internal_init() [with Traits = tbb::interface5::concurrent_unordered_map_traits, tbb::interface5::internal::hash_compare, Harness::IsEqual>, debug_allocator >, std::allocator>, false>]' ../../include/tbb/internal/_concurrent_unordered_impl.h:724:9: required from 'tbb::interface5::internal::concurrent_unordered_base::concurrent_unordered_base(const tbb::interface5::internal::concurrent_unordered_base&) [with Traits = tbb::interface5::concurrent_unordered_map_traits, tbb::interface5::internal::hash_compare, Harness::IsEqual>, debug_allocator >, std::allocator>, false>]' ../../include/tbb/concurrent_unordered_map.h:58:7: required from 'void TypeTester(const std::__cxx11::list&) [with bool defCtorPresent = false; Table = tbb::interface5::concurrent_unordered_map, tbb::tbb_hash, Harness::IsEqual, tbb::tbb_allocator > > >; TableDebugAlloc = tbb::interface5::concurrent_unordered_map, tbb::tbb_hash, Harness::IsEqual, debug_allocator >, std::allocator> >; typename Table::value_type = std::pair >]' ../../src/test/test_concurrent_unordered_map.cpp:240:131: required from 'void TestTypesMap(const std::__cxx11::list&) [with bool defCtorPresent = false; ValueType = std::pair >]' ../../src/test/test_concurrent_unordered_map.cpp:271:57: required from here ../../src/test/harness_allocator.h:518:20: warning: 'void* memset(void*, int, size_t)' writing to an object of non-trivial type 'class tbb::interface5::internal::flist_iterator >, debug_allocator >, std::allocator> >, std::pair > >'; use assignment instead [-Wclass-memaccess] std::memset( ptr, 0xE3E3E3E3, n * sizeof(value_type) ); ~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ In file included from ../../include/tbb/concurrent_unordered_map.h:27, from ../../src/test/test_concurrent_unordered_map.cpp:26: ../../include/tbb/internal/_concurrent_unordered_impl.h:61:7: note: 'class tbb::interface5::internal::flist_iterator >, debug_allocator >, std::allocator> >, std::pair > >' declared here class flist_iterator : public std::iterator ^~~~~~~~~~~~~~ In file included from ../../src/test/test_container_move_support.h:26, from ../../src/test/test_concurrent_unordered_common.h:25, from ../../src/test/test_concurrent_unordered_map.cpp:42: ../../src/test/harness_allocator.h: In instantiation of 'debug_allocator::pointer debug_allocator::allocate(debug_allocator::size_type, const void*) [with T = tbb::interface5::internal::split_ordered_list, std::shared_ptr >, debug_allocator, std::shared_ptr >, std::allocator> >::node; Allocator = std::allocator; debug_allocator::pointer = tbb::interface5::internal::split_ordered_list, std::shared_ptr >, debug_allocator, std::shared_ptr >, std::allocator> >::node*; debug_allocator::size_type = long unsigned int]': ../../include/tbb/internal/_concurrent_unordered_impl.h:255:19: required from 'tbb::interface5::internal::split_ordered_list::node* tbb::interface5::internal::split_ordered_list::create_node(tbb::interface5::internal::sokey_t) [with T = std::pair, std::shared_ptr >; Allocator = debug_allocator, std::shared_ptr >, std::allocator>; tbb::interface5::internal::split_ordered_list::nodeptr_t = tbb::interface5::internal::split_ordered_list, std::shared_ptr >, debug_allocator, std::shared_ptr >, std::allocator> >::node*; tbb::interface5::internal::sokey_t = long unsigned int]' ../../include/tbb/internal/_concurrent_unordered_impl.h:307:17: required from 'tbb::interface5::internal::split_ordered_list::split_ordered_list(tbb::interface5::internal::split_ordered_list::allocator_type) [with T = std::pair, std::shared_ptr >; Allocator = debug_allocator, std::shared_ptr >, std::allocator>; tbb::interface5::internal::split_ordered_list::allocator_type = debug_allocator, std::shared_ptr >, std::allocator>]' ../../include/tbb/internal/_concurrent_unordered_impl.h:721:110: required from 'tbb::interface5::internal::concurrent_unordered_base::concurrent_unordered_base(const tbb::interface5::internal::concurrent_unordered_base&) [with Traits = tbb::interface5::concurrent_unordered_map_traits, std::shared_ptr, tbb::interface5::internal::hash_compare, tbb::tbb_hash >, Harness::IsEqual>, debug_allocator, std::shared_ptr >, std::allocator>, false>]' ../../include/tbb/concurrent_unordered_map.h:58:7: required from 'void TypeTester(const std::__cxx11::list&) [with bool defCtorPresent = true; Table = tbb::interface5::concurrent_unordered_map, std::shared_ptr, tbb::tbb_hash >, Harness::IsEqual, tbb::tbb_allocator, std::shared_ptr > > >; TableDebugAlloc = tbb::interface5::concurrent_unordered_map, std::shared_ptr, tbb::tbb_hash >, Harness::IsEqual, debug_allocator, std::shared_ptr >, std::allocator> >; typename Table::value_type = std::pair, std::shared_ptr >]' ../../src/test/test_concurrent_unordered_map.cpp:240:131: required from 'void TestTypesMap(const std::__cxx11::list&) [with bool defCtorPresent = true; ValueType = std::pair, std::shared_ptr >]' ../../src/test/test_concurrent_unordered_map.cpp:280:56: required from here ../../src/test/harness_allocator.h:518:20: warning: 'void* memset(void*, int, size_t)' writing to an object of type 'struct tbb::interface5::internal::split_ordered_list, std::shared_ptr >, debug_allocator, std::shared_ptr >, std::allocator> >::node' with no trivial copy-assignment [-Wclass-memaccess] std::memset( ptr, 0xE3E3E3E3, n * sizeof(value_type) ); ~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ In file included from ../../include/tbb/concurrent_unordered_map.h:27, from ../../src/test/test_concurrent_unordered_map.cpp:26: ../../include/tbb/internal/_concurrent_unordered_impl.h:206:12: note: 'struct tbb::interface5::internal::split_ordered_list, std::shared_ptr >, debug_allocator, std::shared_ptr >, std::allocator> >::node' declared here struct node : tbb::internal::no_assign ^~~~ In file included from ../../src/test/test_container_move_support.h:26, from ../../src/test/test_concurrent_unordered_common.h:25, from ../../src/test/test_concurrent_unordered_map.cpp:42: ../../src/test/harness_allocator.h: In instantiation of 'debug_allocator::pointer debug_allocator::allocate(debug_allocator::size_type, const void*) [with T = tbb::interface5::internal::flist_iterator, std::shared_ptr >, debug_allocator, std::shared_ptr >, std::allocator> >, std::pair, std::shared_ptr > >; Allocator = std::allocator; debug_allocator::pointer = tbb::interface5::internal::flist_iterator, std::shared_ptr >, debug_allocator, std::shared_ptr >, std::allocator> >, std::pair, std::shared_ptr > >*; debug_allocator::size_type = long unsigned int]': ../../include/tbb/internal/_concurrent_unordered_impl.h:1470:28: required from 'void tbb::interface5::internal::concurrent_unordered_base::set_bucket(tbb::interface5::internal::concurrent_unordered_base::size_type, tbb::interface5::internal::concurrent_unordered_base::raw_iterator) [with Traits = tbb::interface5::concurrent_unordered_map_traits, std::shared_ptr, tbb::interface5::internal::hash_compare, tbb::tbb_hash >, Harness::IsEqual>, debug_allocator, std::shared_ptr >, std::allocator>, false>; tbb::interface5::internal::concurrent_unordered_base::size_type = long unsigned int; tbb::interface5::internal::concurrent_unordered_base::raw_iterator = tbb::interface5::internal::flist_iterator, std::shared_ptr >, debug_allocator, std::shared_ptr >, std::allocator> >, std::pair, std::shared_ptr > >]' ../../include/tbb/internal/_concurrent_unordered_impl.h:1207:9: required from 'void tbb::interface5::internal::concurrent_unordered_base::internal_init() [with Traits = tbb::interface5::concurrent_unordered_map_traits, std::shared_ptr, tbb::interface5::internal::hash_compare, tbb::tbb_hash >, Harness::IsEqual>, debug_allocator, std::shared_ptr >, std::allocator>, false>]' ../../include/tbb/internal/_concurrent_unordered_impl.h:724:9: required from 'tbb::interface5::internal::concurrent_unordered_base::concurrent_unordered_base(const tbb::interface5::internal::concurrent_unordered_base&) [with Traits = tbb::interface5::concurrent_unordered_map_traits, std::shared_ptr, tbb::interface5::internal::hash_compare, tbb::tbb_hash >, Harness::IsEqual>, debug_allocator, std::shared_ptr >, std::allocator>, false>]' ../../include/tbb/concurrent_unordered_map.h:58:7: required from 'void TypeTester(const std::__cxx11::list&) [with bool defCtorPresent = true; Table = tbb::interface5::concurrent_unordered_map, std::shared_ptr, tbb::tbb_hash >, Harness::IsEqual, tbb::tbb_allocator, std::shared_ptr > > >; TableDebugAlloc = tbb::interface5::concurrent_unordered_map, std::shared_ptr, tbb::tbb_hash >, Harness::IsEqual, debug_allocator, std::shared_ptr >, std::allocator> >; typename Table::value_type = std::pair, std::shared_ptr >]' ../../src/test/test_concurrent_unordered_map.cpp:240:131: required from 'void TestTypesMap(const std::__cxx11::list&) [with bool defCtorPresent = true; ValueType = std::pair, std::shared_ptr >]' ../../src/test/test_concurrent_unordered_map.cpp:280:56: required from here ../../src/test/harness_allocator.h:518:20: warning: 'void* memset(void*, int, size_t)' writing to an object of non-trivial type 'class tbb::interface5::internal::flist_iterator, std::shared_ptr >, debug_allocator, std::shared_ptr >, std::allocator> >, std::pair, std::shared_ptr > >'; use assignment instead [-Wclass-memaccess] std::memset( ptr, 0xE3E3E3E3, n * sizeof(value_type) ); ~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ In file included from ../../include/tbb/concurrent_unordered_map.h:27, from ../../src/test/test_concurrent_unordered_map.cpp:26: ../../include/tbb/internal/_concurrent_unordered_impl.h:61:7: note: 'class tbb::interface5::internal::flist_iterator, std::shared_ptr >, debug_allocator, std::shared_ptr >, std::allocator> >, std::pair, std::shared_ptr > >' declared here class flist_iterator : public std::iterator ^~~~~~~~~~~~~~ In file included from ../../src/test/test_container_move_support.h:26, from ../../src/test/test_concurrent_unordered_common.h:25, from ../../src/test/test_concurrent_unordered_map.cpp:42: ../../src/test/harness_allocator.h: In instantiation of 'debug_allocator::pointer debug_allocator::allocate(debug_allocator::size_type, const void*) [with T = tbb::interface5::internal::split_ordered_list, std::weak_ptr >, debug_allocator, std::weak_ptr >, std::allocator> >::node; Allocator = std::allocator; debug_allocator::pointer = tbb::interface5::internal::split_ordered_list, std::weak_ptr >, debug_allocator, std::weak_ptr >, std::allocator> >::node*; debug_allocator::size_type = long unsigned int]': ../../include/tbb/internal/_concurrent_unordered_impl.h:255:19: required from 'tbb::interface5::internal::split_ordered_list::node* tbb::interface5::internal::split_ordered_list::create_node(tbb::interface5::internal::sokey_t) [with T = std::pair, std::weak_ptr >; Allocator = debug_allocator, std::weak_ptr >, std::allocator>; tbb::interface5::internal::split_ordered_list::nodeptr_t = tbb::interface5::internal::split_ordered_list, std::weak_ptr >, debug_allocator, std::weak_ptr >, std::allocator> >::node*; tbb::interface5::internal::sokey_t = long unsigned int]' ../../include/tbb/internal/_concurrent_unordered_impl.h:307:17: required from 'tbb::interface5::internal::split_ordered_list::split_ordered_list(tbb::interface5::internal::split_ordered_list::allocator_type) [with T = std::pair, std::weak_ptr >; Allocator = debug_allocator, std::weak_ptr >, std::allocator>; tbb::interface5::internal::split_ordered_list::allocator_type = debug_allocator, std::weak_ptr >, std::allocator>]' ../../include/tbb/internal/_concurrent_unordered_impl.h:721:110: required from 'tbb::interface5::internal::concurrent_unordered_base::concurrent_unordered_base(const tbb::interface5::internal::concurrent_unordered_base&) [with Traits = tbb::interface5::concurrent_unordered_map_traits, std::weak_ptr, tbb::interface5::internal::hash_compare, tbb::tbb_hash >, Harness::IsEqual>, debug_allocator, std::weak_ptr >, std::allocator>, false>]' ../../include/tbb/concurrent_unordered_map.h:58:7: required from 'void TypeTester(const std::__cxx11::list&) [with bool defCtorPresent = true; Table = tbb::interface5::concurrent_unordered_map, std::weak_ptr, tbb::tbb_hash >, Harness::IsEqual, tbb::tbb_allocator, std::weak_ptr > > >; TableDebugAlloc = tbb::interface5::concurrent_unordered_map, std::weak_ptr, tbb::tbb_hash >, Harness::IsEqual, debug_allocator, std::weak_ptr >, std::allocator> >; typename Table::value_type = std::pair, std::weak_ptr >]' ../../src/test/test_concurrent_unordered_map.cpp:240:131: required from 'void TestTypesMap(const std::__cxx11::list&) [with bool defCtorPresent = true; ValueType = std::pair, std::weak_ptr >]' ../../src/test/test_concurrent_unordered_map.cpp:284:54: required from here ../../src/test/harness_allocator.h:518:20: warning: 'void* memset(void*, int, size_t)' writing to an object of type 'struct tbb::interface5::internal::split_ordered_list, std::weak_ptr >, debug_allocator, std::weak_ptr >, std::allocator> >::node' with no trivial copy-assignment [-Wclass-memaccess] std::memset( ptr, 0xE3E3E3E3, n * sizeof(value_type) ); ~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ In file included from ../../include/tbb/concurrent_unordered_map.h:27, from ../../src/test/test_concurrent_unordered_map.cpp:26: ../../include/tbb/internal/_concurrent_unordered_impl.h:206:12: note: 'struct tbb::interface5::internal::split_ordered_list, std::weak_ptr >, debug_allocator, std::weak_ptr >, std::allocator> >::node' declared here struct node : tbb::internal::no_assign ^~~~ In file included from ../../src/test/test_container_move_support.h:26, from ../../src/test/test_concurrent_unordered_common.h:25, from ../../src/test/test_concurrent_unordered_map.cpp:42: ../../src/test/harness_allocator.h: In instantiation of 'debug_allocator::pointer debug_allocator::allocate(debug_allocator::size_type, const void*) [with T = tbb::interface5::internal::flist_iterator, std::weak_ptr >, debug_allocator, std::weak_ptr >, std::allocator> >, std::pair, std::weak_ptr > >; Allocator = std::allocator; debug_allocator::pointer = tbb::interface5::internal::flist_iterator, std::weak_ptr >, debug_allocator, std::weak_ptr >, std::allocator> >, std::pair, std::weak_ptr > >*; debug_allocator::size_type = long unsigned int]': ../../include/tbb/internal/_concurrent_unordered_impl.h:1470:28: required from 'void tbb::interface5::internal::concurrent_unordered_base::set_bucket(tbb::interface5::internal::concurrent_unordered_base::size_type, tbb::interface5::internal::concurrent_unordered_base::raw_iterator) [with Traits = tbb::interface5::concurrent_unordered_map_traits, std::weak_ptr, tbb::interface5::internal::hash_compare, tbb::tbb_hash >, Harness::IsEqual>, debug_allocator, std::weak_ptr >, std::allocator>, false>; tbb::interface5::internal::concurrent_unordered_base::size_type = long unsigned int; tbb::interface5::internal::concurrent_unordered_base::raw_iterator = tbb::interface5::internal::flist_iterator, std::weak_ptr >, debug_allocator, std::weak_ptr >, std::allocator> >, std::pair, std::weak_ptr > >]' ../../include/tbb/internal/_concurrent_unordered_impl.h:1207:9: required from 'void tbb::interface5::internal::concurrent_unordered_base::internal_init() [with Traits = tbb::interface5::concurrent_unordered_map_traits, std::weak_ptr, tbb::interface5::internal::hash_compare, tbb::tbb_hash >, Harness::IsEqual>, debug_allocator, std::weak_ptr >, std::allocator>, false>]' ../../include/tbb/internal/_concurrent_unordered_impl.h:724:9: required from 'tbb::interface5::internal::concurrent_unordered_base::concurrent_unordered_base(const tbb::interface5::internal::concurrent_unordered_base&) [with Traits = tbb::interface5::concurrent_unordered_map_traits, std::weak_ptr, tbb::interface5::internal::hash_compare, tbb::tbb_hash >, Harness::IsEqual>, debug_allocator, std::weak_ptr >, std::allocator>, false>]' ../../include/tbb/concurrent_unordered_map.h:58:7: required from 'void TypeTester(const std::__cxx11::list&) [with bool defCtorPresent = true; Table = tbb::interface5::concurrent_unordered_map, std::weak_ptr, tbb::tbb_hash >, Harness::IsEqual, tbb::tbb_allocator, std::weak_ptr > > >; TableDebugAlloc = tbb::interface5::concurrent_unordered_map, std::weak_ptr, tbb::tbb_hash >, Harness::IsEqual, debug_allocator, std::weak_ptr >, std::allocator> >; typename Table::value_type = std::pair, std::weak_ptr >]' ../../src/test/test_concurrent_unordered_map.cpp:240:131: required from 'void TestTypesMap(const std::__cxx11::list&) [with bool defCtorPresent = true; ValueType = std::pair, std::weak_ptr >]' ../../src/test/test_concurrent_unordered_map.cpp:284:54: required from here ../../src/test/harness_allocator.h:518:20: warning: 'void* memset(void*, int, size_t)' writing to an object of non-trivial type 'class tbb::interface5::internal::flist_iterator, std::weak_ptr >, debug_allocator, std::weak_ptr >, std::allocator> >, std::pair, std::weak_ptr > >'; use assignment instead [-Wclass-memaccess] std::memset( ptr, 0xE3E3E3E3, n * sizeof(value_type) ); ~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ In file included from ../../include/tbb/concurrent_unordered_map.h:27, from ../../src/test/test_concurrent_unordered_map.cpp:26: ../../include/tbb/internal/_concurrent_unordered_impl.h:61:7: note: 'class tbb::interface5::internal::flist_iterator, std::weak_ptr >, debug_allocator, std::weak_ptr >, std::allocator> >, std::pair, std::weak_ptr > >' declared here class flist_iterator : public std::iterator ^~~~~~~~~~~~~~ In file included from ../../src/test/test_container_move_support.h:26, from ../../src/test/test_concurrent_unordered_common.h:25, from ../../src/test/test_concurrent_unordered_map.cpp:42: ../../src/test/harness_allocator.h: In instantiation of 'debug_allocator::pointer debug_allocator::allocate(debug_allocator::size_type, const void*) [with T = tbb::interface5::internal::split_ordered_list, local_counting_allocator, std::allocator>, tbb::atomic > >::node; Allocator = std::allocator; debug_allocator::pointer = tbb::interface5::internal::split_ordered_list, local_counting_allocator, std::allocator>, tbb::atomic > >::node*; debug_allocator::size_type = long unsigned int]': ../../src/test/harness_allocator.h:474:43: required from 'local_counting_allocator::pointer local_counting_allocator::allocate(local_counting_allocator::size_type) [with base_alloc_t = debug_allocator, local_counting_allocator, std::allocator>, tbb::atomic > >::node, std::allocator>; count_t = tbb::atomic; local_counting_allocator::pointer = tbb::interface5::internal::split_ordered_list, local_counting_allocator, std::allocator>, tbb::atomic > >::node*; local_counting_allocator::size_type = long unsigned int]' ../../include/tbb/internal/_concurrent_unordered_impl.h:264:19: required from 'tbb::interface5::internal::split_ordered_list::node* tbb::interface5::internal::split_ordered_list::create_node(tbb::interface5::internal::sokey_t, Arg&&, tbb::internal::true_type) [with Arg = std::pair; T = std::pair; Allocator = local_counting_allocator, std::allocator>, tbb::atomic >; tbb::interface5::internal::split_ordered_list::nodeptr_t = tbb::interface5::internal::split_ordered_list, local_counting_allocator, std::allocator>, tbb::atomic > >::node*; tbb::interface5::internal::sokey_t = long unsigned int; tbb::internal::true_type = tbb::internal::bool_constant]' ../../include/tbb/internal/_concurrent_unordered_impl.h:1282:27: required from 'std::pair::iterator, bool> tbb::interface5::internal::concurrent_unordered_base::internal_insert(ValueType&&, tbb::interface5::internal::concurrent_unordered_base::nodeptr_t) [with AllowCreate = tbb::internal::bool_constant; ValueType = std::pair; Traits = tbb::interface5::concurrent_unordered_map_traits, std::equal_to >, local_counting_allocator, std::allocator> >, false>; typename tbb::interface5::internal::split_ordered_list::iterator = tbb::interface5::internal::solist_iterator, local_counting_allocator, std::allocator>, tbb::atomic > >, std::pair >; tbb::interface5::internal::concurrent_unordered_base::nodeptr_t = tbb::interface5::internal::split_ordered_list, local_counting_allocator, std::allocator>, tbb::atomic > >::node*]' ../../include/tbb/internal/_concurrent_unordered_impl.h:969:73: required from 'std::pair::iterator, bool> tbb::interface5::internal::concurrent_unordered_base::insert(tbb::interface5::internal::concurrent_unordered_base::value_type&&) [with Traits = tbb::interface5::concurrent_unordered_map_traits, std::equal_to >, local_counting_allocator, std::allocator> >, false>; typename tbb::interface5::internal::split_ordered_list::iterator = tbb::interface5::internal::solist_iterator, local_counting_allocator, std::allocator>, tbb::atomic > >, std::pair >; tbb::interface5::internal::concurrent_unordered_base::value_type = std::pair]' ../../src/test/test_concurrent_unordered_common.h:254:43: required from 'void test_basic(const char*, do_check_element_state) [with T = tbb::interface5::concurrent_unordered_map, std::equal_to, local_counting_allocator, std::allocator> > >; do_check_element_state = tbb::internal::bool_constant]' ../../src/test/test_concurrent_unordered_map.cpp:314:117: required from here ../../src/test/harness_allocator.h:518:20: warning: 'void* memset(void*, int, size_t)' writing to an object of type 'struct tbb::interface5::internal::split_ordered_list, local_counting_allocator, std::allocator>, tbb::atomic > >::node' with no trivial copy-assignment [-Wclass-memaccess] std::memset( ptr, 0xE3E3E3E3, n * sizeof(value_type) ); ~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ In file included from ../../include/tbb/concurrent_unordered_map.h:27, from ../../src/test/test_concurrent_unordered_map.cpp:26: ../../include/tbb/internal/_concurrent_unordered_impl.h:206:12: note: 'struct tbb::interface5::internal::split_ordered_list, local_counting_allocator, std::allocator>, tbb::atomic > >::node' declared here struct node : tbb::internal::no_assign ^~~~ In file included from ../../include/tbb/concurrent_unordered_map.h:27, from ../../src/test/test_concurrent_unordered_map.cpp:26: ../../include/tbb/internal/_concurrent_unordered_impl.h: In instantiation of 'void tbb::interface5::internal::concurrent_unordered_base::set_bucket(tbb::interface5::internal::concurrent_unordered_base::size_type, tbb::interface5::internal::concurrent_unordered_base::raw_iterator) [with Traits = tbb::interface5::concurrent_unordered_map_traits, std::equal_to >, std::allocator, false>; tbb::interface5::internal::concurrent_unordered_base::size_type = long unsigned int; tbb::interface5::internal::concurrent_unordered_base::raw_iterator = tbb::interface5::internal::flist_iterator, std::allocator > >, std::pair >]': ../../include/tbb/internal/_concurrent_unordered_impl.h:760:25: required from 'tbb::interface5::internal::concurrent_unordered_base::concurrent_unordered_base(tbb::interface5::internal::concurrent_unordered_base&&, const allocator_type&) [with Traits = tbb::interface5::concurrent_unordered_map_traits, std::equal_to >, std::allocator, false>; tbb::interface5::internal::concurrent_unordered_base::allocator_type = std::allocator >]' ../../include/tbb/internal/_concurrent_unordered_impl.h:798:43: required from 'tbb::interface5::internal::concurrent_unordered_base& tbb::interface5::internal::concurrent_unordered_base::operator=(tbb::interface5::internal::concurrent_unordered_base&&) [with Traits = tbb::interface5::concurrent_unordered_map_traits, std::equal_to >, std::allocator, false>]' ../../include/tbb/concurrent_unordered_map.h:58:7: required from 'void TestMoveAssignOperatorPOCMANonStateful() [with container_traits = cu_map_type]' ../../src/test/test_container_move_support.h:794:61: required from 'void TestMoveAssignOperator() [with container_traits = cu_map_type]' ../../src/test/test_concurrent_unordered_common.h:814:45: required from 'void test_rvalue_ref_support(const char*) [with container_traits = cu_map_type]' ../../src/test/test_concurrent_unordered_map.cpp:330:70: required from here ../../include/tbb/internal/_concurrent_unordered_impl.h:1471:24: warning: 'void* memset(void*, int, size_t)' clearing an object of non-trivial type 'tbb::interface5::internal::concurrent_unordered_base, std::equal_to >, std::allocator, false> >::raw_iterator' {aka 'class tbb::interface5::internal::flist_iterator, std::allocator > >, std::pair >'}; use assignment or value-initialization instead [-Wclass-memaccess] std::memset(new_segment, 0, sz*sizeof(raw_iterator)); ~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ In file included from ../../include/tbb/concurrent_unordered_map.h:27, from ../../src/test/test_concurrent_unordered_map.cpp:26: ../../include/tbb/internal/_concurrent_unordered_impl.h:61:7: note: 'tbb::interface5::internal::concurrent_unordered_base, std::equal_to >, std::allocator, false> >::raw_iterator' {aka 'class tbb::interface5::internal::flist_iterator, std::allocator > >, std::pair >'} declared here class flist_iterator : public std::iterator ^~~~~~~~~~~~~~ In file included from ../../include/tbb/concurrent_unordered_map.h:27, from ../../src/test/test_concurrent_unordered_map.cpp:26: ../../include/tbb/internal/_concurrent_unordered_impl.h: In instantiation of 'void tbb::interface5::internal::concurrent_unordered_base::set_bucket(tbb::interface5::internal::concurrent_unordered_base::size_type, tbb::interface5::internal::concurrent_unordered_base::raw_iterator) [with Traits = tbb::interface5::concurrent_unordered_map_traits, std::equal_to >, static_shared_counting_allocator, arena, long unsigned int>, long unsigned int>, false>; tbb::interface5::internal::concurrent_unordered_base::size_type = long unsigned int; tbb::interface5::internal::concurrent_unordered_base::raw_iterator = tbb::interface5::internal::flist_iterator, static_shared_counting_allocator, arena, std::integral_constant, long unsigned int>, long unsigned int> >, std::pair >]': ../../include/tbb/internal/_concurrent_unordered_impl.h:760:25: required from 'tbb::interface5::internal::concurrent_unordered_base::concurrent_unordered_base(tbb::interface5::internal::concurrent_unordered_base&&, const allocator_type&) [with Traits = tbb::interface5::concurrent_unordered_map_traits, std::equal_to >, static_shared_counting_allocator, arena, long unsigned int>, long unsigned int>, false>; tbb::interface5::internal::concurrent_unordered_base::allocator_type = static_shared_counting_allocator, arena, std::integral_constant, long unsigned int>, long unsigned int>]' ../../include/tbb/internal/_concurrent_unordered_impl.h:798:43: required from 'tbb::interface5::internal::concurrent_unordered_base& tbb::interface5::internal::concurrent_unordered_base::operator=(tbb::interface5::internal::concurrent_unordered_base&&) [with Traits = tbb::interface5::concurrent_unordered_map_traits, std::equal_to >, static_shared_counting_allocator, arena, long unsigned int>, long unsigned int>, false>]' ../../include/tbb/concurrent_unordered_map.h:58:7: required from 'void TestMoveAssignOperatorPOCMAStateful() [with container_traits = cu_map_type]' ../../src/test/test_container_move_support.h:795:58: required from 'void TestMoveAssignOperator() [with container_traits = cu_map_type]' ../../src/test/test_concurrent_unordered_common.h:814:45: required from 'void test_rvalue_ref_support(const char*) [with container_traits = cu_map_type]' ../../src/test/test_concurrent_unordered_map.cpp:330:70: required from here ../../include/tbb/internal/_concurrent_unordered_impl.h:1471:24: warning: 'void* memset(void*, int, size_t)' clearing an object of non-trivial type 'tbb::interface5::internal::concurrent_unordered_base, std::equal_to >, static_shared_counting_allocator, arena, long unsigned int>, long unsigned int>, false> >::raw_iterator' {aka 'class tbb::interface5::internal::flist_iterator, static_shared_counting_allocator, arena, std::integral_constant, long unsigned int>, long unsigned int> >, std::pair >'}; use assignment or value-initialization instead [-Wclass-memaccess] std::memset(new_segment, 0, sz*sizeof(raw_iterator)); ~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ In file included from ../../include/tbb/concurrent_unordered_map.h:27, from ../../src/test/test_concurrent_unordered_map.cpp:26: ../../include/tbb/internal/_concurrent_unordered_impl.h:61:7: note: 'tbb::interface5::internal::concurrent_unordered_base, std::equal_to >, static_shared_counting_allocator, arena, long unsigned int>, long unsigned int>, false> >::raw_iterator' {aka 'class tbb::interface5::internal::flist_iterator, static_shared_counting_allocator, arena, std::integral_constant, long unsigned int>, long unsigned int> >, std::pair >'} declared here class flist_iterator : public std::iterator ^~~~~~~~~~~~~~ In file included from ../../include/tbb/concurrent_unordered_map.h:27, from ../../src/test/test_concurrent_unordered_map.cpp:26: ../../include/tbb/internal/_concurrent_unordered_impl.h: In instantiation of 'void tbb::interface5::internal::concurrent_unordered_base::set_bucket(tbb::interface5::internal::concurrent_unordered_base::size_type, tbb::interface5::internal::concurrent_unordered_base::raw_iterator) [with Traits = tbb::interface5::concurrent_unordered_map_traits, std::equal_to >, std::allocator, true>; tbb::interface5::internal::concurrent_unordered_base::size_type = long unsigned int; tbb::interface5::internal::concurrent_unordered_base::raw_iterator = tbb::interface5::internal::flist_iterator, std::allocator > >, std::pair >]': ../../include/tbb/internal/_concurrent_unordered_impl.h:760:25: required from 'tbb::interface5::internal::concurrent_unordered_base::concurrent_unordered_base(tbb::interface5::internal::concurrent_unordered_base&&, const allocator_type&) [with Traits = tbb::interface5::concurrent_unordered_map_traits, std::equal_to >, std::allocator, true>; tbb::interface5::internal::concurrent_unordered_base::allocator_type = std::allocator >]' ../../include/tbb/internal/_concurrent_unordered_impl.h:798:43: required from 'tbb::interface5::internal::concurrent_unordered_base& tbb::interface5::internal::concurrent_unordered_base::operator=(tbb::interface5::internal::concurrent_unordered_base&&) [with Traits = tbb::interface5::concurrent_unordered_map_traits, std::equal_to >, std::allocator, true>]' ../../include/tbb/concurrent_unordered_map.h:196:7: required from 'void TestMoveAssignOperatorPOCMANonStateful() [with container_traits = cu_multimap_type]' ../../src/test/test_container_move_support.h:794:61: required from 'void TestMoveAssignOperator() [with container_traits = cu_multimap_type]' ../../src/test/test_concurrent_unordered_common.h:814:45: required from 'void test_rvalue_ref_support(const char*) [with container_traits = cu_multimap_type]' ../../src/test/test_concurrent_unordered_map.cpp:331:80: required from here ../../include/tbb/internal/_concurrent_unordered_impl.h:1471:24: warning: 'void* memset(void*, int, size_t)' clearing an object of non-trivial type 'tbb::interface5::internal::concurrent_unordered_base, std::equal_to >, std::allocator, true> >::raw_iterator' {aka 'class tbb::interface5::internal::flist_iterator, std::allocator > >, std::pair >'}; use assignment or value-initialization instead [-Wclass-memaccess] std::memset(new_segment, 0, sz*sizeof(raw_iterator)); ~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ In file included from ../../include/tbb/concurrent_unordered_map.h:27, from ../../src/test/test_concurrent_unordered_map.cpp:26: ../../include/tbb/internal/_concurrent_unordered_impl.h:61:7: note: 'tbb::interface5::internal::concurrent_unordered_base, std::equal_to >, std::allocator, true> >::raw_iterator' {aka 'class tbb::interface5::internal::flist_iterator, std::allocator > >, std::pair >'} declared here class flist_iterator : public std::iterator ^~~~~~~~~~~~~~ In file included from ../../include/tbb/concurrent_unordered_map.h:27, from ../../src/test/test_concurrent_unordered_map.cpp:26: ../../include/tbb/internal/_concurrent_unordered_impl.h: In instantiation of 'void tbb::interface5::internal::concurrent_unordered_base::set_bucket(tbb::interface5::internal::concurrent_unordered_base::size_type, tbb::interface5::internal::concurrent_unordered_base::raw_iterator) [with Traits = tbb::interface5::concurrent_unordered_map_traits, std::equal_to >, static_shared_counting_allocator, arena, long unsigned int>, long unsigned int>, true>; tbb::interface5::internal::concurrent_unordered_base::size_type = long unsigned int; tbb::interface5::internal::concurrent_unordered_base::raw_iterator = tbb::interface5::internal::flist_iterator, static_shared_counting_allocator, arena, std::integral_constant, long unsigned int>, long unsigned int> >, std::pair >]': ../../include/tbb/internal/_concurrent_unordered_impl.h:760:25: required from 'tbb::interface5::internal::concurrent_unordered_base::concurrent_unordered_base(tbb::interface5::internal::concurrent_unordered_base&&, const allocator_type&) [with Traits = tbb::interface5::concurrent_unordered_map_traits, std::equal_to >, static_shared_counting_allocator, arena, long unsigned int>, long unsigned int>, true>; tbb::interface5::internal::concurrent_unordered_base::allocator_type = static_shared_counting_allocator, arena, std::integral_constant, long unsigned int>, long unsigned int>]' ../../include/tbb/internal/_concurrent_unordered_impl.h:798:43: required from 'tbb::interface5::internal::concurrent_unordered_base& tbb::interface5::internal::concurrent_unordered_base::operator=(tbb::interface5::internal::concurrent_unordered_base&&) [with Traits = tbb::interface5::concurrent_unordered_map_traits, std::equal_to >, static_shared_counting_allocator, arena, long unsigned int>, long unsigned int>, true>]' ../../include/tbb/concurrent_unordered_map.h:196:7: required from 'void TestMoveAssignOperatorPOCMAStateful() [with container_traits = cu_multimap_type]' ../../src/test/test_container_move_support.h:795:58: required from 'void TestMoveAssignOperator() [with container_traits = cu_multimap_type]' ../../src/test/test_concurrent_unordered_common.h:814:45: required from 'void test_rvalue_ref_support(const char*) [with container_traits = cu_multimap_type]' ../../src/test/test_concurrent_unordered_map.cpp:331:80: required from here ../../include/tbb/internal/_concurrent_unordered_impl.h:1471:24: warning: 'void* memset(void*, int, size_t)' clearing an object of non-trivial type 'tbb::interface5::internal::concurrent_unordered_base, std::equal_to >, static_shared_counting_allocator, arena, long unsigned int>, long unsigned int>, true> >::raw_iterator' {aka 'class tbb::interface5::internal::flist_iterator, static_shared_counting_allocator, arena, std::integral_constant, long unsigned int>, long unsigned int> >, std::pair >'}; use assignment or value-initialization instead [-Wclass-memaccess] std::memset(new_segment, 0, sz*sizeof(raw_iterator)); ~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ In file included from ../../include/tbb/concurrent_unordered_map.h:27, from ../../src/test/test_concurrent_unordered_map.cpp:26: ../../include/tbb/internal/_concurrent_unordered_impl.h:61:7: note: 'tbb::interface5::internal::concurrent_unordered_base, std::equal_to >, static_shared_counting_allocator, arena, long unsigned int>, long unsigned int>, true> >::raw_iterator' {aka 'class tbb::interface5::internal::flist_iterator, static_shared_counting_allocator, arena, std::integral_constant, long unsigned int>, long unsigned int> >, std::pair >'} declared here class flist_iterator : public std::iterator ^~~~~~~~~~~~~~ In file included from ../../src/test/test_container_move_support.h:26, from ../../src/test/test_concurrent_unordered_common.h:25, from ../../src/test/test_concurrent_unordered_map.cpp:42: ../../src/test/harness_allocator.h: In instantiation of 'debug_allocator::pointer debug_allocator::allocate(debug_allocator::size_type, const void*) [with T = tbb::interface5::internal::split_ordered_list >, local_counting_allocator >, std::allocator>, tbb::atomic > >::node; Allocator = std::allocator; debug_allocator::pointer = tbb::interface5::internal::split_ordered_list >, local_counting_allocator >, std::allocator>, tbb::atomic > >::node*; debug_allocator::size_type = long unsigned int]': ../../src/test/harness_allocator.h:474:43: required from 'local_counting_allocator::pointer local_counting_allocator::allocate(local_counting_allocator::size_type) [with base_alloc_t = debug_allocator >, local_counting_allocator >, std::allocator>, tbb::atomic > >::node, std::allocator>; count_t = tbb::atomic; local_counting_allocator::pointer = tbb::interface5::internal::split_ordered_list >, local_counting_allocator >, std::allocator>, tbb::atomic > >::node*; local_counting_allocator::size_type = long unsigned int]' ../../include/tbb/internal/_concurrent_unordered_impl.h:264:19: required from 'tbb::interface5::internal::split_ordered_list::node* tbb::interface5::internal::split_ordered_list::create_node(tbb::interface5::internal::sokey_t, Arg&&, tbb::internal::true_type) [with Arg = std::pair >; T = std::pair >; Allocator = local_counting_allocator >, std::allocator>, tbb::atomic >; tbb::interface5::internal::split_ordered_list::nodeptr_t = tbb::interface5::internal::split_ordered_list >, local_counting_allocator >, std::allocator>, tbb::atomic > >::node*; tbb::interface5::internal::sokey_t = long unsigned int; tbb::internal::true_type = tbb::internal::bool_constant]' ../../include/tbb/internal/_concurrent_unordered_impl.h:1282:27: required from 'std::pair::iterator, bool> tbb::interface5::internal::concurrent_unordered_base::internal_insert(ValueType&&, tbb::interface5::internal::concurrent_unordered_base::nodeptr_t) [with AllowCreate = tbb::internal::bool_constant; ValueType = std::pair >; Traits = tbb::interface5::concurrent_unordered_map_traits, tbb::interface5::internal::hash_compare, std::equal_to >, local_counting_allocator, std::allocator> >, false>; typename tbb::interface5::internal::split_ordered_list::iterator = tbb::interface5::internal::solist_iterator >, local_counting_allocator >, std::allocator>, tbb::atomic > >, std::pair > >; tbb::interface5::internal::concurrent_unordered_base::nodeptr_t = tbb::interface5::internal::split_ordered_list >, local_counting_allocator >, std::allocator>, tbb::atomic > >::node*]' ../../include/tbb/internal/_concurrent_unordered_impl.h:969:73: required from 'std::pair::iterator, bool> tbb::interface5::internal::concurrent_unordered_base::insert(tbb::interface5::internal::concurrent_unordered_base::value_type&&) [with Traits = tbb::interface5::concurrent_unordered_map_traits, tbb::interface5::internal::hash_compare, std::equal_to >, local_counting_allocator, std::allocator> >, false>; typename tbb::interface5::internal::split_ordered_list::iterator = tbb::interface5::internal::solist_iterator >, local_counting_allocator >, std::allocator>, tbb::atomic > >, std::pair > >; tbb::interface5::internal::concurrent_unordered_base::value_type = std::pair >]' ../../src/test/test_concurrent_unordered_common.h:254:43: required from 'void test_basic(const char*, do_check_element_state) [with T = tbb::interface5::concurrent_unordered_map, tbb::tbb_hash, std::equal_to, local_counting_allocator, std::allocator> > >; do_check_element_state = tbb::internal::bool_constant]' ../../src/test/test_concurrent_unordered_common.h:473:18: required from 'void test_basic(const char*) [with T = tbb::interface5::concurrent_unordered_map, tbb::tbb_hash, std::equal_to, local_counting_allocator, std::allocator> > >]' ../../src/test/test_concurrent_unordered_map.cpp:312:111: required from here ../../src/test/harness_allocator.h:518:20: warning: 'void* memset(void*, int, size_t)' writing to an object of type 'struct tbb::interface5::internal::split_ordered_list >, local_counting_allocator >, std::allocator>, tbb::atomic > >::node' with no trivial copy-assignment [-Wclass-memaccess] std::memset( ptr, 0xE3E3E3E3, n * sizeof(value_type) ); ~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ In file included from ../../include/tbb/concurrent_unordered_map.h:27, from ../../src/test/test_concurrent_unordered_map.cpp:26: ../../include/tbb/internal/_concurrent_unordered_impl.h:206:12: note: 'struct tbb::interface5::internal::split_ordered_list >, local_counting_allocator >, std::allocator>, tbb::atomic > >::node' declared here struct node : tbb::internal::no_assign ^~~~ In file included from ../../include/tbb/concurrent_unordered_map.h:27, from ../../src/test/test_concurrent_unordered_map.cpp:26: ../../include/tbb/internal/_concurrent_unordered_impl.h: In instantiation of 'void tbb::interface5::internal::concurrent_unordered_base::set_bucket(tbb::interface5::internal::concurrent_unordered_base::size_type, tbb::interface5::internal::concurrent_unordered_base::raw_iterator) [with Traits = tbb::interface5::concurrent_unordered_map_traits, std::equal_to >, tbb::tbb_allocator >, true>; tbb::interface5::internal::concurrent_unordered_base::size_type = long unsigned int; tbb::interface5::internal::concurrent_unordered_base::raw_iterator = tbb::interface5::internal::flist_iterator, tbb::tbb_allocator > >, std::pair >]': ../../include/tbb/internal/_concurrent_unordered_impl.h:1207:9: required from 'void tbb::interface5::internal::concurrent_unordered_base::internal_init() [with Traits = tbb::interface5::concurrent_unordered_map_traits, std::equal_to >, tbb::tbb_allocator >, true>]' ../../include/tbb/internal/_concurrent_unordered_impl.h:710:9: required from 'tbb::interface5::internal::concurrent_unordered_base::concurrent_unordered_base(tbb::interface5::internal::concurrent_unordered_base::size_type, const hash_compare&, const allocator_type&) [with Traits = tbb::interface5::concurrent_unordered_map_traits, std::equal_to >, tbb::tbb_allocator >, true>; tbb::interface5::internal::concurrent_unordered_base::size_type = long unsigned int; tbb::interface5::internal::concurrent_unordered_base::hash_compare = tbb::interface5::internal::hash_compare, std::equal_to >; tbb::interface5::internal::concurrent_unordered_base::allocator_type = tbb::tbb_allocator >]' ../../include/tbb/concurrent_unordered_map.h:247:71: required from 'tbb::interface5::concurrent_unordered_multimap::concurrent_unordered_multimap(Iterator, Iterator, tbb::interface5::concurrent_unordered_multimap::size_type, const hasher&, const key_equal&, const allocator_type&) [with Iterator = __gnu_cxx::__normal_iterator*, std::vector, std::allocator > > >; Key = int; T = int; Hasher = tbb::tbb_hash; Key_equality = std::equal_to; Allocator = tbb::tbb_allocator >; tbb::interface5::concurrent_unordered_multimap::size_type = long unsigned int; tbb::interface5::concurrent_unordered_multimap::hasher = tbb::tbb_hash; tbb::interface5::concurrent_unordered_multimap::key_equal = std::equal_to; tbb::interface5::concurrent_unordered_multimap::allocator_type = tbb::tbb_allocator >]' ../../src/test/test_initializer_list.h:72:24: required from 'void initializer_list_support_tests::TestInitListSupport(std::initializer_list) [with container_type = tbb::interface5::concurrent_unordered_multimap; test_assign = initializer_list_support_tests::skip_test; test_special = initializer_list_support_tests::test_special_insert; typename Traits::value_type = std::pair]' ../../src/test/test_initializer_list.h:87:69: required from 'void initializer_list_support_tests::TestInitListSupportWithoutAssign(std::initializer_list) [with container_type = tbb::interface5::concurrent_unordered_multimap; test_special = initializer_list_support_tests::test_special_insert; typename Traits::value_type = std::pair]' ../../src/test/test_concurrent_unordered_common.h:138:70: required from 'void TestInitList(std::initializer_list) [with Table = tbb::interface5::concurrent_unordered_map; MultiTable = tbb::interface5::concurrent_unordered_multimap; typename Traits::value_type = std::pair]' ../../src/test/test_concurrent_unordered_map.cpp:322:99: required from here ../../include/tbb/internal/_concurrent_unordered_impl.h:1471:24: warning: 'void* memset(void*, int, size_t)' clearing an object of non-trivial type 'tbb::interface5::internal::concurrent_unordered_base, std::equal_to >, tbb::tbb_allocator >, true> >::raw_iterator' {aka 'class tbb::interface5::internal::flist_iterator, tbb::tbb_allocator > >, std::pair >'}; use assignment or value-initialization instead [-Wclass-memaccess] std::memset(new_segment, 0, sz*sizeof(raw_iterator)); ~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ In file included from ../../include/tbb/concurrent_unordered_map.h:27, from ../../src/test/test_concurrent_unordered_map.cpp:26: ../../include/tbb/internal/_concurrent_unordered_impl.h:61:7: note: 'tbb::interface5::internal::concurrent_unordered_base, std::equal_to >, tbb::tbb_allocator >, true> >::raw_iterator' {aka 'class tbb::interface5::internal::flist_iterator, tbb::tbb_allocator > >, std::pair >'} declared here class flist_iterator : public std::iterator ^~~~~~~~~~~~~~ g++ -o test_concurrent_unordered_map.exe -O2 -g -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -fexceptions -fstack-protector-strong -grecord-gcc-switches -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -mcpu=power8 -mtune=power8 -funwind-tables -fstack-clash-protection -g -O2 -DUSE_PTHREAD -DTEST_USES_TBB=1 -Wall -Wshadow -Wcast-qual -Woverloaded-virtual -Wnon-virtual-dtor -Wextra -O2 -g -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -fexceptions -fstack-protector-strong -grecord-gcc-switches -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -mcpu=power8 -mtune=power8 -funwind-tables -fstack-clash-protection test_concurrent_unordered_map.o libtbb.so -lpthread -lrt -Wl,-rpath-link=. -rdynamic g++ -o test_concurrent_hash_map.o -c -MMD -O2 -g -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -fexceptions -fstack-protector-strong -grecord-gcc-switches -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -mcpu=power8 -mtune=power8 -funwind-tables -fstack-clash-protection -g -O2 -DUSE_PTHREAD -DTEST_USES_TBB=1 -Wall -Wshadow -Wcast-qual -Woverloaded-virtual -Wnon-virtual-dtor -Wextra -O2 -g -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -fexceptions -fstack-protector-strong -grecord-gcc-switches -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -mcpu=power8 -mtune=power8 -funwind-tables -fstack-clash-protection -std=c++14 -I../../src -I../../src/rml/include -I../../include -I. -include ../../src/test/harness_preload.h ../../src/test/test_concurrent_hash_map.cpp In file included from ../../include/tbb/tbb_machine.h:243, from ../../include/tbb/spin_rw_mutex.h:25, from ../../include/tbb/concurrent_hash_map.h:32, from ../../src/test/test_concurrent_hash_map.cpp:45: ../../include/tbb/machine/mac_ppc.h: In function 'int32_t __TBB_machine_cmpswp4(volatile void*, int32_t, int32_t)': ../../include/tbb/machine/mac_ppc.h:91:46: warning: cast from type 'volatile void*' to type 'int32_t*' {aka 'int*'} casts away qualifiers [-Wcast-qual] , "+m"(* (int32_t*) ptr) /* redundant with "memory" */ ^~~ ../../include/tbb/machine/mac_ppc.h: In function 'int64_t __TBB_machine_cmpswp8(volatile void*, int64_t, int64_t)': ../../include/tbb/machine/mac_ppc.h:116:46: warning: cast from type 'volatile void*' to type 'int64_t*' {aka 'long int*'} casts away qualifiers [-Wcast-qual] , "+m"(* (int64_t*) ptr) /* redundant with "memory" */ ^~~ In file included from ../../src/test/test_concurrent_hash_map.cpp:45: ../../include/tbb/concurrent_hash_map.h: In static member function 'static void tbb::interface5::internal::hash_map_base::init_buckets(tbb::interface5::internal::hash_map_base::segment_ptr_t, tbb::interface5::internal::hash_map_base::size_type, bool)': ../../include/tbb/concurrent_hash_map.h:158:68: warning: 'void* memset(void*, int, size_t)' clearing an object of type 'struct tbb::interface5::internal::hash_map_base::bucket' with no trivial copy-assignment; use value-initialization instead [-Wclass-memaccess] if( is_initial ) std::memset(ptr, 0, sz*sizeof(bucket) ); ^ ../../include/tbb/concurrent_hash_map.h:87:16: note: 'struct tbb::interface5::internal::hash_map_base::bucket' declared here struct bucket : tbb::internal::no_copy { ^~~~~~ ../../src/test/test_concurrent_hash_map.cpp: In function 'void ParallelTraverseTable(MyTable&, size_t, size_t)': ../../src/test/test_concurrent_hash_map.cpp:511:44: warning: 'void* memset(void*, int, size_t)' clearing an object of type 'AtomicByte' {aka 'struct tbb::atomic'} with no trivial copy-assignment; use assignment or value-initialization instead [-Wclass-memaccess] memset( array, 0, n*sizeof(AtomicByte) ); ^ In file included from ../../include/tbb/tbb_profiling.h:128, from ../../include/tbb/spin_rw_mutex.h:26, from ../../include/tbb/concurrent_hash_map.h:32, from ../../src/test/test_concurrent_hash_map.cpp:45: ../../include/tbb/atomic.h:421:27: note: 'AtomicByte' {aka 'struct tbb::atomic'} declared here template<> struct atomic: internal::atomic_impl_with_arithmetic { \ ^~~~~~~~~ ../../include/tbb/atomic.h:478:1: note: in expansion of macro '__TBB_DECL_ATOMIC' __TBB_DECL_ATOMIC(unsigned char) ^~~~~~~~~~~~~~~~~ ../../src/test/test_concurrent_hash_map.cpp:517:44: warning: 'void* memset(void*, int, size_t)' clearing an object of type 'AtomicByte' {aka 'struct tbb::atomic'} with no trivial copy-assignment; use assignment or value-initialization instead [-Wclass-memaccess] memset( array, 0, n*sizeof(AtomicByte) ); ^ In file included from ../../include/tbb/tbb_profiling.h:128, from ../../include/tbb/spin_rw_mutex.h:26, from ../../include/tbb/concurrent_hash_map.h:32, from ../../src/test/test_concurrent_hash_map.cpp:45: ../../include/tbb/atomic.h:421:27: note: 'AtomicByte' {aka 'struct tbb::atomic'} declared here template<> struct atomic: internal::atomic_impl_with_arithmetic { \ ^~~~~~~~~ ../../include/tbb/atomic.h:478:1: note: in expansion of macro '__TBB_DECL_ATOMIC' __TBB_DECL_ATOMIC(unsigned char) ^~~~~~~~~~~~~~~~~ In file included from ../../src/test/test_concurrent_hash_map.cpp:85: ../../src/test/harness_allocator.h: In instantiation of 'debug_allocator::pointer debug_allocator::allocate(debug_allocator::size_type, const void*) [with T = std::pair; Allocator = std::allocator; debug_allocator::pointer = std::pair*; debug_allocator::size_type = long unsigned int]': ../../src/test/test_concurrent_hash_map.cpp:1200:17: required from 'void Examine(Table, const std::__cxx11::list&) [with bool default_construction_present = true; Table = tbb::interface5::concurrent_hash_map, debug_allocator, std::allocator> >; typename Table::value_type = std::pair]' ../../src/test/test_concurrent_hash_map.cpp:1229:42: required from 'void TypeTester(const std::__cxx11::list&) [with bool default_construction_present = true; Value = std::pair]' ../../src/test/test_concurrent_hash_map.cpp:1267:68: required from here ../../src/test/harness_allocator.h:518:20: warning: 'void* memset(void*, int, size_t)' writing to an object of type 'struct std::pair' with no trivial copy-assignment [-Wclass-memaccess] std::memset( ptr, 0xE3E3E3E3, n * sizeof(value_type) ); ~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ In file included from /usr/include/c++/8/bits/stl_algobase.h:64, from /usr/include/c++/8/memory:62, from ../../include/tbb/tbb_stddef.h:427, from ../../src/test/test_concurrent_hash_map.cpp:28: /usr/include/c++/8/bits/stl_pair.h:198:12: note: 'struct std::pair' declared here struct pair ^~~~ In file included from ../../src/test/test_concurrent_hash_map.cpp:85: ../../src/test/harness_allocator.h: In instantiation of 'debug_allocator::pointer debug_allocator::allocate(debug_allocator::size_type, const void*) [with T = std::pair, int>; Allocator = std::allocator; debug_allocator::pointer = std::pair, int>*; debug_allocator::size_type = long unsigned int]': ../../src/test/test_concurrent_hash_map.cpp:1200:17: required from 'void Examine(Table, const std::__cxx11::list&) [with bool default_construction_present = true; Table = tbb::interface5::concurrent_hash_map, int, tbb::tbb_hash_compare >, debug_allocator, int>, std::allocator> >; typename Table::value_type = std::pair, int>]' ../../src/test/test_concurrent_hash_map.cpp:1229:42: required from 'void TypeTester(const std::__cxx11::list&) [with bool default_construction_present = true; Value = std::pair, int>]' ../../src/test/test_concurrent_hash_map.cpp:1274:68: required from here ../../src/test/harness_allocator.h:518:20: warning: 'void* memset(void*, int, size_t)' writing to an object of type 'struct std::pair, int>' with no trivial copy-assignment [-Wclass-memaccess] std::memset( ptr, 0xE3E3E3E3, n * sizeof(value_type) ); ~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ In file included from /usr/include/c++/8/bits/stl_algobase.h:64, from /usr/include/c++/8/memory:62, from ../../include/tbb/tbb_stddef.h:427, from ../../src/test/test_concurrent_hash_map.cpp:28: /usr/include/c++/8/bits/stl_pair.h:198:12: note: 'struct std::pair, int>' declared here struct pair ^~~~ In file included from ../../src/test/test_concurrent_hash_map.cpp:85: ../../src/test/harness_allocator.h: In instantiation of 'debug_allocator::pointer debug_allocator::allocate(debug_allocator::size_type, const void*) [with T = std::pair >; Allocator = std::allocator; debug_allocator::pointer = std::pair >*; debug_allocator::size_type = long unsigned int]': ../../src/test/test_concurrent_hash_map.cpp:1200:17: required from 'void Examine(Table, const std::__cxx11::list&) [with bool default_construction_present = false; Table = tbb::interface5::concurrent_hash_map, tbb::tbb_hash_compare, debug_allocator >, std::allocator> >; typename Table::value_type = std::pair >]' ../../src/test/test_concurrent_hash_map.cpp:1229:42: required from 'void TypeTester(const std::__cxx11::list&) [with bool default_construction_present = false; Value = std::pair >]' ../../src/test/test_concurrent_hash_map.cpp:1280:69: required from here ../../src/test/harness_allocator.h:518:20: warning: 'void* memset(void*, int, size_t)' writing to an object of type 'struct std::pair >' with no trivial copy-assignment [-Wclass-memaccess] std::memset( ptr, 0xE3E3E3E3, n * sizeof(value_type) ); ~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ In file included from /usr/include/c++/8/bits/stl_algobase.h:64, from /usr/include/c++/8/memory:62, from ../../include/tbb/tbb_stddef.h:427, from ../../src/test/test_concurrent_hash_map.cpp:28: /usr/include/c++/8/bits/stl_pair.h:198:12: note: 'struct std::pair >' declared here struct pair ^~~~ In file included from ../../src/test/test_concurrent_hash_map.cpp:85: ../../src/test/harness_allocator.h: In instantiation of 'debug_allocator::pointer debug_allocator::allocate(debug_allocator::size_type, const void*) [with T = std::pair >; Allocator = std::allocator; debug_allocator::pointer = std::pair >*; debug_allocator::size_type = long unsigned int]': ../../src/test/test_concurrent_hash_map.cpp:1200:17: required from 'void Examine(Table, const std::__cxx11::list&) [with bool default_construction_present = true; Table = tbb::interface5::concurrent_hash_map, tbb::tbb_hash_compare, debug_allocator >, std::allocator> >; typename Table::value_type = std::pair >]' ../../src/test/test_concurrent_hash_map.cpp:1229:42: required from 'void TypeTester(const std::__cxx11::list&) [with bool default_construction_present = true; Value = std::pair >]' ../../src/test/test_concurrent_hash_map.cpp:1292:68: required from here ../../src/test/harness_allocator.h:518:20: warning: 'void* memset(void*, int, size_t)' writing to an object of type 'struct std::pair >' with no trivial copy-assignment [-Wclass-memaccess] std::memset( ptr, 0xE3E3E3E3, n * sizeof(value_type) ); ~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ In file included from /usr/include/c++/8/bits/stl_algobase.h:64, from /usr/include/c++/8/memory:62, from ../../include/tbb/tbb_stddef.h:427, from ../../src/test/test_concurrent_hash_map.cpp:28: /usr/include/c++/8/bits/stl_pair.h:198:12: note: 'struct std::pair >' declared here struct pair ^~~~ In file included from ../../src/test/test_concurrent_hash_map.cpp:85: ../../src/test/harness_allocator.h: In instantiation of 'debug_allocator::pointer debug_allocator::allocate(debug_allocator::size_type, const void*) [with T = std::pair, std::shared_ptr >; Allocator = std::allocator; debug_allocator::pointer = std::pair, std::shared_ptr >*; debug_allocator::size_type = long unsigned int]': ../../src/test/test_concurrent_hash_map.cpp:1200:17: required from 'void Examine(Table, const std::__cxx11::list&) [with bool default_construction_present = true; Table = tbb::interface5::concurrent_hash_map, std::shared_ptr, tbb::tbb_hash_compare >, debug_allocator, std::shared_ptr >, std::allocator> >; typename Table::value_type = std::pair, std::shared_ptr >]' ../../src/test/test_concurrent_hash_map.cpp:1229:42: required from 'void TypeTester(const std::__cxx11::list&) [with bool default_construction_present = true; Value = std::pair, std::shared_ptr >]' ../../src/test/test_concurrent_hash_map.cpp:1301:69: required from here ../../src/test/harness_allocator.h:518:20: warning: 'void* memset(void*, int, size_t)' writing to an object of type 'struct std::pair, std::shared_ptr >' with no trivial copy-assignment [-Wclass-memaccess] std::memset( ptr, 0xE3E3E3E3, n * sizeof(value_type) ); ~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ In file included from /usr/include/c++/8/bits/stl_algobase.h:64, from /usr/include/c++/8/memory:62, from ../../include/tbb/tbb_stddef.h:427, from ../../src/test/test_concurrent_hash_map.cpp:28: /usr/include/c++/8/bits/stl_pair.h:198:12: note: 'struct std::pair, std::shared_ptr >' declared here struct pair ^~~~ In file included from ../../src/test/test_concurrent_hash_map.cpp:85: ../../src/test/harness_allocator.h: In instantiation of 'debug_allocator::pointer debug_allocator::allocate(debug_allocator::size_type, const void*) [with T = std::pair, std::weak_ptr >; Allocator = std::allocator; debug_allocator::pointer = std::pair, std::weak_ptr >*; debug_allocator::size_type = long unsigned int]': ../../src/test/test_concurrent_hash_map.cpp:1200:17: required from 'void Examine(Table, const std::__cxx11::list&) [with bool default_construction_present = true; Table = tbb::interface5::concurrent_hash_map, std::weak_ptr, tbb::tbb_hash_compare >, debug_allocator, std::weak_ptr >, std::allocator> >; typename Table::value_type = std::pair, std::weak_ptr >]' ../../src/test/test_concurrent_hash_map.cpp:1229:42: required from 'void TypeTester(const std::__cxx11::list&) [with bool default_construction_present = true; Value = std::pair, std::weak_ptr >]' ../../src/test/test_concurrent_hash_map.cpp:1306:67: required from here ../../src/test/harness_allocator.h:518:20: warning: 'void* memset(void*, int, size_t)' writing to an object of type 'struct std::pair, std::weak_ptr >' with no trivial copy-assignment [-Wclass-memaccess] std::memset( ptr, 0xE3E3E3E3, n * sizeof(value_type) ); ~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ In file included from /usr/include/c++/8/bits/stl_algobase.h:64, from /usr/include/c++/8/memory:62, from ../../include/tbb/tbb_stddef.h:427, from ../../src/test/test_concurrent_hash_map.cpp:28: /usr/include/c++/8/bits/stl_pair.h:198:12: note: 'struct std::pair, std::weak_ptr >' declared here struct pair ^~~~ In file included from ../../src/test/test_concurrent_hash_map.cpp:85: ../../src/test/harness_allocator.h: In instantiation of 'debug_allocator::pointer debug_allocator::allocate(debug_allocator::size_type, const void*) [with T = tbb::interface5::concurrent_hash_map, debug_allocator, std::allocator> >::node; Allocator = std::allocator; debug_allocator::pointer = tbb::interface5::concurrent_hash_map, debug_allocator, std::allocator> >::node*; debug_allocator::size_type = long unsigned int]': ../../include/tbb/concurrent_hash_map.h:580:19: required from 'static void* tbb::interface5::concurrent_hash_map::node::operator new(std::size_t, tbb::interface5::concurrent_hash_map::node_allocator_type&) [with Key = const int; T = int; HashCompare = tbb::tbb_hash_compare; Allocator = debug_allocator, std::allocator>; std::size_t = long unsigned int; tbb::interface5::concurrent_hash_map::node_allocator_type = debug_allocator, debug_allocator, std::allocator> >::node, std::allocator>]' ../../include/tbb/concurrent_hash_map.h:1449:37: required from 'void tbb::interface5::concurrent_hash_map::internal_copy(const tbb::interface5::concurrent_hash_map&) [with Key = const int; T = int; HashCompare = tbb::tbb_hash_compare; Allocator = debug_allocator, std::allocator>]' ../../include/tbb/concurrent_hash_map.h:774:9: required from 'tbb::interface5::concurrent_hash_map::concurrent_hash_map(const tbb::interface5::concurrent_hash_map&, const allocator_type&) [with Key = const int; T = int; HashCompare = tbb::tbb_hash_compare; Allocator = debug_allocator, std::allocator>; tbb::interface5::concurrent_hash_map::allocator_type = debug_allocator, std::allocator>]' ../../src/test/test_concurrent_hash_map.cpp:1229:42: required from 'void TypeTester(const std::__cxx11::list&) [with bool default_construction_present = true; Value = std::pair]' ../../src/test/test_concurrent_hash_map.cpp:1267:68: required from here ../../src/test/harness_allocator.h:518:20: warning: 'void* memset(void*, int, size_t)' writing to an object of type 'struct tbb::interface5::concurrent_hash_map, debug_allocator, std::allocator> >::node' with no trivial copy-assignment [-Wclass-memaccess] std::memset( ptr, 0xE3E3E3E3, n * sizeof(value_type) ); ~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ In file included from ../../src/test/test_concurrent_hash_map.cpp:45: ../../include/tbb/concurrent_hash_map.h:561:12: note: 'struct tbb::interface5::concurrent_hash_map, debug_allocator, std::allocator> >::node' declared here struct node : public node_base { ^~~~ In file included from ../../src/test/test_concurrent_hash_map.cpp:85: ../../src/test/harness_allocator.h: In instantiation of 'debug_allocator::pointer debug_allocator::allocate(debug_allocator::size_type, const void*) [with T = tbb::interface5::concurrent_hash_map, int, tbb::tbb_hash_compare >, debug_allocator, int>, std::allocator> >::node; Allocator = std::allocator; debug_allocator::pointer = tbb::interface5::concurrent_hash_map, int, tbb::tbb_hash_compare >, debug_allocator, int>, std::allocator> >::node*; debug_allocator::size_type = long unsigned int]': ../../include/tbb/concurrent_hash_map.h:580:19: required from 'static void* tbb::interface5::concurrent_hash_map::node::operator new(std::size_t, tbb::interface5::concurrent_hash_map::node_allocator_type&) [with Key = const std::reference_wrapper; T = int; HashCompare = tbb::tbb_hash_compare >; Allocator = debug_allocator, int>, std::allocator>; std::size_t = long unsigned int; tbb::interface5::concurrent_hash_map::node_allocator_type = debug_allocator, int, tbb::tbb_hash_compare >, debug_allocator, int>, std::allocator> >::node, std::allocator>]' ../../include/tbb/concurrent_hash_map.h:1449:37: required from 'void tbb::interface5::concurrent_hash_map::internal_copy(const tbb::interface5::concurrent_hash_map&) [with Key = const std::reference_wrapper; T = int; HashCompare = tbb::tbb_hash_compare >; Allocator = debug_allocator, int>, std::allocator>]' ../../include/tbb/concurrent_hash_map.h:774:9: required from 'tbb::interface5::concurrent_hash_map::concurrent_hash_map(const tbb::interface5::concurrent_hash_map&, const allocator_type&) [with Key = const std::reference_wrapper; T = int; HashCompare = tbb::tbb_hash_compare >; Allocator = debug_allocator, int>, std::allocator>; tbb::interface5::concurrent_hash_map::allocator_type = debug_allocator, int>, std::allocator>]' ../../src/test/test_concurrent_hash_map.cpp:1229:42: required from 'void TypeTester(const std::__cxx11::list&) [with bool default_construction_present = true; Value = std::pair, int>]' ../../src/test/test_concurrent_hash_map.cpp:1274:68: required from here ../../src/test/harness_allocator.h:518:20: warning: 'void* memset(void*, int, size_t)' writing to an object of type 'struct tbb::interface5::concurrent_hash_map, int, tbb::tbb_hash_compare >, debug_allocator, int>, std::allocator> >::node' with no trivial copy-assignment [-Wclass-memaccess] std::memset( ptr, 0xE3E3E3E3, n * sizeof(value_type) ); ~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ In file included from ../../src/test/test_concurrent_hash_map.cpp:45: ../../include/tbb/concurrent_hash_map.h:561:12: note: 'struct tbb::interface5::concurrent_hash_map, int, tbb::tbb_hash_compare >, debug_allocator, int>, std::allocator> >::node' declared here struct node : public node_base { ^~~~ In file included from ../../src/test/test_concurrent_hash_map.cpp:85: ../../src/test/harness_allocator.h: In instantiation of 'debug_allocator::pointer debug_allocator::allocate(debug_allocator::size_type, const void*) [with T = tbb::interface5::concurrent_hash_map, tbb::tbb_hash_compare, debug_allocator >, std::allocator> >::node; Allocator = std::allocator; debug_allocator::pointer = tbb::interface5::concurrent_hash_map, tbb::tbb_hash_compare, debug_allocator >, std::allocator> >::node*; debug_allocator::size_type = long unsigned int]': ../../include/tbb/concurrent_hash_map.h:580:19: required from 'static void* tbb::interface5::concurrent_hash_map::node::operator new(std::size_t, tbb::interface5::concurrent_hash_map::node_allocator_type&) [with Key = const int; T = std::reference_wrapper; HashCompare = tbb::tbb_hash_compare; Allocator = debug_allocator >, std::allocator>; std::size_t = long unsigned int; tbb::interface5::concurrent_hash_map::node_allocator_type = debug_allocator, tbb::tbb_hash_compare, debug_allocator >, std::allocator> >::node, std::allocator>]' ../../include/tbb/concurrent_hash_map.h:1449:37: required from 'void tbb::interface5::concurrent_hash_map::internal_copy(const tbb::interface5::concurrent_hash_map&) [with Key = const int; T = std::reference_wrapper; HashCompare = tbb::tbb_hash_compare; Allocator = debug_allocator >, std::allocator>]' ../../include/tbb/concurrent_hash_map.h:774:9: required from 'tbb::interface5::concurrent_hash_map::concurrent_hash_map(const tbb::interface5::concurrent_hash_map&, const allocator_type&) [with Key = const int; T = std::reference_wrapper; HashCompare = tbb::tbb_hash_compare; Allocator = debug_allocator >, std::allocator>; tbb::interface5::concurrent_hash_map::allocator_type = debug_allocator >, std::allocator>]' ../../src/test/test_concurrent_hash_map.cpp:1229:42: required from 'void TypeTester(const std::__cxx11::list&) [with bool default_construction_present = false; Value = std::pair >]' ../../src/test/test_concurrent_hash_map.cpp:1280:69: required from here ../../src/test/harness_allocator.h:518:20: warning: 'void* memset(void*, int, size_t)' writing to an object of type 'struct tbb::interface5::concurrent_hash_map, tbb::tbb_hash_compare, debug_allocator >, std::allocator> >::node' with no trivial copy-assignment [-Wclass-memaccess] std::memset( ptr, 0xE3E3E3E3, n * sizeof(value_type) ); ~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ In file included from ../../src/test/test_concurrent_hash_map.cpp:45: ../../include/tbb/concurrent_hash_map.h:561:12: note: 'struct tbb::interface5::concurrent_hash_map, tbb::tbb_hash_compare, debug_allocator >, std::allocator> >::node' declared here struct node : public node_base { ^~~~ In file included from ../../src/test/test_concurrent_hash_map.cpp:85: ../../src/test/harness_allocator.h: In instantiation of 'debug_allocator::pointer debug_allocator::allocate(debug_allocator::size_type, const void*) [with T = tbb::interface5::concurrent_hash_map, tbb::tbb_hash_compare, debug_allocator >, std::allocator> >::node; Allocator = std::allocator; debug_allocator::pointer = tbb::interface5::concurrent_hash_map, tbb::tbb_hash_compare, debug_allocator >, std::allocator> >::node*; debug_allocator::size_type = long unsigned int]': ../../include/tbb/concurrent_hash_map.h:580:19: required from 'static void* tbb::interface5::concurrent_hash_map::node::operator new(std::size_t, tbb::interface5::concurrent_hash_map::node_allocator_type&) [with Key = const int; T = tbb::atomic; HashCompare = tbb::tbb_hash_compare; Allocator = debug_allocator >, std::allocator>; std::size_t = long unsigned int; tbb::interface5::concurrent_hash_map::node_allocator_type = debug_allocator, tbb::tbb_hash_compare, debug_allocator >, std::allocator> >::node, std::allocator>]' ../../include/tbb/concurrent_hash_map.h:1449:37: required from 'void tbb::interface5::concurrent_hash_map::internal_copy(const tbb::interface5::concurrent_hash_map&) [with Key = const int; T = tbb::atomic; HashCompare = tbb::tbb_hash_compare; Allocator = debug_allocator >, std::allocator>]' ../../include/tbb/concurrent_hash_map.h:774:9: required from 'tbb::interface5::concurrent_hash_map::concurrent_hash_map(const tbb::interface5::concurrent_hash_map&, const allocator_type&) [with Key = const int; T = tbb::atomic; HashCompare = tbb::tbb_hash_compare; Allocator = debug_allocator >, std::allocator>; tbb::interface5::concurrent_hash_map::allocator_type = debug_allocator >, std::allocator>]' ../../src/test/test_concurrent_hash_map.cpp:1229:42: required from 'void TypeTester(const std::__cxx11::list&) [with bool default_construction_present = true; Value = std::pair >]' ../../src/test/test_concurrent_hash_map.cpp:1292:68: required from here ../../src/test/harness_allocator.h:518:20: warning: 'void* memset(void*, int, size_t)' writing to an object of type 'struct tbb::interface5::concurrent_hash_map, tbb::tbb_hash_compare, debug_allocator >, std::allocator> >::node' with no trivial copy-assignment [-Wclass-memaccess] std::memset( ptr, 0xE3E3E3E3, n * sizeof(value_type) ); ~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ In file included from ../../src/test/test_concurrent_hash_map.cpp:45: ../../include/tbb/concurrent_hash_map.h:561:12: note: 'struct tbb::interface5::concurrent_hash_map, tbb::tbb_hash_compare, debug_allocator >, std::allocator> >::node' declared here struct node : public node_base { ^~~~ In file included from ../../src/test/test_concurrent_hash_map.cpp:85: ../../src/test/harness_allocator.h: In instantiation of 'debug_allocator::pointer debug_allocator::allocate(debug_allocator::size_type, const void*) [with T = tbb::interface5::concurrent_hash_map, std::shared_ptr, tbb::tbb_hash_compare >, debug_allocator, std::shared_ptr >, std::allocator> >::node; Allocator = std::allocator; debug_allocator::pointer = tbb::interface5::concurrent_hash_map, std::shared_ptr, tbb::tbb_hash_compare >, debug_allocator, std::shared_ptr >, std::allocator> >::node*; debug_allocator::size_type = long unsigned int]': ../../include/tbb/concurrent_hash_map.h:580:19: required from 'static void* tbb::interface5::concurrent_hash_map::node::operator new(std::size_t, tbb::interface5::concurrent_hash_map::node_allocator_type&) [with Key = const std::shared_ptr; T = std::shared_ptr; HashCompare = tbb::tbb_hash_compare >; Allocator = debug_allocator, std::shared_ptr >, std::allocator>; std::size_t = long unsigned int; tbb::interface5::concurrent_hash_map::node_allocator_type = debug_allocator, std::shared_ptr, tbb::tbb_hash_compare >, debug_allocator, std::shared_ptr >, std::allocator> >::node, std::allocator>]' ../../include/tbb/concurrent_hash_map.h:1449:37: required from 'void tbb::interface5::concurrent_hash_map::internal_copy(const tbb::interface5::concurrent_hash_map&) [with Key = const std::shared_ptr; T = std::shared_ptr; HashCompare = tbb::tbb_hash_compare >; Allocator = debug_allocator, std::shared_ptr >, std::allocator>]' ../../include/tbb/concurrent_hash_map.h:774:9: required from 'tbb::interface5::concurrent_hash_map::concurrent_hash_map(const tbb::interface5::concurrent_hash_map&, const allocator_type&) [with Key = const std::shared_ptr; T = std::shared_ptr; HashCompare = tbb::tbb_hash_compare >; Allocator = debug_allocator, std::shared_ptr >, std::allocator>; tbb::interface5::concurrent_hash_map::allocator_type = debug_allocator, std::shared_ptr >, std::allocator>]' ../../src/test/test_concurrent_hash_map.cpp:1229:42: required from 'void TypeTester(const std::__cxx11::list&) [with bool default_construction_present = true; Value = std::pair, std::shared_ptr >]' ../../src/test/test_concurrent_hash_map.cpp:1301:69: required from here ../../src/test/harness_allocator.h:518:20: warning: 'void* memset(void*, int, size_t)' writing to an object of type 'struct tbb::interface5::concurrent_hash_map, std::shared_ptr, tbb::tbb_hash_compare >, debug_allocator, std::shared_ptr >, std::allocator> >::node' with no trivial copy-assignment [-Wclass-memaccess] std::memset( ptr, 0xE3E3E3E3, n * sizeof(value_type) ); ~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ In file included from ../../src/test/test_concurrent_hash_map.cpp:45: ../../include/tbb/concurrent_hash_map.h:561:12: note: 'struct tbb::interface5::concurrent_hash_map, std::shared_ptr, tbb::tbb_hash_compare >, debug_allocator, std::shared_ptr >, std::allocator> >::node' declared here struct node : public node_base { ^~~~ In file included from ../../src/test/test_concurrent_hash_map.cpp:85: ../../src/test/harness_allocator.h: In instantiation of 'debug_allocator::pointer debug_allocator::allocate(debug_allocator::size_type, const void*) [with T = tbb::interface5::concurrent_hash_map, std::weak_ptr, tbb::tbb_hash_compare >, debug_allocator, std::weak_ptr >, std::allocator> >::node; Allocator = std::allocator; debug_allocator::pointer = tbb::interface5::concurrent_hash_map, std::weak_ptr, tbb::tbb_hash_compare >, debug_allocator, std::weak_ptr >, std::allocator> >::node*; debug_allocator::size_type = long unsigned int]': ../../include/tbb/concurrent_hash_map.h:580:19: required from 'static void* tbb::interface5::concurrent_hash_map::node::operator new(std::size_t, tbb::interface5::concurrent_hash_map::node_allocator_type&) [with Key = const std::weak_ptr; T = std::weak_ptr; HashCompare = tbb::tbb_hash_compare >; Allocator = debug_allocator, std::weak_ptr >, std::allocator>; std::size_t = long unsigned int; tbb::interface5::concurrent_hash_map::node_allocator_type = debug_allocator, std::weak_ptr, tbb::tbb_hash_compare >, debug_allocator, std::weak_ptr >, std::allocator> >::node, std::allocator>]' ../../include/tbb/concurrent_hash_map.h:1449:37: required from 'void tbb::interface5::concurrent_hash_map::internal_copy(const tbb::interface5::concurrent_hash_map&) [with Key = const std::weak_ptr; T = std::weak_ptr; HashCompare = tbb::tbb_hash_compare >; Allocator = debug_allocator, std::weak_ptr >, std::allocator>]' ../../include/tbb/concurrent_hash_map.h:774:9: required from 'tbb::interface5::concurrent_hash_map::concurrent_hash_map(const tbb::interface5::concurrent_hash_map&, const allocator_type&) [with Key = const std::weak_ptr; T = std::weak_ptr; HashCompare = tbb::tbb_hash_compare >; Allocator = debug_allocator, std::weak_ptr >, std::allocator>; tbb::interface5::concurrent_hash_map::allocator_type = debug_allocator, std::weak_ptr >, std::allocator>]' ../../src/test/test_concurrent_hash_map.cpp:1229:42: required from 'void TypeTester(const std::__cxx11::list&) [with bool default_construction_present = true; Value = std::pair, std::weak_ptr >]' ../../src/test/test_concurrent_hash_map.cpp:1306:67: required from here ../../src/test/harness_allocator.h:518:20: warning: 'void* memset(void*, int, size_t)' writing to an object of type 'struct tbb::interface5::concurrent_hash_map, std::weak_ptr, tbb::tbb_hash_compare >, debug_allocator, std::weak_ptr >, std::allocator> >::node' with no trivial copy-assignment [-Wclass-memaccess] std::memset( ptr, 0xE3E3E3E3, n * sizeof(value_type) ); ~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ In file included from ../../src/test/test_concurrent_hash_map.cpp:45: ../../include/tbb/concurrent_hash_map.h:561:12: note: 'struct tbb::interface5::concurrent_hash_map, std::weak_ptr, tbb::tbb_hash_compare >, debug_allocator, std::weak_ptr >, std::allocator> >::node' declared here struct node : public node_base { ^~~~ ../../src/test/test_concurrent_hash_map.cpp: In function 'void TestExceptions()': ../../src/test/test_concurrent_hash_map.cpp:932:35: warning: this statement may fall through [-Wimplicit-fallthrough=] CheckAllocator(victim, 100+t, t); ~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~ ../../src/test/test_concurrent_hash_map.cpp:933:17: note: here case ctor_copy: ^~~~ g++ -o test_concurrent_hash_map.exe -O2 -g -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -fexceptions -fstack-protector-strong -grecord-gcc-switches -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -mcpu=power8 -mtune=power8 -funwind-tables -fstack-clash-protection -g -O2 -DUSE_PTHREAD -DTEST_USES_TBB=1 -Wall -Wshadow -Wcast-qual -Woverloaded-virtual -Wnon-virtual-dtor -Wextra -O2 -g -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -fexceptions -fstack-protector-strong -grecord-gcc-switches -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -mcpu=power8 -mtune=power8 -funwind-tables -fstack-clash-protection test_concurrent_hash_map.o libtbb.so -lpthread -lrt -Wl,-rpath-link=. -rdynamic g++ -o test_enumerable_thread_specific.o -c -MMD -O2 -g -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -fexceptions -fstack-protector-strong -grecord-gcc-switches -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -mcpu=power8 -mtune=power8 -funwind-tables -fstack-clash-protection -g -O2 -DUSE_PTHREAD -DTEST_USES_TBB=1 -Wall -Wshadow -Wcast-qual -Woverloaded-virtual -Wnon-virtual-dtor -Wextra -O2 -g -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -fexceptions -fstack-protector-strong -grecord-gcc-switches -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -mcpu=power8 -mtune=power8 -funwind-tables -fstack-clash-protection -std=c++14 -I../../src -I../../src/rml/include -I../../include -I. -include ../../src/test/harness_preload.h ../../src/test/test_enumerable_thread_specific.cpp In file included from ../../include/tbb/tbb_machine.h:243, from ../../include/tbb/atomic.h:32, from ../../include/tbb/enumerable_thread_specific.h:24, from ../../src/test/test_enumerable_thread_specific.cpp:24: ../../include/tbb/machine/mac_ppc.h: In function 'int32_t __TBB_machine_cmpswp4(volatile void*, int32_t, int32_t)': ../../include/tbb/machine/mac_ppc.h:91:46: warning: cast from type 'volatile void*' to type 'int32_t*' {aka 'int*'} casts away qualifiers [-Wcast-qual] , "+m"(* (int32_t*) ptr) /* redundant with "memory" */ ^~~ ../../include/tbb/machine/mac_ppc.h: In function 'int64_t __TBB_machine_cmpswp8(volatile void*, int64_t, int64_t)': ../../include/tbb/machine/mac_ppc.h:116:46: warning: cast from type 'volatile void*' to type 'int64_t*' {aka 'long int*'} casts away qualifiers [-Wcast-qual] , "+m"(* (int64_t*) ptr) /* redundant with "memory" */ ^~~ In file included from ../../include/tbb/enumerable_thread_specific.h:25, from ../../src/test/test_enumerable_thread_specific.cpp:24: ../../include/tbb/concurrent_vector.h: In static member function 'static void tbb::concurrent_vector::copy_range(void*, const void*, tbb::concurrent_vector::size_type)': ../../include/tbb/concurrent_vector.h:1296:18: warning: declaration of 'iterator' shadows a previous local [-Wshadow] I & iterator ((*const_cast(static_cast(p_type_erased_iterator)))); ^ ../../include/tbb/concurrent_vector.h:578:60: note: shadowed declaration is here typedef internal::vector_iterator iterator; ^~~~~~~~ In file included from ../../include/tbb/enumerable_thread_specific.h:25, from ../../src/test/test_enumerable_thread_specific.cpp:24: ../../include/tbb/concurrent_vector.h: In instantiation of 'void tbb::internal::handle_unconstructed_elements(T*, std::size_t) [with T = tbb::internal::padded > >, 128>; std::size_t = long unsigned int]': ../../include/tbb/concurrent_vector.h:1123:56: required from 'tbb::concurrent_vector::internal_loop_guide::~internal_loop_guide() [with T = tbb::internal::padded > >, 128>; A = tbb::tbb_allocator > >, 128> >]' ../../include/tbb/concurrent_vector.h:1262:25: required from 'static void tbb::concurrent_vector::initialize_array(void*, const void*, tbb::concurrent_vector::size_type) [with T = tbb::internal::padded > >, 128>; A = tbb::tbb_allocator > >, 128> >; tbb::concurrent_vector::size_type = long unsigned int]' ../../include/tbb/concurrent_vector.h:780:76: required from 'tbb::concurrent_vector::iterator tbb::concurrent_vector::grow_by(tbb::concurrent_vector::size_type) [with T = tbb::internal::padded > >, 128>; A = tbb::tbb_allocator > >, 128> >; tbb::concurrent_vector::iterator = tbb::internal::vector_iterator > >, 128>, tbb::tbb_allocator > >, 128> > >, tbb::internal::padded > >, 128> >; tbb::concurrent_vector::size_type = long unsigned int]' ../../include/tbb/enumerable_thread_specific.h:804:36: required from 'static void* tbb::interface6::enumerable_thread_specific::create_local_by_copy(tbb::interface6::internal::ets_base<(tbb::ets_key_usage_type)1>&, void*) [with T = std::vector >; Allocator = tbb::tbb_allocator > >; tbb::ets_key_usage_type ETS_key_type = (tbb::ets_key_usage_type)0]' ../../include/tbb/enumerable_thread_specific.h:948:13: required from 'void tbb::interface6::enumerable_thread_specific::internal_copy(const tbb::interface6::enumerable_thread_specific&) [with A2 = tbb::tbb_allocator > >; tbb::ets_key_usage_type C2 = (tbb::ets_key_usage_type)1; T = std::vector >; Allocator = tbb::tbb_allocator > >; tbb::ets_key_usage_type ETS_key_type = (tbb::ets_key_usage_type)0]' ../../include/tbb/enumerable_thread_specific.h:987:13: required from 'tbb::interface6::enumerable_thread_specific::enumerable_thread_specific(const tbb::interface6::enumerable_thread_specific&) [with Alloc = tbb::tbb_allocator > >; tbb::ets_key_usage_type Cachetype = (tbb::ets_key_usage_type)1; T = std::vector >; Allocator = tbb::tbb_allocator > >; tbb::ets_key_usage_type ETS_key_type = (tbb::ets_key_usage_type)0]' ../../src/test/test_enumerable_thread_specific.cpp:735:29: required from 'void run_cross_type_vector_tests(const char*) [with T = int; Allocator = tbb::tbb_allocator]' ../../src/test/test_enumerable_thread_specific.cpp:815:102: required from here ../../include/tbb/concurrent_vector.h:77:20: warning: 'void* memset(void*, int, size_t)' clearing an object of non-trivial type 'struct tbb::internal::padded > >, 128>'; use assignment or value-initialization instead [-Wclass-memaccess] std::memset( array, 0, n_of_elements * sizeof( T ) ); ~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ In file included from ../../include/tbb/tbb_machine.h:117, from ../../include/tbb/atomic.h:32, from ../../include/tbb/enumerable_thread_specific.h:24, from ../../src/test/test_enumerable_thread_specific.cpp:24: ../../include/tbb/tbb_stddef.h:257:8: note: 'struct tbb::internal::padded > >, 128>' declared here struct padded : padded_base {}; ^~~~~~ In file included from ../../include/tbb/enumerable_thread_specific.h:25, from ../../src/test/test_enumerable_thread_specific.cpp:24: ../../include/tbb/concurrent_vector.h: In instantiation of 'void tbb::internal::handle_unconstructed_elements(T*, std::size_t) [with T = tbb::internal::padded > >, 128>; std::size_t = long unsigned int]': ../../include/tbb/concurrent_vector.h:1123:56: required from 'tbb::concurrent_vector::internal_loop_guide::~internal_loop_guide() [with T = tbb::internal::padded > >, 128>; A = tbb::tbb_allocator > >, 128> >]' ../../include/tbb/concurrent_vector.h:1262:25: required from 'static void tbb::concurrent_vector::initialize_array(void*, const void*, tbb::concurrent_vector::size_type) [with T = tbb::internal::padded > >, 128>; A = tbb::tbb_allocator > >, 128> >; tbb::concurrent_vector::size_type = long unsigned int]' ../../include/tbb/concurrent_vector.h:780:76: required from 'tbb::concurrent_vector::iterator tbb::concurrent_vector::grow_by(tbb::concurrent_vector::size_type) [with T = tbb::internal::padded > >, 128>; A = tbb::tbb_allocator > >, 128> >; tbb::concurrent_vector::iterator = tbb::internal::vector_iterator > >, 128>, tbb::tbb_allocator > >, 128> > >, tbb::internal::padded > >, 128> >; tbb::concurrent_vector::size_type = long unsigned int]' ../../include/tbb/enumerable_thread_specific.h:804:36: required from 'static void* tbb::interface6::enumerable_thread_specific::create_local_by_copy(tbb::interface6::internal::ets_base<(tbb::ets_key_usage_type)1>&, void*) [with T = std::vector >; Allocator = tbb::tbb_allocator > >; tbb::ets_key_usage_type ETS_key_type = (tbb::ets_key_usage_type)0]' ../../include/tbb/enumerable_thread_specific.h:948:13: required from 'void tbb::interface6::enumerable_thread_specific::internal_copy(const tbb::interface6::enumerable_thread_specific&) [with A2 = tbb::tbb_allocator > >; tbb::ets_key_usage_type C2 = (tbb::ets_key_usage_type)1; T = std::vector >; Allocator = tbb::tbb_allocator > >; tbb::ets_key_usage_type ETS_key_type = (tbb::ets_key_usage_type)0]' ../../include/tbb/enumerable_thread_specific.h:987:13: required from 'tbb::interface6::enumerable_thread_specific::enumerable_thread_specific(const tbb::interface6::enumerable_thread_specific&) [with Alloc = tbb::tbb_allocator > >; tbb::ets_key_usage_type Cachetype = (tbb::ets_key_usage_type)1; T = std::vector >; Allocator = tbb::tbb_allocator > >; tbb::ets_key_usage_type ETS_key_type = (tbb::ets_key_usage_type)0]' ../../src/test/test_enumerable_thread_specific.cpp:735:29: required from 'void run_cross_type_vector_tests(const char*) [with T = double; Allocator = tbb::tbb_allocator]' ../../src/test/test_enumerable_thread_specific.cpp:816:111: required from here ../../include/tbb/concurrent_vector.h:77:20: warning: 'void* memset(void*, int, size_t)' clearing an object of non-trivial type 'struct tbb::internal::padded > >, 128>'; use assignment or value-initialization instead [-Wclass-memaccess] std::memset( array, 0, n_of_elements * sizeof( T ) ); ~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ In file included from ../../include/tbb/tbb_machine.h:117, from ../../include/tbb/atomic.h:32, from ../../include/tbb/enumerable_thread_specific.h:24, from ../../src/test/test_enumerable_thread_specific.cpp:24: ../../include/tbb/tbb_stddef.h:257:8: note: 'struct tbb::internal::padded > >, 128>' declared here struct padded : padded_base {}; ^~~~~~ In file included from ../../include/tbb/enumerable_thread_specific.h:25, from ../../src/test/test_enumerable_thread_specific.cpp:24: ../../include/tbb/concurrent_vector.h: In instantiation of 'void tbb::internal::handle_unconstructed_elements(T*, std::size_t) [with T = tbb::internal::padded, 128>; std::size_t = long unsigned int]': ../../include/tbb/concurrent_vector.h:1123:56: required from 'tbb::concurrent_vector::internal_loop_guide::~internal_loop_guide() [with T = tbb::internal::padded, 128>; A = tbb::cache_aligned_allocator, 128> >]' ../../include/tbb/concurrent_vector.h:1262:25: required from 'static void tbb::concurrent_vector::initialize_array(void*, const void*, tbb::concurrent_vector::size_type) [with T = tbb::internal::padded, 128>; A = tbb::cache_aligned_allocator, 128> >; tbb::concurrent_vector::size_type = long unsigned int]' ../../include/tbb/concurrent_vector.h:780:76: required from 'tbb::concurrent_vector::iterator tbb::concurrent_vector::grow_by(tbb::concurrent_vector::size_type) [with T = tbb::internal::padded, 128>; A = tbb::cache_aligned_allocator, 128> >; tbb::concurrent_vector::iterator = tbb::internal::vector_iterator, 128>, tbb::cache_aligned_allocator, 128> > >, tbb::internal::padded, 128> >; tbb::concurrent_vector::size_type = long unsigned int]' ../../include/tbb/enumerable_thread_specific.h:812:36: required from 'static void* tbb::interface6::enumerable_thread_specific::create_local_by_move(tbb::interface6::internal::ets_base<(tbb::ets_key_usage_type)1>&, void*) [with T = HasSpecialAndMoveCtor; Allocator = tbb::cache_aligned_allocator; tbb::ets_key_usage_type ETS_key_type = (tbb::ets_key_usage_type)1]' ../../include/tbb/enumerable_thread_specific.h:972:13: required from 'void tbb::interface6::enumerable_thread_specific::internal_move(tbb::interface6::enumerable_thread_specific&&) [with A2 = tbb::tbb_allocator; tbb::ets_key_usage_type C2 = (tbb::ets_key_usage_type)1; T = HasSpecialAndMoveCtor; Allocator = tbb::cache_aligned_allocator; tbb::ets_key_usage_type ETS_key_type = (tbb::ets_key_usage_type)1]' ../../include/tbb/enumerable_thread_specific.h:999:13: required from 'tbb::interface6::enumerable_thread_specific::enumerable_thread_specific(tbb::interface6::enumerable_thread_specific&&) [with Alloc = tbb::tbb_allocator; tbb::ets_key_usage_type Cachetype = (tbb::ets_key_usage_type)1; T = HasSpecialAndMoveCtor; Allocator = tbb::cache_aligned_allocator; tbb::ets_key_usage_type ETS_key_type = (tbb::ets_key_usage_type)1]' ../../src/test/test_enumerable_thread_specific.cpp:1307:60: required from 'void TestInstantiation(const char*) [with Allocator = tbb::tbb_allocator]' ../../src/test/test_enumerable_thread_specific.cpp:1351:63: required from here ../../include/tbb/concurrent_vector.h:77:20: warning: 'void* memset(void*, int, size_t)' clearing an object of non-trivial type 'struct tbb::internal::padded, 128>'; use assignment or value-initialization instead [-Wclass-memaccess] std::memset( array, 0, n_of_elements * sizeof( T ) ); ~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ In file included from ../../include/tbb/tbb_machine.h:117, from ../../include/tbb/atomic.h:32, from ../../include/tbb/enumerable_thread_specific.h:24, from ../../src/test/test_enumerable_thread_specific.cpp:24: ../../include/tbb/tbb_stddef.h:257:8: note: 'struct tbb::internal::padded, 128>' declared here struct padded : padded_base {}; ^~~~~~ In file included from ../../include/tbb/enumerable_thread_specific.h:25, from ../../src/test/test_enumerable_thread_specific.cpp:24: ../../include/tbb/concurrent_vector.h: In instantiation of 'void tbb::internal::handle_unconstructed_elements(T*, std::size_t) [with T = tbb::internal::padded, 128>; std::size_t = long unsigned int]': ../../include/tbb/concurrent_vector.h:1123:56: required from 'tbb::concurrent_vector::internal_loop_guide::~internal_loop_guide() [with T = tbb::internal::padded, 128>; A = tbb::cache_aligned_allocator, 128> >]' ../../include/tbb/concurrent_vector.h:1262:25: required from 'static void tbb::concurrent_vector::initialize_array(void*, const void*, tbb::concurrent_vector::size_type) [with T = tbb::internal::padded, 128>; A = tbb::cache_aligned_allocator, 128> >; tbb::concurrent_vector::size_type = long unsigned int]' ../../include/tbb/concurrent_vector.h:780:76: required from 'tbb::concurrent_vector::iterator tbb::concurrent_vector::grow_by(tbb::concurrent_vector::size_type) [with T = tbb::internal::padded, 128>; A = tbb::cache_aligned_allocator, 128> >; tbb::concurrent_vector::iterator = tbb::internal::vector_iterator, 128>, tbb::cache_aligned_allocator, 128> > >, tbb::internal::padded, 128> >; tbb::concurrent_vector::size_type = long unsigned int]' ../../include/tbb/enumerable_thread_specific.h:804:36: required from 'static void* tbb::interface6::enumerable_thread_specific::create_local_by_copy(tbb::interface6::internal::ets_base<(tbb::ets_key_usage_type)1>&, void*) [with T = BigType; Allocator = tbb::cache_aligned_allocator; tbb::ets_key_usage_type ETS_key_type = (tbb::ets_key_usage_type)1]' ../../include/tbb/enumerable_thread_specific.h:948:13: required from 'void tbb::interface6::enumerable_thread_specific::internal_copy(const tbb::interface6::enumerable_thread_specific&) [with A2 = tbb::cache_aligned_allocator; tbb::ets_key_usage_type C2 = (tbb::ets_key_usage_type)1; T = BigType; Allocator = tbb::cache_aligned_allocator; tbb::ets_key_usage_type ETS_key_type = (tbb::ets_key_usage_type)1]' ../../include/tbb/enumerable_thread_specific.h:981:13: required from 'tbb::interface6::enumerable_thread_specific::enumerable_thread_specific(const tbb::interface6::enumerable_thread_specific&) [with T = BigType; Allocator = tbb::cache_aligned_allocator; tbb::ets_key_usage_type ETS_key_type = (tbb::ets_key_usage_type)1]' ../../src/test/test_enumerable_thread_specific.cpp:1329:20: required from 'void TestConstructorWithBigType(const char*) [with Allocator = tbb::cache_aligned_allocator]' ../../src/test/test_enumerable_thread_specific.cpp:1372:92: required from here ../../include/tbb/concurrent_vector.h:77:20: warning: 'void* memset(void*, int, size_t)' clearing an object of non-trivial type 'struct tbb::internal::padded, 128>'; use assignment or value-initialization instead [-Wclass-memaccess] std::memset( array, 0, n_of_elements * sizeof( T ) ); ~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ In file included from ../../include/tbb/tbb_machine.h:117, from ../../include/tbb/atomic.h:32, from ../../include/tbb/enumerable_thread_specific.h:24, from ../../src/test/test_enumerable_thread_specific.cpp:24: ../../include/tbb/tbb_stddef.h:257:8: note: 'struct tbb::internal::padded, 128>' declared here struct padded : padded_base {}; ^~~~~~ In file included from ../../include/tbb/enumerable_thread_specific.h:25, from ../../src/test/test_enumerable_thread_specific.cpp:24: ../../include/tbb/concurrent_vector.h: In instantiation of 'void tbb::internal::handle_unconstructed_elements(T*, std::size_t) [with T = tbb::internal::padded >, 128>; std::size_t = long unsigned int]': ../../include/tbb/concurrent_vector.h:1123:56: required from 'tbb::concurrent_vector::internal_loop_guide::~internal_loop_guide() [with T = tbb::internal::padded >, 128>; A = tbb::cache_aligned_allocator >, 128> >]' ../../include/tbb/concurrent_vector.h:1262:25: required from 'static void tbb::concurrent_vector::initialize_array(void*, const void*, tbb::concurrent_vector::size_type) [with T = tbb::internal::padded >, 128>; A = tbb::cache_aligned_allocator >, 128> >; tbb::concurrent_vector::size_type = long unsigned int]' ../../include/tbb/concurrent_vector.h:780:76: required from 'tbb::concurrent_vector::iterator tbb::concurrent_vector::grow_by(tbb::concurrent_vector::size_type) [with T = tbb::internal::padded >, 128>; A = tbb::cache_aligned_allocator >, 128> >; tbb::concurrent_vector::iterator = tbb::internal::vector_iterator >, 128>, tbb::cache_aligned_allocator >, 128> > >, tbb::internal::padded >, 128> >; tbb::concurrent_vector::size_type = long unsigned int]' ../../include/tbb/enumerable_thread_specific.h:804:36: required from 'static void* tbb::interface6::enumerable_thread_specific::create_local_by_copy(tbb::interface6::internal::ets_base<(tbb::ets_key_usage_type)1>&, void*) [with T = minimal<>; Allocator = tbb::cache_aligned_allocator >; tbb::ets_key_usage_type ETS_key_type = (tbb::ets_key_usage_type)0]' ../../include/tbb/enumerable_thread_specific.h:948:13: required from 'void tbb::interface6::enumerable_thread_specific::internal_copy(const tbb::interface6::enumerable_thread_specific&) [with A2 = tbb::cache_aligned_allocator >; tbb::ets_key_usage_type C2 = (tbb::ets_key_usage_type)1; T = minimal<>; Allocator = tbb::cache_aligned_allocator >; tbb::ets_key_usage_type ETS_key_type = (tbb::ets_key_usage_type)0]' ../../include/tbb/enumerable_thread_specific.h:987:13: required from 'tbb::interface6::enumerable_thread_specific::enumerable_thread_specific(const tbb::interface6::enumerable_thread_specific&) [with Alloc = tbb::cache_aligned_allocator >; tbb::ets_key_usage_type Cachetype = (tbb::ets_key_usage_type)1; T = minimal<>; Allocator = tbb::cache_aligned_allocator >; tbb::ets_key_usage_type ETS_key_type = (tbb::ets_key_usage_type)0]' ../../src/test/test_enumerable_thread_specific.cpp:415:33: required from 'void run_parallel_scalar_tests_nocombine(const char*, const char*) [with T = minimal<>; Allocator = tbb::cache_aligned_allocator]' ../../src/test/test_enumerable_thread_specific.cpp:807:61: required from 'void run_parallel_tests(const char*) [with Allocator = tbb::cache_aligned_allocator]' ../../src/test/test_enumerable_thread_specific.cpp:1365:88: required from here ../../include/tbb/concurrent_vector.h:77:20: warning: 'void* memset(void*, int, size_t)' clearing an object of non-trivial type 'struct tbb::internal::padded >, 128>'; use assignment or value-initialization instead [-Wclass-memaccess] std::memset( array, 0, n_of_elements * sizeof( T ) ); ~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ In file included from ../../include/tbb/tbb_machine.h:117, from ../../include/tbb/atomic.h:32, from ../../include/tbb/enumerable_thread_specific.h:24, from ../../src/test/test_enumerable_thread_specific.cpp:24: ../../include/tbb/tbb_stddef.h:257:8: note: 'struct tbb::internal::padded >, 128>' declared here struct padded : padded_base {}; ^~~~~~ In file included from ../../include/tbb/enumerable_thread_specific.h:25, from ../../src/test/test_enumerable_thread_specific.cpp:24: ../../include/tbb/concurrent_vector.h: In instantiation of 'void tbb::internal::handle_unconstructed_elements(T*, std::size_t) [with T = tbb::internal::padded, 128>; std::size_t = long unsigned int]': ../../include/tbb/concurrent_vector.h:1123:56: required from 'tbb::concurrent_vector::internal_loop_guide::~internal_loop_guide() [with T = tbb::internal::padded, 128>; A = tbb::cache_aligned_allocator, 128> >]' ../../include/tbb/concurrent_vector.h:1262:25: required from 'static void tbb::concurrent_vector::initialize_array(void*, const void*, tbb::concurrent_vector::size_type) [with T = tbb::internal::padded, 128>; A = tbb::cache_aligned_allocator, 128> >; tbb::concurrent_vector::size_type = long unsigned int]' ../../include/tbb/concurrent_vector.h:780:76: required from 'tbb::concurrent_vector::iterator tbb::concurrent_vector::grow_by(tbb::concurrent_vector::size_type) [with T = tbb::internal::padded, 128>; A = tbb::cache_aligned_allocator, 128> >; tbb::concurrent_vector::iterator = tbb::internal::vector_iterator, 128>, tbb::cache_aligned_allocator, 128> > >, tbb::internal::padded, 128> >; tbb::concurrent_vector::size_type = long unsigned int]' ../../include/tbb/enumerable_thread_specific.h:804:36: required from 'static void* tbb::interface6::enumerable_thread_specific::create_local_by_copy(tbb::interface6::internal::ets_base<(tbb::ets_key_usage_type)1>&, void*) [with T = int; Allocator = tbb::cache_aligned_allocator; tbb::ets_key_usage_type ETS_key_type = (tbb::ets_key_usage_type)1]' ../../include/tbb/enumerable_thread_specific.h:948:13: required from 'void tbb::interface6::enumerable_thread_specific::internal_copy(const tbb::interface6::enumerable_thread_specific&) [with A2 = tbb::cache_aligned_allocator; tbb::ets_key_usage_type C2 = (tbb::ets_key_usage_type)1; T = int; Allocator = tbb::cache_aligned_allocator; tbb::ets_key_usage_type ETS_key_type = (tbb::ets_key_usage_type)1]' ../../include/tbb/enumerable_thread_specific.h:981:13: required from 'tbb::interface6::enumerable_thread_specific::enumerable_thread_specific(const tbb::interface6::enumerable_thread_specific&) [with T = int; Allocator = tbb::cache_aligned_allocator; tbb::ets_key_usage_type ETS_key_type = (tbb::ets_key_usage_type)1]' ../../src/test/test_enumerable_thread_specific.cpp:1105:14: required from 'void ets_copy_assign_test(InitSrc, InitDst, Validator, const char*) [with T = int; Allocator = tbb::cache_aligned_allocator; InitSrc = int; InitDst = int; Validator = Validator]' ../../src/test/test_enumerable_thread_specific.cpp:1165:39: required from 'void run_assign_and_copy_constructor_test(const char*, const char*) [with T = int; Allocator = tbb::cache_aligned_allocator]' ../../src/test/test_enumerable_thread_specific.cpp:1184:57: required from 'void run_assignment_and_copy_constructor_tests(const char*) [with Allocator = tbb::cache_aligned_allocator]' ../../src/test/test_enumerable_thread_specific.cpp:1353:107: required from here ../../include/tbb/concurrent_vector.h:77:20: warning: 'void* memset(void*, int, size_t)' clearing an object of non-trivial type 'struct tbb::internal::padded, 128>'; use assignment or value-initialization instead [-Wclass-memaccess] std::memset( array, 0, n_of_elements * sizeof( T ) ); ~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ In file included from ../../include/tbb/tbb_machine.h:117, from ../../include/tbb/atomic.h:32, from ../../include/tbb/enumerable_thread_specific.h:24, from ../../src/test/test_enumerable_thread_specific.cpp:24: ../../include/tbb/tbb_stddef.h:257:8: note: 'struct tbb::internal::padded, 128>' declared here struct padded : padded_base {}; ^~~~~~ In file included from ../../include/tbb/enumerable_thread_specific.h:25, from ../../src/test/test_enumerable_thread_specific.cpp:24: ../../include/tbb/concurrent_vector.h: In instantiation of 'void tbb::internal::handle_unconstructed_elements(T*, std::size_t) [with T = tbb::internal::padded >, 128>; std::size_t = long unsigned int]': ../../include/tbb/concurrent_vector.h:1123:56: required from 'tbb::concurrent_vector::internal_loop_guide::~internal_loop_guide() [with T = tbb::internal::padded >, 128>; A = tbb::cache_aligned_allocator >, 128> >]' ../../include/tbb/concurrent_vector.h:1262:25: required from 'static void tbb::concurrent_vector::initialize_array(void*, const void*, tbb::concurrent_vector::size_type) [with T = tbb::internal::padded >, 128>; A = tbb::cache_aligned_allocator >, 128> >; tbb::concurrent_vector::size_type = long unsigned int]' ../../include/tbb/concurrent_vector.h:780:76: required from 'tbb::concurrent_vector::iterator tbb::concurrent_vector::grow_by(tbb::concurrent_vector::size_type) [with T = tbb::internal::padded >, 128>; A = tbb::cache_aligned_allocator >, 128> >; tbb::concurrent_vector::iterator = tbb::internal::vector_iterator >, 128>, tbb::cache_aligned_allocator >, 128> > >, tbb::internal::padded >, 128> >; tbb::concurrent_vector::size_type = long unsigned int]' ../../include/tbb/enumerable_thread_specific.h:804:36: required from 'static void* tbb::interface6::enumerable_thread_specific::create_local_by_copy(tbb::interface6::internal::ets_base<(tbb::ets_key_usage_type)1>&, void*) [with T = std::pair; Allocator = tbb::cache_aligned_allocator >; tbb::ets_key_usage_type ETS_key_type = (tbb::ets_key_usage_type)1]' ../../include/tbb/enumerable_thread_specific.h:948:13: required from 'void tbb::interface6::enumerable_thread_specific::internal_copy(const tbb::interface6::enumerable_thread_specific&) [with A2 = tbb::cache_aligned_allocator >; tbb::ets_key_usage_type C2 = (tbb::ets_key_usage_type)1; T = std::pair; Allocator = tbb::cache_aligned_allocator >; tbb::ets_key_usage_type ETS_key_type = (tbb::ets_key_usage_type)1]' ../../include/tbb/enumerable_thread_specific.h:981:13: required from 'tbb::interface6::enumerable_thread_specific::enumerable_thread_specific(const tbb::interface6::enumerable_thread_specific&) [with T = std::pair; Allocator = tbb::cache_aligned_allocator >; tbb::ets_key_usage_type ETS_key_type = (tbb::ets_key_usage_type)1]' ../../src/test/test_enumerable_thread_specific.cpp:1105:14: required from 'void ets_copy_assign_test(InitSrc, InitDst, Validator, const char*) [with T = std::pair; Allocator = tbb::cache_aligned_allocator; InitSrc = tbb::internal::stored_pack; InitDst = std::pair; Validator = Validator]' ../../src/test/test_enumerable_thread_specific.cpp:1176:55: required from 'void run_assign_and_copy_constructor_test(const char*, const char*) [with T = int; Allocator = tbb::cache_aligned_allocator]' ../../src/test/test_enumerable_thread_specific.cpp:1184:57: required from 'void run_assignment_and_copy_constructor_tests(const char*) [with Allocator = tbb::cache_aligned_allocator]' ../../src/test/test_enumerable_thread_specific.cpp:1353:107: required from here ../../include/tbb/concurrent_vector.h:77:20: warning: 'void* memset(void*, int, size_t)' clearing an object of non-trivial type 'struct tbb::internal::padded >, 128>'; use assignment or value-initialization instead [-Wclass-memaccess] std::memset( array, 0, n_of_elements * sizeof( T ) ); ~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ In file included from ../../include/tbb/tbb_machine.h:117, from ../../include/tbb/atomic.h:32, from ../../include/tbb/enumerable_thread_specific.h:24, from ../../src/test/test_enumerable_thread_specific.cpp:24: ../../include/tbb/tbb_stddef.h:257:8: note: 'struct tbb::internal::padded >, 128>' declared here struct padded : padded_base {}; ^~~~~~ In file included from ../../include/tbb/enumerable_thread_specific.h:25, from ../../src/test/test_enumerable_thread_specific.cpp:24: ../../include/tbb/concurrent_vector.h: In instantiation of 'void tbb::internal::handle_unconstructed_elements(T*, std::size_t) [with T = tbb::internal::padded, 128>; std::size_t = long unsigned int]': ../../include/tbb/concurrent_vector.h:1123:56: required from 'tbb::concurrent_vector::internal_loop_guide::~internal_loop_guide() [with T = tbb::internal::padded, 128>; A = tbb::cache_aligned_allocator, 128> >]' ../../include/tbb/concurrent_vector.h:1262:25: required from 'static void tbb::concurrent_vector::initialize_array(void*, const void*, tbb::concurrent_vector::size_type) [with T = tbb::internal::padded, 128>; A = tbb::cache_aligned_allocator, 128> >; tbb::concurrent_vector::size_type = long unsigned int]' ../../include/tbb/concurrent_vector.h:780:76: required from 'tbb::concurrent_vector::iterator tbb::concurrent_vector::grow_by(tbb::concurrent_vector::size_type) [with T = tbb::internal::padded, 128>; A = tbb::cache_aligned_allocator, 128> >; tbb::concurrent_vector::iterator = tbb::internal::vector_iterator, 128>, tbb::cache_aligned_allocator, 128> > >, tbb::internal::padded, 128> >; tbb::concurrent_vector::size_type = long unsigned int]' ../../include/tbb/enumerable_thread_specific.h:804:36: required from 'static void* tbb::interface6::enumerable_thread_specific::create_local_by_copy(tbb::interface6::internal::ets_base<(tbb::ets_key_usage_type)1>&, void*) [with T = double; Allocator = tbb::cache_aligned_allocator; tbb::ets_key_usage_type ETS_key_type = (tbb::ets_key_usage_type)1]' ../../include/tbb/enumerable_thread_specific.h:948:13: required from 'void tbb::interface6::enumerable_thread_specific::internal_copy(const tbb::interface6::enumerable_thread_specific&) [with A2 = tbb::cache_aligned_allocator; tbb::ets_key_usage_type C2 = (tbb::ets_key_usage_type)1; T = double; Allocator = tbb::cache_aligned_allocator; tbb::ets_key_usage_type ETS_key_type = (tbb::ets_key_usage_type)1]' ../../include/tbb/enumerable_thread_specific.h:981:13: required from 'tbb::interface6::enumerable_thread_specific::enumerable_thread_specific(const tbb::interface6::enumerable_thread_specific&) [with T = double; Allocator = tbb::cache_aligned_allocator; tbb::ets_key_usage_type ETS_key_type = (tbb::ets_key_usage_type)1]' ../../src/test/test_enumerable_thread_specific.cpp:1105:14: required from 'void ets_copy_assign_test(InitSrc, InitDst, Validator, const char*) [with T = double; Allocator = tbb::cache_aligned_allocator; InitSrc = double; InitDst = double; Validator = Validator]' ../../src/test/test_enumerable_thread_specific.cpp:1165:39: required from 'void run_assign_and_copy_constructor_test(const char*, const char*) [with T = double; Allocator = tbb::cache_aligned_allocator]' ../../src/test/test_enumerable_thread_specific.cpp:1185:60: required from 'void run_assignment_and_copy_constructor_tests(const char*) [with Allocator = tbb::cache_aligned_allocator]' ../../src/test/test_enumerable_thread_specific.cpp:1353:107: required from here ../../include/tbb/concurrent_vector.h:77:20: warning: 'void* memset(void*, int, size_t)' clearing an object of non-trivial type 'struct tbb::internal::padded, 128>'; use assignment or value-initialization instead [-Wclass-memaccess] std::memset( array, 0, n_of_elements * sizeof( T ) ); ~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ In file included from ../../include/tbb/tbb_machine.h:117, from ../../include/tbb/atomic.h:32, from ../../include/tbb/enumerable_thread_specific.h:24, from ../../src/test/test_enumerable_thread_specific.cpp:24: ../../include/tbb/tbb_stddef.h:257:8: note: 'struct tbb::internal::padded, 128>' declared here struct padded : padded_base {}; ^~~~~~ In file included from ../../include/tbb/enumerable_thread_specific.h:25, from ../../src/test/test_enumerable_thread_specific.cpp:24: ../../include/tbb/concurrent_vector.h: In instantiation of 'void tbb::internal::handle_unconstructed_elements(T*, std::size_t) [with T = tbb::internal::padded >, 128>; std::size_t = long unsigned int]': ../../include/tbb/concurrent_vector.h:1123:56: required from 'tbb::concurrent_vector::internal_loop_guide::~internal_loop_guide() [with T = tbb::internal::padded >, 128>; A = tbb::cache_aligned_allocator >, 128> >]' ../../include/tbb/concurrent_vector.h:1262:25: required from 'static void tbb::concurrent_vector::initialize_array(void*, const void*, tbb::concurrent_vector::size_type) [with T = tbb::internal::padded >, 128>; A = tbb::cache_aligned_allocator >, 128> >; tbb::concurrent_vector::size_type = long unsigned int]' ../../include/tbb/concurrent_vector.h:780:76: required from 'tbb::concurrent_vector::iterator tbb::concurrent_vector::grow_by(tbb::concurrent_vector::size_type) [with T = tbb::internal::padded >, 128>; A = tbb::cache_aligned_allocator >, 128> >; tbb::concurrent_vector::iterator = tbb::internal::vector_iterator >, 128>, tbb::cache_aligned_allocator >, 128> > >, tbb::internal::padded >, 128> >; tbb::concurrent_vector::size_type = long unsigned int]' ../../include/tbb/enumerable_thread_specific.h:804:36: required from 'static void* tbb::interface6::enumerable_thread_specific::create_local_by_copy(tbb::interface6::internal::ets_base<(tbb::ets_key_usage_type)1>&, void*) [with T = std::pair; Allocator = tbb::cache_aligned_allocator >; tbb::ets_key_usage_type ETS_key_type = (tbb::ets_key_usage_type)1]' ../../include/tbb/enumerable_thread_specific.h:948:13: required from 'void tbb::interface6::enumerable_thread_specific::internal_copy(const tbb::interface6::enumerable_thread_specific&) [with A2 = tbb::cache_aligned_allocator >; tbb::ets_key_usage_type C2 = (tbb::ets_key_usage_type)1; T = std::pair; Allocator = tbb::cache_aligned_allocator >; tbb::ets_key_usage_type ETS_key_type = (tbb::ets_key_usage_type)1]' ../../include/tbb/enumerable_thread_specific.h:981:13: required from 'tbb::interface6::enumerable_thread_specific::enumerable_thread_specific(const tbb::interface6::enumerable_thread_specific&) [with T = std::pair; Allocator = tbb::cache_aligned_allocator >; tbb::ets_key_usage_type ETS_key_type = (tbb::ets_key_usage_type)1]' ../../src/test/test_enumerable_thread_specific.cpp:1105:14: required from 'void ets_copy_assign_test(InitSrc, InitDst, Validator, const char*) [with T = std::pair; Allocator = tbb::cache_aligned_allocator; InitSrc = tbb::internal::stored_pack; InitDst = std::pair; Validator = Validator]' ../../src/test/test_enumerable_thread_specific.cpp:1176:55: required from 'void run_assign_and_copy_constructor_test(const char*, const char*) [with T = double; Allocator = tbb::cache_aligned_allocator]' ../../src/test/test_enumerable_thread_specific.cpp:1185:60: required from 'void run_assignment_and_copy_constructor_tests(const char*) [with Allocator = tbb::cache_aligned_allocator]' ../../src/test/test_enumerable_thread_specific.cpp:1353:107: required from here ../../include/tbb/concurrent_vector.h:77:20: warning: 'void* memset(void*, int, size_t)' clearing an object of non-trivial type 'struct tbb::internal::padded >, 128>'; use assignment or value-initialization instead [-Wclass-memaccess] std::memset( array, 0, n_of_elements * sizeof( T ) ); ~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ In file included from ../../include/tbb/tbb_machine.h:117, from ../../include/tbb/atomic.h:32, from ../../include/tbb/enumerable_thread_specific.h:24, from ../../src/test/test_enumerable_thread_specific.cpp:24: ../../include/tbb/tbb_stddef.h:257:8: note: 'struct tbb::internal::padded >, 128>' declared here struct padded : padded_base {}; ^~~~~~ In file included from ../../include/tbb/enumerable_thread_specific.h:25, from ../../src/test/test_enumerable_thread_specific.cpp:24: ../../include/tbb/concurrent_vector.h: In instantiation of 'void tbb::internal::handle_unconstructed_elements(T*, std::size_t) [with T = tbb::internal::padded >, 128>; std::size_t = long unsigned int]': ../../include/tbb/concurrent_vector.h:1123:56: required from 'tbb::concurrent_vector::internal_loop_guide::~internal_loop_guide() [with T = tbb::internal::padded >, 128>; A = tbb::cache_aligned_allocator >, 128> >]' ../../include/tbb/concurrent_vector.h:1262:25: required from 'static void tbb::concurrent_vector::initialize_array(void*, const void*, tbb::concurrent_vector::size_type) [with T = tbb::internal::padded >, 128>; A = tbb::cache_aligned_allocator >, 128> >; tbb::concurrent_vector::size_type = long unsigned int]' ../../include/tbb/concurrent_vector.h:780:76: required from 'tbb::concurrent_vector::iterator tbb::concurrent_vector::grow_by(tbb::concurrent_vector::size_type) [with T = tbb::internal::padded >, 128>; A = tbb::cache_aligned_allocator >, 128> >; tbb::concurrent_vector::iterator = tbb::internal::vector_iterator >, 128>, tbb::cache_aligned_allocator >, 128> > >, tbb::internal::padded >, 128> >; tbb::concurrent_vector::size_type = long unsigned int]' ../../include/tbb/enumerable_thread_specific.h:804:36: required from 'static void* tbb::interface6::enumerable_thread_specific::create_local_by_copy(tbb::interface6::internal::ets_base<(tbb::ets_key_usage_type)1>&, void*) [with T = minimal<127>; Allocator = tbb::cache_aligned_allocator >; tbb::ets_key_usage_type ETS_key_type = (tbb::ets_key_usage_type)1]' ../../include/tbb/enumerable_thread_specific.h:948:13: required from 'void tbb::interface6::enumerable_thread_specific::internal_copy(const tbb::interface6::enumerable_thread_specific&) [with A2 = tbb::cache_aligned_allocator >; tbb::ets_key_usage_type C2 = (tbb::ets_key_usage_type)1; T = minimal<127>; Allocator = tbb::cache_aligned_allocator >; tbb::ets_key_usage_type ETS_key_type = (tbb::ets_key_usage_type)1]' ../../include/tbb/enumerable_thread_specific.h:981:13: required from 'tbb::interface6::enumerable_thread_specific::enumerable_thread_specific(const tbb::interface6::enumerable_thread_specific&) [with T = minimal<127>; Allocator = tbb::cache_aligned_allocator >; tbb::ets_key_usage_type ETS_key_type = (tbb::ets_key_usage_type)1]' ../../src/test/test_enumerable_thread_specific.cpp:1105:14: required from 'void ets_copy_assign_test(InitSrc, InitDst, Validator, const char*) [with T = minimal<127>; Allocator = tbb::cache_aligned_allocator; InitSrc = minimal<127>; InitDst = minimal<127>; Validator = Validator, 3142>]' ../../src/test/test_enumerable_thread_specific.cpp:1165:39: required from 'void run_assign_and_copy_constructor_test(const char*, const char*) [with T = minimal<127>; Allocator = tbb::cache_aligned_allocator]' ../../src/test/test_enumerable_thread_specific.cpp:1187:75: required from 'void run_assignment_and_copy_constructor_tests(const char*) [with Allocator = tbb::cache_aligned_allocator]' ../../src/test/test_enumerable_thread_specific.cpp:1353:107: required from here ../../include/tbb/concurrent_vector.h:77:20: warning: 'void* memset(void*, int, size_t)' clearing an object of non-trivial type 'struct tbb::internal::padded >, 128>'; use assignment or value-initialization instead [-Wclass-memaccess] std::memset( array, 0, n_of_elements * sizeof( T ) ); ~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ In file included from ../../include/tbb/tbb_machine.h:117, from ../../include/tbb/atomic.h:32, from ../../include/tbb/enumerable_thread_specific.h:24, from ../../src/test/test_enumerable_thread_specific.cpp:24: ../../include/tbb/tbb_stddef.h:257:8: note: 'struct tbb::internal::padded >, 128>' declared here struct padded : padded_base {}; ^~~~~~ In file included from ../../include/tbb/enumerable_thread_specific.h:25, from ../../src/test/test_enumerable_thread_specific.cpp:24: ../../include/tbb/concurrent_vector.h: In instantiation of 'void tbb::internal::handle_unconstructed_elements(T*, std::size_t) [with T = tbb::internal::padded > >, 128>; std::size_t = long unsigned int]': ../../include/tbb/concurrent_vector.h:1123:56: required from 'tbb::concurrent_vector::internal_loop_guide::~internal_loop_guide() [with T = tbb::internal::padded > >, 128>; A = tbb::cache_aligned_allocator > >, 128> >]' ../../include/tbb/concurrent_vector.h:1262:25: required from 'static void tbb::concurrent_vector::initialize_array(void*, const void*, tbb::concurrent_vector::size_type) [with T = tbb::internal::padded > >, 128>; A = tbb::cache_aligned_allocator > >, 128> >; tbb::concurrent_vector::size_type = long unsigned int]' ../../include/tbb/concurrent_vector.h:780:76: required from 'tbb::concurrent_vector::iterator tbb::concurrent_vector::grow_by(tbb::concurrent_vector::size_type) [with T = tbb::internal::padded > >, 128>; A = tbb::cache_aligned_allocator > >, 128> >; tbb::concurrent_vector::iterator = tbb::internal::vector_iterator > >, 128>, tbb::cache_aligned_allocator > >, 128> > >, tbb::internal::padded > >, 128> >; tbb::concurrent_vector::size_type = long unsigned int]' ../../include/tbb/enumerable_thread_specific.h:804:36: required from 'static void* tbb::interface6::enumerable_thread_specific::create_local_by_copy(tbb::interface6::internal::ets_base<(tbb::ets_key_usage_type)1>&, void*) [with T = std::pair >; Allocator = tbb::cache_aligned_allocator > >; tbb::ets_key_usage_type ETS_key_type = (tbb::ets_key_usage_type)1]' ../../include/tbb/enumerable_thread_specific.h:948:13: required from 'void tbb::interface6::enumerable_thread_specific::internal_copy(const tbb::interface6::enumerable_thread_specific&) [with A2 = tbb::cache_aligned_allocator > >; tbb::ets_key_usage_type C2 = (tbb::ets_key_usage_type)1; T = std::pair >; Allocator = tbb::cache_aligned_allocator > >; tbb::ets_key_usage_type ETS_key_type = (tbb::ets_key_usage_type)1]' ../../include/tbb/enumerable_thread_specific.h:981:13: required from 'tbb::interface6::enumerable_thread_specific::enumerable_thread_specific(const tbb::interface6::enumerable_thread_specific&) [with T = std::pair >; Allocator = tbb::cache_aligned_allocator > >; tbb::ets_key_usage_type ETS_key_type = (tbb::ets_key_usage_type)1]' ../../src/test/test_enumerable_thread_specific.cpp:1105:14: required from 'void ets_copy_assign_test(InitSrc, InitDst, Validator, const char*) [with T = std::pair >; Allocator = tbb::cache_aligned_allocator; InitSrc = tbb::internal::stored_pack&>; InitDst = std::pair >; Validator = Validator, 3142>]' ../../src/test/test_enumerable_thread_specific.cpp:1176:55: required from 'void run_assign_and_copy_constructor_test(const char*, const char*) [with T = minimal<127>; Allocator = tbb::cache_aligned_allocator]' ../../src/test/test_enumerable_thread_specific.cpp:1187:75: required from 'void run_assignment_and_copy_constructor_tests(const char*) [with Allocator = tbb::cache_aligned_allocator]' ../../src/test/test_enumerable_thread_specific.cpp:1353:107: required from here ../../include/tbb/concurrent_vector.h:77:20: warning: 'void* memset(void*, int, size_t)' clearing an object of non-trivial type 'struct tbb::internal::padded > >, 128>'; use assignment or value-initialization instead [-Wclass-memaccess] std::memset( array, 0, n_of_elements * sizeof( T ) ); ~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ In file included from ../../include/tbb/tbb_machine.h:117, from ../../include/tbb/atomic.h:32, from ../../include/tbb/enumerable_thread_specific.h:24, from ../../src/test/test_enumerable_thread_specific.cpp:24: ../../include/tbb/tbb_stddef.h:257:8: note: 'struct tbb::internal::padded > >, 128>' declared here struct padded : padded_base {}; ^~~~~~ In file included from ../../include/tbb/enumerable_thread_specific.h:25, from ../../src/test/test_enumerable_thread_specific.cpp:24: ../../include/tbb/concurrent_vector.h: In instantiation of 'void tbb::internal::handle_unconstructed_elements(T*, std::size_t) [with T = tbb::internal::padded > >, 128>; std::size_t = long unsigned int]': ../../include/tbb/concurrent_vector.h:1123:56: required from 'tbb::concurrent_vector::internal_loop_guide::~internal_loop_guide() [with T = tbb::internal::padded > >, 128>; A = tbb::cache_aligned_allocator > >, 128> >]' ../../include/tbb/concurrent_vector.h:1262:25: required from 'static void tbb::concurrent_vector::initialize_array(void*, const void*, tbb::concurrent_vector::size_type) [with T = tbb::internal::padded > >, 128>; A = tbb::cache_aligned_allocator > >, 128> >; tbb::concurrent_vector::size_type = long unsigned int]' ../../include/tbb/concurrent_vector.h:780:76: required from 'tbb::concurrent_vector::iterator tbb::concurrent_vector::grow_by(tbb::concurrent_vector::size_type) [with T = tbb::internal::padded > >, 128>; A = tbb::cache_aligned_allocator > >, 128> >; tbb::concurrent_vector::iterator = tbb::internal::vector_iterator > >, 128>, tbb::cache_aligned_allocator > >, 128> > >, tbb::internal::padded > >, 128> >; tbb::concurrent_vector::size_type = long unsigned int]' ../../include/tbb/enumerable_thread_specific.h:804:36: required from 'static void* tbb::interface6::enumerable_thread_specific::create_local_by_copy(tbb::interface6::internal::ets_base<(tbb::ets_key_usage_type)1>&, void*) [with T = std::pair >; Allocator = tbb::cache_aligned_allocator > >; tbb::ets_key_usage_type ETS_key_type = (tbb::ets_key_usage_type)1]' ../../include/tbb/enumerable_thread_specific.h:948:13: required from 'void tbb::interface6::enumerable_thread_specific::internal_copy(const tbb::interface6::enumerable_thread_specific&) [with A2 = tbb::cache_aligned_allocator > >; tbb::ets_key_usage_type C2 = (tbb::ets_key_usage_type)1; T = std::pair >; Allocator = tbb::cache_aligned_allocator > >; tbb::ets_key_usage_type ETS_key_type = (tbb::ets_key_usage_type)1]' ../../include/tbb/enumerable_thread_specific.h:981:13: required from 'tbb::interface6::enumerable_thread_specific::enumerable_thread_specific(const tbb::interface6::enumerable_thread_specific&) [with T = std::pair >; Allocator = tbb::cache_aligned_allocator > >; tbb::ets_key_usage_type ETS_key_type = (tbb::ets_key_usage_type)1]' ../../src/test/test_enumerable_thread_specific.cpp:1105:14: required from 'void ets_copy_assign_test(InitSrc, InitDst, Validator, const char*) [with T = std::pair >; Allocator = tbb::cache_aligned_allocator; InitSrc = tbb::internal::stored_pack&>; InitDst = std::pair >; Validator = Validator, 3142>]' ../../src/test/test_enumerable_thread_specific.cpp:1176:55: required from 'void run_assign_and_copy_constructor_test(const char*, const char*) [with T = minimal<>; Allocator = tbb::cache_aligned_allocator]' ../../src/test/test_enumerable_thread_specific.cpp:1188:73: required from 'void run_assignment_and_copy_constructor_tests(const char*) [with Allocator = tbb::cache_aligned_allocator]' ../../src/test/test_enumerable_thread_specific.cpp:1353:107: required from here ../../include/tbb/concurrent_vector.h:77:20: warning: 'void* memset(void*, int, size_t)' clearing an object of non-trivial type 'struct tbb::internal::padded > >, 128>'; use assignment or value-initialization instead [-Wclass-memaccess] std::memset( array, 0, n_of_elements * sizeof( T ) ); ~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ In file included from ../../include/tbb/tbb_machine.h:117, from ../../include/tbb/atomic.h:32, from ../../include/tbb/enumerable_thread_specific.h:24, from ../../src/test/test_enumerable_thread_specific.cpp:24: ../../include/tbb/tbb_stddef.h:257:8: note: 'struct tbb::internal::padded > >, 128>' declared here struct padded : padded_base {}; ^~~~~~ In file included from ../../include/tbb/enumerable_thread_specific.h:25, from ../../src/test/test_enumerable_thread_specific.cpp:24: ../../include/tbb/concurrent_vector.h: In instantiation of 'void tbb::internal::handle_unconstructed_elements(T*, std::size_t) [with T = tbb::internal::padded >, 128>; std::size_t = long unsigned int]': ../../include/tbb/concurrent_vector.h:1123:56: required from 'tbb::concurrent_vector::internal_loop_guide::~internal_loop_guide() [with T = tbb::internal::padded >, 128>; A = tbb::cache_aligned_allocator >, 128> >]' ../../include/tbb/concurrent_vector.h:1262:25: required from 'static void tbb::concurrent_vector::initialize_array(void*, const void*, tbb::concurrent_vector::size_type) [with T = tbb::internal::padded >, 128>; A = tbb::cache_aligned_allocator >, 128> >; tbb::concurrent_vector::size_type = long unsigned int]' ../../include/tbb/concurrent_vector.h:780:76: required from 'tbb::concurrent_vector::iterator tbb::concurrent_vector::grow_by(tbb::concurrent_vector::size_type) [with T = tbb::internal::padded >, 128>; A = tbb::cache_aligned_allocator >, 128> >; tbb::concurrent_vector::iterator = tbb::internal::vector_iterator >, 128>, tbb::cache_aligned_allocator >, 128> > >, tbb::internal::padded >, 128> >; tbb::concurrent_vector::size_type = long unsigned int]' ../../include/tbb/enumerable_thread_specific.h:804:36: required from 'static void* tbb::interface6::enumerable_thread_specific::create_local_by_copy(tbb::interface6::internal::ets_base<(tbb::ets_key_usage_type)1>&, void*) [with T = minimal<129>; Allocator = tbb::cache_aligned_allocator >; tbb::ets_key_usage_type ETS_key_type = (tbb::ets_key_usage_type)1]' ../../include/tbb/enumerable_thread_specific.h:948:13: required from 'void tbb::interface6::enumerable_thread_specific::internal_copy(const tbb::interface6::enumerable_thread_specific&) [with A2 = tbb::cache_aligned_allocator >; tbb::ets_key_usage_type C2 = (tbb::ets_key_usage_type)1; T = minimal<129>; Allocator = tbb::cache_aligned_allocator >; tbb::ets_key_usage_type ETS_key_type = (tbb::ets_key_usage_type)1]' ../../include/tbb/enumerable_thread_specific.h:981:13: required from 'tbb::interface6::enumerable_thread_specific::enumerable_thread_specific(const tbb::interface6::enumerable_thread_specific&) [with T = minimal<129>; Allocator = tbb::cache_aligned_allocator >; tbb::ets_key_usage_type ETS_key_type = (tbb::ets_key_usage_type)1]' ../../src/test/test_enumerable_thread_specific.cpp:1105:14: required from 'void ets_copy_assign_test(InitSrc, InitDst, Validator, const char*) [with T = minimal<129>; Allocator = tbb::cache_aligned_allocator; InitSrc = minimal<129>; InitDst = minimal<129>; Validator = Validator, 3142>]' ../../src/test/test_enumerable_thread_specific.cpp:1165:39: required from 'void run_assign_and_copy_constructor_test(const char*, const char*) [with T = minimal<129>; Allocator = tbb::cache_aligned_allocator]' ../../src/test/test_enumerable_thread_specific.cpp:1189:75: required from 'void run_assignment_and_copy_constructor_tests(const char*) [with Allocator = tbb::cache_aligned_allocator]' ../../src/test/test_enumerable_thread_specific.cpp:1353:107: required from here ../../include/tbb/concurrent_vector.h:77:20: warning: 'void* memset(void*, int, size_t)' clearing an object of non-trivial type 'struct tbb::internal::padded >, 128>'; use assignment or value-initialization instead [-Wclass-memaccess] std::memset( array, 0, n_of_elements * sizeof( T ) ); ~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ In file included from ../../include/tbb/tbb_machine.h:117, from ../../include/tbb/atomic.h:32, from ../../include/tbb/enumerable_thread_specific.h:24, from ../../src/test/test_enumerable_thread_specific.cpp:24: ../../include/tbb/tbb_stddef.h:257:8: note: 'struct tbb::internal::padded >, 128>' declared here struct padded : padded_base {}; ^~~~~~ In file included from ../../include/tbb/enumerable_thread_specific.h:25, from ../../src/test/test_enumerable_thread_specific.cpp:24: ../../include/tbb/concurrent_vector.h: In instantiation of 'void tbb::internal::handle_unconstructed_elements(T*, std::size_t) [with T = tbb::internal::padded > >, 128>; std::size_t = long unsigned int]': ../../include/tbb/concurrent_vector.h:1123:56: required from 'tbb::concurrent_vector::internal_loop_guide::~internal_loop_guide() [with T = tbb::internal::padded > >, 128>; A = tbb::cache_aligned_allocator > >, 128> >]' ../../include/tbb/concurrent_vector.h:1262:25: required from 'static void tbb::concurrent_vector::initialize_array(void*, const void*, tbb::concurrent_vector::size_type) [with T = tbb::internal::padded > >, 128>; A = tbb::cache_aligned_allocator > >, 128> >; tbb::concurrent_vector::size_type = long unsigned int]' ../../include/tbb/concurrent_vector.h:780:76: required from 'tbb::concurrent_vector::iterator tbb::concurrent_vector::grow_by(tbb::concurrent_vector::size_type) [with T = tbb::internal::padded > >, 128>; A = tbb::cache_aligned_allocator > >, 128> >; tbb::concurrent_vector::iterator = tbb::internal::vector_iterator > >, 128>, tbb::cache_aligned_allocator > >, 128> > >, tbb::internal::padded > >, 128> >; tbb::concurrent_vector::size_type = long unsigned int]' ../../include/tbb/enumerable_thread_specific.h:804:36: required from 'static void* tbb::interface6::enumerable_thread_specific::create_local_by_copy(tbb::interface6::internal::ets_base<(tbb::ets_key_usage_type)1>&, void*) [with T = std::pair >; Allocator = tbb::cache_aligned_allocator > >; tbb::ets_key_usage_type ETS_key_type = (tbb::ets_key_usage_type)1]' ../../include/tbb/enumerable_thread_specific.h:948:13: required from 'void tbb::interface6::enumerable_thread_specific::internal_copy(const tbb::interface6::enumerable_thread_specific&) [with A2 = tbb::cache_aligned_allocator > >; tbb::ets_key_usage_type C2 = (tbb::ets_key_usage_type)1; T = std::pair >; Allocator = tbb::cache_aligned_allocator > >; tbb::ets_key_usage_type ETS_key_type = (tbb::ets_key_usage_type)1]' ../../include/tbb/enumerable_thread_specific.h:981:13: required from 'tbb::interface6::enumerable_thread_specific::enumerable_thread_specific(const tbb::interface6::enumerable_thread_specific&) [with T = std::pair >; Allocator = tbb::cache_aligned_allocator > >; tbb::ets_key_usage_type ETS_key_type = (tbb::ets_key_usage_type)1]' ../../src/test/test_enumerable_thread_specific.cpp:1105:14: required from 'void ets_copy_assign_test(InitSrc, InitDst, Validator, const char*) [with T = std::pair >; Allocator = tbb::cache_aligned_allocator; InitSrc = tbb::internal::stored_pack&>; InitDst = std::pair >; Validator = Validator, 3142>]' ../../src/test/test_enumerable_thread_specific.cpp:1176:55: required from 'void run_assign_and_copy_constructor_test(const char*, const char*) [with T = minimal<129>; Allocator = tbb::cache_aligned_allocator]' ../../src/test/test_enumerable_thread_specific.cpp:1189:75: required from 'void run_assignment_and_copy_constructor_tests(const char*) [with Allocator = tbb::cache_aligned_allocator]' ../../src/test/test_enumerable_thread_specific.cpp:1353:107: required from here ../../include/tbb/concurrent_vector.h:77:20: warning: 'void* memset(void*, int, size_t)' clearing an object of non-trivial type 'struct tbb::internal::padded > >, 128>'; use assignment or value-initialization instead [-Wclass-memaccess] std::memset( array, 0, n_of_elements * sizeof( T ) ); ~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ In file included from ../../include/tbb/tbb_machine.h:117, from ../../include/tbb/atomic.h:32, from ../../include/tbb/enumerable_thread_specific.h:24, from ../../src/test/test_enumerable_thread_specific.cpp:24: ../../include/tbb/tbb_stddef.h:257:8: note: 'struct tbb::internal::padded > >, 128>' declared here struct padded : padded_base {}; ^~~~~~ In file included from ../../include/tbb/enumerable_thread_specific.h:25, from ../../src/test/test_enumerable_thread_specific.cpp:24: ../../include/tbb/concurrent_vector.h: In instantiation of 'void tbb::internal::handle_unconstructed_elements(T*, std::size_t) [with T = tbb::internal::padded, 128>; std::size_t = long unsigned int]': ../../include/tbb/concurrent_vector.h:1123:56: required from 'tbb::concurrent_vector::internal_loop_guide::~internal_loop_guide() [with T = tbb::internal::padded, 128>; A = tbb::cache_aligned_allocator, 128> >]' ../../include/tbb/concurrent_vector.h:1262:25: required from 'static void tbb::concurrent_vector::initialize_array(void*, const void*, tbb::concurrent_vector::size_type) [with T = tbb::internal::padded, 128>; A = tbb::cache_aligned_allocator, 128> >; tbb::concurrent_vector::size_type = long unsigned int]' ../../include/tbb/concurrent_vector.h:780:76: required from 'tbb::concurrent_vector::iterator tbb::concurrent_vector::grow_by(tbb::concurrent_vector::size_type) [with T = tbb::internal::padded, 128>; A = tbb::cache_aligned_allocator, 128> >; tbb::concurrent_vector::iterator = tbb::internal::vector_iterator, 128>, tbb::cache_aligned_allocator, 128> > >, tbb::internal::padded, 128> >; tbb::concurrent_vector::size_type = long unsigned int]' ../../include/tbb/enumerable_thread_specific.h:804:36: required from 'static void* tbb::interface6::enumerable_thread_specific::create_local_by_copy(tbb::interface6::internal::ets_base<(tbb::ets_key_usage_type)1>&, void*) [with T = ThrowingConstructor; Allocator = tbb::cache_aligned_allocator; tbb::ets_key_usage_type ETS_key_type = (tbb::ets_key_usage_type)0]' ../../include/tbb/enumerable_thread_specific.h:948:13: required from 'void tbb::interface6::enumerable_thread_specific::internal_copy(const tbb::interface6::enumerable_thread_specific&) [with A2 = tbb::cache_aligned_allocator; tbb::ets_key_usage_type C2 = (tbb::ets_key_usage_type)1; T = ThrowingConstructor; Allocator = tbb::cache_aligned_allocator; tbb::ets_key_usage_type ETS_key_type = (tbb::ets_key_usage_type)0]' ../../include/tbb/enumerable_thread_specific.h:987:13: required from 'tbb::interface6::enumerable_thread_specific::enumerable_thread_specific(const tbb::interface6::enumerable_thread_specific&) [with Alloc = tbb::cache_aligned_allocator; tbb::ets_key_usage_type Cachetype = (tbb::ets_key_usage_type)1; T = ThrowingConstructor; Allocator = tbb::cache_aligned_allocator; tbb::ets_key_usage_type ETS_key_type = (tbb::ets_key_usage_type)0]' ../../src/test/test_enumerable_thread_specific.cpp:415:33: required from 'void run_parallel_scalar_tests_nocombine(const char*, const char*) [with T = ThrowingConstructor; Allocator = tbb::cache_aligned_allocator]' ../../src/test/test_enumerable_thread_specific.cpp:494:61: required from 'void run_parallel_scalar_tests(const char*, const char*) [with T = ThrowingConstructor; Allocator = tbb::cache_aligned_allocator]' ../../src/test/test_enumerable_thread_specific.cpp:808:62: required from 'void run_parallel_tests(const char*) [with Allocator = tbb::cache_aligned_allocator]' ../../src/test/test_enumerable_thread_specific.cpp:1365:88: required from here ../../include/tbb/concurrent_vector.h:77:20: warning: 'void* memset(void*, int, size_t)' clearing an object of non-trivial type 'struct tbb::internal::padded, 128>'; use assignment or value-initialization instead [-Wclass-memaccess] std::memset( array, 0, n_of_elements * sizeof( T ) ); ~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ In file included from ../../include/tbb/tbb_machine.h:117, from ../../include/tbb/atomic.h:32, from ../../include/tbb/enumerable_thread_specific.h:24, from ../../src/test/test_enumerable_thread_specific.cpp:24: ../../include/tbb/tbb_stddef.h:257:8: note: 'struct tbb::internal::padded, 128>' declared here struct padded : padded_base {}; ^~~~~~ In file included from ../../include/tbb/enumerable_thread_specific.h:25, from ../../src/test/test_enumerable_thread_specific.cpp:24: ../../include/tbb/concurrent_vector.h: In instantiation of 'void tbb::internal::handle_unconstructed_elements(T*, std::size_t) [with T = tbb::internal::padded, 128>; std::size_t = long unsigned int]': ../../include/tbb/concurrent_vector.h:1123:56: required from 'tbb::concurrent_vector::internal_loop_guide::~internal_loop_guide() [with T = tbb::internal::padded, 128>; A = tbb::tbb_allocator, 128> >]' ../../include/tbb/concurrent_vector.h:1262:25: required from 'static void tbb::concurrent_vector::initialize_array(void*, const void*, tbb::concurrent_vector::size_type) [with T = tbb::internal::padded, 128>; A = tbb::tbb_allocator, 128> >; tbb::concurrent_vector::size_type = long unsigned int]' ../../include/tbb/concurrent_vector.h:780:76: required from 'tbb::concurrent_vector::iterator tbb::concurrent_vector::grow_by(tbb::concurrent_vector::size_type) [with T = tbb::internal::padded, 128>; A = tbb::tbb_allocator, 128> >; tbb::concurrent_vector::iterator = tbb::internal::vector_iterator, 128>, tbb::tbb_allocator, 128> > >, tbb::internal::padded, 128> >; tbb::concurrent_vector::size_type = long unsigned int]' ../../include/tbb/enumerable_thread_specific.h:797:36: required from 'void* tbb::interface6::enumerable_thread_specific::create_local() [with T = HasNoDefaultConstructor; Allocator = tbb::tbb_allocator; tbb::ets_key_usage_type ETS_key_type = (tbb::ets_key_usage_type)1]' ../../include/tbb/enumerable_thread_specific.h:796:15: required from here ../../include/tbb/concurrent_vector.h:77:20: warning: 'void* memset(void*, int, size_t)' clearing an object of non-trivial type 'struct tbb::internal::padded, 128>'; use assignment or value-initialization instead [-Wclass-memaccess] std::memset( array, 0, n_of_elements * sizeof( T ) ); ~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ In file included from ../../include/tbb/tbb_machine.h:117, from ../../include/tbb/atomic.h:32, from ../../include/tbb/enumerable_thread_specific.h:24, from ../../src/test/test_enumerable_thread_specific.cpp:24: ../../include/tbb/tbb_stddef.h:257:8: note: 'struct tbb::internal::padded, 128>' declared here struct padded : padded_base {}; ^~~~~~ In file included from ../../include/tbb/enumerable_thread_specific.h:25, from ../../src/test/test_enumerable_thread_specific.cpp:24: ../../include/tbb/concurrent_vector.h: In instantiation of 'void tbb::internal::handle_unconstructed_elements(T*, std::size_t) [with T = tbb::internal::padded, 128>; std::size_t = long unsigned int]': ../../include/tbb/concurrent_vector.h:1123:56: required from 'tbb::concurrent_vector::internal_loop_guide::~internal_loop_guide() [with T = tbb::internal::padded, 128>; A = tbb::tbb_allocator, 128> >]' ../../include/tbb/concurrent_vector.h:1262:25: required from 'static void tbb::concurrent_vector::initialize_array(void*, const void*, tbb::concurrent_vector::size_type) [with T = tbb::internal::padded, 128>; A = tbb::tbb_allocator, 128> >; tbb::concurrent_vector::size_type = long unsigned int]' ../../include/tbb/concurrent_vector.h:780:76: required from 'tbb::concurrent_vector::iterator tbb::concurrent_vector::grow_by(tbb::concurrent_vector::size_type) [with T = tbb::internal::padded, 128>; A = tbb::tbb_allocator, 128> >; tbb::concurrent_vector::iterator = tbb::internal::vector_iterator, 128>, tbb::tbb_allocator, 128> > >, tbb::internal::padded, 128> >; tbb::concurrent_vector::size_type = long unsigned int]' ../../include/tbb/enumerable_thread_specific.h:797:36: required from 'void* tbb::interface6::enumerable_thread_specific::create_local() [with T = NoCopy; Allocator = tbb::tbb_allocator; tbb::ets_key_usage_type ETS_key_type = (tbb::ets_key_usage_type)1]' ../../include/tbb/enumerable_thread_specific.h:796:15: required from here ../../include/tbb/concurrent_vector.h:77:20: warning: 'void* memset(void*, int, size_t)' clearing an object of non-trivial type 'struct tbb::internal::padded, 128>'; use assignment or value-initialization instead [-Wclass-memaccess] std::memset( array, 0, n_of_elements * sizeof( T ) ); ~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ In file included from ../../include/tbb/tbb_machine.h:117, from ../../include/tbb/atomic.h:32, from ../../include/tbb/enumerable_thread_specific.h:24, from ../../src/test/test_enumerable_thread_specific.cpp:24: ../../include/tbb/tbb_stddef.h:257:8: note: 'struct tbb::internal::padded, 128>' declared here struct padded : padded_base {}; ^~~~~~ g++ -o test_enumerable_thread_specific.exe -O2 -g -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -fexceptions -fstack-protector-strong -grecord-gcc-switches -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -mcpu=power8 -mtune=power8 -funwind-tables -fstack-clash-protection -g -O2 -DUSE_PTHREAD -DTEST_USES_TBB=1 -Wall -Wshadow -Wcast-qual -Woverloaded-virtual -Wnon-virtual-dtor -Wextra -O2 -g -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -fexceptions -fstack-protector-strong -grecord-gcc-switches -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -mcpu=power8 -mtune=power8 -funwind-tables -fstack-clash-protection test_enumerable_thread_specific.o libtbb.so -lpthread -lrt -Wl,-rpath-link=. -rdynamic g++ -o test_handle_perror.o -c -MMD -O2 -g -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -fexceptions -fstack-protector-strong -grecord-gcc-switches -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -mcpu=power8 -mtune=power8 -funwind-tables -fstack-clash-protection -g -O2 -DUSE_PTHREAD -DTEST_USES_TBB=1 -Wall -Wshadow -Wcast-qual -Woverloaded-virtual -Wnon-virtual-dtor -Wextra -O2 -g -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -fexceptions -fstack-protector-strong -grecord-gcc-switches -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -mcpu=power8 -mtune=power8 -funwind-tables -fstack-clash-protection -std=c++14 -I../../src -I../../src/rml/include -I../../include -I. -include ../../src/test/harness_preload.h ../../src/test/test_handle_perror.cpp In file included from ../../include/tbb/tbb_machine.h:243, from ../../src/test/../tbb/tbb_misc.h:25, from ../../src/test/test_handle_perror.cpp:27: ../../include/tbb/machine/mac_ppc.h: In function 'int32_t __TBB_machine_cmpswp4(volatile void*, int32_t, int32_t)': ../../include/tbb/machine/mac_ppc.h:91:46: warning: cast from type 'volatile void*' to type 'int32_t*' {aka 'int*'} casts away qualifiers [-Wcast-qual] , "+m"(* (int32_t*) ptr) /* redundant with "memory" */ ^~~ ../../include/tbb/machine/mac_ppc.h: In function 'int64_t __TBB_machine_cmpswp8(volatile void*, int64_t, int64_t)': ../../include/tbb/machine/mac_ppc.h:116:46: warning: cast from type 'volatile void*' to type 'int64_t*' {aka 'long int*'} casts away qualifiers [-Wcast-qual] , "+m"(* (int64_t*) ptr) /* redundant with "memory" */ ^~~ g++ -o test_handle_perror.exe -O2 -g -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -fexceptions -fstack-protector-strong -grecord-gcc-switches -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -mcpu=power8 -mtune=power8 -funwind-tables -fstack-clash-protection -g -O2 -DUSE_PTHREAD -DTEST_USES_TBB=1 -Wall -Wshadow -Wcast-qual -Woverloaded-virtual -Wnon-virtual-dtor -Wextra -O2 -g -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -fexceptions -fstack-protector-strong -grecord-gcc-switches -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -mcpu=power8 -mtune=power8 -funwind-tables -fstack-clash-protection test_handle_perror.o libtbb.so -lpthread -lrt -Wl,-rpath-link=. -rdynamic g++ -o test_halt.o -c -MMD -O2 -g -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -fexceptions -fstack-protector-strong -grecord-gcc-switches -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -mcpu=power8 -mtune=power8 -funwind-tables -fstack-clash-protection -g -O2 -DUSE_PTHREAD -DTEST_USES_TBB=1 -Wall -Wshadow -Wcast-qual -Woverloaded-virtual -Wnon-virtual-dtor -Wextra -O2 -g -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -fexceptions -fstack-protector-strong -grecord-gcc-switches -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -mcpu=power8 -mtune=power8 -funwind-tables -fstack-clash-protection -std=c++14 -I../../src -I../../src/rml/include -I../../include -I. -include ../../src/test/harness_preload.h ../../src/test/test_halt.cpp In file included from ../../include/tbb/tbb_machine.h:243, from ../../include/tbb/task.h:25, from ../../src/test/test_halt.cpp:29: ../../include/tbb/machine/mac_ppc.h: In function 'int32_t __TBB_machine_cmpswp4(volatile void*, int32_t, int32_t)': ../../include/tbb/machine/mac_ppc.h:91:46: warning: cast from type 'volatile void*' to type 'int32_t*' {aka 'int*'} casts away qualifiers [-Wcast-qual] , "+m"(* (int32_t*) ptr) /* redundant with "memory" */ ^~~ ../../include/tbb/machine/mac_ppc.h: In function 'int64_t __TBB_machine_cmpswp8(volatile void*, int64_t, int64_t)': ../../include/tbb/machine/mac_ppc.h:116:46: warning: cast from type 'volatile void*' to type 'int64_t*' {aka 'long int*'} casts away qualifiers [-Wcast-qual] , "+m"(* (int64_t*) ptr) /* redundant with "memory" */ ^~~ g++ -o test_halt.exe -O2 -g -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -fexceptions -fstack-protector-strong -grecord-gcc-switches -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -mcpu=power8 -mtune=power8 -funwind-tables -fstack-clash-protection -g -O2 -DUSE_PTHREAD -DTEST_USES_TBB=1 -Wall -Wshadow -Wcast-qual -Woverloaded-virtual -Wnon-virtual-dtor -Wextra -O2 -g -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -fexceptions -fstack-protector-strong -grecord-gcc-switches -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -mcpu=power8 -mtune=power8 -funwind-tables -fstack-clash-protection test_halt.o libtbb.so -lpthread -lrt -Wl,-rpath-link=. -rdynamic g++ -o test_mutex.o -c -MMD -O2 -g -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -fexceptions -fstack-protector-strong -grecord-gcc-switches -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -mcpu=power8 -mtune=power8 -funwind-tables -fstack-clash-protection -g -O2 -DUSE_PTHREAD -DTEST_USES_TBB=1 -Wall -Wshadow -Wcast-qual -Woverloaded-virtual -Wnon-virtual-dtor -Wextra -O2 -g -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -fexceptions -fstack-protector-strong -grecord-gcc-switches -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -mcpu=power8 -mtune=power8 -funwind-tables -fstack-clash-protection -std=c++14 -I../../src -I../../src/rml/include -I../../include -I. -include ../../src/test/harness_preload.h ../../src/test/test_mutex.cpp In file included from ../../include/tbb/tbb_machine.h:243, from ../../include/tbb/aligned_space.h:25, from ../../include/tbb/spin_mutex.h:26, from ../../src/test/test_mutex.cpp:31: ../../include/tbb/machine/mac_ppc.h: In function 'int32_t __TBB_machine_cmpswp4(volatile void*, int32_t, int32_t)': ../../include/tbb/machine/mac_ppc.h:91:46: warning: cast from type 'volatile void*' to type 'int32_t*' {aka 'int*'} casts away qualifiers [-Wcast-qual] , "+m"(* (int32_t*) ptr) /* redundant with "memory" */ ^~~ ../../include/tbb/machine/mac_ppc.h: In function 'int64_t __TBB_machine_cmpswp8(volatile void*, int64_t, int64_t)': ../../include/tbb/machine/mac_ppc.h:116:46: warning: cast from type 'volatile void*' to type 'int64_t*' {aka 'long int*'} casts away qualifiers [-Wcast-qual] , "+m"(* (int64_t*) ptr) /* redundant with "memory" */ ^~~ g++ -o test_mutex.exe -O2 -g -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -fexceptions -fstack-protector-strong -grecord-gcc-switches -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -mcpu=power8 -mtune=power8 -funwind-tables -fstack-clash-protection -g -O2 -DUSE_PTHREAD -DTEST_USES_TBB=1 -Wall -Wshadow -Wcast-qual -Woverloaded-virtual -Wnon-virtual-dtor -Wextra -O2 -g -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -fexceptions -fstack-protector-strong -grecord-gcc-switches -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -mcpu=power8 -mtune=power8 -funwind-tables -fstack-clash-protection test_mutex.o libtbb.so -lpthread -lrt -Wl,-rpath-link=. -rdynamic g++ -o test_mutex_native_threads.o -c -MMD -O2 -g -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -fexceptions -fstack-protector-strong -grecord-gcc-switches -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -mcpu=power8 -mtune=power8 -funwind-tables -fstack-clash-protection -g -O2 -DUSE_PTHREAD -DTEST_USES_TBB=1 -Wall -Wshadow -Wcast-qual -Woverloaded-virtual -Wnon-virtual-dtor -Wextra -O2 -g -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -fexceptions -fstack-protector-strong -grecord-gcc-switches -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -mcpu=power8 -mtune=power8 -funwind-tables -fstack-clash-protection -std=c++14 -I../../src -I../../src/rml/include -I../../include -I. -include ../../src/test/harness_preload.h ../../src/test/test_mutex_native_threads.cpp In file included from ../../include/tbb/tbb_machine.h:243, from ../../include/tbb/aligned_space.h:25, from ../../include/tbb/spin_mutex.h:26, from ../../src/test/test_mutex_native_threads.cpp:21: ../../include/tbb/machine/mac_ppc.h: In function 'int32_t __TBB_machine_cmpswp4(volatile void*, int32_t, int32_t)': ../../include/tbb/machine/mac_ppc.h:91:46: warning: cast from type 'volatile void*' to type 'int32_t*' {aka 'int*'} casts away qualifiers [-Wcast-qual] , "+m"(* (int32_t*) ptr) /* redundant with "memory" */ ^~~ ../../include/tbb/machine/mac_ppc.h: In function 'int64_t __TBB_machine_cmpswp8(volatile void*, int64_t, int64_t)': ../../include/tbb/machine/mac_ppc.h:116:46: warning: cast from type 'volatile void*' to type 'int64_t*' {aka 'long int*'} casts away qualifiers [-Wcast-qual] , "+m"(* (int64_t*) ptr) /* redundant with "memory" */ ^~~ g++ -o test_mutex_native_threads.exe -O2 -g -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -fexceptions -fstack-protector-strong -grecord-gcc-switches -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -mcpu=power8 -mtune=power8 -funwind-tables -fstack-clash-protection -g -O2 -DUSE_PTHREAD -DTEST_USES_TBB=1 -Wall -Wshadow -Wcast-qual -Woverloaded-virtual -Wnon-virtual-dtor -Wextra -O2 -g -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -fexceptions -fstack-protector-strong -grecord-gcc-switches -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -mcpu=power8 -mtune=power8 -funwind-tables -fstack-clash-protection test_mutex_native_threads.o libtbb.so -lpthread -lrt -Wl,-rpath-link=. -rdynamic g++ -o test_rwm_upgrade_downgrade.o -c -MMD -O2 -g -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -fexceptions -fstack-protector-strong -grecord-gcc-switches -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -mcpu=power8 -mtune=power8 -funwind-tables -fstack-clash-protection -g -O2 -DUSE_PTHREAD -DTEST_USES_TBB=1 -Wall -Wshadow -Wcast-qual -Woverloaded-virtual -Wnon-virtual-dtor -Wextra -O2 -g -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -fexceptions -fstack-protector-strong -grecord-gcc-switches -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -mcpu=power8 -mtune=power8 -funwind-tables -fstack-clash-protection -std=c++14 -I../../src -I../../src/rml/include -I../../include -I. -include ../../src/test/harness_preload.h ../../src/test/test_rwm_upgrade_downgrade.cpp In file included from ../../include/tbb/tbb_machine.h:243, from ../../include/tbb/atomic.h:32, from ../../include/tbb/queuing_rw_mutex.h:25, from ../../src/test/test_rwm_upgrade_downgrade.cpp:24: ../../include/tbb/machine/mac_ppc.h: In function 'int32_t __TBB_machine_cmpswp4(volatile void*, int32_t, int32_t)': ../../include/tbb/machine/mac_ppc.h:91:46: warning: cast from type 'volatile void*' to type 'int32_t*' {aka 'int*'} casts away qualifiers [-Wcast-qual] , "+m"(* (int32_t*) ptr) /* redundant with "memory" */ ^~~ ../../include/tbb/machine/mac_ppc.h: In function 'int64_t __TBB_machine_cmpswp8(volatile void*, int64_t, int64_t)': ../../include/tbb/machine/mac_ppc.h:116:46: warning: cast from type 'volatile void*' to type 'int64_t*' {aka 'long int*'} casts away qualifiers [-Wcast-qual] , "+m"(* (int64_t*) ptr) /* redundant with "memory" */ ^~~ g++ -o test_rwm_upgrade_downgrade.exe -O2 -g -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -fexceptions -fstack-protector-strong -grecord-gcc-switches -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -mcpu=power8 -mtune=power8 -funwind-tables -fstack-clash-protection -g -O2 -DUSE_PTHREAD -DTEST_USES_TBB=1 -Wall -Wshadow -Wcast-qual -Woverloaded-virtual -Wnon-virtual-dtor -Wextra -O2 -g -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -fexceptions -fstack-protector-strong -grecord-gcc-switches -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -mcpu=power8 -mtune=power8 -funwind-tables -fstack-clash-protection test_rwm_upgrade_downgrade.o libtbb.so -lpthread -lrt -Wl,-rpath-link=. -rdynamic g++ -o test_cache_aligned_allocator.o -c -MMD -O2 -g -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -fexceptions -fstack-protector-strong -grecord-gcc-switches -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -mcpu=power8 -mtune=power8 -funwind-tables -fstack-clash-protection -g -O2 -DUSE_PTHREAD -DTEST_USES_TBB=1 -Wall -Wshadow -Wcast-qual -Woverloaded-virtual -Wnon-virtual-dtor -Wextra -O2 -g -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -fexceptions -fstack-protector-strong -grecord-gcc-switches -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -mcpu=power8 -mtune=power8 -funwind-tables -fstack-clash-protection -std=c++14 -I../../src -I../../src/rml/include -I../../include -I. -include ../../src/test/harness_preload.h ../../src/test/test_cache_aligned_allocator.cpp ../../src/test/test_cache_aligned_allocator.cpp: In function 'void Test_NFS_Allocate_Throws()': ../../src/test/test_cache_aligned_allocator.cpp:57:19: warning: catching polymorphic type 'class std::bad_alloc' by value [-Wcatch-value=] } catch( std::bad_alloc ) { ^~~~~~~~~ In file included from ../../src/test/test_cache_aligned_allocator.cpp:28: ../../src/test/test_allocator.h: In instantiation of 'void TestBasic(A&) [with T = Foo; A = tbb::cache_aligned_allocator >]': ../../src/test/test_allocator.h:256:17: required from 'void Test(A&) [with U = Foo; A = tbb::cache_aligned_allocator >]' ../../src/test/test_allocator.h:272:23: required from 'int TestMain(const Allocator&) [with Allocator = tbb::cache_aligned_allocator]' ../../src/test/test_cache_aligned_allocator.cpp:74:64: required from here ../../src/test/test_allocator.h:174:7: warning: catching polymorphic type 'class std::bad_alloc' by value [-Wcatch-value=] } catch ( std::bad_alloc ) { ^~~~~ ../../src/test/test_allocator.h: In instantiation of 'void TestBasic(A&) [with T = Foo; A = tbb::cache_aligned_allocator >]': ../../src/test/test_allocator.h:257:38: required from 'void Test(A&) [with U = Foo; A = tbb::cache_aligned_allocator >]' ../../src/test/test_allocator.h:272:23: required from 'int TestMain(const Allocator&) [with Allocator = tbb::cache_aligned_allocator]' ../../src/test/test_cache_aligned_allocator.cpp:74:64: required from here ../../src/test/test_allocator.h:174:7: warning: catching polymorphic type 'class std::bad_alloc' by value [-Wcatch-value=] ../../src/test/test_allocator.h: In instantiation of 'void TestBasic(A&) [with T = Foo; A = tbb::cache_aligned_allocator >]': ../../src/test/test_allocator.h:256:17: required from 'void Test(A&) [with U = Foo; A = tbb::cache_aligned_allocator >]' ../../src/test/test_allocator.h:273:25: required from 'int TestMain(const Allocator&) [with Allocator = tbb::cache_aligned_allocator]' ../../src/test/test_cache_aligned_allocator.cpp:74:64: required from here ../../src/test/test_allocator.h:174:7: warning: catching polymorphic type 'class std::bad_alloc' by value [-Wcatch-value=] ../../src/test/test_allocator.h: In instantiation of 'void TestBasic(A&) [with T = Foo; A = tbb::cache_aligned_allocator >]': ../../src/test/test_allocator.h:257:38: required from 'void Test(A&) [with U = Foo; A = tbb::cache_aligned_allocator >]' ../../src/test/test_allocator.h:273:25: required from 'int TestMain(const Allocator&) [with Allocator = tbb::cache_aligned_allocator]' ../../src/test/test_cache_aligned_allocator.cpp:74:64: required from here ../../src/test/test_allocator.h:174:7: warning: catching polymorphic type 'class std::bad_alloc' by value [-Wcatch-value=] ../../src/test/test_allocator.h: In instantiation of 'void TestBasic(A&) [with T = Foo; A = tbb::tbb_allocator >]': ../../src/test/test_allocator.h:256:17: required from 'void Test(A&) [with U = Foo; A = tbb::tbb_allocator >]' ../../src/test/test_allocator.h:272:23: required from 'int TestMain(const Allocator&) [with Allocator = tbb::tbb_allocator]' ../../src/test/test_cache_aligned_allocator.cpp:75:51: required from here ../../src/test/test_allocator.h:174:7: warning: catching polymorphic type 'class std::bad_alloc' by value [-Wcatch-value=] ../../src/test/test_allocator.h: In instantiation of 'void TestBasic(A&) [with T = Foo; A = tbb::tbb_allocator >]': ../../src/test/test_allocator.h:257:38: required from 'void Test(A&) [with U = Foo; A = tbb::tbb_allocator >]' ../../src/test/test_allocator.h:272:23: required from 'int TestMain(const Allocator&) [with Allocator = tbb::tbb_allocator]' ../../src/test/test_cache_aligned_allocator.cpp:75:51: required from here ../../src/test/test_allocator.h:174:7: warning: catching polymorphic type 'class std::bad_alloc' by value [-Wcatch-value=] ../../src/test/test_allocator.h: In instantiation of 'void TestBasic(A&) [with T = Foo; A = tbb::tbb_allocator >]': ../../src/test/test_allocator.h:256:17: required from 'void Test(A&) [with U = Foo; A = tbb::tbb_allocator >]' ../../src/test/test_allocator.h:273:25: required from 'int TestMain(const Allocator&) [with Allocator = tbb::tbb_allocator]' ../../src/test/test_cache_aligned_allocator.cpp:75:51: required from here ../../src/test/test_allocator.h:174:7: warning: catching polymorphic type 'class std::bad_alloc' by value [-Wcatch-value=] ../../src/test/test_allocator.h: In instantiation of 'void TestBasic(A&) [with T = Foo; A = tbb::tbb_allocator >]': ../../src/test/test_allocator.h:257:38: required from 'void Test(A&) [with U = Foo; A = tbb::tbb_allocator >]' ../../src/test/test_allocator.h:273:25: required from 'int TestMain(const Allocator&) [with Allocator = tbb::tbb_allocator]' ../../src/test/test_cache_aligned_allocator.cpp:75:51: required from here ../../src/test/test_allocator.h:174:7: warning: catching polymorphic type 'class std::bad_alloc' by value [-Wcatch-value=] ../../src/test/test_allocator.h: In instantiation of 'void TestBasic(A&) [with T = Foo; A = tbb::zero_allocator, tbb::tbb_allocator>]': ../../src/test/test_allocator.h:256:17: required from 'void Test(A&) [with U = Foo; A = tbb::zero_allocator, tbb::tbb_allocator>]' ../../src/test/test_allocator.h:272:23: required from 'int TestMain(const Allocator&) [with Allocator = tbb::zero_allocator]' ../../src/test/test_cache_aligned_allocator.cpp:76:52: required from here ../../src/test/test_allocator.h:174:7: warning: catching polymorphic type 'class std::bad_alloc' by value [-Wcatch-value=] ../../src/test/test_allocator.h: In instantiation of 'void TestBasic(A&) [with T = Foo; A = tbb::zero_allocator, tbb::tbb_allocator>]': ../../src/test/test_allocator.h:257:38: required from 'void Test(A&) [with U = Foo; A = tbb::zero_allocator, tbb::tbb_allocator>]' ../../src/test/test_allocator.h:272:23: required from 'int TestMain(const Allocator&) [with Allocator = tbb::zero_allocator]' ../../src/test/test_cache_aligned_allocator.cpp:76:52: required from here ../../src/test/test_allocator.h:174:7: warning: catching polymorphic type 'class std::bad_alloc' by value [-Wcatch-value=] ../../src/test/test_allocator.h: In instantiation of 'void TestBasic(A&) [with T = Foo; A = tbb::zero_allocator, tbb::tbb_allocator>]': ../../src/test/test_allocator.h:256:17: required from 'void Test(A&) [with U = Foo; A = tbb::zero_allocator, tbb::tbb_allocator>]' ../../src/test/test_allocator.h:273:25: required from 'int TestMain(const Allocator&) [with Allocator = tbb::zero_allocator]' ../../src/test/test_cache_aligned_allocator.cpp:76:52: required from here ../../src/test/test_allocator.h:174:7: warning: catching polymorphic type 'class std::bad_alloc' by value [-Wcatch-value=] ../../src/test/test_allocator.h: In instantiation of 'void TestBasic(A&) [with T = Foo; A = tbb::zero_allocator, tbb::tbb_allocator>]': ../../src/test/test_allocator.h:257:38: required from 'void Test(A&) [with U = Foo; A = tbb::zero_allocator, tbb::tbb_allocator>]' ../../src/test/test_allocator.h:273:25: required from 'int TestMain(const Allocator&) [with Allocator = tbb::zero_allocator]' ../../src/test/test_cache_aligned_allocator.cpp:76:52: required from here ../../src/test/test_allocator.h:174:7: warning: catching polymorphic type 'class std::bad_alloc' by value [-Wcatch-value=] In file included from ../../src/test/test_cache_aligned_allocator.cpp:24: ../../include/tbb/tbb_allocator.h: In instantiation of 'tbb::zero_allocator::pointer tbb::zero_allocator::allocate(tbb::zero_allocator::size_type, const void*) [with T = Foo; Allocator = tbb::tbb_allocator; tbb::zero_allocator::pointer = Foo*; tbb::zero_allocator::size_type = long unsigned int]': ../../src/test/test_allocator.h:126:24: required from 'void TestBasic(A&) [with T = Foo; A = tbb::zero_allocator, tbb::tbb_allocator>]' ../../src/test/test_allocator.h:256:17: required from 'void Test(A&) [with U = Foo; A = tbb::zero_allocator, tbb::tbb_allocator>]' ../../src/test/test_allocator.h:272:23: required from 'int TestMain(const Allocator&) [with Allocator = tbb::zero_allocator]' ../../src/test/test_cache_aligned_allocator.cpp:76:52: required from here ../../include/tbb/tbb_allocator.h:177:20: warning: 'void* memset(void*, int, size_t)' clearing an object of non-trivial type 'tbb::tbb_allocator >::value_type' {aka 'struct Foo'}; use assignment or value-initialization instead [-Wclass-memaccess] std::memset( ptr, 0, n * sizeof(value_type) ); ~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ In file included from ../../src/test/test_cache_aligned_allocator.cpp:28: ../../src/test/test_allocator.h:43:8: note: 'tbb::tbb_allocator >::value_type' {aka 'struct Foo'} declared here struct Foo { ^~~ In file included from ../../src/test/test_cache_aligned_allocator.cpp:24: ../../include/tbb/tbb_allocator.h: In instantiation of 'tbb::zero_allocator::pointer tbb::zero_allocator::allocate(tbb::zero_allocator::size_type, const void*) [with T = std::pair, Foo >; Allocator = tbb::tbb_allocator; tbb::zero_allocator::pointer = std::pair, Foo >*; tbb::zero_allocator::size_type = long unsigned int]': ../../src/test/test_allocator.h:186:47: required from 'void TestBasic(A&) [with T = Foo; A = tbb::zero_allocator, tbb::tbb_allocator>]' ../../src/test/test_allocator.h:256:17: required from 'void Test(A&) [with U = Foo; A = tbb::zero_allocator, tbb::tbb_allocator>]' ../../src/test/test_allocator.h:272:23: required from 'int TestMain(const Allocator&) [with Allocator = tbb::zero_allocator]' ../../src/test/test_cache_aligned_allocator.cpp:76:52: required from here ../../include/tbb/tbb_allocator.h:177:20: warning: 'void* memset(void*, int, size_t)' clearing an object of type 'tbb::tbb_allocator, Foo > >::value_type' {aka 'struct std::pair, Foo >'} with no trivial copy-assignment; use assignment instead [-Wclass-memaccess] std::memset( ptr, 0, n * sizeof(value_type) ); ~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ In file included from /usr/include/c++/8/bits/stl_algobase.h:64, from /usr/include/c++/8/memory:62, from ../../include/tbb/tbb_stddef.h:427, from ../../include/tbb/cache_aligned_allocator.h:25, from ../../src/test/test_cache_aligned_allocator.cpp:23: /usr/include/c++/8/bits/stl_pair.h:198:12: note: 'tbb::tbb_allocator, Foo > >::value_type' {aka 'struct std::pair, Foo >'} declared here struct pair ^~~~ In file included from ../../src/test/test_cache_aligned_allocator.cpp:24: ../../include/tbb/tbb_allocator.h: In instantiation of 'tbb::zero_allocator::pointer tbb::zero_allocator::allocate(tbb::zero_allocator::size_type, const void*) [with T = Foo; Allocator = tbb::tbb_allocator; tbb::zero_allocator::pointer = Foo*; tbb::zero_allocator::size_type = long unsigned int]': ../../src/test/test_allocator.h:126:24: required from 'void TestBasic(A&) [with T = Foo; A = tbb::zero_allocator, tbb::tbb_allocator>]' ../../src/test/test_allocator.h:257:38: required from 'void Test(A&) [with U = Foo; A = tbb::zero_allocator, tbb::tbb_allocator>]' ../../src/test/test_allocator.h:272:23: required from 'int TestMain(const Allocator&) [with Allocator = tbb::zero_allocator]' ../../src/test/test_cache_aligned_allocator.cpp:76:52: required from here ../../include/tbb/tbb_allocator.h:177:20: warning: 'void* memset(void*, int, size_t)' clearing an object of non-trivial type 'tbb::tbb_allocator >::value_type' {aka 'struct Foo'}; use assignment or value-initialization instead [-Wclass-memaccess] std::memset( ptr, 0, n * sizeof(value_type) ); ~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ In file included from ../../src/test/test_cache_aligned_allocator.cpp:28: ../../src/test/test_allocator.h:43:8: note: 'tbb::tbb_allocator >::value_type' {aka 'struct Foo'} declared here struct Foo { ^~~ In file included from ../../src/test/test_cache_aligned_allocator.cpp:24: ../../include/tbb/tbb_allocator.h: In instantiation of 'tbb::zero_allocator::pointer tbb::zero_allocator::allocate(tbb::zero_allocator::size_type, const void*) [with T = std::pair, Foo >; Allocator = tbb::tbb_allocator; tbb::zero_allocator::pointer = std::pair, Foo >*; tbb::zero_allocator::size_type = long unsigned int]': ../../src/test/test_allocator.h:186:47: required from 'void TestBasic(A&) [with T = Foo; A = tbb::zero_allocator, tbb::tbb_allocator>]' ../../src/test/test_allocator.h:257:38: required from 'void Test(A&) [with U = Foo; A = tbb::zero_allocator, tbb::tbb_allocator>]' ../../src/test/test_allocator.h:272:23: required from 'int TestMain(const Allocator&) [with Allocator = tbb::zero_allocator]' ../../src/test/test_cache_aligned_allocator.cpp:76:52: required from here ../../include/tbb/tbb_allocator.h:177:20: warning: 'void* memset(void*, int, size_t)' clearing an object of type 'tbb::tbb_allocator, Foo > >::value_type' {aka 'struct std::pair, Foo >'} with no trivial copy-assignment; use assignment instead [-Wclass-memaccess] std::memset( ptr, 0, n * sizeof(value_type) ); ~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ In file included from /usr/include/c++/8/bits/stl_algobase.h:64, from /usr/include/c++/8/memory:62, from ../../include/tbb/tbb_stddef.h:427, from ../../include/tbb/cache_aligned_allocator.h:25, from ../../src/test/test_cache_aligned_allocator.cpp:23: /usr/include/c++/8/bits/stl_pair.h:198:12: note: 'tbb::tbb_allocator, Foo > >::value_type' {aka 'struct std::pair, Foo >'} declared here struct pair ^~~~ In file included from ../../src/test/test_cache_aligned_allocator.cpp:24: ../../include/tbb/tbb_allocator.h: In instantiation of 'tbb::zero_allocator::pointer tbb::zero_allocator::allocate(tbb::zero_allocator::size_type, const void*) [with T = Foo; Allocator = tbb::tbb_allocator; tbb::zero_allocator::pointer = Foo*; tbb::zero_allocator::size_type = long unsigned int]': ../../src/test/test_allocator.h:126:24: required from 'void TestBasic(A&) [with T = Foo; A = tbb::zero_allocator, tbb::tbb_allocator>]' ../../src/test/test_allocator.h:256:17: required from 'void Test(A&) [with U = Foo; A = tbb::zero_allocator, tbb::tbb_allocator>]' ../../src/test/test_allocator.h:273:25: required from 'int TestMain(const Allocator&) [with Allocator = tbb::zero_allocator]' ../../src/test/test_cache_aligned_allocator.cpp:76:52: required from here ../../include/tbb/tbb_allocator.h:177:20: warning: 'void* memset(void*, int, size_t)' clearing an object of non-trivial type 'tbb::tbb_allocator >::value_type' {aka 'struct Foo'}; use assignment or value-initialization instead [-Wclass-memaccess] std::memset( ptr, 0, n * sizeof(value_type) ); ~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ In file included from ../../src/test/test_cache_aligned_allocator.cpp:28: ../../src/test/test_allocator.h:43:8: note: 'tbb::tbb_allocator >::value_type' {aka 'struct Foo'} declared here struct Foo { ^~~ In file included from ../../src/test/test_cache_aligned_allocator.cpp:24: ../../include/tbb/tbb_allocator.h: In instantiation of 'tbb::zero_allocator::pointer tbb::zero_allocator::allocate(tbb::zero_allocator::size_type, const void*) [with T = std::pair, Foo >; Allocator = tbb::tbb_allocator; tbb::zero_allocator::pointer = std::pair, Foo >*; tbb::zero_allocator::size_type = long unsigned int]': ../../src/test/test_allocator.h:186:47: required from 'void TestBasic(A&) [with T = Foo; A = tbb::zero_allocator, tbb::tbb_allocator>]' ../../src/test/test_allocator.h:256:17: required from 'void Test(A&) [with U = Foo; A = tbb::zero_allocator, tbb::tbb_allocator>]' ../../src/test/test_allocator.h:273:25: required from 'int TestMain(const Allocator&) [with Allocator = tbb::zero_allocator]' ../../src/test/test_cache_aligned_allocator.cpp:76:52: required from here ../../include/tbb/tbb_allocator.h:177:20: warning: 'void* memset(void*, int, size_t)' clearing an object of type 'tbb::tbb_allocator, Foo > >::value_type' {aka 'struct std::pair, Foo >'} with no trivial copy-assignment; use assignment instead [-Wclass-memaccess] std::memset( ptr, 0, n * sizeof(value_type) ); ~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ In file included from /usr/include/c++/8/bits/stl_algobase.h:64, from /usr/include/c++/8/memory:62, from ../../include/tbb/tbb_stddef.h:427, from ../../include/tbb/cache_aligned_allocator.h:25, from ../../src/test/test_cache_aligned_allocator.cpp:23: /usr/include/c++/8/bits/stl_pair.h:198:12: note: 'tbb::tbb_allocator, Foo > >::value_type' {aka 'struct std::pair, Foo >'} declared here struct pair ^~~~ In file included from ../../src/test/test_cache_aligned_allocator.cpp:24: ../../include/tbb/tbb_allocator.h: In instantiation of 'tbb::zero_allocator::pointer tbb::zero_allocator::allocate(tbb::zero_allocator::size_type, const void*) [with T = Foo; Allocator = tbb::tbb_allocator; tbb::zero_allocator::pointer = Foo*; tbb::zero_allocator::size_type = long unsigned int]': ../../src/test/test_allocator.h:126:24: required from 'void TestBasic(A&) [with T = Foo; A = tbb::zero_allocator, tbb::tbb_allocator>]' ../../src/test/test_allocator.h:257:38: required from 'void Test(A&) [with U = Foo; A = tbb::zero_allocator, tbb::tbb_allocator>]' ../../src/test/test_allocator.h:273:25: required from 'int TestMain(const Allocator&) [with Allocator = tbb::zero_allocator]' ../../src/test/test_cache_aligned_allocator.cpp:76:52: required from here ../../include/tbb/tbb_allocator.h:177:20: warning: 'void* memset(void*, int, size_t)' clearing an object of non-trivial type 'tbb::tbb_allocator >::value_type' {aka 'struct Foo'}; use assignment or value-initialization instead [-Wclass-memaccess] std::memset( ptr, 0, n * sizeof(value_type) ); ~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ In file included from ../../src/test/test_cache_aligned_allocator.cpp:28: ../../src/test/test_allocator.h:43:8: note: 'tbb::tbb_allocator >::value_type' {aka 'struct Foo'} declared here struct Foo { ^~~ In file included from ../../src/test/test_cache_aligned_allocator.cpp:24: ../../include/tbb/tbb_allocator.h: In instantiation of 'tbb::zero_allocator::pointer tbb::zero_allocator::allocate(tbb::zero_allocator::size_type, const void*) [with T = std::pair, Foo >; Allocator = tbb::tbb_allocator; tbb::zero_allocator::pointer = std::pair, Foo >*; tbb::zero_allocator::size_type = long unsigned int]': ../../src/test/test_allocator.h:186:47: required from 'void TestBasic(A&) [with T = Foo; A = tbb::zero_allocator, tbb::tbb_allocator>]' ../../src/test/test_allocator.h:257:38: required from 'void Test(A&) [with U = Foo; A = tbb::zero_allocator, tbb::tbb_allocator>]' ../../src/test/test_allocator.h:273:25: required from 'int TestMain(const Allocator&) [with Allocator = tbb::zero_allocator]' ../../src/test/test_cache_aligned_allocator.cpp:76:52: required from here ../../include/tbb/tbb_allocator.h:177:20: warning: 'void* memset(void*, int, size_t)' clearing an object of type 'tbb::tbb_allocator, Foo > >::value_type' {aka 'struct std::pair, Foo >'} with no trivial copy-assignment; use assignment instead [-Wclass-memaccess] std::memset( ptr, 0, n * sizeof(value_type) ); ~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ In file included from /usr/include/c++/8/bits/stl_algobase.h:64, from /usr/include/c++/8/memory:62, from ../../include/tbb/tbb_stddef.h:427, from ../../include/tbb/cache_aligned_allocator.h:25, from ../../src/test/test_cache_aligned_allocator.cpp:23: /usr/include/c++/8/bits/stl_pair.h:198:12: note: 'tbb::tbb_allocator, Foo > >::value_type' {aka 'struct std::pair, Foo >'} declared here struct pair ^~~~ In file included from /usr/include/string.h:494, from /usr/include/c++/8/cstring:42, from ../../include/tbb/tbb_allocator.h:29, from ../../src/test/test_cache_aligned_allocator.cpp:24: In function 'void* memset(void*, int, size_t)', inlined from 'tbb::zero_allocator::pointer tbb::zero_allocator::allocate(tbb::zero_allocator::size_type, const void*) [with T = Foo; Allocator = tbb::tbb_allocator]' at ../../include/tbb/tbb_allocator.h:177:20, inlined from 'void TestBasic(A&) [with T = Foo; A = tbb::zero_allocator, tbb::tbb_allocator>]' at ../../src/test/test_allocator.h:173:12: /usr/include/bits/string_fortified.h:71:33: warning: 'void* __builtin_memset(void*, int, long unsigned int)' specified size 18446744073708503004 exceeds maximum object size 9223372036854775807 [-Wstringop-overflow=] return __builtin___memset_chk (__dest, __ch, __len, __bos0 (__dest)); ~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ In function 'void* memset(void*, int, size_t)', inlined from 'tbb::zero_allocator::pointer tbb::zero_allocator::allocate(tbb::zero_allocator::size_type, const void*) [with T = Foo; Allocator = tbb::tbb_allocator]' at ../../include/tbb/tbb_allocator.h:177:20, inlined from 'void TestBasic(A&) [with T = Foo; A = tbb::zero_allocator, tbb::tbb_allocator>]' at ../../src/test/test_allocator.h:173:12: /usr/include/bits/string_fortified.h:71:33: warning: 'void* __builtin_memset(void*, int, long unsigned int)' specified size 18446744073708503039 exceeds maximum object size 9223372036854775807 [-Wstringop-overflow=] return __builtin___memset_chk (__dest, __ch, __len, __bos0 (__dest)); ~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ In function 'void* memset(void*, int, size_t)', inlined from 'tbb::zero_allocator::pointer tbb::zero_allocator::allocate(tbb::zero_allocator::size_type, const void*) [with T = Foo; Allocator = tbb::tbb_allocator]' at ../../include/tbb/tbb_allocator.h:177:20, inlined from 'void TestBasic(A&) [with T = Foo; A = tbb::zero_allocator, tbb::tbb_allocator>]' at ../../src/test/test_allocator.h:173:12: /usr/include/bits/string_fortified.h:71:33: warning: 'void* __builtin_memset(void*, int, long unsigned int)' specified size 18446744073708502948 exceeds maximum object size 9223372036854775807 [-Wstringop-overflow=] return __builtin___memset_chk (__dest, __ch, __len, __bos0 (__dest)); ~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ In function 'void* memset(void*, int, size_t)', inlined from 'tbb::zero_allocator::pointer tbb::zero_allocator::allocate(tbb::zero_allocator::size_type, const void*) [with T = Foo; Allocator = tbb::tbb_allocator]' at ../../include/tbb/tbb_allocator.h:177:20, inlined from 'void TestBasic(A&) [with T = Foo; A = tbb::zero_allocator, tbb::tbb_allocator>]' at ../../src/test/test_allocator.h:173:12: /usr/include/bits/string_fortified.h:71:33: warning: 'void* __builtin_memset(void*, int, long unsigned int)' specified size 18446744073708503032 exceeds maximum object size 9223372036854775807 [-Wstringop-overflow=] return __builtin___memset_chk (__dest, __ch, __len, __bos0 (__dest)); ~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ g++ -o test_cache_aligned_allocator.exe -O2 -g -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -fexceptions -fstack-protector-strong -grecord-gcc-switches -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -mcpu=power8 -mtune=power8 -funwind-tables -fstack-clash-protection -g -O2 -DUSE_PTHREAD -DTEST_USES_TBB=1 -Wall -Wshadow -Wcast-qual -Woverloaded-virtual -Wnon-virtual-dtor -Wextra -O2 -g -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -fexceptions -fstack-protector-strong -grecord-gcc-switches -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -mcpu=power8 -mtune=power8 -funwind-tables -fstack-clash-protection test_cache_aligned_allocator.o libtbb.so -lpthread -lrt -Wl,-rpath-link=. -rdynamic g++ -o test_cache_aligned_allocator_STL.o -c -MMD -O2 -g -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -fexceptions -fstack-protector-strong -grecord-gcc-switches -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -mcpu=power8 -mtune=power8 -funwind-tables -fstack-clash-protection -g -O2 -DUSE_PTHREAD -DTEST_USES_TBB=1 -Wall -Wshadow -Wcast-qual -Woverloaded-virtual -Wnon-virtual-dtor -Wextra -O2 -g -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -fexceptions -fstack-protector-strong -grecord-gcc-switches -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -mcpu=power8 -mtune=power8 -funwind-tables -fstack-clash-protection -std=c++14 -I../../src -I../../src/rml/include -I../../include -I. -include ../../src/test/harness_preload.h ../../src/test/test_cache_aligned_allocator_STL.cpp In file included from ../../src/test/test_cache_aligned_allocator_STL.cpp:24: ../../include/tbb/tbb_allocator.h: In instantiation of 'tbb::zero_allocator::pointer tbb::zero_allocator::allocate(tbb::zero_allocator::size_type, const void*) [with T = MoveOperationTracker; Allocator = tbb::tbb_allocator; tbb::zero_allocator::pointer = MoveOperationTracker*; tbb::zero_allocator::size_type = long unsigned int]': /usr/include/c++/8/bits/alloc_traits.h:301:32: required from 'static std::allocator_traits<_Alloc>::pointer std::allocator_traits<_Alloc>::allocate(_Alloc&, std::allocator_traits<_Alloc>::size_type) [with _Alloc = tbb::zero_allocator; std::allocator_traits<_Alloc>::pointer = MoveOperationTracker*; std::allocator_traits<_Alloc>::size_type = long unsigned int]' /usr/include/c++/8/bits/stl_vector.h:296:33: required from 'std::_Vector_base<_Tp, _Alloc>::pointer std::_Vector_base<_Tp, _Alloc>::_M_allocate(std::size_t) [with _Tp = MoveOperationTracker; _Alloc = tbb::zero_allocator; std::_Vector_base<_Tp, _Alloc>::pointer = MoveOperationTracker*; std::size_t = long unsigned int]' /usr/include/c++/8/bits/vector.tcc:604:16: required from 'void std::vector<_Tp, _Alloc>::_M_default_append(std::vector<_Tp, _Alloc>::size_type) [with _Tp = MoveOperationTracker; _Alloc = tbb::zero_allocator; std::vector<_Tp, _Alloc>::size_type = long unsigned int]' /usr/include/c++/8/bits/stl_vector.h:827:4: required from 'void std::vector<_Tp, _Alloc>::resize(std::vector<_Tp, _Alloc>::size_type) [with _Tp = MoveOperationTracker; _Alloc = tbb::zero_allocator; std::vector<_Tp, _Alloc>::size_type = long unsigned int]' ../../src/test/test_allocator_STL.h:36:5: required from 'void TestSequence(const typename Container::allocator_type&) [with Container = std::vector >; typename Container::allocator_type = tbb::zero_allocator]' ../../src/test/test_allocator_STL.h:113:59: required from 'void TestAllocatorWithSTL(const Allocator&) [with Allocator = tbb::zero_allocator]' ../../src/test/test_cache_aligned_allocator_STL.cpp:32:54: required from here ../../include/tbb/tbb_allocator.h:177:20: warning: 'void* memset(void*, int, size_t)' clearing an object of type 'tbb::tbb_allocator::value_type' {aka 'struct MoveOperationTracker'} with no trivial copy-assignment; use assignment or value-initialization instead [-Wclass-memaccess] std::memset( ptr, 0, n * sizeof(value_type) ); ~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ In file included from ../../src/test/test_cache_aligned_allocator_STL.cpp:27: ../../src/test/test_allocator_STL.h:67:8: note: 'tbb::tbb_allocator::value_type' {aka 'struct MoveOperationTracker'} declared here struct MoveOperationTracker { ^~~~~~~~~~~~~~~~~~~~ g++ -o test_cache_aligned_allocator_STL.exe -O2 -g -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -fexceptions -fstack-protector-strong -grecord-gcc-switches -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -mcpu=power8 -mtune=power8 -funwind-tables -fstack-clash-protection -g -O2 -DUSE_PTHREAD -DTEST_USES_TBB=1 -Wall -Wshadow -Wcast-qual -Woverloaded-virtual -Wnon-virtual-dtor -Wextra -O2 -g -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -fexceptions -fstack-protector-strong -grecord-gcc-switches -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -mcpu=power8 -mtune=power8 -funwind-tables -fstack-clash-protection test_cache_aligned_allocator_STL.o libtbb.so -lpthread -lrt -Wl,-rpath-link=. -rdynamic g++ -o test_parallel_for.o -c -MMD -O2 -g -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -fexceptions -fstack-protector-strong -grecord-gcc-switches -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -mcpu=power8 -mtune=power8 -funwind-tables -fstack-clash-protection -g -O2 -DUSE_PTHREAD -DTEST_USES_TBB=1 -Wall -Wshadow -Wcast-qual -Woverloaded-virtual -Wnon-virtual-dtor -Wextra -O2 -g -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -fexceptions -fstack-protector-strong -grecord-gcc-switches -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -mcpu=power8 -mtune=power8 -funwind-tables -fstack-clash-protection -std=c++14 -I../../src -I../../src/rml/include -I../../include -I. -include ../../src/test/harness_preload.h ../../src/test/test_parallel_for.cpp In file included from ../../include/tbb/tbb_machine.h:243, from ../../include/tbb/task.h:25, from ../../include/tbb/parallel_for.h:25, from ../../src/test/test_parallel_for.cpp:42: ../../include/tbb/machine/mac_ppc.h: In function 'int32_t __TBB_machine_cmpswp4(volatile void*, int32_t, int32_t)': ../../include/tbb/machine/mac_ppc.h:91:46: warning: cast from type 'volatile void*' to type 'int32_t*' {aka 'int*'} casts away qualifiers [-Wcast-qual] , "+m"(* (int32_t*) ptr) /* redundant with "memory" */ ^~~ ../../include/tbb/machine/mac_ppc.h: In function 'int64_t __TBB_machine_cmpswp8(volatile void*, int64_t, int64_t)': ../../include/tbb/machine/mac_ppc.h:116:46: warning: cast from type 'volatile void*' to type 'int64_t*' {aka 'long int*'} casts away qualifiers [-Wcast-qual] , "+m"(* (int64_t*) ptr) /* redundant with "memory" */ ^~~ In file included from ../../include/tbb/enumerable_thread_specific.h:25, from ../../include/tbb/combinable.h:24, from ../../src/test/harness_concurrency_tracker.h:33, from ../../src/test/harness_eh.h:28, from ../../src/test/test_parallel_for.cpp:314: ../../include/tbb/concurrent_vector.h: In static member function 'static void tbb::concurrent_vector::copy_range(void*, const void*, tbb::concurrent_vector::size_type)': ../../include/tbb/concurrent_vector.h:1296:18: warning: declaration of 'iterator' shadows a previous local [-Wshadow] I & iterator ((*const_cast(static_cast(p_type_erased_iterator)))); ^ ../../include/tbb/concurrent_vector.h:578:60: note: shadowed declaration is here typedef internal::vector_iterator iterator; ^~~~~~~~ ../../src/test/test_parallel_for.cpp: In instantiation of 'void TestParallelForWithStepSupport() [with Flavor = parallel_tag; T = short int]': ../../src/test/test_parallel_for.cpp:701:64: required from here ../../src/test/test_parallel_for.cpp:301:6: warning: catching polymorphic type 'class std::invalid_argument' by value [-Wcatch-value=] }catch(std::invalid_argument){ ^~~~~ ../../src/test/test_parallel_for.cpp: In instantiation of 'void TestParallelForWithStepSupport() [with Flavor = parallel_tag; T = short unsigned int]': ../../src/test/test_parallel_for.cpp:702:73: required from here ../../src/test/test_parallel_for.cpp:301:6: warning: catching polymorphic type 'class std::invalid_argument' by value [-Wcatch-value=] ../../src/test/test_parallel_for.cpp: In instantiation of 'void TestParallelForWithStepSupport() [with Flavor = parallel_tag; T = int]': ../../src/test/test_parallel_for.cpp:703:62: required from here ../../src/test/test_parallel_for.cpp:301:6: warning: catching polymorphic type 'class std::invalid_argument' by value [-Wcatch-value=] ../../src/test/test_parallel_for.cpp: In instantiation of 'void TestParallelForWithStepSupport() [with Flavor = parallel_tag; T = unsigned int]': ../../src/test/test_parallel_for.cpp:704:71: required from here ../../src/test/test_parallel_for.cpp:301:6: warning: catching polymorphic type 'class std::invalid_argument' by value [-Wcatch-value=] ../../src/test/test_parallel_for.cpp: In instantiation of 'void TestParallelForWithStepSupport() [with Flavor = parallel_tag; T = long int]': ../../src/test/test_parallel_for.cpp:705:63: required from here ../../src/test/test_parallel_for.cpp:301:6: warning: catching polymorphic type 'class std::invalid_argument' by value [-Wcatch-value=] ../../src/test/test_parallel_for.cpp: In instantiation of 'void TestParallelForWithStepSupport() [with Flavor = parallel_tag; T = long unsigned int]': ../../src/test/test_parallel_for.cpp:706:72: required from here ../../src/test/test_parallel_for.cpp:301:6: warning: catching polymorphic type 'class std::invalid_argument' by value [-Wcatch-value=] ../../src/test/test_parallel_for.cpp: In instantiation of 'void TestParallelForWithStepSupport() [with Flavor = parallel_tag; T = long long int]': ../../src/test/test_parallel_for.cpp:707:68: required from here ../../src/test/test_parallel_for.cpp:301:6: warning: catching polymorphic type 'class std::invalid_argument' by value [-Wcatch-value=] ../../src/test/test_parallel_for.cpp: In instantiation of 'void TestParallelForWithStepSupport() [with Flavor = parallel_tag; T = long long unsigned int]': ../../src/test/test_parallel_for.cpp:708:77: required from here ../../src/test/test_parallel_for.cpp:301:6: warning: catching polymorphic type 'class std::invalid_argument' by value [-Wcatch-value=] ../../src/test/test_parallel_for.cpp: In instantiation of 'void TestParallelForWithStepSupport() [with Flavor = serial_tag; T = short int]': ../../src/test/test_parallel_for.cpp:717:66: required from here ../../src/test/test_parallel_for.cpp:301:6: warning: catching polymorphic type 'class std::invalid_argument' by value [-Wcatch-value=] ../../src/test/test_parallel_for.cpp: In instantiation of 'void TestParallelForWithStepSupport() [with Flavor = serial_tag; T = short unsigned int]': ../../src/test/test_parallel_for.cpp:718:75: required from here ../../src/test/test_parallel_for.cpp:301:6: warning: catching polymorphic type 'class std::invalid_argument' by value [-Wcatch-value=] ../../src/test/test_parallel_for.cpp: In instantiation of 'void TestParallelForWithStepSupport() [with Flavor = serial_tag; T = int]': ../../src/test/test_parallel_for.cpp:719:64: required from here ../../src/test/test_parallel_for.cpp:301:6: warning: catching polymorphic type 'class std::invalid_argument' by value [-Wcatch-value=] ../../src/test/test_parallel_for.cpp: In instantiation of 'void TestParallelForWithStepSupport() [with Flavor = serial_tag; T = unsigned int]': ../../src/test/test_parallel_for.cpp:720:73: required from here ../../src/test/test_parallel_for.cpp:301:6: warning: catching polymorphic type 'class std::invalid_argument' by value [-Wcatch-value=] ../../src/test/test_parallel_for.cpp: In instantiation of 'void TestParallelForWithStepSupport() [with Flavor = serial_tag; T = long int]': ../../src/test/test_parallel_for.cpp:721:65: required from here ../../src/test/test_parallel_for.cpp:301:6: warning: catching polymorphic type 'class std::invalid_argument' by value [-Wcatch-value=] ../../src/test/test_parallel_for.cpp: In instantiation of 'void TestParallelForWithStepSupport() [with Flavor = serial_tag; T = long unsigned int]': ../../src/test/test_parallel_for.cpp:722:74: required from here ../../src/test/test_parallel_for.cpp:301:6: warning: catching polymorphic type 'class std::invalid_argument' by value [-Wcatch-value=] ../../src/test/test_parallel_for.cpp: In instantiation of 'void TestParallelForWithStepSupport() [with Flavor = serial_tag; T = long long int]': ../../src/test/test_parallel_for.cpp:723:70: required from here ../../src/test/test_parallel_for.cpp:301:6: warning: catching polymorphic type 'class std::invalid_argument' by value [-Wcatch-value=] ../../src/test/test_parallel_for.cpp: In instantiation of 'void TestParallelForWithStepSupport() [with Flavor = serial_tag; T = long long unsigned int]': ../../src/test/test_parallel_for.cpp:724:79: required from here ../../src/test/test_parallel_for.cpp:301:6: warning: catching polymorphic type 'class std::invalid_argument' by value [-Wcatch-value=] In file included from ../../include/tbb/enumerable_thread_specific.h:25, from ../../include/tbb/combinable.h:24, from ../../src/test/harness_concurrency_tracker.h:33, from ../../src/test/harness_eh.h:28, from ../../src/test/test_parallel_for.cpp:314: ../../include/tbb/concurrent_vector.h: In instantiation of 'void tbb::internal::handle_unconstructed_elements(T*, std::size_t) [with T = tbb::internal::padded > >, 128>; std::size_t = long unsigned int]': ../../include/tbb/concurrent_vector.h:1123:56: required from 'tbb::concurrent_vector::internal_loop_guide::~internal_loop_guide() [with T = tbb::internal::padded > >, 128>; A = tbb::cache_aligned_allocator > >, 128> >]' ../../include/tbb/concurrent_vector.h:1262:25: required from 'static void tbb::concurrent_vector::initialize_array(void*, const void*, tbb::concurrent_vector::size_type) [with T = tbb::internal::padded > >, 128>; A = tbb::cache_aligned_allocator > >, 128> >; tbb::concurrent_vector::size_type = long unsigned int]' ../../include/tbb/concurrent_vector.h:780:76: required from 'tbb::concurrent_vector::iterator tbb::concurrent_vector::grow_by(tbb::concurrent_vector::size_type) [with T = tbb::internal::padded > >, 128>; A = tbb::cache_aligned_allocator > >, 128> >; tbb::concurrent_vector::iterator = tbb::internal::vector_iterator > >, 128>, tbb::cache_aligned_allocator > >, 128> > >, tbb::internal::padded > >, 128> >; tbb::concurrent_vector::size_type = long unsigned int]' ../../include/tbb/enumerable_thread_specific.h:797:36: required from 'void* tbb::interface6::enumerable_thread_specific::create_local() [with T = std::multimap >; Allocator = tbb::cache_aligned_allocator > >; tbb::ets_key_usage_type ETS_key_type = (tbb::ets_key_usage_type)1]' ../../include/tbb/enumerable_thread_specific.h:796:15: required from here ../../include/tbb/concurrent_vector.h:77:20: warning: 'void* memset(void*, int, size_t)' clearing an object of non-trivial type 'struct tbb::internal::padded > >, 128>'; use assignment or value-initialization instead [-Wclass-memaccess] std::memset( array, 0, n_of_elements * sizeof( T ) ); ~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ In file included from ../../include/tbb/task.h:24, from ../../include/tbb/parallel_for.h:25, from ../../src/test/test_parallel_for.cpp:42: ../../include/tbb/tbb_stddef.h:257:8: note: 'struct tbb::internal::padded > >, 128>' declared here struct padded : padded_base {}; ^~~~~~ In file included from ../../include/tbb/enumerable_thread_specific.h:25, from ../../include/tbb/combinable.h:24, from ../../src/test/harness_concurrency_tracker.h:33, from ../../src/test/harness_eh.h:28, from ../../src/test/test_parallel_for.cpp:314: ../../include/tbb/concurrent_vector.h: In instantiation of 'void tbb::internal::handle_unconstructed_elements(T*, std::size_t) [with T = tbb::internal::padded, 128>; std::size_t = long unsigned int]': ../../include/tbb/concurrent_vector.h:1123:56: required from 'tbb::concurrent_vector::internal_loop_guide::~internal_loop_guide() [with T = tbb::internal::padded, 128>; A = tbb::cache_aligned_allocator, 128> >]' ../../include/tbb/concurrent_vector.h:1262:25: required from 'static void tbb::concurrent_vector::initialize_array(void*, const void*, tbb::concurrent_vector::size_type) [with T = tbb::internal::padded, 128>; A = tbb::cache_aligned_allocator, 128> >; tbb::concurrent_vector::size_type = long unsigned int]' ../../include/tbb/concurrent_vector.h:780:76: required from 'tbb::concurrent_vector::iterator tbb::concurrent_vector::grow_by(tbb::concurrent_vector::size_type) [with T = tbb::internal::padded, 128>; A = tbb::cache_aligned_allocator, 128> >; tbb::concurrent_vector::iterator = tbb::internal::vector_iterator, 128>, tbb::cache_aligned_allocator, 128> > >, tbb::internal::padded, 128> >; tbb::concurrent_vector::size_type = long unsigned int]' ../../include/tbb/enumerable_thread_specific.h:797:36: required from 'void* tbb::interface6::enumerable_thread_specific::create_local() [with T = long unsigned int; Allocator = tbb::cache_aligned_allocator; tbb::ets_key_usage_type ETS_key_type = (tbb::ets_key_usage_type)1]' ../../include/tbb/enumerable_thread_specific.h:796:15: required from here ../../include/tbb/concurrent_vector.h:77:20: warning: 'void* memset(void*, int, size_t)' clearing an object of non-trivial type 'struct tbb::internal::padded, 128>'; use assignment or value-initialization instead [-Wclass-memaccess] std::memset( array, 0, n_of_elements * sizeof( T ) ); ~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ In file included from ../../include/tbb/task.h:24, from ../../include/tbb/parallel_for.h:25, from ../../src/test/test_parallel_for.cpp:42: ../../include/tbb/tbb_stddef.h:257:8: note: 'struct tbb::internal::padded, 128>' declared here struct padded : padded_base {}; ^~~~~~ g++ -o test_parallel_for.exe -O2 -g -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -fexceptions -fstack-protector-strong -grecord-gcc-switches -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -mcpu=power8 -mtune=power8 -funwind-tables -fstack-clash-protection -g -O2 -DUSE_PTHREAD -DTEST_USES_TBB=1 -Wall -Wshadow -Wcast-qual -Woverloaded-virtual -Wnon-virtual-dtor -Wextra -O2 -g -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -fexceptions -fstack-protector-strong -grecord-gcc-switches -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -mcpu=power8 -mtune=power8 -funwind-tables -fstack-clash-protection test_parallel_for.o libtbb.so -lpthread -lrt -Wl,-rpath-link=. -rdynamic g++ -o test_parallel_reduce.o -c -MMD -O2 -g -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -fexceptions -fstack-protector-strong -grecord-gcc-switches -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -mcpu=power8 -mtune=power8 -funwind-tables -fstack-clash-protection -g -O2 -DUSE_PTHREAD -DTEST_USES_TBB=1 -Wall -Wshadow -Wcast-qual -Woverloaded-virtual -Wnon-virtual-dtor -Wextra -O2 -g -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -fexceptions -fstack-protector-strong -grecord-gcc-switches -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -mcpu=power8 -mtune=power8 -funwind-tables -fstack-clash-protection -std=c++14 -I../../src -I../../src/rml/include -I../../include -I. -include ../../src/test/harness_preload.h ../../src/test/test_parallel_reduce.cpp In file included from ../../include/tbb/tbb_machine.h:243, from ../../include/tbb/task.h:25, from ../../include/tbb/parallel_reduce.h:25, from ../../src/test/test_parallel_reduce.cpp:22: ../../include/tbb/machine/mac_ppc.h: In function 'int32_t __TBB_machine_cmpswp4(volatile void*, int32_t, int32_t)': ../../include/tbb/machine/mac_ppc.h:91:46: warning: cast from type 'volatile void*' to type 'int32_t*' {aka 'int*'} casts away qualifiers [-Wcast-qual] , "+m"(* (int32_t*) ptr) /* redundant with "memory" */ ^~~ ../../include/tbb/machine/mac_ppc.h: In function 'int64_t __TBB_machine_cmpswp8(volatile void*, int64_t, int64_t)': ../../include/tbb/machine/mac_ppc.h:116:46: warning: cast from type 'volatile void*' to type 'int64_t*' {aka 'long int*'} casts away qualifiers [-Wcast-qual] , "+m"(* (int64_t*) ptr) /* redundant with "memory" */ ^~~ In file included from ../../include/tbb/enumerable_thread_specific.h:25, from ../../include/tbb/combinable.h:24, from ../../src/test/harness_concurrency_tracker.h:33, from ../../src/test/test_parallel_reduce.cpp:233: ../../include/tbb/concurrent_vector.h: In static member function 'static void tbb::concurrent_vector::copy_range(void*, const void*, tbb::concurrent_vector::size_type)': ../../include/tbb/concurrent_vector.h:1296:18: warning: declaration of 'iterator' shadows a previous local [-Wshadow] I & iterator ((*const_cast(static_cast(p_type_erased_iterator)))); ^ ../../include/tbb/concurrent_vector.h:578:60: note: shadowed declaration is here typedef internal::vector_iterator iterator; ^~~~~~~~ In file included from ../../include/tbb/enumerable_thread_specific.h:25, from ../../include/tbb/combinable.h:24, from ../../src/test/harness_concurrency_tracker.h:33, from ../../src/test/test_parallel_reduce.cpp:233: ../../include/tbb/concurrent_vector.h: In instantiation of 'void tbb::internal::handle_unconstructed_elements(T*, std::size_t) [with T = tbb::internal::padded, 128>; std::size_t = long unsigned int]': ../../include/tbb/concurrent_vector.h:1123:56: required from 'tbb::concurrent_vector::internal_loop_guide::~internal_loop_guide() [with T = tbb::internal::padded, 128>; A = tbb::cache_aligned_allocator, 128> >]' ../../include/tbb/concurrent_vector.h:1262:25: required from 'static void tbb::concurrent_vector::initialize_array(void*, const void*, tbb::concurrent_vector::size_type) [with T = tbb::internal::padded, 128>; A = tbb::cache_aligned_allocator, 128> >; tbb::concurrent_vector::size_type = long unsigned int]' ../../include/tbb/concurrent_vector.h:780:76: required from 'tbb::concurrent_vector::iterator tbb::concurrent_vector::grow_by(tbb::concurrent_vector::size_type) [with T = tbb::internal::padded, 128>; A = tbb::cache_aligned_allocator, 128> >; tbb::concurrent_vector::iterator = tbb::internal::vector_iterator, 128>, tbb::cache_aligned_allocator, 128> > >, tbb::internal::padded, 128> >; tbb::concurrent_vector::size_type = long unsigned int]' ../../include/tbb/enumerable_thread_specific.h:797:36: required from 'void* tbb::interface6::enumerable_thread_specific::create_local() [with T = long unsigned int; Allocator = tbb::cache_aligned_allocator; tbb::ets_key_usage_type ETS_key_type = (tbb::ets_key_usage_type)1]' ../../include/tbb/enumerable_thread_specific.h:796:15: required from here ../../include/tbb/concurrent_vector.h:77:20: warning: 'void* memset(void*, int, size_t)' clearing an object of non-trivial type 'struct tbb::internal::padded, 128>'; use assignment or value-initialization instead [-Wclass-memaccess] std::memset( array, 0, n_of_elements * sizeof( T ) ); ~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ In file included from ../../include/tbb/task.h:24, from ../../include/tbb/parallel_reduce.h:25, from ../../src/test/test_parallel_reduce.cpp:22: ../../include/tbb/tbb_stddef.h:257:8: note: 'struct tbb::internal::padded, 128>' declared here struct padded : padded_base {}; ^~~~~~ g++ -o test_parallel_reduce.exe -O2 -g -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -fexceptions -fstack-protector-strong -grecord-gcc-switches -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -mcpu=power8 -mtune=power8 -funwind-tables -fstack-clash-protection -g -O2 -DUSE_PTHREAD -DTEST_USES_TBB=1 -Wall -Wshadow -Wcast-qual -Woverloaded-virtual -Wnon-virtual-dtor -Wextra -O2 -g -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -fexceptions -fstack-protector-strong -grecord-gcc-switches -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -mcpu=power8 -mtune=power8 -funwind-tables -fstack-clash-protection test_parallel_reduce.o libtbb.so -lpthread -lrt -Wl,-rpath-link=. -rdynamic g++ -o test_parallel_sort.o -c -MMD -O2 -g -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -fexceptions -fstack-protector-strong -grecord-gcc-switches -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -mcpu=power8 -mtune=power8 -funwind-tables -fstack-clash-protection -g -O2 -DUSE_PTHREAD -DTEST_USES_TBB=1 -Wall -Wshadow -Wcast-qual -Woverloaded-virtual -Wnon-virtual-dtor -Wextra -O2 -g -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -fexceptions -fstack-protector-strong -grecord-gcc-switches -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -mcpu=power8 -mtune=power8 -funwind-tables -fstack-clash-protection -std=c++14 -I../../src -I../../src/rml/include -I../../include -I. -include ../../src/test/harness_preload.h ../../src/test/test_parallel_sort.cpp In file included from ../../include/tbb/tbb_machine.h:243, from ../../include/tbb/task.h:25, from ../../include/tbb/parallel_for.h:25, from ../../include/tbb/parallel_sort.h:24, from ../../src/test/test_parallel_sort.cpp:21: ../../include/tbb/machine/mac_ppc.h: In function 'int32_t __TBB_machine_cmpswp4(volatile void*, int32_t, int32_t)': ../../include/tbb/machine/mac_ppc.h:91:46: warning: cast from type 'volatile void*' to type 'int32_t*' {aka 'int*'} casts away qualifiers [-Wcast-qual] , "+m"(* (int32_t*) ptr) /* redundant with "memory" */ ^~~ ../../include/tbb/machine/mac_ppc.h: In function 'int64_t __TBB_machine_cmpswp8(volatile void*, int64_t, int64_t)': ../../include/tbb/machine/mac_ppc.h:116:46: warning: cast from type 'volatile void*' to type 'int64_t*' {aka 'long int*'} casts away qualifiers [-Wcast-qual] , "+m"(* (int64_t*) ptr) /* redundant with "memory" */ ^~~ In file included from ../../src/test/test_parallel_sort.cpp:23: ../../include/tbb/concurrent_vector.h: In static member function 'static void tbb::concurrent_vector::copy_range(void*, const void*, tbb::concurrent_vector::size_type)': ../../include/tbb/concurrent_vector.h:1296:18: warning: declaration of 'iterator' shadows a previous local [-Wshadow] I & iterator ((*const_cast(static_cast(p_type_erased_iterator)))); ^ ../../include/tbb/concurrent_vector.h:578:60: note: shadowed declaration is here typedef internal::vector_iterator iterator; ^~~~~~~~ In file included from ../../src/test/test_parallel_sort.cpp:23: ../../include/tbb/concurrent_vector.h: In instantiation of 'void tbb::internal::handle_unconstructed_elements(T*, std::size_t) [with T = Minimal; std::size_t = long unsigned int]': ../../include/tbb/concurrent_vector.h:1123:56: required from 'tbb::concurrent_vector::internal_loop_guide::~internal_loop_guide() [with T = Minimal; A = tbb::cache_aligned_allocator]' ../../include/tbb/concurrent_vector.h:1262:25: required from 'static void tbb::concurrent_vector::initialize_array(void*, const void*, tbb::concurrent_vector::size_type) [with T = Minimal; A = tbb::cache_aligned_allocator; tbb::concurrent_vector::size_type = long unsigned int]' ../../include/tbb/concurrent_vector.h:813:70: required from 'tbb::concurrent_vector::iterator tbb::concurrent_vector::grow_to_at_least(tbb::concurrent_vector::size_type) [with T = Minimal; A = tbb::cache_aligned_allocator; tbb::concurrent_vector::iterator = tbb::internal::vector_iterator, Minimal>; tbb::concurrent_vector::size_type = long unsigned int]' ../../src/test/test_parallel_sort.cpp:426:35: required from here ../../include/tbb/concurrent_vector.h:77:20: warning: 'void* memset(void*, int, size_t)' clearing an object of non-trivial type 'class Minimal'; use assignment or value-initialization instead [-Wclass-memaccess] std::memset( array, 0, n_of_elements * sizeof( T ) ); ~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ../../src/test/test_parallel_sort.cpp:36:7: note: 'class Minimal' declared here class Minimal { ^~~~~~~ g++ -o test_parallel_sort.exe -O2 -g -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -fexceptions -fstack-protector-strong -grecord-gcc-switches -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -mcpu=power8 -mtune=power8 -funwind-tables -fstack-clash-protection -g -O2 -DUSE_PTHREAD -DTEST_USES_TBB=1 -Wall -Wshadow -Wcast-qual -Woverloaded-virtual -Wnon-virtual-dtor -Wextra -O2 -g -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -fexceptions -fstack-protector-strong -grecord-gcc-switches -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -mcpu=power8 -mtune=power8 -funwind-tables -fstack-clash-protection test_parallel_sort.o libtbb.so -lpthread -lrt -Wl,-rpath-link=. -rdynamic g++ -o test_parallel_scan.o -c -MMD -O2 -g -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -fexceptions -fstack-protector-strong -grecord-gcc-switches -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -mcpu=power8 -mtune=power8 -funwind-tables -fstack-clash-protection -g -O2 -DUSE_PTHREAD -DTEST_USES_TBB=1 -Wall -Wshadow -Wcast-qual -Woverloaded-virtual -Wnon-virtual-dtor -Wextra -O2 -g -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -fexceptions -fstack-protector-strong -grecord-gcc-switches -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -mcpu=power8 -mtune=power8 -funwind-tables -fstack-clash-protection -std=c++14 -I../../src -I../../src/rml/include -I../../include -I. -include ../../src/test/harness_preload.h ../../src/test/test_parallel_scan.cpp In file included from ../../include/tbb/tbb_machine.h:243, from ../../include/tbb/task.h:25, from ../../include/tbb/parallel_scan.h:24, from ../../src/test/test_parallel_scan.cpp:21: ../../include/tbb/machine/mac_ppc.h: In function 'int32_t __TBB_machine_cmpswp4(volatile void*, int32_t, int32_t)': ../../include/tbb/machine/mac_ppc.h:91:46: warning: cast from type 'volatile void*' to type 'int32_t*' {aka 'int*'} casts away qualifiers [-Wcast-qual] , "+m"(* (int32_t*) ptr) /* redundant with "memory" */ ^~~ ../../include/tbb/machine/mac_ppc.h: In function 'int64_t __TBB_machine_cmpswp8(volatile void*, int64_t, int64_t)': ../../include/tbb/machine/mac_ppc.h:116:46: warning: cast from type 'volatile void*' to type 'int64_t*' {aka 'long int*'} casts away qualifiers [-Wcast-qual] , "+m"(* (int64_t*) ptr) /* redundant with "memory" */ ^~~ g++ -o test_parallel_scan.exe -O2 -g -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -fexceptions -fstack-protector-strong -grecord-gcc-switches -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -mcpu=power8 -mtune=power8 -funwind-tables -fstack-clash-protection -g -O2 -DUSE_PTHREAD -DTEST_USES_TBB=1 -Wall -Wshadow -Wcast-qual -Woverloaded-virtual -Wnon-virtual-dtor -Wextra -O2 -g -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -fexceptions -fstack-protector-strong -grecord-gcc-switches -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -mcpu=power8 -mtune=power8 -funwind-tables -fstack-clash-protection test_parallel_scan.o libtbb.so -lpthread -lrt -Wl,-rpath-link=. -rdynamic g++ -o test_parallel_while.o -c -MMD -O2 -g -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -fexceptions -fstack-protector-strong -grecord-gcc-switches -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -mcpu=power8 -mtune=power8 -funwind-tables -fstack-clash-protection -g -O2 -DUSE_PTHREAD -DTEST_USES_TBB=1 -Wall -Wshadow -Wcast-qual -Woverloaded-virtual -Wnon-virtual-dtor -Wextra -O2 -g -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -fexceptions -fstack-protector-strong -grecord-gcc-switches -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -mcpu=power8 -mtune=power8 -funwind-tables -fstack-clash-protection -std=c++14 -I../../src -I../../src/rml/include -I../../include -I. -include ../../src/test/harness_preload.h ../../src/test/test_parallel_while.cpp In file included from ../../include/tbb/tbb_machine.h:243, from ../../include/tbb/task.h:25, from ../../include/tbb/parallel_while.h:24, from ../../src/test/test_parallel_while.cpp:21: ../../include/tbb/machine/mac_ppc.h: In function 'int32_t __TBB_machine_cmpswp4(volatile void*, int32_t, int32_t)': ../../include/tbb/machine/mac_ppc.h:91:46: warning: cast from type 'volatile void*' to type 'int32_t*' {aka 'int*'} casts away qualifiers [-Wcast-qual] , "+m"(* (int32_t*) ptr) /* redundant with "memory" */ ^~~ ../../include/tbb/machine/mac_ppc.h: In function 'int64_t __TBB_machine_cmpswp8(volatile void*, int64_t, int64_t)': ../../include/tbb/machine/mac_ppc.h:116:46: warning: cast from type 'volatile void*' to type 'int64_t*' {aka 'long int*'} casts away qualifiers [-Wcast-qual] , "+m"(* (int64_t*) ptr) /* redundant with "memory" */ ^~~ g++ -o test_parallel_while.exe -O2 -g -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -fexceptions -fstack-protector-strong -grecord-gcc-switches -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -mcpu=power8 -mtune=power8 -funwind-tables -fstack-clash-protection -g -O2 -DUSE_PTHREAD -DTEST_USES_TBB=1 -Wall -Wshadow -Wcast-qual -Woverloaded-virtual -Wnon-virtual-dtor -Wextra -O2 -g -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -fexceptions -fstack-protector-strong -grecord-gcc-switches -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -mcpu=power8 -mtune=power8 -funwind-tables -fstack-clash-protection test_parallel_while.o libtbb.so -lpthread -lrt -Wl,-rpath-link=. -rdynamic g++ -o test_parallel_do.o -c -MMD -O2 -g -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -fexceptions -fstack-protector-strong -grecord-gcc-switches -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -mcpu=power8 -mtune=power8 -funwind-tables -fstack-clash-protection -g -O2 -DUSE_PTHREAD -DTEST_USES_TBB=1 -Wall -Wshadow -Wcast-qual -Woverloaded-virtual -Wnon-virtual-dtor -Wextra -O2 -g -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -fexceptions -fstack-protector-strong -grecord-gcc-switches -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -mcpu=power8 -mtune=power8 -funwind-tables -fstack-clash-protection -std=c++14 -I../../src -I../../src/rml/include -I../../include -I. -include ../../src/test/harness_preload.h ../../src/test/test_parallel_do.cpp In file included from ../../include/tbb/tbb_machine.h:243, from ../../include/tbb/task.h:25, from ../../include/tbb/parallel_do.h:26, from ../../src/test/test_parallel_do.cpp:21: ../../include/tbb/machine/mac_ppc.h: In function 'int32_t __TBB_machine_cmpswp4(volatile void*, int32_t, int32_t)': ../../include/tbb/machine/mac_ppc.h:91:46: warning: cast from type 'volatile void*' to type 'int32_t*' {aka 'int*'} casts away qualifiers [-Wcast-qual] , "+m"(* (int32_t*) ptr) /* redundant with "memory" */ ^~~ ../../include/tbb/machine/mac_ppc.h: In function 'int64_t __TBB_machine_cmpswp8(volatile void*, int64_t, int64_t)': ../../include/tbb/machine/mac_ppc.h:116:46: warning: cast from type 'volatile void*' to type 'int64_t*' {aka 'long int*'} casts away qualifiers [-Wcast-qual] , "+m"(* (int64_t*) ptr) /* redundant with "memory" */ ^~~ g++ -o test_parallel_do.exe -O2 -g -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -fexceptions -fstack-protector-strong -grecord-gcc-switches -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -mcpu=power8 -mtune=power8 -funwind-tables -fstack-clash-protection -g -O2 -DUSE_PTHREAD -DTEST_USES_TBB=1 -Wall -Wshadow -Wcast-qual -Woverloaded-virtual -Wnon-virtual-dtor -Wextra -O2 -g -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -fexceptions -fstack-protector-strong -grecord-gcc-switches -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -mcpu=power8 -mtune=power8 -funwind-tables -fstack-clash-protection test_parallel_do.o libtbb.so -lpthread -lrt -Wl,-rpath-link=. -rdynamic g++ -o test_pipeline.o -c -MMD -O2 -g -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -fexceptions -fstack-protector-strong -grecord-gcc-switches -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -mcpu=power8 -mtune=power8 -funwind-tables -fstack-clash-protection -g -O2 -DUSE_PTHREAD -DTEST_USES_TBB=1 -Wall -Wshadow -Wcast-qual -Woverloaded-virtual -Wnon-virtual-dtor -Wextra -O2 -g -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -fexceptions -fstack-protector-strong -grecord-gcc-switches -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -mcpu=power8 -mtune=power8 -funwind-tables -fstack-clash-protection -std=c++14 -I../../src -I../../src/rml/include -I../../include -I. -include ../../src/test/harness_preload.h ../../src/test/test_pipeline.cpp In file included from ../../include/tbb/tbb_machine.h:243, from ../../include/tbb/atomic.h:32, from ../../include/tbb/pipeline.h:24, from ../../src/test/test_pipeline.cpp:22: ../../include/tbb/machine/mac_ppc.h: In function 'int32_t __TBB_machine_cmpswp4(volatile void*, int32_t, int32_t)': ../../include/tbb/machine/mac_ppc.h:91:46: warning: cast from type 'volatile void*' to type 'int32_t*' {aka 'int*'} casts away qualifiers [-Wcast-qual] , "+m"(* (int32_t*) ptr) /* redundant with "memory" */ ^~~ ../../include/tbb/machine/mac_ppc.h: In function 'int64_t __TBB_machine_cmpswp8(volatile void*, int64_t, int64_t)': ../../include/tbb/machine/mac_ppc.h:116:46: warning: cast from type 'volatile void*' to type 'int64_t*' {aka 'long int*'} casts away qualifiers [-Wcast-qual] , "+m"(* (int64_t*) ptr) /* redundant with "memory" */ ^~~ In file included from ../../include/tbb/enumerable_thread_specific.h:25, from ../../include/tbb/combinable.h:24, from ../../src/test/harness_concurrency_tracker.h:33, from ../../src/test/test_pipeline.cpp:63: ../../include/tbb/concurrent_vector.h: In static member function 'static void tbb::concurrent_vector::copy_range(void*, const void*, tbb::concurrent_vector::size_type)': ../../include/tbb/concurrent_vector.h:1296:18: warning: declaration of 'iterator' shadows a previous local [-Wshadow] I & iterator ((*const_cast(static_cast(p_type_erased_iterator)))); ^ ../../include/tbb/concurrent_vector.h:578:60: note: shadowed declaration is here typedef internal::vector_iterator iterator; ^~~~~~~~ In file included from ../../include/tbb/enumerable_thread_specific.h:25, from ../../include/tbb/combinable.h:24, from ../../src/test/harness_concurrency_tracker.h:33, from ../../src/test/test_pipeline.cpp:63: ../../include/tbb/concurrent_vector.h: In instantiation of 'void tbb::internal::handle_unconstructed_elements(T*, std::size_t) [with T = tbb::internal::padded, 128>; std::size_t = long unsigned int]': ../../include/tbb/concurrent_vector.h:1123:56: required from 'tbb::concurrent_vector::internal_loop_guide::~internal_loop_guide() [with T = tbb::internal::padded, 128>; A = tbb::cache_aligned_allocator, 128> >]' ../../include/tbb/concurrent_vector.h:1262:25: required from 'static void tbb::concurrent_vector::initialize_array(void*, const void*, tbb::concurrent_vector::size_type) [with T = tbb::internal::padded, 128>; A = tbb::cache_aligned_allocator, 128> >; tbb::concurrent_vector::size_type = long unsigned int]' ../../include/tbb/concurrent_vector.h:780:76: required from 'tbb::concurrent_vector::iterator tbb::concurrent_vector::grow_by(tbb::concurrent_vector::size_type) [with T = tbb::internal::padded, 128>; A = tbb::cache_aligned_allocator, 128> >; tbb::concurrent_vector::iterator = tbb::internal::vector_iterator, 128>, tbb::cache_aligned_allocator, 128> > >, tbb::internal::padded, 128> >; tbb::concurrent_vector::size_type = long unsigned int]' ../../include/tbb/enumerable_thread_specific.h:797:36: required from 'void* tbb::interface6::enumerable_thread_specific::create_local() [with T = long unsigned int; Allocator = tbb::cache_aligned_allocator; tbb::ets_key_usage_type ETS_key_type = (tbb::ets_key_usage_type)1]' ../../include/tbb/enumerable_thread_specific.h:796:15: required from here ../../include/tbb/concurrent_vector.h:77:20: warning: 'void* memset(void*, int, size_t)' clearing an object of non-trivial type 'struct tbb::internal::padded, 128>'; use assignment or value-initialization instead [-Wclass-memaccess] std::memset( array, 0, n_of_elements * sizeof( T ) ); ~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ In file included from ../../src/test/test_pipeline.cpp:21: ../../include/tbb/tbb_stddef.h:257:8: note: 'struct tbb::internal::padded, 128>' declared here struct padded : padded_base {}; ^~~~~~ g++ -o test_pipeline.exe -O2 -g -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -fexceptions -fstack-protector-strong -grecord-gcc-switches -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -mcpu=power8 -mtune=power8 -funwind-tables -fstack-clash-protection -g -O2 -DUSE_PTHREAD -DTEST_USES_TBB=1 -Wall -Wshadow -Wcast-qual -Woverloaded-virtual -Wnon-virtual-dtor -Wextra -O2 -g -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -fexceptions -fstack-protector-strong -grecord-gcc-switches -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -mcpu=power8 -mtune=power8 -funwind-tables -fstack-clash-protection test_pipeline.o libtbb.so -lpthread -lrt -Wl,-rpath-link=. -rdynamic g++ -o test_pipeline_with_tbf.o -c -MMD -O2 -g -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -fexceptions -fstack-protector-strong -grecord-gcc-switches -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -mcpu=power8 -mtune=power8 -funwind-tables -fstack-clash-protection -g -O2 -DUSE_PTHREAD -DTEST_USES_TBB=1 -Wall -Wshadow -Wcast-qual -Woverloaded-virtual -Wnon-virtual-dtor -Wextra -O2 -g -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -fexceptions -fstack-protector-strong -grecord-gcc-switches -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -mcpu=power8 -mtune=power8 -funwind-tables -fstack-clash-protection -std=c++14 -I../../src -I../../src/rml/include -I../../include -I. -include ../../src/test/harness_preload.h ../../src/test/test_pipeline_with_tbf.cpp In file included from ../../include/tbb/tbb_machine.h:243, from ../../include/tbb/atomic.h:32, from ../../include/tbb/pipeline.h:24, from ../../src/test/test_pipeline_with_tbf.cpp:21: ../../include/tbb/machine/mac_ppc.h: In function 'int32_t __TBB_machine_cmpswp4(volatile void*, int32_t, int32_t)': ../../include/tbb/machine/mac_ppc.h:91:46: warning: cast from type 'volatile void*' to type 'int32_t*' {aka 'int*'} casts away qualifiers [-Wcast-qual] , "+m"(* (int32_t*) ptr) /* redundant with "memory" */ ^~~ ../../include/tbb/machine/mac_ppc.h: In function 'int64_t __TBB_machine_cmpswp8(volatile void*, int64_t, int64_t)': ../../include/tbb/machine/mac_ppc.h:116:46: warning: cast from type 'volatile void*' to type 'int64_t*' {aka 'long int*'} casts away qualifiers [-Wcast-qual] , "+m"(* (int64_t*) ptr) /* redundant with "memory" */ ^~~ In file included from ../../include/tbb/enumerable_thread_specific.h:25, from ../../include/tbb/combinable.h:24, from ../../src/test/harness_concurrency_tracker.h:33, from ../../src/test/test_pipeline_with_tbf.cpp:70: ../../include/tbb/concurrent_vector.h: In static member function 'static void tbb::concurrent_vector::copy_range(void*, const void*, tbb::concurrent_vector::size_type)': ../../include/tbb/concurrent_vector.h:1296:18: warning: declaration of 'iterator' shadows a previous local [-Wshadow] I & iterator ((*const_cast(static_cast(p_type_erased_iterator)))); ^ ../../include/tbb/concurrent_vector.h:578:60: note: shadowed declaration is here typedef internal::vector_iterator iterator; ^~~~~~~~ In file included from ../../include/tbb/enumerable_thread_specific.h:25, from ../../include/tbb/combinable.h:24, from ../../src/test/harness_concurrency_tracker.h:33, from ../../src/test/test_pipeline_with_tbf.cpp:70: ../../include/tbb/concurrent_vector.h: In instantiation of 'void tbb::internal::handle_unconstructed_elements(T*, std::size_t) [with T = tbb::internal::padded, 128>; std::size_t = long unsigned int]': ../../include/tbb/concurrent_vector.h:1123:56: required from 'tbb::concurrent_vector::internal_loop_guide::~internal_loop_guide() [with T = tbb::internal::padded, 128>; A = tbb::cache_aligned_allocator, 128> >]' ../../include/tbb/concurrent_vector.h:1262:25: required from 'static void tbb::concurrent_vector::initialize_array(void*, const void*, tbb::concurrent_vector::size_type) [with T = tbb::internal::padded, 128>; A = tbb::cache_aligned_allocator, 128> >; tbb::concurrent_vector::size_type = long unsigned int]' ../../include/tbb/concurrent_vector.h:780:76: required from 'tbb::concurrent_vector::iterator tbb::concurrent_vector::grow_by(tbb::concurrent_vector::size_type) [with T = tbb::internal::padded, 128>; A = tbb::cache_aligned_allocator, 128> >; tbb::concurrent_vector::iterator = tbb::internal::vector_iterator, 128>, tbb::cache_aligned_allocator, 128> > >, tbb::internal::padded, 128> >; tbb::concurrent_vector::size_type = long unsigned int]' ../../include/tbb/enumerable_thread_specific.h:797:36: required from 'void* tbb::interface6::enumerable_thread_specific::create_local() [with T = long unsigned int; Allocator = tbb::cache_aligned_allocator; tbb::ets_key_usage_type ETS_key_type = (tbb::ets_key_usage_type)1]' ../../include/tbb/enumerable_thread_specific.h:796:15: required from here ../../include/tbb/concurrent_vector.h:77:20: warning: 'void* memset(void*, int, size_t)' clearing an object of non-trivial type 'struct tbb::internal::padded, 128>'; use assignment or value-initialization instead [-Wclass-memaccess] std::memset( array, 0, n_of_elements * sizeof( T ) ); ~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ In file included from ../../include/tbb/tbb_machine.h:117, from ../../include/tbb/atomic.h:32, from ../../include/tbb/pipeline.h:24, from ../../src/test/test_pipeline_with_tbf.cpp:21: ../../include/tbb/tbb_stddef.h:257:8: note: 'struct tbb::internal::padded, 128>' declared here struct padded : padded_base {}; ^~~~~~ g++ -o test_pipeline_with_tbf.exe -O2 -g -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -fexceptions -fstack-protector-strong -grecord-gcc-switches -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -mcpu=power8 -mtune=power8 -funwind-tables -fstack-clash-protection -g -O2 -DUSE_PTHREAD -DTEST_USES_TBB=1 -Wall -Wshadow -Wcast-qual -Woverloaded-virtual -Wnon-virtual-dtor -Wextra -O2 -g -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -fexceptions -fstack-protector-strong -grecord-gcc-switches -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -mcpu=power8 -mtune=power8 -funwind-tables -fstack-clash-protection test_pipeline_with_tbf.o libtbb.so -lpthread -lrt -Wl,-rpath-link=. -rdynamic g++ -o test_parallel_pipeline.o -c -MMD -O2 -g -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -fexceptions -fstack-protector-strong -grecord-gcc-switches -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -mcpu=power8 -mtune=power8 -funwind-tables -fstack-clash-protection -g -O2 -DUSE_PTHREAD -DTEST_USES_TBB=1 -Wall -Wshadow -Wcast-qual -Woverloaded-virtual -Wnon-virtual-dtor -Wextra -O2 -g -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -fexceptions -fstack-protector-strong -grecord-gcc-switches -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -mcpu=power8 -mtune=power8 -funwind-tables -fstack-clash-protection -std=c++14 -I../../src -I../../src/rml/include -I../../include -I. -include ../../src/test/harness_preload.h ../../src/test/test_parallel_pipeline.cpp In file included from ../../include/tbb/tbb_machine.h:243, from ../../include/tbb/atomic.h:32, from ../../include/tbb/pipeline.h:24, from ../../src/test/test_parallel_pipeline.cpp:25: ../../include/tbb/machine/mac_ppc.h: In function 'int32_t __TBB_machine_cmpswp4(volatile void*, int32_t, int32_t)': ../../include/tbb/machine/mac_ppc.h:91:46: warning: cast from type 'volatile void*' to type 'int32_t*' {aka 'int*'} casts away qualifiers [-Wcast-qual] , "+m"(* (int32_t*) ptr) /* redundant with "memory" */ ^~~ ../../include/tbb/machine/mac_ppc.h: In function 'int64_t __TBB_machine_cmpswp8(volatile void*, int64_t, int64_t)': ../../include/tbb/machine/mac_ppc.h:116:46: warning: cast from type 'volatile void*' to type 'int64_t*' {aka 'long int*'} casts away qualifiers [-Wcast-qual] , "+m"(* (int64_t*) ptr) /* redundant with "memory" */ ^~~ g++ -o test_parallel_pipeline.exe -O2 -g -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -fexceptions -fstack-protector-strong -grecord-gcc-switches -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -mcpu=power8 -mtune=power8 -funwind-tables -fstack-clash-protection -g -O2 -DUSE_PTHREAD -DTEST_USES_TBB=1 -Wall -Wshadow -Wcast-qual -Woverloaded-virtual -Wnon-virtual-dtor -Wextra -O2 -g -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -fexceptions -fstack-protector-strong -grecord-gcc-switches -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -mcpu=power8 -mtune=power8 -funwind-tables -fstack-clash-protection test_parallel_pipeline.o libtbb.so -lpthread -lrt -Wl,-rpath-link=. -rdynamic g++ -o test_lambda.o -c -MMD -O2 -g -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -fexceptions -fstack-protector-strong -grecord-gcc-switches -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -mcpu=power8 -mtune=power8 -funwind-tables -fstack-clash-protection -g -O2 -DUSE_PTHREAD -DTEST_USES_TBB=1 -Wall -Wshadow -Wcast-qual -Woverloaded-virtual -Wnon-virtual-dtor -Wextra -O2 -g -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -fexceptions -fstack-protector-strong -grecord-gcc-switches -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -mcpu=power8 -mtune=power8 -funwind-tables -fstack-clash-protection -std=c++14 -I../../src -I../../src/rml/include -I../../include -I. -include ../../src/test/harness_preload.h ../../src/test/test_lambda.cpp In file included from ../../include/tbb/tbb_machine.h:243, from ../../include/tbb/aligned_space.h:25, from ../../include/tbb/tbb.h:35, from ../../src/test/test_lambda.cpp:33: ../../include/tbb/machine/mac_ppc.h: In function 'int32_t __TBB_machine_cmpswp4(volatile void*, int32_t, int32_t)': ../../include/tbb/machine/mac_ppc.h:91:46: warning: cast from type 'volatile void*' to type 'int32_t*' {aka 'int*'} casts away qualifiers [-Wcast-qual] , "+m"(* (int32_t*) ptr) /* redundant with "memory" */ ^~~ ../../include/tbb/machine/mac_ppc.h: In function 'int64_t __TBB_machine_cmpswp8(volatile void*, int64_t, int64_t)': ../../include/tbb/machine/mac_ppc.h:116:46: warning: cast from type 'volatile void*' to type 'int64_t*' {aka 'long int*'} casts away qualifiers [-Wcast-qual] , "+m"(* (int64_t*) ptr) /* redundant with "memory" */ ^~~ In file included from ../../include/tbb/enumerable_thread_specific.h:25, from ../../include/tbb/combinable.h:24, from ../../include/tbb/tbb.h:41, from ../../src/test/test_lambda.cpp:33: ../../include/tbb/concurrent_vector.h: In static member function 'static void tbb::concurrent_vector::copy_range(void*, const void*, tbb::concurrent_vector::size_type)': ../../include/tbb/concurrent_vector.h:1296:18: warning: declaration of 'iterator' shadows a previous local [-Wshadow] I & iterator ((*const_cast(static_cast(p_type_erased_iterator)))); ^ ../../include/tbb/concurrent_vector.h:578:60: note: shadowed declaration is here typedef internal::vector_iterator iterator; ^~~~~~~~ In file included from ../../include/tbb/tbb.h:42, from ../../src/test/test_lambda.cpp:33: ../../include/tbb/concurrent_hash_map.h: In static member function 'static void tbb::interface5::internal::hash_map_base::init_buckets(tbb::interface5::internal::hash_map_base::segment_ptr_t, tbb::interface5::internal::hash_map_base::size_type, bool)': ../../include/tbb/concurrent_hash_map.h:158:68: warning: 'void* memset(void*, int, size_t)' clearing an object of type 'struct tbb::interface5::internal::hash_map_base::bucket' with no trivial copy-assignment; use value-initialization instead [-Wclass-memaccess] if( is_initial ) std::memset(ptr, 0, sz*sizeof(bucket) ); ^ ../../include/tbb/concurrent_hash_map.h:87:16: note: 'struct tbb::interface5::internal::hash_map_base::bucket' declared here struct bucket : tbb::internal::no_copy { ^~~~~~ In file included from ../../include/tbb/enumerable_thread_specific.h:25, from ../../include/tbb/combinable.h:24, from ../../include/tbb/tbb.h:41, from ../../src/test/test_lambda.cpp:33: ../../include/tbb/concurrent_vector.h: In instantiation of 'void tbb::internal::handle_unconstructed_elements(T*, std::size_t) [with T = tbb::internal::padded >, 128>; std::size_t = long unsigned int]': ../../include/tbb/concurrent_vector.h:1123:56: required from 'tbb::concurrent_vector::internal_loop_guide::~internal_loop_guide() [with T = tbb::internal::padded >, 128>; A = tbb::cache_aligned_allocator >, 128> >]' ../../include/tbb/concurrent_vector.h:1262:25: required from 'static void tbb::concurrent_vector::initialize_array(void*, const void*, tbb::concurrent_vector::size_type) [with T = tbb::internal::padded >, 128>; A = tbb::cache_aligned_allocator >, 128> >; tbb::concurrent_vector::size_type = long unsigned int]' ../../include/tbb/concurrent_vector.h:780:76: required from 'tbb::concurrent_vector::iterator tbb::concurrent_vector::grow_by(tbb::concurrent_vector::size_type) [with T = tbb::internal::padded >, 128>; A = tbb::cache_aligned_allocator >, 128> >; tbb::concurrent_vector::iterator = tbb::internal::vector_iterator >, 128>, tbb::cache_aligned_allocator >, 128> > >, tbb::internal::padded >, 128> >; tbb::concurrent_vector::size_type = long unsigned int]' ../../include/tbb/enumerable_thread_specific.h:797:36: required from 'void* tbb::interface6::enumerable_thread_specific::create_local() [with T = std::pair; Allocator = tbb::cache_aligned_allocator >; tbb::ets_key_usage_type ETS_key_type = (tbb::ets_key_usage_type)1]' ../../include/tbb/enumerable_thread_specific.h:796:15: required from here ../../include/tbb/concurrent_vector.h:77:20: warning: 'void* memset(void*, int, size_t)' clearing an object of non-trivial type 'struct tbb::internal::padded >, 128>'; use assignment or value-initialization instead [-Wclass-memaccess] std::memset( array, 0, n_of_elements * sizeof( T ) ); ~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ In file included from ../../include/tbb/aligned_space.h:24, from ../../include/tbb/tbb.h:35, from ../../src/test/test_lambda.cpp:33: ../../include/tbb/tbb_stddef.h:257:8: note: 'struct tbb::internal::padded >, 128>' declared here struct padded : padded_base {}; ^~~~~~ g++ -o test_lambda.exe -O2 -g -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -fexceptions -fstack-protector-strong -grecord-gcc-switches -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -mcpu=power8 -mtune=power8 -funwind-tables -fstack-clash-protection -g -O2 -DUSE_PTHREAD -DTEST_USES_TBB=1 -Wall -Wshadow -Wcast-qual -Woverloaded-virtual -Wnon-virtual-dtor -Wextra -O2 -g -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -fexceptions -fstack-protector-strong -grecord-gcc-switches -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -mcpu=power8 -mtune=power8 -funwind-tables -fstack-clash-protection test_lambda.o libtbb.so -lpthread -lrt -Wl,-rpath-link=. -rdynamic g++ -o test_task_scheduler_init.o -c -MMD -O2 -g -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -fexceptions -fstack-protector-strong -grecord-gcc-switches -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -mcpu=power8 -mtune=power8 -funwind-tables -fstack-clash-protection -g -O2 -DUSE_PTHREAD -DTEST_USES_TBB=1 -Wall -Wshadow -Wcast-qual -Woverloaded-virtual -Wnon-virtual-dtor -Wextra -O2 -g -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -fexceptions -fstack-protector-strong -grecord-gcc-switches -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -mcpu=power8 -mtune=power8 -funwind-tables -fstack-clash-protection -std=c++14 -I../../src -I../../src/rml/include -I../../include -I. -include ../../src/test/harness_preload.h ../../src/test/test_task_scheduler_init.cpp In file included from ../../include/tbb/tbb_machine.h:243, from ../../include/tbb/task.h:25, from ../../include/tbb/parallel_for.h:25, from ../../src/test/test_task_scheduler_init.cpp:41: ../../include/tbb/machine/mac_ppc.h: In function 'int32_t __TBB_machine_cmpswp4(volatile void*, int32_t, int32_t)': ../../include/tbb/machine/mac_ppc.h:91:46: warning: cast from type 'volatile void*' to type 'int32_t*' {aka 'int*'} casts away qualifiers [-Wcast-qual] , "+m"(* (int32_t*) ptr) /* redundant with "memory" */ ^~~ ../../include/tbb/machine/mac_ppc.h: In function 'int64_t __TBB_machine_cmpswp8(volatile void*, int64_t, int64_t)': ../../include/tbb/machine/mac_ppc.h:116:46: warning: cast from type 'volatile void*' to type 'int64_t*' {aka 'long int*'} casts away qualifiers [-Wcast-qual] , "+m"(* (int64_t*) ptr) /* redundant with "memory" */ ^~~ In file included from ../../include/tbb/enumerable_thread_specific.h:25, from ../../include/tbb/combinable.h:24, from ../../src/test/harness_concurrency_tracker.h:33, from ../../src/test/test_task_scheduler_init.cpp:46: ../../include/tbb/concurrent_vector.h: In static member function 'static void tbb::concurrent_vector::copy_range(void*, const void*, tbb::concurrent_vector::size_type)': ../../include/tbb/concurrent_vector.h:1296:18: warning: declaration of 'iterator' shadows a previous local [-Wshadow] I & iterator ((*const_cast(static_cast(p_type_erased_iterator)))); ^ ../../include/tbb/concurrent_vector.h:578:60: note: shadowed declaration is here typedef internal::vector_iterator iterator; ^~~~~~~~ In file included from ../../include/tbb/enumerable_thread_specific.h:25, from ../../include/tbb/combinable.h:24, from ../../src/test/harness_concurrency_tracker.h:33, from ../../src/test/test_task_scheduler_init.cpp:46: ../../include/tbb/concurrent_vector.h: In instantiation of 'void tbb::internal::handle_unconstructed_elements(T*, std::size_t) [with T = tbb::internal::padded, 128>; std::size_t = long unsigned int]': ../../include/tbb/concurrent_vector.h:1123:56: required from 'tbb::concurrent_vector::internal_loop_guide::~internal_loop_guide() [with T = tbb::internal::padded, 128>; A = tbb::cache_aligned_allocator, 128> >]' ../../include/tbb/concurrent_vector.h:1262:25: required from 'static void tbb::concurrent_vector::initialize_array(void*, const void*, tbb::concurrent_vector::size_type) [with T = tbb::internal::padded, 128>; A = tbb::cache_aligned_allocator, 128> >; tbb::concurrent_vector::size_type = long unsigned int]' ../../include/tbb/concurrent_vector.h:780:76: required from 'tbb::concurrent_vector::iterator tbb::concurrent_vector::grow_by(tbb::concurrent_vector::size_type) [with T = tbb::internal::padded, 128>; A = tbb::cache_aligned_allocator, 128> >; tbb::concurrent_vector::iterator = tbb::internal::vector_iterator, 128>, tbb::cache_aligned_allocator, 128> > >, tbb::internal::padded, 128> >; tbb::concurrent_vector::size_type = long unsigned int]' ../../include/tbb/enumerable_thread_specific.h:797:36: required from 'void* tbb::interface6::enumerable_thread_specific::create_local() [with T = long unsigned int; Allocator = tbb::cache_aligned_allocator; tbb::ets_key_usage_type ETS_key_type = (tbb::ets_key_usage_type)1]' ../../include/tbb/enumerable_thread_specific.h:796:15: required from here ../../include/tbb/concurrent_vector.h:77:20: warning: 'void* memset(void*, int, size_t)' clearing an object of non-trivial type 'struct tbb::internal::padded, 128>'; use assignment or value-initialization instead [-Wclass-memaccess] std::memset( array, 0, n_of_elements * sizeof( T ) ); ~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ In file included from ../../include/tbb/task_scheduler_init.h:24, from ../../src/test/test_task_scheduler_init.cpp:27: ../../include/tbb/tbb_stddef.h:257:8: note: 'struct tbb::internal::padded, 128>' declared here struct padded : padded_base {}; ^~~~~~ g++ -o test_task_scheduler_init.exe -O2 -g -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -fexceptions -fstack-protector-strong -grecord-gcc-switches -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -mcpu=power8 -mtune=power8 -funwind-tables -fstack-clash-protection -g -O2 -DUSE_PTHREAD -DTEST_USES_TBB=1 -Wall -Wshadow -Wcast-qual -Woverloaded-virtual -Wnon-virtual-dtor -Wextra -O2 -g -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -fexceptions -fstack-protector-strong -grecord-gcc-switches -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -mcpu=power8 -mtune=power8 -funwind-tables -fstack-clash-protection test_task_scheduler_init.o libtbb.so -lpthread -lrt -Wl,-rpath-link=. -rdynamic g++ -o test_task_scheduler_observer.o -c -MMD -O2 -g -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -fexceptions -fstack-protector-strong -grecord-gcc-switches -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -mcpu=power8 -mtune=power8 -funwind-tables -fstack-clash-protection -g -O2 -DUSE_PTHREAD -DTEST_USES_TBB=1 -Wall -Wshadow -Wcast-qual -Woverloaded-virtual -Wnon-virtual-dtor -Wextra -O2 -g -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -fexceptions -fstack-protector-strong -grecord-gcc-switches -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -mcpu=power8 -mtune=power8 -funwind-tables -fstack-clash-protection -std=c++14 -I../../src -I../../src/rml/include -I../../include -I. -include ../../src/test/harness_preload.h ../../src/test/test_task_scheduler_observer.cpp In file included from ../../include/tbb/tbb_machine.h:243, from ../../include/tbb/atomic.h:32, from ../../include/tbb/task_scheduler_observer.h:24, from ../../src/test/test_task_scheduler_observer.cpp:34: ../../include/tbb/machine/mac_ppc.h: In function 'int32_t __TBB_machine_cmpswp4(volatile void*, int32_t, int32_t)': ../../include/tbb/machine/mac_ppc.h:91:46: warning: cast from type 'volatile void*' to type 'int32_t*' {aka 'int*'} casts away qualifiers [-Wcast-qual] , "+m"(* (int32_t*) ptr) /* redundant with "memory" */ ^~~ ../../include/tbb/machine/mac_ppc.h: In function 'int64_t __TBB_machine_cmpswp8(volatile void*, int64_t, int64_t)': ../../include/tbb/machine/mac_ppc.h:116:46: warning: cast from type 'volatile void*' to type 'int64_t*' {aka 'long int*'} casts away qualifiers [-Wcast-qual] , "+m"(* (int64_t*) ptr) /* redundant with "memory" */ ^~~ In file included from ../../include/tbb/enumerable_thread_specific.h:25, from ../../src/test/test_task_scheduler_observer.cpp:38: ../../include/tbb/concurrent_vector.h: In static member function 'static void tbb::concurrent_vector::copy_range(void*, const void*, tbb::concurrent_vector::size_type)': ../../include/tbb/concurrent_vector.h:1296:18: warning: declaration of 'iterator' shadows a previous local [-Wshadow] I & iterator ((*const_cast(static_cast(p_type_erased_iterator)))); ^ ../../include/tbb/concurrent_vector.h:578:60: note: shadowed declaration is here typedef internal::vector_iterator iterator; ^~~~~~~~ In file included from ../../include/tbb/enumerable_thread_specific.h:25, from ../../src/test/test_task_scheduler_observer.cpp:38: ../../include/tbb/concurrent_vector.h: In instantiation of 'void tbb::internal::handle_unconstructed_elements(T*, std::size_t) [with T = tbb::internal::padded, 128>; std::size_t = long unsigned int]': ../../include/tbb/concurrent_vector.h:1123:56: required from 'tbb::concurrent_vector::internal_loop_guide::~internal_loop_guide() [with T = tbb::internal::padded, 128>; A = tbb::cache_aligned_allocator, 128> >]' ../../include/tbb/concurrent_vector.h:1262:25: required from 'static void tbb::concurrent_vector::initialize_array(void*, const void*, tbb::concurrent_vector::size_type) [with T = tbb::internal::padded, 128>; A = tbb::cache_aligned_allocator, 128> >; tbb::concurrent_vector::size_type = long unsigned int]' ../../include/tbb/concurrent_vector.h:780:76: required from 'tbb::concurrent_vector::iterator tbb::concurrent_vector::grow_by(tbb::concurrent_vector::size_type) [with T = tbb::internal::padded, 128>; A = tbb::cache_aligned_allocator, 128> >; tbb::concurrent_vector::iterator = tbb::internal::vector_iterator, 128>, tbb::cache_aligned_allocator, 128> > >, tbb::internal::padded, 128> >; tbb::concurrent_vector::size_type = long unsigned int]' ../../include/tbb/enumerable_thread_specific.h:797:36: required from 'void* tbb::interface6::enumerable_thread_specific::create_local() [with T = ThreadState; Allocator = tbb::cache_aligned_allocator; tbb::ets_key_usage_type ETS_key_type = (tbb::ets_key_usage_type)1]' ../../include/tbb/enumerable_thread_specific.h:796:15: required from here ../../include/tbb/concurrent_vector.h:77:20: warning: 'void* memset(void*, int, size_t)' clearing an object of non-trivial type 'struct tbb::internal::padded, 128>'; use assignment or value-initialization instead [-Wclass-memaccess] std::memset( array, 0, n_of_elements * sizeof( T ) ); ~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ In file included from ../../src/test/harness.h:189, from ../../src/test/test_task_scheduler_observer.cpp:31: ../../include/tbb/tbb_stddef.h:257:8: note: 'struct tbb::internal::padded, 128>' declared here struct padded : padded_base {}; ^~~~~~ g++ -o test_task_scheduler_observer.exe -O2 -g -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -fexceptions -fstack-protector-strong -grecord-gcc-switches -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -mcpu=power8 -mtune=power8 -funwind-tables -fstack-clash-protection -g -O2 -DUSE_PTHREAD -DTEST_USES_TBB=1 -Wall -Wshadow -Wcast-qual -Woverloaded-virtual -Wnon-virtual-dtor -Wextra -O2 -g -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -fexceptions -fstack-protector-strong -grecord-gcc-switches -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -mcpu=power8 -mtune=power8 -funwind-tables -fstack-clash-protection test_task_scheduler_observer.o libtbb.so -lpthread -lrt -Wl,-rpath-link=. -rdynamic g++ -o test_task.o -c -MMD -O2 -g -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -fexceptions -fstack-protector-strong -grecord-gcc-switches -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -mcpu=power8 -mtune=power8 -funwind-tables -fstack-clash-protection -g -O2 -DUSE_PTHREAD -DTEST_USES_TBB=1 -Wall -Wshadow -Wcast-qual -Woverloaded-virtual -Wnon-virtual-dtor -Wextra -O2 -g -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -fexceptions -fstack-protector-strong -grecord-gcc-switches -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -mcpu=power8 -mtune=power8 -funwind-tables -fstack-clash-protection -std=c++14 -I../../src -I../../src/rml/include -I../../include -I. -include ../../src/test/harness_preload.h ../../src/test/test_task.cpp In file included from ../../include/tbb/tbb_machine.h:243, from ../../include/tbb/task.h:25, from ../../src/test/harness_task.h:21, from ../../src/test/test_task.cpp:21: ../../include/tbb/machine/mac_ppc.h: In function 'int32_t __TBB_machine_cmpswp4(volatile void*, int32_t, int32_t)': ../../include/tbb/machine/mac_ppc.h:91:46: warning: cast from type 'volatile void*' to type 'int32_t*' {aka 'int*'} casts away qualifiers [-Wcast-qual] , "+m"(* (int32_t*) ptr) /* redundant with "memory" */ ^~~ ../../include/tbb/machine/mac_ppc.h: In function 'int64_t __TBB_machine_cmpswp8(volatile void*, int64_t, int64_t)': ../../include/tbb/machine/mac_ppc.h:116:46: warning: cast from type 'volatile void*' to type 'int64_t*' {aka 'long int*'} casts away qualifiers [-Wcast-qual] , "+m"(* (int64_t*) ptr) /* redundant with "memory" */ ^~~ g++ -o test_task.exe -O2 -g -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -fexceptions -fstack-protector-strong -grecord-gcc-switches -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -mcpu=power8 -mtune=power8 -funwind-tables -fstack-clash-protection -g -O2 -DUSE_PTHREAD -DTEST_USES_TBB=1 -Wall -Wshadow -Wcast-qual -Woverloaded-virtual -Wnon-virtual-dtor -Wextra -O2 -g -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -fexceptions -fstack-protector-strong -grecord-gcc-switches -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -mcpu=power8 -mtune=power8 -funwind-tables -fstack-clash-protection test_task.o libtbb.so -lpthread -lrt -Wl,-rpath-link=. -rdynamic g++ -o test_tbb_thread.o -c -MMD -O2 -g -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -fexceptions -fstack-protector-strong -grecord-gcc-switches -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -mcpu=power8 -mtune=power8 -funwind-tables -fstack-clash-protection -g -O2 -DUSE_PTHREAD -DTEST_USES_TBB=1 -Wall -Wshadow -Wcast-qual -Woverloaded-virtual -Wnon-virtual-dtor -Wextra -O2 -g -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -fexceptions -fstack-protector-strong -grecord-gcc-switches -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -mcpu=power8 -mtune=power8 -funwind-tables -fstack-clash-protection -std=c++14 -I../../src -I../../src/rml/include -I../../include -I. -include ../../src/test/harness_preload.h ../../src/test/test_tbb_thread.cpp In file included from ../../include/tbb/tbb_machine.h:243, from ../../include/tbb/atomic.h:32, from ../../include/tbb/tbb_thread.h:46, from ../../src/test/test_tbb_thread.cpp:21: ../../include/tbb/machine/mac_ppc.h: In function 'int32_t __TBB_machine_cmpswp4(volatile void*, int32_t, int32_t)': ../../include/tbb/machine/mac_ppc.h:91:46: warning: cast from type 'volatile void*' to type 'int32_t*' {aka 'int*'} casts away qualifiers [-Wcast-qual] , "+m"(* (int32_t*) ptr) /* redundant with "memory" */ ^~~ ../../include/tbb/machine/mac_ppc.h: In function 'int64_t __TBB_machine_cmpswp8(volatile void*, int64_t, int64_t)': ../../include/tbb/machine/mac_ppc.h:116:46: warning: cast from type 'volatile void*' to type 'int64_t*' {aka 'long int*'} casts away qualifiers [-Wcast-qual] , "+m"(* (int64_t*) ptr) /* redundant with "memory" */ ^~~ g++ -o test_tbb_thread.exe -O2 -g -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -fexceptions -fstack-protector-strong -grecord-gcc-switches -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -mcpu=power8 -mtune=power8 -funwind-tables -fstack-clash-protection -g -O2 -DUSE_PTHREAD -DTEST_USES_TBB=1 -Wall -Wshadow -Wcast-qual -Woverloaded-virtual -Wnon-virtual-dtor -Wextra -O2 -g -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -fexceptions -fstack-protector-strong -grecord-gcc-switches -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -mcpu=power8 -mtune=power8 -funwind-tables -fstack-clash-protection test_tbb_thread.o libtbb.so -lpthread -lrt -Wl,-rpath-link=. -rdynamic g++ -o test_std_thread.o -c -MMD -O2 -g -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -fexceptions -fstack-protector-strong -grecord-gcc-switches -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -mcpu=power8 -mtune=power8 -funwind-tables -fstack-clash-protection -g -O2 -DUSE_PTHREAD -DTEST_USES_TBB=1 -Wall -Wshadow -Wcast-qual -Woverloaded-virtual -Wnon-virtual-dtor -Wextra -O2 -g -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -fexceptions -fstack-protector-strong -grecord-gcc-switches -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -mcpu=power8 -mtune=power8 -funwind-tables -fstack-clash-protection -std=c++14 -I../../src -I../../src/rml/include -I../../include -I. -include ../../src/test/harness_preload.h ../../src/test/test_std_thread.cpp In file included from ../../include/tbb/compat/../tbb_machine.h:243, from ../../include/tbb/compat/../atomic.h:32, from ../../include/tbb/compat/../tbb_thread.h:46, from ../../include/tbb/compat/thread:28, from ../../src/test/test_std_thread.cpp:31: ../../include/tbb/compat/../machine/mac_ppc.h: In function 'int32_t __TBB_machine_cmpswp4(volatile void*, int32_t, int32_t)': ../../include/tbb/compat/../machine/mac_ppc.h:91:46: warning: cast from type 'volatile void*' to type 'int32_t*' {aka 'int*'} casts away qualifiers [-Wcast-qual] , "+m"(* (int32_t*) ptr) /* redundant with "memory" */ ^~~ ../../include/tbb/compat/../machine/mac_ppc.h: In function 'int64_t __TBB_machine_cmpswp8(volatile void*, int64_t, int64_t)': ../../include/tbb/compat/../machine/mac_ppc.h:116:46: warning: cast from type 'volatile void*' to type 'int64_t*' {aka 'long int*'} casts away qualifiers [-Wcast-qual] , "+m"(* (int64_t*) ptr) /* redundant with "memory" */ ^~~ g++ -o test_std_thread.exe -O2 -g -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -fexceptions -fstack-protector-strong -grecord-gcc-switches -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -mcpu=power8 -mtune=power8 -funwind-tables -fstack-clash-protection -g -O2 -DUSE_PTHREAD -DTEST_USES_TBB=1 -Wall -Wshadow -Wcast-qual -Woverloaded-virtual -Wnon-virtual-dtor -Wextra -O2 -g -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -fexceptions -fstack-protector-strong -grecord-gcc-switches -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -mcpu=power8 -mtune=power8 -funwind-tables -fstack-clash-protection test_std_thread.o libtbb.so -lpthread -lrt -Wl,-rpath-link=. -rdynamic g++ -o test_tick_count.o -c -MMD -O2 -g -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -fexceptions -fstack-protector-strong -grecord-gcc-switches -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -mcpu=power8 -mtune=power8 -funwind-tables -fstack-clash-protection -g -O2 -DUSE_PTHREAD -DTEST_USES_TBB=1 -Wall -Wshadow -Wcast-qual -Woverloaded-virtual -Wnon-virtual-dtor -Wextra -O2 -g -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -fexceptions -fstack-protector-strong -grecord-gcc-switches -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -mcpu=power8 -mtune=power8 -funwind-tables -fstack-clash-protection -std=c++14 -I../../src -I../../src/rml/include -I../../include -I. -include ../../src/test/harness_preload.h ../../src/test/test_tick_count.cpp In file included from ../../include/tbb/tbb_machine.h:243, from ../../include/tbb/atomic.h:32, from ../../src/test/test_tick_count.cpp:95: ../../include/tbb/machine/mac_ppc.h: In function 'int32_t __TBB_machine_cmpswp4(volatile void*, int32_t, int32_t)': ../../include/tbb/machine/mac_ppc.h:91:46: warning: cast from type 'volatile void*' to type 'int32_t*' {aka 'int*'} casts away qualifiers [-Wcast-qual] , "+m"(* (int32_t*) ptr) /* redundant with "memory" */ ^~~ ../../include/tbb/machine/mac_ppc.h: In function 'int64_t __TBB_machine_cmpswp8(volatile void*, int64_t, int64_t)': ../../include/tbb/machine/mac_ppc.h:116:46: warning: cast from type 'volatile void*' to type 'int64_t*' {aka 'long int*'} casts away qualifiers [-Wcast-qual] , "+m"(* (int64_t*) ptr) /* redundant with "memory" */ ^~~ g++ -o test_tick_count.exe -O2 -g -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -fexceptions -fstack-protector-strong -grecord-gcc-switches -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -mcpu=power8 -mtune=power8 -funwind-tables -fstack-clash-protection -g -O2 -DUSE_PTHREAD -DTEST_USES_TBB=1 -Wall -Wshadow -Wcast-qual -Woverloaded-virtual -Wnon-virtual-dtor -Wextra -O2 -g -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -fexceptions -fstack-protector-strong -grecord-gcc-switches -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -mcpu=power8 -mtune=power8 -funwind-tables -fstack-clash-protection test_tick_count.o libtbb.so -lpthread -lrt -Wl,-rpath-link=. -rdynamic g++ -o test_inits_loop.o -c -MMD -O2 -g -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -fexceptions -fstack-protector-strong -grecord-gcc-switches -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -mcpu=power8 -mtune=power8 -funwind-tables -fstack-clash-protection -g -O2 -DUSE_PTHREAD -DTEST_USES_TBB=1 -Wall -Wshadow -Wcast-qual -Woverloaded-virtual -Wnon-virtual-dtor -Wextra -O2 -g -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -fexceptions -fstack-protector-strong -grecord-gcc-switches -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -mcpu=power8 -mtune=power8 -funwind-tables -fstack-clash-protection -std=c++14 -I../../src -I../../src/rml/include -I../../include -I. -include ../../src/test/harness_preload.h ../../src/test/test_inits_loop.cpp g++ -o test_inits_loop.exe -O2 -g -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -fexceptions -fstack-protector-strong -grecord-gcc-switches -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -mcpu=power8 -mtune=power8 -funwind-tables -fstack-clash-protection -g -O2 -DUSE_PTHREAD -DTEST_USES_TBB=1 -Wall -Wshadow -Wcast-qual -Woverloaded-virtual -Wnon-virtual-dtor -Wextra -O2 -g -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -fexceptions -fstack-protector-strong -grecord-gcc-switches -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -mcpu=power8 -mtune=power8 -funwind-tables -fstack-clash-protection test_inits_loop.o libtbb.so -lpthread -lrt -Wl,-rpath-link=. -rdynamic g++ -o test_yield.o -c -MMD -O2 -g -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -fexceptions -fstack-protector-strong -grecord-gcc-switches -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -mcpu=power8 -mtune=power8 -funwind-tables -fstack-clash-protection -g -O2 -DUSE_PTHREAD -DTEST_USES_TBB=1 -Wall -Wshadow -Wcast-qual -Woverloaded-virtual -Wnon-virtual-dtor -Wextra -O2 -g -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -fexceptions -fstack-protector-strong -grecord-gcc-switches -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -mcpu=power8 -mtune=power8 -funwind-tables -fstack-clash-protection -std=c++14 -I../../src -I../../src/rml/include -I../../include -I. -include ../../src/test/harness_preload.h ../../src/test/test_yield.cpp In file included from ../../include/tbb/tbb_machine.h:243, from ../../src/test/test_yield.cpp:27: ../../include/tbb/machine/mac_ppc.h: In function 'int32_t __TBB_machine_cmpswp4(volatile void*, int32_t, int32_t)': ../../include/tbb/machine/mac_ppc.h:91:46: warning: cast from type 'volatile void*' to type 'int32_t*' {aka 'int*'} casts away qualifiers [-Wcast-qual] , "+m"(* (int32_t*) ptr) /* redundant with "memory" */ ^~~ ../../include/tbb/machine/mac_ppc.h: In function 'int64_t __TBB_machine_cmpswp8(volatile void*, int64_t, int64_t)': ../../include/tbb/machine/mac_ppc.h:116:46: warning: cast from type 'volatile void*' to type 'int64_t*' {aka 'long int*'} casts away qualifiers [-Wcast-qual] , "+m"(* (int64_t*) ptr) /* redundant with "memory" */ ^~~ g++ -o test_yield.exe -O2 -g -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -fexceptions -fstack-protector-strong -grecord-gcc-switches -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -mcpu=power8 -mtune=power8 -funwind-tables -fstack-clash-protection -g -O2 -DUSE_PTHREAD -DTEST_USES_TBB=1 -Wall -Wshadow -Wcast-qual -Woverloaded-virtual -Wnon-virtual-dtor -Wextra -O2 -g -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -fexceptions -fstack-protector-strong -grecord-gcc-switches -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -mcpu=power8 -mtune=power8 -funwind-tables -fstack-clash-protection test_yield.o libtbb.so -lpthread -lrt -Wl,-rpath-link=. -rdynamic g++ -o test_eh_tasks.o -c -MMD -O2 -g -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -fexceptions -fstack-protector-strong -grecord-gcc-switches -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -mcpu=power8 -mtune=power8 -funwind-tables -fstack-clash-protection -g -O2 -DUSE_PTHREAD -DTEST_USES_TBB=1 -Wall -Wshadow -Wcast-qual -Woverloaded-virtual -Wnon-virtual-dtor -Wextra -O2 -g -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -fexceptions -fstack-protector-strong -grecord-gcc-switches -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -mcpu=power8 -mtune=power8 -funwind-tables -fstack-clash-protection -std=c++14 -I../../src -I../../src/rml/include -I../../include -I. -include ../../src/test/harness_preload.h ../../src/test/test_eh_tasks.cpp In file included from ../../include/tbb/tbb_machine.h:243, from ../../include/tbb/task.h:25, from ../../src/test/test_eh_tasks.cpp:36: ../../include/tbb/machine/mac_ppc.h: In function 'int32_t __TBB_machine_cmpswp4(volatile void*, int32_t, int32_t)': ../../include/tbb/machine/mac_ppc.h:91:46: warning: cast from type 'volatile void*' to type 'int32_t*' {aka 'int*'} casts away qualifiers [-Wcast-qual] , "+m"(* (int32_t*) ptr) /* redundant with "memory" */ ^~~ ../../include/tbb/machine/mac_ppc.h: In function 'int64_t __TBB_machine_cmpswp8(volatile void*, int64_t, int64_t)': ../../include/tbb/machine/mac_ppc.h:116:46: warning: cast from type 'volatile void*' to type 'int64_t*' {aka 'long int*'} casts away qualifiers [-Wcast-qual] , "+m"(* (int64_t*) ptr) /* redundant with "memory" */ ^~~ In file included from ../../include/tbb/enumerable_thread_specific.h:25, from ../../include/tbb/combinable.h:24, from ../../src/test/harness_concurrency_tracker.h:33, from ../../src/test/harness_eh.h:28, from ../../src/test/test_eh_tasks.cpp:85: ../../include/tbb/concurrent_vector.h: In static member function 'static void tbb::concurrent_vector::copy_range(void*, const void*, tbb::concurrent_vector::size_type)': ../../include/tbb/concurrent_vector.h:1296:18: warning: declaration of 'iterator' shadows a previous local [-Wshadow] I & iterator ((*const_cast(static_cast(p_type_erased_iterator)))); ^ ../../include/tbb/concurrent_vector.h:578:60: note: shadowed declaration is here typedef internal::vector_iterator iterator; ^~~~~~~~ ../../src/test/test_eh_tasks.cpp: In member function 'void CtxConcurrentDestroyer::operator()(int) const': ../../src/test/test_eh_tasks.cpp:727:71: warning: 'void* memset(void*, int, size_t)' clearing an object of type 'class tbb::task_group_context' with no trivial copy-assignment; use value-initialization instead [-Wclass-memaccess] memset( s_Contexts[i], 0, sizeof(tbb::task_group_context) ); ^ In file included from ../../src/test/test_eh_tasks.cpp:36: ../../include/tbb/task.h:319:7: note: 'class tbb::task_group_context' declared here class task_group_context : internal::no_copy { ^~~~~~~~~~~~~~~~~~ In file included from ../../include/tbb/enumerable_thread_specific.h:25, from ../../include/tbb/combinable.h:24, from ../../src/test/harness_concurrency_tracker.h:33, from ../../src/test/harness_eh.h:28, from ../../src/test/test_eh_tasks.cpp:85: ../../include/tbb/concurrent_vector.h: In instantiation of 'void tbb::internal::handle_unconstructed_elements(T*, std::size_t) [with T = tbb::internal::padded, 128>; std::size_t = long unsigned int]': ../../include/tbb/concurrent_vector.h:1123:56: required from 'tbb::concurrent_vector::internal_loop_guide::~internal_loop_guide() [with T = tbb::internal::padded, 128>; A = tbb::cache_aligned_allocator, 128> >]' ../../include/tbb/concurrent_vector.h:1262:25: required from 'static void tbb::concurrent_vector::initialize_array(void*, const void*, tbb::concurrent_vector::size_type) [with T = tbb::internal::padded, 128>; A = tbb::cache_aligned_allocator, 128> >; tbb::concurrent_vector::size_type = long unsigned int]' ../../include/tbb/concurrent_vector.h:780:76: required from 'tbb::concurrent_vector::iterator tbb::concurrent_vector::grow_by(tbb::concurrent_vector::size_type) [with T = tbb::internal::padded, 128>; A = tbb::cache_aligned_allocator, 128> >; tbb::concurrent_vector::iterator = tbb::internal::vector_iterator, 128>, tbb::cache_aligned_allocator, 128> > >, tbb::internal::padded, 128> >; tbb::concurrent_vector::size_type = long unsigned int]' ../../include/tbb/enumerable_thread_specific.h:797:36: required from 'void* tbb::interface6::enumerable_thread_specific::create_local() [with T = long unsigned int; Allocator = tbb::cache_aligned_allocator; tbb::ets_key_usage_type ETS_key_type = (tbb::ets_key_usage_type)1]' ../../include/tbb/enumerable_thread_specific.h:796:15: required from here ../../include/tbb/concurrent_vector.h:77:20: warning: 'void* memset(void*, int, size_t)' clearing an object of non-trivial type 'struct tbb::internal::padded, 128>'; use assignment or value-initialization instead [-Wclass-memaccess] std::memset( array, 0, n_of_elements * sizeof( T ) ); ~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ In file included from ../../src/test/harness.h:189, from ../../src/test/test_eh_tasks.cpp:25: ../../include/tbb/tbb_stddef.h:257:8: note: 'struct tbb::internal::padded, 128>' declared here struct padded : padded_base {}; ^~~~~~ g++ -o test_eh_tasks.exe -O2 -g -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -fexceptions -fstack-protector-strong -grecord-gcc-switches -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -mcpu=power8 -mtune=power8 -funwind-tables -fstack-clash-protection -g -O2 -DUSE_PTHREAD -DTEST_USES_TBB=1 -Wall -Wshadow -Wcast-qual -Woverloaded-virtual -Wnon-virtual-dtor -Wextra -O2 -g -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -fexceptions -fstack-protector-strong -grecord-gcc-switches -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -mcpu=power8 -mtune=power8 -funwind-tables -fstack-clash-protection test_eh_tasks.o libtbb.so -lpthread -lrt -Wl,-rpath-link=. -rdynamic g++ -o test_eh_algorithms.o -c -MMD -O2 -g -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -fexceptions -fstack-protector-strong -grecord-gcc-switches -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -mcpu=power8 -mtune=power8 -funwind-tables -fstack-clash-protection -g -O2 -DUSE_PTHREAD -DTEST_USES_TBB=1 -Wall -Wshadow -Wcast-qual -Woverloaded-virtual -Wnon-virtual-dtor -Wextra -O2 -g -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -fexceptions -fstack-protector-strong -grecord-gcc-switches -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -mcpu=power8 -mtune=power8 -funwind-tables -fstack-clash-protection -std=c++14 -I../../src -I../../src/rml/include -I../../include -I. -include ../../src/test/harness_preload.h ../../src/test/test_eh_algorithms.cpp In file included from ../../include/tbb/tbb_machine.h:243, from ../../include/tbb/task.h:25, from ../../src/test/test_eh_algorithms.cpp:31: ../../include/tbb/machine/mac_ppc.h: In function 'int32_t __TBB_machine_cmpswp4(volatile void*, int32_t, int32_t)': ../../include/tbb/machine/mac_ppc.h:91:46: warning: cast from type 'volatile void*' to type 'int32_t*' {aka 'int*'} casts away qualifiers [-Wcast-qual] , "+m"(* (int32_t*) ptr) /* redundant with "memory" */ ^~~ ../../include/tbb/machine/mac_ppc.h: In function 'int64_t __TBB_machine_cmpswp8(volatile void*, int64_t, int64_t)': ../../include/tbb/machine/mac_ppc.h:116:46: warning: cast from type 'volatile void*' to type 'int64_t*' {aka 'long int*'} casts away qualifiers [-Wcast-qual] , "+m"(* (int64_t*) ptr) /* redundant with "memory" */ ^~~ In file included from ../../include/tbb/enumerable_thread_specific.h:25, from ../../include/tbb/combinable.h:24, from ../../src/test/harness_concurrency_tracker.h:33, from ../../src/test/harness_eh.h:28, from ../../src/test/test_eh_algorithms.cpp:54: ../../include/tbb/concurrent_vector.h: In static member function 'static void tbb::concurrent_vector::copy_range(void*, const void*, tbb::concurrent_vector::size_type)': ../../include/tbb/concurrent_vector.h:1296:18: warning: declaration of 'iterator' shadows a previous local [-Wshadow] I & iterator ((*const_cast(static_cast(p_type_erased_iterator)))); ^ ../../include/tbb/concurrent_vector.h:578:60: note: shadowed declaration is here typedef internal::vector_iterator iterator; ^~~~~~~~ In file included from ../../include/tbb/enumerable_thread_specific.h:25, from ../../include/tbb/combinable.h:24, from ../../src/test/harness_concurrency_tracker.h:33, from ../../src/test/harness_eh.h:28, from ../../src/test/test_eh_algorithms.cpp:54: ../../include/tbb/concurrent_vector.h: In instantiation of 'void tbb::internal::handle_unconstructed_elements(T*, std::size_t) [with T = tbb::internal::padded, 128>; std::size_t = long unsigned int]': ../../include/tbb/concurrent_vector.h:1123:56: required from 'tbb::concurrent_vector::internal_loop_guide::~internal_loop_guide() [with T = tbb::internal::padded, 128>; A = tbb::cache_aligned_allocator, 128> >]' ../../include/tbb/concurrent_vector.h:1262:25: required from 'static void tbb::concurrent_vector::initialize_array(void*, const void*, tbb::concurrent_vector::size_type) [with T = tbb::internal::padded, 128>; A = tbb::cache_aligned_allocator, 128> >; tbb::concurrent_vector::size_type = long unsigned int]' ../../include/tbb/concurrent_vector.h:780:76: required from 'tbb::concurrent_vector::iterator tbb::concurrent_vector::grow_by(tbb::concurrent_vector::size_type) [with T = tbb::internal::padded, 128>; A = tbb::cache_aligned_allocator, 128> >; tbb::concurrent_vector::iterator = tbb::internal::vector_iterator, 128>, tbb::cache_aligned_allocator, 128> > >, tbb::internal::padded, 128> >; tbb::concurrent_vector::size_type = long unsigned int]' ../../include/tbb/enumerable_thread_specific.h:797:36: required from 'void* tbb::interface6::enumerable_thread_specific::create_local() [with T = long unsigned int; Allocator = tbb::cache_aligned_allocator; tbb::ets_key_usage_type ETS_key_type = (tbb::ets_key_usage_type)1]' ../../include/tbb/enumerable_thread_specific.h:796:15: required from here ../../include/tbb/concurrent_vector.h:77:20: warning: 'void* memset(void*, int, size_t)' clearing an object of non-trivial type 'struct tbb::internal::padded, 128>'; use assignment or value-initialization instead [-Wclass-memaccess] std::memset( array, 0, n_of_elements * sizeof( T ) ); ~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ In file included from ../../src/test/harness.h:189, from ../../src/test/test_eh_algorithms.cpp:24: ../../include/tbb/tbb_stddef.h:257:8: note: 'struct tbb::internal::padded, 128>' declared here struct padded : padded_base {}; ^~~~~~ g++ -o test_eh_algorithms.exe -O2 -g -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -fexceptions -fstack-protector-strong -grecord-gcc-switches -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -mcpu=power8 -mtune=power8 -funwind-tables -fstack-clash-protection -g -O2 -DUSE_PTHREAD -DTEST_USES_TBB=1 -Wall -Wshadow -Wcast-qual -Woverloaded-virtual -Wnon-virtual-dtor -Wextra -O2 -g -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -fexceptions -fstack-protector-strong -grecord-gcc-switches -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -mcpu=power8 -mtune=power8 -funwind-tables -fstack-clash-protection test_eh_algorithms.o libtbb.so -lpthread -lrt -Wl,-rpath-link=. -rdynamic g++ -o test_eh_flow_graph.o -c -MMD -O2 -g -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -fexceptions -fstack-protector-strong -grecord-gcc-switches -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -mcpu=power8 -mtune=power8 -funwind-tables -fstack-clash-protection -g -O2 -DUSE_PTHREAD -DTEST_USES_TBB=1 -Wall -Wshadow -Wcast-qual -Woverloaded-virtual -Wnon-virtual-dtor -Wextra -O2 -g -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -fexceptions -fstack-protector-strong -grecord-gcc-switches -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -mcpu=power8 -mtune=power8 -funwind-tables -fstack-clash-protection -std=c++14 -I../../src -I../../src/rml/include -I../../include -I. -include ../../src/test/harness_preload.h ../../src/test/test_eh_flow_graph.cpp In file included from ../../include/tbb/tbb_machine.h:243, from ../../include/tbb/atomic.h:32, from ../../include/tbb/flow_graph.h:25, from ../../src/test/test_eh_flow_graph.cpp:51: ../../include/tbb/machine/mac_ppc.h: In function 'int32_t __TBB_machine_cmpswp4(volatile void*, int32_t, int32_t)': ../../include/tbb/machine/mac_ppc.h:91:46: warning: cast from type 'volatile void*' to type 'int32_t*' {aka 'int*'} casts away qualifiers [-Wcast-qual] , "+m"(* (int32_t*) ptr) /* redundant with "memory" */ ^~~ ../../include/tbb/machine/mac_ppc.h: In function 'int64_t __TBB_machine_cmpswp8(volatile void*, int64_t, int64_t)': ../../include/tbb/machine/mac_ppc.h:116:46: warning: cast from type 'volatile void*' to type 'int64_t*' {aka 'long int*'} casts away qualifiers [-Wcast-qual] , "+m"(* (int64_t*) ptr) /* redundant with "memory" */ ^~~ In file included from ../../include/tbb/enumerable_thread_specific.h:25, from ../../include/tbb/combinable.h:24, from ../../src/test/harness_concurrency_tracker.h:33, from ../../src/test/harness_eh.h:28, from ../../src/test/test_eh_flow_graph.cpp:60: ../../include/tbb/concurrent_vector.h: In static member function 'static void tbb::concurrent_vector::copy_range(void*, const void*, tbb::concurrent_vector::size_type)': ../../include/tbb/concurrent_vector.h:1296:18: warning: declaration of 'iterator' shadows a previous local [-Wshadow] I & iterator ((*const_cast(static_cast(p_type_erased_iterator)))); ^ ../../include/tbb/concurrent_vector.h:578:60: note: shadowed declaration is here typedef internal::vector_iterator iterator; ^~~~~~~~ In file included from ../../include/tbb/enumerable_thread_specific.h:25, from ../../include/tbb/combinable.h:24, from ../../src/test/harness_concurrency_tracker.h:33, from ../../src/test/harness_eh.h:28, from ../../src/test/test_eh_flow_graph.cpp:60: ../../include/tbb/concurrent_vector.h: In instantiation of 'void tbb::internal::handle_unconstructed_elements(T*, std::size_t) [with T = tbb::internal::padded, 128>; std::size_t = long unsigned int]': ../../include/tbb/concurrent_vector.h:1123:56: required from 'tbb::concurrent_vector::internal_loop_guide::~internal_loop_guide() [with T = tbb::internal::padded, 128>; A = tbb::cache_aligned_allocator, 128> >]' ../../include/tbb/concurrent_vector.h:1262:25: required from 'static void tbb::concurrent_vector::initialize_array(void*, const void*, tbb::concurrent_vector::size_type) [with T = tbb::internal::padded, 128>; A = tbb::cache_aligned_allocator, 128> >; tbb::concurrent_vector::size_type = long unsigned int]' ../../include/tbb/concurrent_vector.h:780:76: required from 'tbb::concurrent_vector::iterator tbb::concurrent_vector::grow_by(tbb::concurrent_vector::size_type) [with T = tbb::internal::padded, 128>; A = tbb::cache_aligned_allocator, 128> >; tbb::concurrent_vector::iterator = tbb::internal::vector_iterator, 128>, tbb::cache_aligned_allocator, 128> > >, tbb::internal::padded, 128> >; tbb::concurrent_vector::size_type = long unsigned int]' ../../include/tbb/enumerable_thread_specific.h:797:36: required from 'void* tbb::interface6::enumerable_thread_specific::create_local() [with T = long unsigned int; Allocator = tbb::cache_aligned_allocator; tbb::ets_key_usage_type ETS_key_type = (tbb::ets_key_usage_type)1]' ../../include/tbb/enumerable_thread_specific.h:796:15: required from here ../../include/tbb/concurrent_vector.h:77:20: warning: 'void* memset(void*, int, size_t)' clearing an object of non-trivial type 'struct tbb::internal::padded, 128>'; use assignment or value-initialization instead [-Wclass-memaccess] std::memset( array, 0, n_of_elements * sizeof( T ) ); ~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ In file included from ../../src/test/harness.h:189, from ../../src/test/test_eh_flow_graph.cpp:34: ../../include/tbb/tbb_stddef.h:257:8: note: 'struct tbb::internal::padded, 128>' declared here struct padded : padded_base {}; ^~~~~~ g++ -o test_eh_flow_graph.exe -O2 -g -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -fexceptions -fstack-protector-strong -grecord-gcc-switches -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -mcpu=power8 -mtune=power8 -funwind-tables -fstack-clash-protection -g -O2 -DUSE_PTHREAD -DTEST_USES_TBB=1 -Wall -Wshadow -Wcast-qual -Woverloaded-virtual -Wnon-virtual-dtor -Wextra -O2 -g -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -fexceptions -fstack-protector-strong -grecord-gcc-switches -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -mcpu=power8 -mtune=power8 -funwind-tables -fstack-clash-protection test_eh_flow_graph.o libtbb.so -lpthread -lrt -Wl,-rpath-link=. -rdynamic g++ -o test_parallel_invoke.o -c -MMD -O2 -g -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -fexceptions -fstack-protector-strong -grecord-gcc-switches -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -mcpu=power8 -mtune=power8 -funwind-tables -fstack-clash-protection -g -O2 -DUSE_PTHREAD -DTEST_USES_TBB=1 -Wall -Wshadow -Wcast-qual -Woverloaded-virtual -Wnon-virtual-dtor -Wextra -O2 -g -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -fexceptions -fstack-protector-strong -grecord-gcc-switches -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -mcpu=power8 -mtune=power8 -funwind-tables -fstack-clash-protection -std=c++14 -I../../src -I../../src/rml/include -I../../include -I. -include ../../src/test/harness_preload.h ../../src/test/test_parallel_invoke.cpp In file included from ../../include/tbb/tbb_machine.h:243, from ../../include/tbb/task.h:25, from ../../include/tbb/parallel_invoke.h:24, from ../../src/test/test_parallel_invoke.cpp:29: ../../include/tbb/machine/mac_ppc.h: In function 'int32_t __TBB_machine_cmpswp4(volatile void*, int32_t, int32_t)': ../../include/tbb/machine/mac_ppc.h:91:46: warning: cast from type 'volatile void*' to type 'int32_t*' {aka 'int*'} casts away qualifiers [-Wcast-qual] , "+m"(* (int32_t*) ptr) /* redundant with "memory" */ ^~~ ../../include/tbb/machine/mac_ppc.h: In function 'int64_t __TBB_machine_cmpswp8(volatile void*, int64_t, int64_t)': ../../include/tbb/machine/mac_ppc.h:116:46: warning: cast from type 'volatile void*' to type 'int64_t*' {aka 'long int*'} casts away qualifiers [-Wcast-qual] , "+m"(* (int64_t*) ptr) /* redundant with "memory" */ ^~~ In file included from ../../include/tbb/enumerable_thread_specific.h:25, from ../../include/tbb/combinable.h:24, from ../../src/test/harness_concurrency_tracker.h:33, from ../../src/test/harness_eh.h:28, from ../../src/test/test_parallel_invoke.cpp:209: ../../include/tbb/concurrent_vector.h: In static member function 'static void tbb::concurrent_vector::copy_range(void*, const void*, tbb::concurrent_vector::size_type)': ../../include/tbb/concurrent_vector.h:1296:18: warning: declaration of 'iterator' shadows a previous local [-Wshadow] I & iterator ((*const_cast(static_cast(p_type_erased_iterator)))); ^ ../../include/tbb/concurrent_vector.h:578:60: note: shadowed declaration is here typedef internal::vector_iterator iterator; ^~~~~~~~ In file included from ../../include/tbb/enumerable_thread_specific.h:25, from ../../include/tbb/combinable.h:24, from ../../src/test/harness_concurrency_tracker.h:33, from ../../src/test/harness_eh.h:28, from ../../src/test/test_parallel_invoke.cpp:209: ../../include/tbb/concurrent_vector.h: In instantiation of 'void tbb::internal::handle_unconstructed_elements(T*, std::size_t) [with T = tbb::internal::padded, 128>; std::size_t = long unsigned int]': ../../include/tbb/concurrent_vector.h:1123:56: required from 'tbb::concurrent_vector::internal_loop_guide::~internal_loop_guide() [with T = tbb::internal::padded, 128>; A = tbb::cache_aligned_allocator, 128> >]' ../../include/tbb/concurrent_vector.h:1262:25: required from 'static void tbb::concurrent_vector::initialize_array(void*, const void*, tbb::concurrent_vector::size_type) [with T = tbb::internal::padded, 128>; A = tbb::cache_aligned_allocator, 128> >; tbb::concurrent_vector::size_type = long unsigned int]' ../../include/tbb/concurrent_vector.h:780:76: required from 'tbb::concurrent_vector::iterator tbb::concurrent_vector::grow_by(tbb::concurrent_vector::size_type) [with T = tbb::internal::padded, 128>; A = tbb::cache_aligned_allocator, 128> >; tbb::concurrent_vector::iterator = tbb::internal::vector_iterator, 128>, tbb::cache_aligned_allocator, 128> > >, tbb::internal::padded, 128> >; tbb::concurrent_vector::size_type = long unsigned int]' ../../include/tbb/enumerable_thread_specific.h:797:36: required from 'void* tbb::interface6::enumerable_thread_specific::create_local() [with T = long unsigned int; Allocator = tbb::cache_aligned_allocator; tbb::ets_key_usage_type ETS_key_type = (tbb::ets_key_usage_type)1]' ../../include/tbb/enumerable_thread_specific.h:796:15: required from here ../../include/tbb/concurrent_vector.h:77:20: warning: 'void* memset(void*, int, size_t)' clearing an object of non-trivial type 'struct tbb::internal::padded, 128>'; use assignment or value-initialization instead [-Wclass-memaccess] std::memset( array, 0, n_of_elements * sizeof( T ) ); ~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ In file included from ../../include/tbb/task.h:24, from ../../include/tbb/parallel_invoke.h:24, from ../../src/test/test_parallel_invoke.cpp:29: ../../include/tbb/tbb_stddef.h:257:8: note: 'struct tbb::internal::padded, 128>' declared here struct padded : padded_base {}; ^~~~~~ In file included from ../../src/test/harness.h:187, from ../../src/test/test_parallel_invoke.cpp:33: ../../src/test/test_parallel_invoke.cpp: In function 'void call_parallel_invoke(size_t, F0&, F1&, F2&, F3&, F4&, F5&, F6&, F7&, F8&, F9&, tbb::task_group_context*) [with F0 = void (*)(); F1 = void (*)(); F2 = void (*)(); F3 = void (*)(); F4 = void (*)(); F5 = void (*)(); F6 = void (*)(); F7 = void (*)(); F8 = void (*)(); F9 = void (*)()]': ../../src/test/harness_assert.h:33:45: warning: this statement may fall through [-Wimplicit-fallthrough=] #define ASSERT_CUSTOM(p,message,file,line) ((p)?(void)0:ReportError(file,line,#p,message)) ^ ../../src/test/harness_assert.h:34:45: note: in expansion of macro 'ASSERT_CUSTOM' #define ASSERT(p,message) ASSERT_CUSTOM(p,message,__FILE__,__LINE__) ^~~~~~~~~~~~~ ../../src/test/test_parallel_invoke.cpp:97:9: note: in expansion of macro 'ASSERT' ASSERT(false, "number of arguments must be between 2 and 10"); ^~~~~~ ../../src/test/test_parallel_invoke.cpp:98:5: note: here case 2: ^~~~ In file included from ../../src/test/harness.h:187, from ../../src/test/test_parallel_invoke.cpp:33: ../../src/test/test_parallel_invoke.cpp: In function 'void call_parallel_invoke(size_t, F0&, F1&, F2&, F3&, F4&, F5&, F6&, F7&, F8&, F9&, tbb::task_group_context*) [with F0 = test_functor0; F1 = test_functor1; F2 = test_functor2; F3 = test_functor3; F4 = test_functor4; F5 = test_functor5; F6 = test_functor6; F7 = test_functor7; F8 = test_functor8; F9 = test_functor9]': ../../src/test/harness_assert.h:33:45: warning: this statement may fall through [-Wimplicit-fallthrough=] #define ASSERT_CUSTOM(p,message,file,line) ((p)?(void)0:ReportError(file,line,#p,message)) ^ ../../src/test/harness_assert.h:34:45: note: in expansion of macro 'ASSERT_CUSTOM' #define ASSERT(p,message) ASSERT_CUSTOM(p,message,__FILE__,__LINE__) ^~~~~~~~~~~~~ ../../src/test/test_parallel_invoke.cpp:97:9: note: in expansion of macro 'ASSERT' ASSERT(false, "number of arguments must be between 2 and 10"); ^~~~~~ ../../src/test/test_parallel_invoke.cpp:98:5: note: here case 2: ^~~~ In file included from ../../src/test/harness.h:187, from ../../src/test/test_parallel_invoke.cpp:33: ../../src/test/test_parallel_invoke.cpp: In function 'void call_parallel_invoke(size_t, F0&, F1&, F2&, F3&, F4&, F5&, F6&, F7&, F8&, F9&, tbb::task_group_context*) [with F0 = void(); F1 = void(); F2 = void(); F3 = void(); F4 = void(); F5 = void(); F6 = void(); F7 = void(); F8 = void(); F9 = void()]': ../../src/test/harness_assert.h:33:45: warning: this statement may fall through [-Wimplicit-fallthrough=] #define ASSERT_CUSTOM(p,message,file,line) ((p)?(void)0:ReportError(file,line,#p,message)) ^ ../../src/test/harness_assert.h:34:45: note: in expansion of macro 'ASSERT_CUSTOM' #define ASSERT(p,message) ASSERT_CUSTOM(p,message,__FILE__,__LINE__) ^~~~~~~~~~~~~ ../../src/test/test_parallel_invoke.cpp:97:9: note: in expansion of macro 'ASSERT' ASSERT(false, "number of arguments must be between 2 and 10"); ^~~~~~ ../../src/test/test_parallel_invoke.cpp:98:5: note: here case 2: ^~~~ In file included from ../../src/test/harness.h:187, from ../../src/test/test_parallel_invoke.cpp:33: ../../src/test/test_parallel_invoke.cpp: In function 'void call_parallel_invoke(size_t, F0&, F1&, F2&, F3&, F4&, F5&, F6&, F7&, F8&, F9&, tbb::task_group_context*) [with F0 = throwing_functor0; F1 = throwing_functor1; F2 = throwing_functor2; F3 = throwing_functor3; F4 = throwing_functor4; F5 = throwing_functor5; F6 = throwing_functor6; F7 = throwing_functor7; F8 = throwing_functor8; F9 = throwing_functor9]': ../../src/test/harness_assert.h:33:45: warning: this statement may fall through [-Wimplicit-fallthrough=] #define ASSERT_CUSTOM(p,message,file,line) ((p)?(void)0:ReportError(file,line,#p,message)) ^ ../../src/test/harness_assert.h:34:45: note: in expansion of macro 'ASSERT_CUSTOM' #define ASSERT(p,message) ASSERT_CUSTOM(p,message,__FILE__,__LINE__) ^~~~~~~~~~~~~ ../../src/test/test_parallel_invoke.cpp:97:9: note: in expansion of macro 'ASSERT' ASSERT(false, "number of arguments must be between 2 and 10"); ^~~~~~ ../../src/test/test_parallel_invoke.cpp:98:5: note: here case 2: ^~~~ g++ -o test_parallel_invoke.exe -O2 -g -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -fexceptions -fstack-protector-strong -grecord-gcc-switches -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -mcpu=power8 -mtune=power8 -funwind-tables -fstack-clash-protection -g -O2 -DUSE_PTHREAD -DTEST_USES_TBB=1 -Wall -Wshadow -Wcast-qual -Woverloaded-virtual -Wnon-virtual-dtor -Wextra -O2 -g -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -fexceptions -fstack-protector-strong -grecord-gcc-switches -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -mcpu=power8 -mtune=power8 -funwind-tables -fstack-clash-protection test_parallel_invoke.o libtbb.so -lpthread -lrt -Wl,-rpath-link=. -rdynamic g++ -o test_task_group.o -c -MMD -O2 -g -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -fexceptions -fstack-protector-strong -grecord-gcc-switches -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -mcpu=power8 -mtune=power8 -funwind-tables -fstack-clash-protection -g -O2 -DUSE_PTHREAD -DTEST_USES_TBB=1 -Wall -Wshadow -Wcast-qual -Woverloaded-virtual -Wnon-virtual-dtor -Wextra -O2 -g -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -fexceptions -fstack-protector-strong -grecord-gcc-switches -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -mcpu=power8 -mtune=power8 -funwind-tables -fstack-clash-protection -std=c++14 -I../../src -I../../src/rml/include -I../../include -I. -include ../../src/test/harness_preload.h ../../src/test/test_task_group.cpp In file included from ../../include/tbb/compat/../tbb_machine.h:243, from ../../include/tbb/compat/../task.h:25, from ../../include/tbb/compat/../task_group.h:24, from ../../include/tbb/compat/ppl.h:24, from ../../src/test/test_task_group.cpp:47: ../../include/tbb/compat/../machine/mac_ppc.h: In function 'int32_t __TBB_machine_cmpswp4(volatile void*, int32_t, int32_t)': ../../include/tbb/compat/../machine/mac_ppc.h:91:46: warning: cast from type 'volatile void*' to type 'int32_t*' {aka 'int*'} casts away qualifiers [-Wcast-qual] , "+m"(* (int32_t*) ptr) /* redundant with "memory" */ ^~~ ../../include/tbb/compat/../machine/mac_ppc.h: In function 'int64_t __TBB_machine_cmpswp8(volatile void*, int64_t, int64_t)': ../../include/tbb/compat/../machine/mac_ppc.h:116:46: warning: cast from type 'volatile void*' to type 'int64_t*' {aka 'long int*'} casts away qualifiers [-Wcast-qual] , "+m"(* (int64_t*) ptr) /* redundant with "memory" */ ^~~ In file included from ../../include/tbb/compat/../enumerable_thread_specific.h:25, from ../../include/tbb/compat/../combinable.h:24, from ../../include/tbb/compat/ppl.h:31, from ../../src/test/test_task_group.cpp:47: ../../include/tbb/compat/../concurrent_vector.h: In static member function 'static void tbb::concurrent_vector::copy_range(void*, const void*, tbb::concurrent_vector::size_type)': ../../include/tbb/compat/../concurrent_vector.h:1296:18: warning: declaration of 'iterator' shadows a previous local [-Wshadow] I & iterator ((*const_cast(static_cast(p_type_erased_iterator)))); ^ ../../include/tbb/compat/../concurrent_vector.h:578:60: note: shadowed declaration is here typedef internal::vector_iterator iterator; ^~~~~~~~ In file included from ../../include/tbb/compat/../enumerable_thread_specific.h:25, from ../../include/tbb/compat/../combinable.h:24, from ../../include/tbb/compat/ppl.h:31, from ../../src/test/test_task_group.cpp:47: ../../include/tbb/compat/../concurrent_vector.h: In instantiation of 'void tbb::internal::handle_unconstructed_elements(T*, std::size_t) [with T = tbb::internal::padded, 128>; std::size_t = long unsigned int]': ../../include/tbb/compat/../concurrent_vector.h:1123:56: required from 'tbb::concurrent_vector::internal_loop_guide::~internal_loop_guide() [with T = tbb::internal::padded, 128>; A = tbb::cache_aligned_allocator, 128> >]' ../../include/tbb/compat/../concurrent_vector.h:1262:25: required from 'static void tbb::concurrent_vector::initialize_array(void*, const void*, tbb::concurrent_vector::size_type) [with T = tbb::internal::padded, 128>; A = tbb::cache_aligned_allocator, 128> >; tbb::concurrent_vector::size_type = long unsigned int]' ../../include/tbb/compat/../concurrent_vector.h:780:76: required from 'tbb::concurrent_vector::iterator tbb::concurrent_vector::grow_by(tbb::concurrent_vector::size_type) [with T = tbb::internal::padded, 128>; A = tbb::cache_aligned_allocator, 128> >; tbb::concurrent_vector::iterator = tbb::internal::vector_iterator, 128>, tbb::cache_aligned_allocator, 128> > >, tbb::internal::padded, 128> >; tbb::concurrent_vector::size_type = long unsigned int]' ../../include/tbb/compat/../enumerable_thread_specific.h:797:36: required from 'void* tbb::interface6::enumerable_thread_specific::create_local() [with T = long unsigned int; Allocator = tbb::cache_aligned_allocator; tbb::ets_key_usage_type ETS_key_type = (tbb::ets_key_usage_type)1]' ../../include/tbb/compat/../enumerable_thread_specific.h:796:15: required from here ../../include/tbb/compat/../concurrent_vector.h:77:20: warning: 'void* memset(void*, int, size_t)' clearing an object of non-trivial type 'struct tbb::internal::padded, 128>'; use assignment or value-initialization instead [-Wclass-memaccess] std::memset( array, 0, n_of_elements * sizeof( T ) ); ~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ In file included from ../../include/tbb/compat/../task.h:24, from ../../include/tbb/compat/../task_group.h:24, from ../../include/tbb/compat/ppl.h:24, from ../../src/test/test_task_group.cpp:47: ../../include/tbb/compat/../tbb_stddef.h:257:8: note: 'struct tbb::internal::padded, 128>' declared here struct padded : padded_base {}; ^~~~~~ g++ -o test_task_group.exe -O2 -g -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -fexceptions -fstack-protector-strong -grecord-gcc-switches -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -mcpu=power8 -mtune=power8 -funwind-tables -fstack-clash-protection -g -O2 -DUSE_PTHREAD -DTEST_USES_TBB=1 -Wall -Wshadow -Wcast-qual -Woverloaded-virtual -Wnon-virtual-dtor -Wextra -O2 -g -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -fexceptions -fstack-protector-strong -grecord-gcc-switches -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -mcpu=power8 -mtune=power8 -funwind-tables -fstack-clash-protection test_task_group.o libtbb.so -lpthread -lrt -Wl,-rpath-link=. -rdynamic g++ -o test_ittnotify.o -c -MMD -O2 -g -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -fexceptions -fstack-protector-strong -grecord-gcc-switches -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -mcpu=power8 -mtune=power8 -funwind-tables -fstack-clash-protection -g -O2 -DUSE_PTHREAD -DTEST_USES_TBB=1 -Wall -Wshadow -Wcast-qual -Woverloaded-virtual -Wnon-virtual-dtor -Wextra -O2 -g -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -fexceptions -fstack-protector-strong -grecord-gcc-switches -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -mcpu=power8 -mtune=power8 -funwind-tables -fstack-clash-protection -std=c++14 -I../../src -I../../src/rml/include -I../../include -I. -include ../../src/test/harness_preload.h ../../src/test/test_ittnotify.cpp g++ -o test_ittnotify.exe -O2 -g -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -fexceptions -fstack-protector-strong -grecord-gcc-switches -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -mcpu=power8 -mtune=power8 -funwind-tables -fstack-clash-protection -g -O2 -DUSE_PTHREAD -DTEST_USES_TBB=1 -Wall -Wshadow -Wcast-qual -Woverloaded-virtual -Wnon-virtual-dtor -Wextra -O2 -g -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -fexceptions -fstack-protector-strong -grecord-gcc-switches -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -mcpu=power8 -mtune=power8 -funwind-tables -fstack-clash-protection test_ittnotify.o libtbb.so -lpthread -lrt -Wl,-rpath-link=. -rdynamic g++ -o test_parallel_for_each.o -c -MMD -O2 -g -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -fexceptions -fstack-protector-strong -grecord-gcc-switches -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -mcpu=power8 -mtune=power8 -funwind-tables -fstack-clash-protection -g -O2 -DUSE_PTHREAD -DTEST_USES_TBB=1 -Wall -Wshadow -Wcast-qual -Woverloaded-virtual -Wnon-virtual-dtor -Wextra -O2 -g -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -fexceptions -fstack-protector-strong -grecord-gcc-switches -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -mcpu=power8 -mtune=power8 -funwind-tables -fstack-clash-protection -std=c++14 -I../../src -I../../src/rml/include -I../../include -I. -include ../../src/test/harness_preload.h ../../src/test/test_parallel_for_each.cpp In file included from ../../include/tbb/tbb_machine.h:243, from ../../include/tbb/task.h:25, from ../../include/tbb/parallel_do.h:26, from ../../include/tbb/parallel_for_each.h:24, from ../../src/test/test_parallel_for_each.cpp:25: ../../include/tbb/machine/mac_ppc.h: In function 'int32_t __TBB_machine_cmpswp4(volatile void*, int32_t, int32_t)': ../../include/tbb/machine/mac_ppc.h:91:46: warning: cast from type 'volatile void*' to type 'int32_t*' {aka 'int*'} casts away qualifiers [-Wcast-qual] , "+m"(* (int32_t*) ptr) /* redundant with "memory" */ ^~~ ../../include/tbb/machine/mac_ppc.h: In function 'int64_t __TBB_machine_cmpswp8(volatile void*, int64_t, int64_t)': ../../include/tbb/machine/mac_ppc.h:116:46: warning: cast from type 'volatile void*' to type 'int64_t*' {aka 'long int*'} casts away qualifiers [-Wcast-qual] , "+m"(* (int64_t*) ptr) /* redundant with "memory" */ ^~~ In file included from ../../include/tbb/enumerable_thread_specific.h:25, from ../../include/tbb/combinable.h:24, from ../../src/test/harness_concurrency_tracker.h:33, from ../../src/test/harness_eh.h:28, from ../../src/test/test_parallel_for_each.cpp:92: ../../include/tbb/concurrent_vector.h: In static member function 'static void tbb::concurrent_vector::copy_range(void*, const void*, tbb::concurrent_vector::size_type)': ../../include/tbb/concurrent_vector.h:1296:18: warning: declaration of 'iterator' shadows a previous local [-Wshadow] I & iterator ((*const_cast(static_cast(p_type_erased_iterator)))); ^ ../../include/tbb/concurrent_vector.h:578:60: note: shadowed declaration is here typedef internal::vector_iterator iterator; ^~~~~~~~ In file included from ../../include/tbb/enumerable_thread_specific.h:25, from ../../include/tbb/combinable.h:24, from ../../src/test/harness_concurrency_tracker.h:33, from ../../src/test/harness_eh.h:28, from ../../src/test/test_parallel_for_each.cpp:92: ../../include/tbb/concurrent_vector.h: In instantiation of 'void tbb::internal::handle_unconstructed_elements(T*, std::size_t) [with T = tbb::internal::padded, 128>; std::size_t = long unsigned int]': ../../include/tbb/concurrent_vector.h:1123:56: required from 'tbb::concurrent_vector::internal_loop_guide::~internal_loop_guide() [with T = tbb::internal::padded, 128>; A = tbb::cache_aligned_allocator, 128> >]' ../../include/tbb/concurrent_vector.h:1262:25: required from 'static void tbb::concurrent_vector::initialize_array(void*, const void*, tbb::concurrent_vector::size_type) [with T = tbb::internal::padded, 128>; A = tbb::cache_aligned_allocator, 128> >; tbb::concurrent_vector::size_type = long unsigned int]' ../../include/tbb/concurrent_vector.h:780:76: required from 'tbb::concurrent_vector::iterator tbb::concurrent_vector::grow_by(tbb::concurrent_vector::size_type) [with T = tbb::internal::padded, 128>; A = tbb::cache_aligned_allocator, 128> >; tbb::concurrent_vector::iterator = tbb::internal::vector_iterator, 128>, tbb::cache_aligned_allocator, 128> > >, tbb::internal::padded, 128> >; tbb::concurrent_vector::size_type = long unsigned int]' ../../include/tbb/enumerable_thread_specific.h:797:36: required from 'void* tbb::interface6::enumerable_thread_specific::create_local() [with T = long unsigned int; Allocator = tbb::cache_aligned_allocator; tbb::ets_key_usage_type ETS_key_type = (tbb::ets_key_usage_type)1]' ../../include/tbb/enumerable_thread_specific.h:796:15: required from here ../../include/tbb/concurrent_vector.h:77:20: warning: 'void* memset(void*, int, size_t)' clearing an object of non-trivial type 'struct tbb::internal::padded, 128>'; use assignment or value-initialization instead [-Wclass-memaccess] std::memset( array, 0, n_of_elements * sizeof( T ) ); ~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ In file included from ../../include/tbb/internal/_range_iterator.h:24, from ../../include/tbb/parallel_do.h:24, from ../../include/tbb/parallel_for_each.h:24, from ../../src/test/test_parallel_for_each.cpp:25: ../../include/tbb/internal/../tbb_stddef.h:257:8: note: 'struct tbb::internal::padded, 128>' declared here struct padded : padded_base {}; ^~~~~~ g++ -o test_parallel_for_each.exe -O2 -g -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -fexceptions -fstack-protector-strong -grecord-gcc-switches -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -mcpu=power8 -mtune=power8 -funwind-tables -fstack-clash-protection -g -O2 -DUSE_PTHREAD -DTEST_USES_TBB=1 -Wall -Wshadow -Wcast-qual -Woverloaded-virtual -Wnon-virtual-dtor -Wextra -O2 -g -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -fexceptions -fstack-protector-strong -grecord-gcc-switches -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -mcpu=power8 -mtune=power8 -funwind-tables -fstack-clash-protection test_parallel_for_each.o libtbb.so -lpthread -lrt -Wl,-rpath-link=. -rdynamic g++ -o test_tbb_header.o -c -MMD -O2 -g -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -fexceptions -fstack-protector-strong -grecord-gcc-switches -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -mcpu=power8 -mtune=power8 -funwind-tables -fstack-clash-protection -g -O2 -DUSE_PTHREAD -DTEST_USES_TBB=1 -Wall -Wshadow -Wcast-qual -Woverloaded-virtual -Wnon-virtual-dtor -Wextra -O2 -g -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -fexceptions -fstack-protector-strong -grecord-gcc-switches -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -mcpu=power8 -mtune=power8 -funwind-tables -fstack-clash-protection -std=c++14 -I../../src -I../../src/rml/include -I../../include -I. -include ../../src/test/harness_preload.h ../../src/test/test_tbb_header.cpp In file included from ../../include/tbb/tbb_machine.h:243, from ../../include/tbb/aligned_space.h:25, from ../../include/tbb/tbb.h:35, from ../../src/test/test_tbb_header.cpp:83: ../../include/tbb/machine/mac_ppc.h: In function 'int32_t __TBB_machine_cmpswp4(volatile void*, int32_t, int32_t)': ../../include/tbb/machine/mac_ppc.h:91:46: warning: cast from type 'volatile void*' to type 'int32_t*' {aka 'int*'} casts away qualifiers [-Wcast-qual] , "+m"(* (int32_t*) ptr) /* redundant with "memory" */ ^~~ ../../include/tbb/machine/mac_ppc.h: In function 'int64_t __TBB_machine_cmpswp8(volatile void*, int64_t, int64_t)': ../../include/tbb/machine/mac_ppc.h:116:46: warning: cast from type 'volatile void*' to type 'int64_t*' {aka 'long int*'} casts away qualifiers [-Wcast-qual] , "+m"(* (int64_t*) ptr) /* redundant with "memory" */ ^~~ In file included from ../../include/tbb/enumerable_thread_specific.h:25, from ../../include/tbb/combinable.h:24, from ../../include/tbb/tbb.h:41, from ../../src/test/test_tbb_header.cpp:83: ../../include/tbb/concurrent_vector.h: In static member function 'static void tbb::concurrent_vector::copy_range(void*, const void*, tbb::concurrent_vector::size_type)': ../../include/tbb/concurrent_vector.h:1296:18: warning: declaration of 'iterator' shadows a previous local [-Wshadow] I & iterator ((*const_cast(static_cast(p_type_erased_iterator)))); ^ ../../include/tbb/concurrent_vector.h:578:60: note: shadowed declaration is here typedef internal::vector_iterator iterator; ^~~~~~~~ In file included from ../../include/tbb/tbb.h:42, from ../../src/test/test_tbb_header.cpp:83: ../../include/tbb/concurrent_hash_map.h: In static member function 'static void tbb::interface5::internal::hash_map_base::init_buckets(tbb::interface5::internal::hash_map_base::segment_ptr_t, tbb::interface5::internal::hash_map_base::size_type, bool)': ../../include/tbb/concurrent_hash_map.h:158:68: warning: 'void* memset(void*, int, size_t)' clearing an object of type 'struct tbb::interface5::internal::hash_map_base::bucket' with no trivial copy-assignment; use value-initialization instead [-Wclass-memaccess] if( is_initial ) std::memset(ptr, 0, sz*sizeof(bucket) ); ^ ../../include/tbb/concurrent_hash_map.h:87:16: note: 'struct tbb::interface5::internal::hash_map_base::bucket' declared here struct bucket : tbb::internal::no_copy { ^~~~~~ g++ -o test_tbb_header_secondary.o -c -MMD -O2 -g -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -fexceptions -fstack-protector-strong -grecord-gcc-switches -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -mcpu=power8 -mtune=power8 -funwind-tables -fstack-clash-protection -g -O2 -DUSE_PTHREAD -DTEST_USES_TBB=1 -Wall -Wshadow -Wcast-qual -Woverloaded-virtual -Wnon-virtual-dtor -Wextra -O2 -g -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -fexceptions -fstack-protector-strong -grecord-gcc-switches -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -mcpu=power8 -mtune=power8 -funwind-tables -fstack-clash-protection -D__TBB_TEST_SECONDARY=1 -std=c++14 -I../../src -I../../src/rml/include -I../../include -I. -include ../../src/test/harness_preload.h ../../src/test/test_tbb_header.cpp In file included from ../../include/tbb/tbb_machine.h:243, from ../../include/tbb/aligned_space.h:25, from ../../include/tbb/tbb.h:35, from ../../src/test/test_tbb_header.cpp:83: ../../include/tbb/machine/mac_ppc.h: In function 'int32_t __TBB_machine_cmpswp4(volatile void*, int32_t, int32_t)': ../../include/tbb/machine/mac_ppc.h:91:46: warning: cast from type 'volatile void*' to type 'int32_t*' {aka 'int*'} casts away qualifiers [-Wcast-qual] , "+m"(* (int32_t*) ptr) /* redundant with "memory" */ ^~~ ../../include/tbb/machine/mac_ppc.h: In function 'int64_t __TBB_machine_cmpswp8(volatile void*, int64_t, int64_t)': ../../include/tbb/machine/mac_ppc.h:116:46: warning: cast from type 'volatile void*' to type 'int64_t*' {aka 'long int*'} casts away qualifiers [-Wcast-qual] , "+m"(* (int64_t*) ptr) /* redundant with "memory" */ ^~~ In file included from ../../include/tbb/enumerable_thread_specific.h:25, from ../../include/tbb/combinable.h:24, from ../../include/tbb/tbb.h:41, from ../../src/test/test_tbb_header.cpp:83: ../../include/tbb/concurrent_vector.h: In static member function 'static void tbb::concurrent_vector::copy_range(void*, const void*, tbb::concurrent_vector::size_type)': ../../include/tbb/concurrent_vector.h:1296:18: warning: declaration of 'iterator' shadows a previous local [-Wshadow] I & iterator ((*const_cast(static_cast(p_type_erased_iterator)))); ^ ../../include/tbb/concurrent_vector.h:578:60: note: shadowed declaration is here typedef internal::vector_iterator iterator; ^~~~~~~~ In file included from ../../include/tbb/tbb.h:42, from ../../src/test/test_tbb_header.cpp:83: ../../include/tbb/concurrent_hash_map.h: In static member function 'static void tbb::interface5::internal::hash_map_base::init_buckets(tbb::interface5::internal::hash_map_base::segment_ptr_t, tbb::interface5::internal::hash_map_base::size_type, bool)': ../../include/tbb/concurrent_hash_map.h:158:68: warning: 'void* memset(void*, int, size_t)' clearing an object of type 'struct tbb::interface5::internal::hash_map_base::bucket' with no trivial copy-assignment; use value-initialization instead [-Wclass-memaccess] if( is_initial ) std::memset(ptr, 0, sz*sizeof(bucket) ); ^ ../../include/tbb/concurrent_hash_map.h:87:16: note: 'struct tbb::interface5::internal::hash_map_base::bucket' declared here struct bucket : tbb::internal::no_copy { ^~~~~~ g++ -o test_tbb_header.exe -O2 -g -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -fexceptions -fstack-protector-strong -grecord-gcc-switches -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -mcpu=power8 -mtune=power8 -funwind-tables -fstack-clash-protection -g -O2 -DUSE_PTHREAD -DTEST_USES_TBB=1 -Wall -Wshadow -Wcast-qual -Woverloaded-virtual -Wnon-virtual-dtor -Wextra -O2 -g -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -fexceptions -fstack-protector-strong -grecord-gcc-switches -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -mcpu=power8 -mtune=power8 -funwind-tables -fstack-clash-protection test_tbb_header.o libtbb.so test_tbb_header_secondary.o -lpthread -lrt -Wl,-rpath-link=. -rdynamic g++ -o test_combinable.o -c -MMD -O2 -g -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -fexceptions -fstack-protector-strong -grecord-gcc-switches -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -mcpu=power8 -mtune=power8 -funwind-tables -fstack-clash-protection -g -O2 -DUSE_PTHREAD -DTEST_USES_TBB=1 -Wall -Wshadow -Wcast-qual -Woverloaded-virtual -Wnon-virtual-dtor -Wextra -O2 -g -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -fexceptions -fstack-protector-strong -grecord-gcc-switches -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -mcpu=power8 -mtune=power8 -funwind-tables -fstack-clash-protection -std=c++14 -I../../src -I../../src/rml/include -I../../include -I. -include ../../src/test/harness_preload.h ../../src/test/test_combinable.cpp In file included from ../../include/tbb/tbb_machine.h:243, from ../../include/tbb/atomic.h:32, from ../../include/tbb/enumerable_thread_specific.h:24, from ../../include/tbb/combinable.h:24, from ../../src/test/test_combinable.cpp:25: ../../include/tbb/machine/mac_ppc.h: In function 'int32_t __TBB_machine_cmpswp4(volatile void*, int32_t, int32_t)': ../../include/tbb/machine/mac_ppc.h:91:46: warning: cast from type 'volatile void*' to type 'int32_t*' {aka 'int*'} casts away qualifiers [-Wcast-qual] , "+m"(* (int32_t*) ptr) /* redundant with "memory" */ ^~~ ../../include/tbb/machine/mac_ppc.h: In function 'int64_t __TBB_machine_cmpswp8(volatile void*, int64_t, int64_t)': ../../include/tbb/machine/mac_ppc.h:116:46: warning: cast from type 'volatile void*' to type 'int64_t*' {aka 'long int*'} casts away qualifiers [-Wcast-qual] , "+m"(* (int64_t*) ptr) /* redundant with "memory" */ ^~~ In file included from ../../include/tbb/enumerable_thread_specific.h:25, from ../../include/tbb/combinable.h:24, from ../../src/test/test_combinable.cpp:25: ../../include/tbb/concurrent_vector.h: In static member function 'static void tbb::concurrent_vector::copy_range(void*, const void*, tbb::concurrent_vector::size_type)': ../../include/tbb/concurrent_vector.h:1296:18: warning: declaration of 'iterator' shadows a previous local [-Wshadow] I & iterator ((*const_cast(static_cast(p_type_erased_iterator)))); ^ ../../include/tbb/concurrent_vector.h:578:60: note: shadowed declaration is here typedef internal::vector_iterator iterator; ^~~~~~~~ In file included from ../../include/tbb/enumerable_thread_specific.h:25, from ../../include/tbb/combinable.h:24, from ../../src/test/test_combinable.cpp:25: ../../include/tbb/concurrent_vector.h: In instantiation of 'void tbb::internal::handle_unconstructed_elements(T*, std::size_t) [with T = tbb::internal::padded >, 128>; std::size_t = long unsigned int]': ../../include/tbb/concurrent_vector.h:1123:56: required from 'tbb::concurrent_vector::internal_loop_guide::~internal_loop_guide() [with T = tbb::internal::padded >, 128>; A = tbb::cache_aligned_allocator >, 128> >]' ../../include/tbb/concurrent_vector.h:1262:25: required from 'static void tbb::concurrent_vector::initialize_array(void*, const void*, tbb::concurrent_vector::size_type) [with T = tbb::internal::padded >, 128>; A = tbb::cache_aligned_allocator >, 128> >; tbb::concurrent_vector::size_type = long unsigned int]' ../../include/tbb/concurrent_vector.h:780:76: required from 'tbb::concurrent_vector::iterator tbb::concurrent_vector::grow_by(tbb::concurrent_vector::size_type) [with T = tbb::internal::padded >, 128>; A = tbb::cache_aligned_allocator >, 128> >; tbb::concurrent_vector::iterator = tbb::internal::vector_iterator >, 128>, tbb::cache_aligned_allocator >, 128> > >, tbb::internal::padded >, 128> >; tbb::concurrent_vector::size_type = long unsigned int]' ../../include/tbb/enumerable_thread_specific.h:804:36: required from 'static void* tbb::interface6::enumerable_thread_specific::create_local_by_copy(tbb::interface6::internal::ets_base<(tbb::ets_key_usage_type)1>&, void*) [with T = Harness::StateTrackable; Allocator = tbb::cache_aligned_allocator >; tbb::ets_key_usage_type ETS_key_type = (tbb::ets_key_usage_type)1]' ../../include/tbb/enumerable_thread_specific.h:948:13: required from 'void tbb::interface6::enumerable_thread_specific::internal_copy(const tbb::interface6::enumerable_thread_specific&) [with A2 = tbb::cache_aligned_allocator >; tbb::ets_key_usage_type C2 = (tbb::ets_key_usage_type)1; T = Harness::StateTrackable; Allocator = tbb::cache_aligned_allocator >; tbb::ets_key_usage_type ETS_key_type = (tbb::ets_key_usage_type)1]' ../../include/tbb/enumerable_thread_specific.h:981:13: required from 'tbb::interface6::enumerable_thread_specific::enumerable_thread_specific(const tbb::interface6::enumerable_thread_specific&) [with T = Harness::StateTrackable; Allocator = tbb::cache_aligned_allocator >; tbb::ets_key_usage_type ETS_key_type = (tbb::ets_key_usage_type)1]' ../../include/tbb/combinable.h:51:67: required from 'tbb::combinable::combinable(const tbb::combinable&) [with T = Harness::StateTrackable]' ../../src/test/test_combinable.cpp:424:67: required from here ../../include/tbb/concurrent_vector.h:77:20: warning: 'void* memset(void*, int, size_t)' clearing an object of non-trivial type 'struct tbb::internal::padded >, 128>'; use assignment or value-initialization instead [-Wclass-memaccess] std::memset( array, 0, n_of_elements * sizeof( T ) ); ~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ In file included from ../../include/tbb/tbb_machine.h:117, from ../../include/tbb/atomic.h:32, from ../../include/tbb/enumerable_thread_specific.h:24, from ../../include/tbb/combinable.h:24, from ../../src/test/test_combinable.cpp:25: ../../include/tbb/tbb_stddef.h:257:8: note: 'struct tbb::internal::padded >, 128>' declared here struct padded : padded_base {}; ^~~~~~ In file included from ../../include/tbb/enumerable_thread_specific.h:25, from ../../include/tbb/combinable.h:24, from ../../src/test/test_combinable.cpp:25: ../../include/tbb/concurrent_vector.h: In instantiation of 'void tbb::internal::handle_unconstructed_elements(T*, std::size_t) [with T = tbb::internal::padded, 128>; std::size_t = long unsigned int]': ../../include/tbb/concurrent_vector.h:1123:56: required from 'tbb::concurrent_vector::internal_loop_guide::~internal_loop_guide() [with T = tbb::internal::padded, 128>; A = tbb::cache_aligned_allocator, 128> >]' ../../include/tbb/concurrent_vector.h:1262:25: required from 'static void tbb::concurrent_vector::initialize_array(void*, const void*, tbb::concurrent_vector::size_type) [with T = tbb::internal::padded, 128>; A = tbb::cache_aligned_allocator, 128> >; tbb::concurrent_vector::size_type = long unsigned int]' ../../include/tbb/concurrent_vector.h:780:76: required from 'tbb::concurrent_vector::iterator tbb::concurrent_vector::grow_by(tbb::concurrent_vector::size_type) [with T = tbb::internal::padded, 128>; A = tbb::cache_aligned_allocator, 128> >; tbb::concurrent_vector::iterator = tbb::internal::vector_iterator, 128>, tbb::cache_aligned_allocator, 128> > >, tbb::internal::padded, 128> >; tbb::concurrent_vector::size_type = long unsigned int]' ../../include/tbb/enumerable_thread_specific.h:804:36: required from 'static void* tbb::interface6::enumerable_thread_specific::create_local_by_copy(tbb::interface6::internal::ets_base<(tbb::ets_key_usage_type)1>&, void*) [with T = int; Allocator = tbb::cache_aligned_allocator; tbb::ets_key_usage_type ETS_key_type = (tbb::ets_key_usage_type)1]' ../../include/tbb/enumerable_thread_specific.h:948:13: required from 'void tbb::interface6::enumerable_thread_specific::internal_copy(const tbb::interface6::enumerable_thread_specific&) [with A2 = tbb::cache_aligned_allocator; tbb::ets_key_usage_type C2 = (tbb::ets_key_usage_type)1; T = int; Allocator = tbb::cache_aligned_allocator; tbb::ets_key_usage_type ETS_key_type = (tbb::ets_key_usage_type)1]' ../../include/tbb/enumerable_thread_specific.h:981:13: required from 'tbb::interface6::enumerable_thread_specific::enumerable_thread_specific(const tbb::interface6::enumerable_thread_specific&) [with T = int; Allocator = tbb::cache_aligned_allocator; tbb::ets_key_usage_type ETS_key_type = (tbb::ets_key_usage_type)1]' ../../include/tbb/combinable.h:51:67: required from 'tbb::combinable::combinable(const tbb::combinable&) [with T = int]' ../../src/test/test_combinable.cpp:233:32: required from 'void RunParallelScalarTests(const char*) [with T = int]' ../../src/test/test_combinable.cpp:365:38: required from here ../../include/tbb/concurrent_vector.h:77:20: warning: 'void* memset(void*, int, size_t)' clearing an object of non-trivial type 'struct tbb::internal::padded, 128>'; use assignment or value-initialization instead [-Wclass-memaccess] std::memset( array, 0, n_of_elements * sizeof( T ) ); ~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ In file included from ../../include/tbb/tbb_machine.h:117, from ../../include/tbb/atomic.h:32, from ../../include/tbb/enumerable_thread_specific.h:24, from ../../include/tbb/combinable.h:24, from ../../src/test/test_combinable.cpp:25: ../../include/tbb/tbb_stddef.h:257:8: note: 'struct tbb::internal::padded, 128>' declared here struct padded : padded_base {}; ^~~~~~ In file included from ../../include/tbb/enumerable_thread_specific.h:25, from ../../include/tbb/combinable.h:24, from ../../src/test/test_combinable.cpp:25: ../../include/tbb/concurrent_vector.h: In instantiation of 'void tbb::internal::handle_unconstructed_elements(T*, std::size_t) [with T = tbb::internal::padded, 128>; std::size_t = long unsigned int]': ../../include/tbb/concurrent_vector.h:1123:56: required from 'tbb::concurrent_vector::internal_loop_guide::~internal_loop_guide() [with T = tbb::internal::padded, 128>; A = tbb::cache_aligned_allocator, 128> >]' ../../include/tbb/concurrent_vector.h:1262:25: required from 'static void tbb::concurrent_vector::initialize_array(void*, const void*, tbb::concurrent_vector::size_type) [with T = tbb::internal::padded, 128>; A = tbb::cache_aligned_allocator, 128> >; tbb::concurrent_vector::size_type = long unsigned int]' ../../include/tbb/concurrent_vector.h:780:76: required from 'tbb::concurrent_vector::iterator tbb::concurrent_vector::grow_by(tbb::concurrent_vector::size_type) [with T = tbb::internal::padded, 128>; A = tbb::cache_aligned_allocator, 128> >; tbb::concurrent_vector::iterator = tbb::internal::vector_iterator, 128>, tbb::cache_aligned_allocator, 128> > >, tbb::internal::padded, 128> >; tbb::concurrent_vector::size_type = long unsigned int]' ../../include/tbb/enumerable_thread_specific.h:804:36: required from 'static void* tbb::interface6::enumerable_thread_specific::create_local_by_copy(tbb::interface6::internal::ets_base<(tbb::ets_key_usage_type)1>&, void*) [with T = double; Allocator = tbb::cache_aligned_allocator; tbb::ets_key_usage_type ETS_key_type = (tbb::ets_key_usage_type)1]' ../../include/tbb/enumerable_thread_specific.h:948:13: required from 'void tbb::interface6::enumerable_thread_specific::internal_copy(const tbb::interface6::enumerable_thread_specific&) [with A2 = tbb::cache_aligned_allocator; tbb::ets_key_usage_type C2 = (tbb::ets_key_usage_type)1; T = double; Allocator = tbb::cache_aligned_allocator; tbb::ets_key_usage_type ETS_key_type = (tbb::ets_key_usage_type)1]' ../../include/tbb/enumerable_thread_specific.h:981:13: required from 'tbb::interface6::enumerable_thread_specific::enumerable_thread_specific(const tbb::interface6::enumerable_thread_specific&) [with T = double; Allocator = tbb::cache_aligned_allocator; tbb::ets_key_usage_type ETS_key_type = (tbb::ets_key_usage_type)1]' ../../include/tbb/combinable.h:51:67: required from 'tbb::combinable::combinable(const tbb::combinable&) [with T = double]' ../../src/test/test_combinable.cpp:233:32: required from 'void RunParallelScalarTests(const char*) [with T = double]' ../../src/test/test_combinable.cpp:366:44: required from here ../../include/tbb/concurrent_vector.h:77:20: warning: 'void* memset(void*, int, size_t)' clearing an object of non-trivial type 'struct tbb::internal::padded, 128>'; use assignment or value-initialization instead [-Wclass-memaccess] std::memset( array, 0, n_of_elements * sizeof( T ) ); ~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ In file included from ../../include/tbb/tbb_machine.h:117, from ../../include/tbb/atomic.h:32, from ../../include/tbb/enumerable_thread_specific.h:24, from ../../include/tbb/combinable.h:24, from ../../src/test/test_combinable.cpp:25: ../../include/tbb/tbb_stddef.h:257:8: note: 'struct tbb::internal::padded, 128>' declared here struct padded : padded_base {}; ^~~~~~ In file included from ../../include/tbb/enumerable_thread_specific.h:25, from ../../include/tbb/combinable.h:24, from ../../src/test/test_combinable.cpp:25: ../../include/tbb/concurrent_vector.h: In instantiation of 'void tbb::internal::handle_unconstructed_elements(T*, std::size_t) [with T = tbb::internal::padded, 128>; std::size_t = long unsigned int]': ../../include/tbb/concurrent_vector.h:1123:56: required from 'tbb::concurrent_vector::internal_loop_guide::~internal_loop_guide() [with T = tbb::internal::padded, 128>; A = tbb::cache_aligned_allocator, 128> >]' ../../include/tbb/concurrent_vector.h:1262:25: required from 'static void tbb::concurrent_vector::initialize_array(void*, const void*, tbb::concurrent_vector::size_type) [with T = tbb::internal::padded, 128>; A = tbb::cache_aligned_allocator, 128> >; tbb::concurrent_vector::size_type = long unsigned int]' ../../include/tbb/concurrent_vector.h:780:76: required from 'tbb::concurrent_vector::iterator tbb::concurrent_vector::grow_by(tbb::concurrent_vector::size_type) [with T = tbb::internal::padded, 128>; A = tbb::cache_aligned_allocator, 128> >; tbb::concurrent_vector::iterator = tbb::internal::vector_iterator, 128>, tbb::cache_aligned_allocator, 128> > >, tbb::internal::padded, 128> >; tbb::concurrent_vector::size_type = long unsigned int]' ../../include/tbb/enumerable_thread_specific.h:804:36: required from 'static void* tbb::interface6::enumerable_thread_specific::create_local_by_copy(tbb::interface6::internal::ets_base<(tbb::ets_key_usage_type)1>&, void*) [with T = minimal; Allocator = tbb::cache_aligned_allocator; tbb::ets_key_usage_type ETS_key_type = (tbb::ets_key_usage_type)1]' ../../include/tbb/enumerable_thread_specific.h:948:13: required from 'void tbb::interface6::enumerable_thread_specific::internal_copy(const tbb::interface6::enumerable_thread_specific&) [with A2 = tbb::cache_aligned_allocator; tbb::ets_key_usage_type C2 = (tbb::ets_key_usage_type)1; T = minimal; Allocator = tbb::cache_aligned_allocator; tbb::ets_key_usage_type ETS_key_type = (tbb::ets_key_usage_type)1]' ../../include/tbb/enumerable_thread_specific.h:981:13: required from 'tbb::interface6::enumerable_thread_specific::enumerable_thread_specific(const tbb::interface6::enumerable_thread_specific&) [with T = minimal; Allocator = tbb::cache_aligned_allocator; tbb::ets_key_usage_type ETS_key_type = (tbb::ets_key_usage_type)1]' ../../include/tbb/combinable.h:51:67: required from 'tbb::combinable::combinable(const tbb::combinable&) [with T = minimal]' ../../src/test/test_combinable.cpp:233:32: required from 'void RunParallelScalarTests(const char*) [with T = minimal]' ../../src/test/test_combinable.cpp:367:46: required from here ../../include/tbb/concurrent_vector.h:77:20: warning: 'void* memset(void*, int, size_t)' clearing an object of non-trivial type 'struct tbb::internal::padded, 128>'; use assignment or value-initialization instead [-Wclass-memaccess] std::memset( array, 0, n_of_elements * sizeof( T ) ); ~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ In file included from ../../include/tbb/tbb_machine.h:117, from ../../include/tbb/atomic.h:32, from ../../include/tbb/enumerable_thread_specific.h:24, from ../../include/tbb/combinable.h:24, from ../../src/test/test_combinable.cpp:25: ../../include/tbb/tbb_stddef.h:257:8: note: 'struct tbb::internal::padded, 128>' declared here struct padded : padded_base {}; ^~~~~~ In file included from ../../include/tbb/enumerable_thread_specific.h:25, from ../../include/tbb/combinable.h:24, from ../../src/test/test_combinable.cpp:25: ../../include/tbb/concurrent_vector.h: In instantiation of 'void tbb::internal::handle_unconstructed_elements(T*, std::size_t) [with T = tbb::internal::padded > >, 128>; std::size_t = long unsigned int]': ../../include/tbb/concurrent_vector.h:1123:56: required from 'tbb::concurrent_vector::internal_loop_guide::~internal_loop_guide() [with T = tbb::internal::padded > >, 128>; A = tbb::cache_aligned_allocator > >, 128> >]' ../../include/tbb/concurrent_vector.h:1262:25: required from 'static void tbb::concurrent_vector::initialize_array(void*, const void*, tbb::concurrent_vector::size_type) [with T = tbb::internal::padded > >, 128>; A = tbb::cache_aligned_allocator > >, 128> >; tbb::concurrent_vector::size_type = long unsigned int]' ../../include/tbb/concurrent_vector.h:780:76: required from 'tbb::concurrent_vector::iterator tbb::concurrent_vector::grow_by(tbb::concurrent_vector::size_type) [with T = tbb::internal::padded > >, 128>; A = tbb::cache_aligned_allocator > >, 128> >; tbb::concurrent_vector::iterator = tbb::internal::vector_iterator > >, 128>, tbb::cache_aligned_allocator > >, 128> > >, tbb::internal::padded > >, 128> >; tbb::concurrent_vector::size_type = long unsigned int]' ../../include/tbb/enumerable_thread_specific.h:804:36: required from 'static void* tbb::interface6::enumerable_thread_specific::create_local_by_copy(tbb::interface6::internal::ets_base<(tbb::ets_key_usage_type)1>&, void*) [with T = std::vector >; Allocator = tbb::cache_aligned_allocator > >; tbb::ets_key_usage_type ETS_key_type = (tbb::ets_key_usage_type)1]' ../../include/tbb/enumerable_thread_specific.h:948:13: required from 'void tbb::interface6::enumerable_thread_specific::internal_copy(const tbb::interface6::enumerable_thread_specific&) [with A2 = tbb::cache_aligned_allocator > >; tbb::ets_key_usage_type C2 = (tbb::ets_key_usage_type)1; T = std::vector >; Allocator = tbb::cache_aligned_allocator > >; tbb::ets_key_usage_type ETS_key_type = (tbb::ets_key_usage_type)1]' ../../include/tbb/enumerable_thread_specific.h:981:13: required from 'tbb::interface6::enumerable_thread_specific::enumerable_thread_specific(const tbb::interface6::enumerable_thread_specific&) [with T = std::vector >; Allocator = tbb::cache_aligned_allocator > >; tbb::ets_key_usage_type ETS_key_type = (tbb::ets_key_usage_type)1]' ../../include/tbb/combinable.h:51:67: required from 'tbb::combinable::combinable(const tbb::combinable&) [with T = std::vector >]' ../../src/test/test_combinable.cpp:322:28: required from 'void RunParallelVectorTests(const char*) [with T = int]' ../../src/test/test_combinable.cpp:368:77: required from here ../../include/tbb/concurrent_vector.h:77:20: warning: 'void* memset(void*, int, size_t)' clearing an object of non-trivial type 'struct tbb::internal::padded > >, 128>'; use assignment or value-initialization instead [-Wclass-memaccess] std::memset( array, 0, n_of_elements * sizeof( T ) ); ~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ In file included from ../../include/tbb/tbb_machine.h:117, from ../../include/tbb/atomic.h:32, from ../../include/tbb/enumerable_thread_specific.h:24, from ../../include/tbb/combinable.h:24, from ../../src/test/test_combinable.cpp:25: ../../include/tbb/tbb_stddef.h:257:8: note: 'struct tbb::internal::padded > >, 128>' declared here struct padded : padded_base {}; ^~~~~~ In file included from ../../include/tbb/enumerable_thread_specific.h:25, from ../../include/tbb/combinable.h:24, from ../../src/test/test_combinable.cpp:25: ../../include/tbb/concurrent_vector.h: In instantiation of 'void tbb::internal::handle_unconstructed_elements(T*, std::size_t) [with T = tbb::internal::padded > >, 128>; std::size_t = long unsigned int]': ../../include/tbb/concurrent_vector.h:1123:56: required from 'tbb::concurrent_vector::internal_loop_guide::~internal_loop_guide() [with T = tbb::internal::padded > >, 128>; A = tbb::cache_aligned_allocator > >, 128> >]' ../../include/tbb/concurrent_vector.h:1262:25: required from 'static void tbb::concurrent_vector::initialize_array(void*, const void*, tbb::concurrent_vector::size_type) [with T = tbb::internal::padded > >, 128>; A = tbb::cache_aligned_allocator > >, 128> >; tbb::concurrent_vector::size_type = long unsigned int]' ../../include/tbb/concurrent_vector.h:780:76: required from 'tbb::concurrent_vector::iterator tbb::concurrent_vector::grow_by(tbb::concurrent_vector::size_type) [with T = tbb::internal::padded > >, 128>; A = tbb::cache_aligned_allocator > >, 128> >; tbb::concurrent_vector::iterator = tbb::internal::vector_iterator > >, 128>, tbb::cache_aligned_allocator > >, 128> > >, tbb::internal::padded > >, 128> >; tbb::concurrent_vector::size_type = long unsigned int]' ../../include/tbb/enumerable_thread_specific.h:804:36: required from 'static void* tbb::interface6::enumerable_thread_specific::create_local_by_copy(tbb::interface6::internal::ets_base<(tbb::ets_key_usage_type)1>&, void*) [with T = std::vector >; Allocator = tbb::cache_aligned_allocator > >; tbb::ets_key_usage_type ETS_key_type = (tbb::ets_key_usage_type)1]' ../../include/tbb/enumerable_thread_specific.h:948:13: required from 'void tbb::interface6::enumerable_thread_specific::internal_copy(const tbb::interface6::enumerable_thread_specific&) [with A2 = tbb::cache_aligned_allocator > >; tbb::ets_key_usage_type C2 = (tbb::ets_key_usage_type)1; T = std::vector >; Allocator = tbb::cache_aligned_allocator > >; tbb::ets_key_usage_type ETS_key_type = (tbb::ets_key_usage_type)1]' ../../include/tbb/enumerable_thread_specific.h:981:13: required from 'tbb::interface6::enumerable_thread_specific::enumerable_thread_specific(const tbb::interface6::enumerable_thread_specific&) [with T = std::vector >; Allocator = tbb::cache_aligned_allocator > >; tbb::ets_key_usage_type ETS_key_type = (tbb::ets_key_usage_type)1]' ../../include/tbb/combinable.h:51:67: required from 'tbb::combinable::combinable(const tbb::combinable&) [with T = std::vector >]' ../../src/test/test_combinable.cpp:322:28: required from 'void RunParallelVectorTests(const char*) [with T = double]' ../../src/test/test_combinable.cpp:369:86: required from here ../../include/tbb/concurrent_vector.h:77:20: warning: 'void* memset(void*, int, size_t)' clearing an object of non-trivial type 'struct tbb::internal::padded > >, 128>'; use assignment or value-initialization instead [-Wclass-memaccess] std::memset( array, 0, n_of_elements * sizeof( T ) ); ~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ In file included from ../../include/tbb/tbb_machine.h:117, from ../../include/tbb/atomic.h:32, from ../../include/tbb/enumerable_thread_specific.h:24, from ../../include/tbb/combinable.h:24, from ../../src/test/test_combinable.cpp:25: ../../include/tbb/tbb_stddef.h:257:8: note: 'struct tbb::internal::padded > >, 128>' declared here struct padded : padded_base {}; ^~~~~~ g++ -o test_combinable.exe -O2 -g -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -fexceptions -fstack-protector-strong -grecord-gcc-switches -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -mcpu=power8 -mtune=power8 -funwind-tables -fstack-clash-protection -g -O2 -DUSE_PTHREAD -DTEST_USES_TBB=1 -Wall -Wshadow -Wcast-qual -Woverloaded-virtual -Wnon-virtual-dtor -Wextra -O2 -g -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -fexceptions -fstack-protector-strong -grecord-gcc-switches -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -mcpu=power8 -mtune=power8 -funwind-tables -fstack-clash-protection test_combinable.o libtbb.so -lpthread -lrt -Wl,-rpath-link=. -rdynamic g++ -o test_task_auto_init.o -c -MMD -O2 -g -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -fexceptions -fstack-protector-strong -grecord-gcc-switches -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -mcpu=power8 -mtune=power8 -funwind-tables -fstack-clash-protection -g -O2 -DUSE_PTHREAD -DTEST_USES_TBB=1 -Wall -Wshadow -Wcast-qual -Woverloaded-virtual -Wnon-virtual-dtor -Wextra -O2 -g -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -fexceptions -fstack-protector-strong -grecord-gcc-switches -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -mcpu=power8 -mtune=power8 -funwind-tables -fstack-clash-protection -std=c++14 -I../../src -I../../src/rml/include -I../../include -I. -include ../../src/test/harness_preload.h ../../src/test/test_task_auto_init.cpp In file included from ../../include/tbb/tbb_machine.h:243, from ../../include/tbb/task.h:25, from ../../src/test/test_task_auto_init.cpp:23: ../../include/tbb/machine/mac_ppc.h: In function 'int32_t __TBB_machine_cmpswp4(volatile void*, int32_t, int32_t)': ../../include/tbb/machine/mac_ppc.h:91:46: warning: cast from type 'volatile void*' to type 'int32_t*' {aka 'int*'} casts away qualifiers [-Wcast-qual] , "+m"(* (int32_t*) ptr) /* redundant with "memory" */ ^~~ ../../include/tbb/machine/mac_ppc.h: In function 'int64_t __TBB_machine_cmpswp8(volatile void*, int64_t, int64_t)': ../../include/tbb/machine/mac_ppc.h:116:46: warning: cast from type 'volatile void*' to type 'int64_t*' {aka 'long int*'} casts away qualifiers [-Wcast-qual] , "+m"(* (int64_t*) ptr) /* redundant with "memory" */ ^~~ g++ -o test_task_auto_init.exe -O2 -g -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -fexceptions -fstack-protector-strong -grecord-gcc-switches -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -mcpu=power8 -mtune=power8 -funwind-tables -fstack-clash-protection -g -O2 -DUSE_PTHREAD -DTEST_USES_TBB=1 -Wall -Wshadow -Wcast-qual -Woverloaded-virtual -Wnon-virtual-dtor -Wextra -O2 -g -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -fexceptions -fstack-protector-strong -grecord-gcc-switches -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -mcpu=power8 -mtune=power8 -funwind-tables -fstack-clash-protection test_task_auto_init.o libtbb.so -lpthread -lrt -Wl,-rpath-link=. -rdynamic g++ -o test_task_arena.o -c -MMD -O2 -g -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -fexceptions -fstack-protector-strong -grecord-gcc-switches -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -mcpu=power8 -mtune=power8 -funwind-tables -fstack-clash-protection -g -O2 -DUSE_PTHREAD -DTEST_USES_TBB=1 -Wall -Wshadow -Wcast-qual -Woverloaded-virtual -Wnon-virtual-dtor -Wextra -O2 -g -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -fexceptions -fstack-protector-strong -grecord-gcc-switches -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -mcpu=power8 -mtune=power8 -funwind-tables -fstack-clash-protection -std=c++14 -I../../src -I../../src/rml/include -I../../include -I. -include ../../src/test/harness_preload.h ../../src/test/test_task_arena.cpp In file included from ../../include/tbb/tbb_machine.h:243, from ../../src/test/harness_fp.h:24, from ../../src/test/test_task_arena.cpp:28: ../../include/tbb/machine/mac_ppc.h: In function 'int32_t __TBB_machine_cmpswp4(volatile void*, int32_t, int32_t)': ../../include/tbb/machine/mac_ppc.h:91:46: warning: cast from type 'volatile void*' to type 'int32_t*' {aka 'int*'} casts away qualifiers [-Wcast-qual] , "+m"(* (int32_t*) ptr) /* redundant with "memory" */ ^~~ ../../include/tbb/machine/mac_ppc.h: In function 'int64_t __TBB_machine_cmpswp8(volatile void*, int64_t, int64_t)': ../../include/tbb/machine/mac_ppc.h:116:46: warning: cast from type 'volatile void*' to type 'int64_t*' {aka 'long int*'} casts away qualifiers [-Wcast-qual] , "+m"(* (int64_t*) ptr) /* redundant with "memory" */ ^~~ In file included from ../../include/tbb/enumerable_thread_specific.h:25, from ../../src/test/test_task_arena.cpp:43: ../../include/tbb/concurrent_vector.h: In static member function 'static void tbb::concurrent_vector::copy_range(void*, const void*, tbb::concurrent_vector::size_type)': ../../include/tbb/concurrent_vector.h:1296:18: warning: declaration of 'iterator' shadows a previous local [-Wshadow] I & iterator ((*const_cast(static_cast(p_type_erased_iterator)))); ^ ../../include/tbb/concurrent_vector.h:578:60: note: shadowed declaration is here typedef internal::vector_iterator iterator; ^~~~~~~~ In file included from ../../include/tbb/enumerable_thread_specific.h:25, from ../../src/test/test_task_arena.cpp:43: ../../include/tbb/concurrent_vector.h: In instantiation of 'void tbb::internal::handle_unconstructed_elements(T*, std::size_t) [with T = tbb::internal::padded, 128>; std::size_t = long unsigned int]': ../../include/tbb/concurrent_vector.h:1123:56: required from 'tbb::concurrent_vector::internal_loop_guide::~internal_loop_guide() [with T = tbb::internal::padded, 128>; A = tbb::cache_aligned_allocator, 128> >]' ../../include/tbb/concurrent_vector.h:1262:25: required from 'static void tbb::concurrent_vector::initialize_array(void*, const void*, tbb::concurrent_vector::size_type) [with T = tbb::internal::padded, 128>; A = tbb::cache_aligned_allocator, 128> >; tbb::concurrent_vector::size_type = long unsigned int]' ../../include/tbb/concurrent_vector.h:780:76: required from 'tbb::concurrent_vector::iterator tbb::concurrent_vector::grow_by(tbb::concurrent_vector::size_type) [with T = tbb::internal::padded, 128>; A = tbb::cache_aligned_allocator, 128> >; tbb::concurrent_vector::iterator = tbb::internal::vector_iterator, 128>, tbb::cache_aligned_allocator, 128> > >, tbb::internal::padded, 128> >; tbb::concurrent_vector::size_type = long unsigned int]' ../../include/tbb/enumerable_thread_specific.h:797:36: required from 'void* tbb::interface6::enumerable_thread_specific::create_local() [with T = Harness::FastRandom; Allocator = tbb::cache_aligned_allocator; tbb::ets_key_usage_type ETS_key_type = (tbb::ets_key_usage_type)1]' ../../include/tbb/enumerable_thread_specific.h:796:15: required from here ../../include/tbb/concurrent_vector.h:77:20: warning: 'void* memset(void*, int, size_t)' clearing an object of non-trivial type 'struct tbb::internal::padded, 128>'; use assignment or value-initialization instead [-Wclass-memaccess] std::memset( array, 0, n_of_elements * sizeof( T ) ); ~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ In file included from ../../include/tbb/tbb_machine.h:117, from ../../src/test/harness_fp.h:24, from ../../src/test/test_task_arena.cpp:28: ../../include/tbb/tbb_stddef.h:257:8: note: 'struct tbb::internal::padded, 128>' declared here struct padded : padded_base {}; ^~~~~~ In file included from ../../include/tbb/enumerable_thread_specific.h:25, from ../../src/test/test_task_arena.cpp:43: ../../include/tbb/concurrent_vector.h: In instantiation of 'void tbb::internal::handle_unconstructed_elements(T*, std::size_t) [with T = tbb::internal::padded, 128>; std::size_t = long unsigned int]': ../../include/tbb/concurrent_vector.h:1123:56: required from 'tbb::concurrent_vector::internal_loop_guide::~internal_loop_guide() [with T = tbb::internal::padded, 128>; A = tbb::cache_aligned_allocator, 128> >]' ../../include/tbb/concurrent_vector.h:1262:25: required from 'static void tbb::concurrent_vector::initialize_array(void*, const void*, tbb::concurrent_vector::size_type) [with T = tbb::internal::padded, 128>; A = tbb::cache_aligned_allocator, 128> >; tbb::concurrent_vector::size_type = long unsigned int]' ../../include/tbb/concurrent_vector.h:780:76: required from 'tbb::concurrent_vector::iterator tbb::concurrent_vector::grow_by(tbb::concurrent_vector::size_type) [with T = tbb::internal::padded, 128>; A = tbb::cache_aligned_allocator, 128> >; tbb::concurrent_vector::iterator = tbb::internal::vector_iterator, 128>, tbb::cache_aligned_allocator, 128> > >, tbb::internal::padded, 128> >; tbb::concurrent_vector::size_type = long unsigned int]' ../../include/tbb/enumerable_thread_specific.h:797:36: required from 'void* tbb::interface6::enumerable_thread_specific::create_local() [with T = int; Allocator = tbb::cache_aligned_allocator; tbb::ets_key_usage_type ETS_key_type = (tbb::ets_key_usage_type)1]' ../../include/tbb/enumerable_thread_specific.h:796:15: required from here ../../include/tbb/concurrent_vector.h:77:20: warning: 'void* memset(void*, int, size_t)' clearing an object of non-trivial type 'struct tbb::internal::padded, 128>'; use assignment or value-initialization instead [-Wclass-memaccess] std::memset( array, 0, n_of_elements * sizeof( T ) ); ~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ In file included from ../../include/tbb/tbb_machine.h:117, from ../../src/test/harness_fp.h:24, from ../../src/test/test_task_arena.cpp:28: ../../include/tbb/tbb_stddef.h:257:8: note: 'struct tbb::internal::padded, 128>' declared here struct padded : padded_base {}; ^~~~~~ g++ -o test_task_arena.exe -O2 -g -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -fexceptions -fstack-protector-strong -grecord-gcc-switches -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -mcpu=power8 -mtune=power8 -funwind-tables -fstack-clash-protection -g -O2 -DUSE_PTHREAD -DTEST_USES_TBB=1 -Wall -Wshadow -Wcast-qual -Woverloaded-virtual -Wnon-virtual-dtor -Wextra -O2 -g -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -fexceptions -fstack-protector-strong -grecord-gcc-switches -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -mcpu=power8 -mtune=power8 -funwind-tables -fstack-clash-protection test_task_arena.o libtbb.so -lpthread -lrt -Wl,-rpath-link=. -rdynamic g++ -o test_concurrent_monitor.o -c -MMD -O2 -g -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -fexceptions -fstack-protector-strong -grecord-gcc-switches -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -mcpu=power8 -mtune=power8 -funwind-tables -fstack-clash-protection -g -O2 -DUSE_PTHREAD -DTEST_USES_TBB=1 -Wall -Wshadow -Wcast-qual -Woverloaded-virtual -Wnon-virtual-dtor -Wextra -O2 -g -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -fexceptions -fstack-protector-strong -grecord-gcc-switches -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -mcpu=power8 -mtune=power8 -funwind-tables -fstack-clash-protection -std=c++14 -I../../src -I../../src/rml/include -I../../include -I. -include ../../src/test/harness_preload.h ../../src/test/test_concurrent_monitor.cpp In file included from ../../include/tbb/tbb_machine.h:243, from ../../include/tbb/atomic.h:32, from ../../src/tbb/concurrent_monitor.h:25, from ../../src/test/test_concurrent_monitor.cpp:24: ../../include/tbb/machine/mac_ppc.h: In function 'int32_t __TBB_machine_cmpswp4(volatile void*, int32_t, int32_t)': ../../include/tbb/machine/mac_ppc.h:91:46: warning: cast from type 'volatile void*' to type 'int32_t*' {aka 'int*'} casts away qualifiers [-Wcast-qual] , "+m"(* (int32_t*) ptr) /* redundant with "memory" */ ^~~ ../../include/tbb/machine/mac_ppc.h: In function 'int64_t __TBB_machine_cmpswp8(volatile void*, int64_t, int64_t)': ../../include/tbb/machine/mac_ppc.h:116:46: warning: cast from type 'volatile void*' to type 'int64_t*' {aka 'long int*'} casts away qualifiers [-Wcast-qual] , "+m"(* (int64_t*) ptr) /* redundant with "memory" */ ^~~ g++ -o test_concurrent_monitor.exe -O2 -g -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -fexceptions -fstack-protector-strong -grecord-gcc-switches -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -mcpu=power8 -mtune=power8 -funwind-tables -fstack-clash-protection -g -O2 -DUSE_PTHREAD -DTEST_USES_TBB=1 -Wall -Wshadow -Wcast-qual -Woverloaded-virtual -Wnon-virtual-dtor -Wextra -O2 -g -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -fexceptions -fstack-protector-strong -grecord-gcc-switches -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -mcpu=power8 -mtune=power8 -funwind-tables -fstack-clash-protection test_concurrent_monitor.o libtbb.so -lpthread -lrt -Wl,-rpath-link=. -rdynamic g++ -o test_semaphore.o -c -MMD -O2 -g -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -fexceptions -fstack-protector-strong -grecord-gcc-switches -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -mcpu=power8 -mtune=power8 -funwind-tables -fstack-clash-protection -g -O2 -DUSE_PTHREAD -DTEST_USES_TBB=1 -Wall -Wshadow -Wcast-qual -Woverloaded-virtual -Wnon-virtual-dtor -Wextra -O2 -g -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -fexceptions -fstack-protector-strong -grecord-gcc-switches -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -mcpu=power8 -mtune=power8 -funwind-tables -fstack-clash-protection -std=c++14 -I../../src -I../../src/rml/include -I../../include -I. -include ../../src/test/harness_preload.h ../../src/test/test_semaphore.cpp In file included from ../../include/tbb/tbb_machine.h:243, from ../../include/tbb/atomic.h:32, from ../../src/test/test_semaphore.cpp:35: ../../include/tbb/machine/mac_ppc.h: In function 'int32_t __TBB_machine_cmpswp4(volatile void*, int32_t, int32_t)': ../../include/tbb/machine/mac_ppc.h:91:46: warning: cast from type 'volatile void*' to type 'int32_t*' {aka 'int*'} casts away qualifiers [-Wcast-qual] , "+m"(* (int32_t*) ptr) /* redundant with "memory" */ ^~~ ../../include/tbb/machine/mac_ppc.h: In function 'int64_t __TBB_machine_cmpswp8(volatile void*, int64_t, int64_t)': ../../include/tbb/machine/mac_ppc.h:116:46: warning: cast from type 'volatile void*' to type 'int64_t*' {aka 'long int*'} casts away qualifiers [-Wcast-qual] , "+m"(* (int64_t*) ptr) /* redundant with "memory" */ ^~~ g++ -o test_semaphore.exe -O2 -g -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -fexceptions -fstack-protector-strong -grecord-gcc-switches -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -mcpu=power8 -mtune=power8 -funwind-tables -fstack-clash-protection -g -O2 -DUSE_PTHREAD -DTEST_USES_TBB=1 -Wall -Wshadow -Wcast-qual -Woverloaded-virtual -Wnon-virtual-dtor -Wextra -O2 -g -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -fexceptions -fstack-protector-strong -grecord-gcc-switches -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -mcpu=power8 -mtune=power8 -funwind-tables -fstack-clash-protection test_semaphore.o libtbb.so -lpthread -lrt -Wl,-rpath-link=. -rdynamic g++ -o test_critical_section.o -c -MMD -O2 -g -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -fexceptions -fstack-protector-strong -grecord-gcc-switches -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -mcpu=power8 -mtune=power8 -funwind-tables -fstack-clash-protection -g -O2 -DUSE_PTHREAD -DTEST_USES_TBB=1 -Wall -Wshadow -Wcast-qual -Woverloaded-virtual -Wnon-virtual-dtor -Wextra -O2 -g -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -fexceptions -fstack-protector-strong -grecord-gcc-switches -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -mcpu=power8 -mtune=power8 -funwind-tables -fstack-clash-protection -std=c++14 -I../../src -I../../src/rml/include -I../../include -I. -include ../../src/test/harness_preload.h ../../src/test/test_critical_section.cpp In file included from ../../include/tbb/tbb_machine.h:243, from ../../include/tbb/atomic.h:32, from ../../include/tbb/tbb_thread.h:46, from ../../include/tbb/critical_section.h:32, from ../../src/test/test_critical_section.cpp:23: ../../include/tbb/machine/mac_ppc.h: In function 'int32_t __TBB_machine_cmpswp4(volatile void*, int32_t, int32_t)': ../../include/tbb/machine/mac_ppc.h:91:46: warning: cast from type 'volatile void*' to type 'int32_t*' {aka 'int*'} casts away qualifiers [-Wcast-qual] , "+m"(* (int32_t*) ptr) /* redundant with "memory" */ ^~~ ../../include/tbb/machine/mac_ppc.h: In function 'int64_t __TBB_machine_cmpswp8(volatile void*, int64_t, int64_t)': ../../include/tbb/machine/mac_ppc.h:116:46: warning: cast from type 'volatile void*' to type 'int64_t*' {aka 'long int*'} casts away qualifiers [-Wcast-qual] , "+m"(* (int64_t*) ptr) /* redundant with "memory" */ ^~~ In file included from ../../include/tbb/enumerable_thread_specific.h:25, from ../../src/test/test_critical_section.cpp:25: ../../include/tbb/concurrent_vector.h: In static member function 'static void tbb::concurrent_vector::copy_range(void*, const void*, tbb::concurrent_vector::size_type)': ../../include/tbb/concurrent_vector.h:1296:18: warning: declaration of 'iterator' shadows a previous local [-Wshadow] I & iterator ((*const_cast(static_cast(p_type_erased_iterator)))); ^ ../../include/tbb/concurrent_vector.h:578:60: note: shadowed declaration is here typedef internal::vector_iterator iterator; ^~~~~~~~ In file included from ../../include/tbb/enumerable_thread_specific.h:25, from ../../src/test/test_critical_section.cpp:25: ../../include/tbb/concurrent_vector.h: In instantiation of 'void tbb::internal::handle_unconstructed_elements(T*, std::size_t) [with T = tbb::internal::padded, 128>; std::size_t = long unsigned int]': ../../include/tbb/concurrent_vector.h:1123:56: required from 'tbb::concurrent_vector::internal_loop_guide::~internal_loop_guide() [with T = tbb::internal::padded, 128>; A = tbb::cache_aligned_allocator, 128> >]' ../../include/tbb/concurrent_vector.h:1262:25: required from 'static void tbb::concurrent_vector::initialize_array(void*, const void*, tbb::concurrent_vector::size_type) [with T = tbb::internal::padded, 128>; A = tbb::cache_aligned_allocator, 128> >; tbb::concurrent_vector::size_type = long unsigned int]' ../../include/tbb/concurrent_vector.h:780:76: required from 'tbb::concurrent_vector::iterator tbb::concurrent_vector::grow_by(tbb::concurrent_vector::size_type) [with T = tbb::internal::padded, 128>; A = tbb::cache_aligned_allocator, 128> >; tbb::concurrent_vector::iterator = tbb::internal::vector_iterator, 128>, tbb::cache_aligned_allocator, 128> > >, tbb::internal::padded, 128> >; tbb::concurrent_vector::size_type = long unsigned int]' ../../include/tbb/enumerable_thread_specific.h:797:36: required from 'void* tbb::interface6::enumerable_thread_specific::create_local() [with T = double; Allocator = tbb::cache_aligned_allocator; tbb::ets_key_usage_type ETS_key_type = (tbb::ets_key_usage_type)1]' ../../include/tbb/enumerable_thread_specific.h:796:15: required from here ../../include/tbb/concurrent_vector.h:77:20: warning: 'void* memset(void*, int, size_t)' clearing an object of non-trivial type 'struct tbb::internal::padded, 128>'; use assignment or value-initialization instead [-Wclass-memaccess] std::memset( array, 0, n_of_elements * sizeof( T ) ); ~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ In file included from ../../include/tbb/critical_section.h:31, from ../../src/test/test_critical_section.cpp:23: ../../include/tbb/tbb_stddef.h:257:8: note: 'struct tbb::internal::padded, 128>' declared here struct padded : padded_base {}; ^~~~~~ g++ -o test_critical_section.exe -O2 -g -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -fexceptions -fstack-protector-strong -grecord-gcc-switches -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -mcpu=power8 -mtune=power8 -funwind-tables -fstack-clash-protection -g -O2 -DUSE_PTHREAD -DTEST_USES_TBB=1 -Wall -Wshadow -Wcast-qual -Woverloaded-virtual -Wnon-virtual-dtor -Wextra -O2 -g -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -fexceptions -fstack-protector-strong -grecord-gcc-switches -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -mcpu=power8 -mtune=power8 -funwind-tables -fstack-clash-protection test_critical_section.o libtbb.so -lpthread -lrt -Wl,-rpath-link=. -rdynamic g++ -o test_reader_writer_lock.o -c -MMD -O2 -g -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -fexceptions -fstack-protector-strong -grecord-gcc-switches -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -mcpu=power8 -mtune=power8 -funwind-tables -fstack-clash-protection -g -O2 -DUSE_PTHREAD -DTEST_USES_TBB=1 -Wall -Wshadow -Wcast-qual -Woverloaded-virtual -Wnon-virtual-dtor -Wextra -O2 -g -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -fexceptions -fstack-protector-strong -grecord-gcc-switches -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -mcpu=power8 -mtune=power8 -funwind-tables -fstack-clash-protection -std=c++14 -I../../src -I../../src/rml/include -I../../include -I. -include ../../src/test/harness_preload.h ../../src/test/test_reader_writer_lock.cpp In file included from ../../include/tbb/tbb_machine.h:243, from ../../include/tbb/atomic.h:32, from ../../include/tbb/tbb_thread.h:46, from ../../include/tbb/reader_writer_lock.h:24, from ../../src/test/test_reader_writer_lock.cpp:22: ../../include/tbb/machine/mac_ppc.h: In function 'int32_t __TBB_machine_cmpswp4(volatile void*, int32_t, int32_t)': ../../include/tbb/machine/mac_ppc.h:91:46: warning: cast from type 'volatile void*' to type 'int32_t*' {aka 'int*'} casts away qualifiers [-Wcast-qual] , "+m"(* (int32_t*) ptr) /* redundant with "memory" */ ^~~ ../../include/tbb/machine/mac_ppc.h: In function 'int64_t __TBB_machine_cmpswp8(volatile void*, int64_t, int64_t)': ../../include/tbb/machine/mac_ppc.h:116:46: warning: cast from type 'volatile void*' to type 'int64_t*' {aka 'long int*'} casts away qualifiers [-Wcast-qual] , "+m"(* (int64_t*) ptr) /* redundant with "memory" */ ^~~ g++ -o test_reader_writer_lock.exe -O2 -g -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -fexceptions -fstack-protector-strong -grecord-gcc-switches -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -mcpu=power8 -mtune=power8 -funwind-tables -fstack-clash-protection -g -O2 -DUSE_PTHREAD -DTEST_USES_TBB=1 -Wall -Wshadow -Wcast-qual -Woverloaded-virtual -Wnon-virtual-dtor -Wextra -O2 -g -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -fexceptions -fstack-protector-strong -grecord-gcc-switches -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -mcpu=power8 -mtune=power8 -funwind-tables -fstack-clash-protection test_reader_writer_lock.o libtbb.so -lpthread -lrt -Wl,-rpath-link=. -rdynamic g++ -o test_tbb_condition_variable.o -c -MMD -O2 -g -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -fexceptions -fstack-protector-strong -grecord-gcc-switches -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -mcpu=power8 -mtune=power8 -funwind-tables -fstack-clash-protection -g -O2 -DUSE_PTHREAD -DTEST_USES_TBB=1 -Wall -Wshadow -Wcast-qual -Woverloaded-virtual -Wnon-virtual-dtor -Wextra -O2 -g -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -fexceptions -fstack-protector-strong -grecord-gcc-switches -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -mcpu=power8 -mtune=power8 -funwind-tables -fstack-clash-protection -std=c++14 -I../../src -I../../src/rml/include -I../../include -I. -include ../../src/test/harness_preload.h ../../src/test/test_tbb_condition_variable.cpp In file included from ../../include/tbb/compat/../tbb_machine.h:243, from ../../include/tbb/compat/../aligned_space.h:25, from ../../include/tbb/compat/../mutex.h:31, from ../../include/tbb/compat/condition_variable:61, from ../../src/test/test_condition_variable.h:21, from ../../src/test/test_tbb_condition_variable.cpp:23: ../../include/tbb/compat/../machine/mac_ppc.h: In function 'int32_t __TBB_machine_cmpswp4(volatile void*, int32_t, int32_t)': ../../include/tbb/compat/../machine/mac_ppc.h:91:46: warning: cast from type 'volatile void*' to type 'int32_t*' {aka 'int*'} casts away qualifiers [-Wcast-qual] , "+m"(* (int32_t*) ptr) /* redundant with "memory" */ ^~~ ../../include/tbb/compat/../machine/mac_ppc.h: In function 'int64_t __TBB_machine_cmpswp8(volatile void*, int64_t, int64_t)': ../../include/tbb/compat/../machine/mac_ppc.h:116:46: warning: cast from type 'volatile void*' to type 'int64_t*' {aka 'long int*'} casts away qualifiers [-Wcast-qual] , "+m"(* (int64_t*) ptr) /* redundant with "memory" */ ^~~ g++ -o test_tbb_condition_variable.exe -O2 -g -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -fexceptions -fstack-protector-strong -grecord-gcc-switches -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -mcpu=power8 -mtune=power8 -funwind-tables -fstack-clash-protection -g -O2 -DUSE_PTHREAD -DTEST_USES_TBB=1 -Wall -Wshadow -Wcast-qual -Woverloaded-virtual -Wnon-virtual-dtor -Wextra -O2 -g -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -fexceptions -fstack-protector-strong -grecord-gcc-switches -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -mcpu=power8 -mtune=power8 -funwind-tables -fstack-clash-protection test_tbb_condition_variable.o libtbb.so -lpthread -lrt -Wl,-rpath-link=. -rdynamic g++ -o test_intrusive_list.o -c -MMD -O2 -g -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -fexceptions -fstack-protector-strong -grecord-gcc-switches -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -mcpu=power8 -mtune=power8 -funwind-tables -fstack-clash-protection -g -O2 -DUSE_PTHREAD -DTEST_USES_TBB=1 -Wall -Wshadow -Wcast-qual -Woverloaded-virtual -Wnon-virtual-dtor -Wextra -O2 -g -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -fexceptions -fstack-protector-strong -grecord-gcc-switches -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -mcpu=power8 -mtune=power8 -funwind-tables -fstack-clash-protection -std=c++14 -I../../src -I../../src/rml/include -I../../include -I. -include ../../src/test/harness_preload.h ../../src/test/test_intrusive_list.cpp g++ -o test_intrusive_list.exe -O2 -g -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -fexceptions -fstack-protector-strong -grecord-gcc-switches -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -mcpu=power8 -mtune=power8 -funwind-tables -fstack-clash-protection -g -O2 -DUSE_PTHREAD -DTEST_USES_TBB=1 -Wall -Wshadow -Wcast-qual -Woverloaded-virtual -Wnon-virtual-dtor -Wextra -O2 -g -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -fexceptions -fstack-protector-strong -grecord-gcc-switches -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -mcpu=power8 -mtune=power8 -funwind-tables -fstack-clash-protection test_intrusive_list.o libtbb.so -lpthread -lrt -Wl,-rpath-link=. -rdynamic g++ -o test_concurrent_priority_queue.o -c -MMD -O2 -g -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -fexceptions -fstack-protector-strong -grecord-gcc-switches -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -mcpu=power8 -mtune=power8 -funwind-tables -fstack-clash-protection -g -O2 -DUSE_PTHREAD -DTEST_USES_TBB=1 -Wall -Wshadow -Wcast-qual -Woverloaded-virtual -Wnon-virtual-dtor -Wextra -O2 -g -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -fexceptions -fstack-protector-strong -grecord-gcc-switches -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -mcpu=power8 -mtune=power8 -funwind-tables -fstack-clash-protection -std=c++14 -I../../src -I../../src/rml/include -I../../include -I. -include ../../src/test/harness_preload.h ../../src/test/test_concurrent_priority_queue.cpp In file included from ../../include/tbb/tbb_machine.h:243, from ../../include/tbb/atomic.h:32, from ../../include/tbb/concurrent_priority_queue.h:24, from ../../src/test/test_concurrent_priority_queue.cpp:22: ../../include/tbb/machine/mac_ppc.h: In function 'int32_t __TBB_machine_cmpswp4(volatile void*, int32_t, int32_t)': ../../include/tbb/machine/mac_ppc.h:91:46: warning: cast from type 'volatile void*' to type 'int32_t*' {aka 'int*'} casts away qualifiers [-Wcast-qual] , "+m"(* (int32_t*) ptr) /* redundant with "memory" */ ^~~ ../../include/tbb/machine/mac_ppc.h: In function 'int64_t __TBB_machine_cmpswp8(volatile void*, int64_t, int64_t)': ../../include/tbb/machine/mac_ppc.h:116:46: warning: cast from type 'volatile void*' to type 'int64_t*' {aka 'long int*'} casts away qualifiers [-Wcast-qual] , "+m"(* (int64_t*) ptr) /* redundant with "memory" */ ^~~ In file included from ../../src/test/test_concurrent_priority_queue.cpp:28: ../../src/test/harness_allocator.h: In instantiation of 'debug_allocator::pointer debug_allocator::allocate(debug_allocator::size_type, const void*) [with T = std::unique_ptr >; Allocator = std::allocator; debug_allocator::pointer = std::unique_ptr >*; debug_allocator::size_type = long unsigned int]': ../../src/test/test_concurrent_priority_queue.cpp:923:16: required from 'void Examine(Queue&, Queue&, const std::vector&) [with bool hasCopyCtor = false; Queue = tbb::interface5::concurrent_priority_queue >, SmartPointersCompare, debug_allocator >, std::allocator> >; typename Queue::value_type = std::unique_ptr >]' ../../src/test/test_concurrent_priority_queue.cpp:1000:34: required from 'void TypeTesterUniquePtr(const std::vector&) [with T = int]' ../../src/test/test_concurrent_priority_queue.cpp:1058:31: required from here ../../src/test/harness_allocator.h:518:20: warning: 'void* memset(void*, int, size_t)' writing to an object of type 'class std::unique_ptr >' with no trivial copy-assignment [-Wclass-memaccess] std::memset( ptr, 0xE3E3E3E3, n * sizeof(value_type) ); ~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ In file included from /usr/include/c++/8/memory:80, from ../../include/tbb/tbb_stddef.h:427, from ../../include/tbb/tbb_machine.h:117, from ../../include/tbb/atomic.h:32, from ../../include/tbb/concurrent_priority_queue.h:24, from ../../src/test/test_concurrent_priority_queue.cpp:22: /usr/include/c++/8/bits/unique_ptr.h:160:11: note: 'class std::unique_ptr >' declared here class unique_ptr ^~~~~~~~~~ In file included from ../../src/test/test_concurrent_priority_queue.cpp:28: ../../src/test/harness_allocator.h: In instantiation of 'debug_allocator::pointer debug_allocator::allocate(debug_allocator::size_type, const void*) [with T = std::shared_ptr; Allocator = std::allocator; debug_allocator::pointer = std::shared_ptr*; debug_allocator::size_type = long unsigned int]': ../../src/test/test_concurrent_priority_queue.cpp:923:16: required from 'void Examine(Queue&, Queue&, const std::vector&) [with bool hasCopyCtor = true; Queue = tbb::interface5::concurrent_priority_queue, SmartPointersCompare, debug_allocator, std::allocator> >; typename Queue::value_type = std::shared_ptr]' ../../src/test/test_concurrent_priority_queue.cpp:931:34: required from 'void Examine(const Queue&, const std::vector&) [with Queue = tbb::interface5::concurrent_priority_queue, SmartPointersCompare, debug_allocator, std::allocator> >; typename container_type::value_type = std::shared_ptr]' ../../src/test/test_concurrent_priority_queue.cpp:963:12: required from 'void TypeTester(const std::vector&, Compare) [with ValueType = std::shared_ptr; Compare = SmartPointersCompare]' ../../src/test/test_concurrent_priority_queue.cpp:1051:46: required from here ../../src/test/harness_allocator.h:518:20: warning: 'void* memset(void*, int, size_t)' writing to an object of type 'class std::shared_ptr' with no trivial copy-assignment [-Wclass-memaccess] std::memset( ptr, 0xE3E3E3E3, n * sizeof(value_type) ); ~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ In file included from /usr/include/c++/8/memory:81, from ../../include/tbb/tbb_stddef.h:427, from ../../include/tbb/tbb_machine.h:117, from ../../include/tbb/atomic.h:32, from ../../include/tbb/concurrent_priority_queue.h:24, from ../../src/test/test_concurrent_priority_queue.cpp:22: /usr/include/c++/8/bits/shared_ptr.h:103:11: note: 'class std::shared_ptr' declared here class shared_ptr : public __shared_ptr<_Tp> ^~~~~~~~~~ In file included from ../../src/test/test_concurrent_priority_queue.cpp:28: ../../src/test/harness_allocator.h: In instantiation of 'debug_allocator::pointer debug_allocator::allocate(debug_allocator::size_type, const void*) [with T = std::weak_ptr; Allocator = std::allocator; debug_allocator::pointer = std::weak_ptr*; debug_allocator::size_type = long unsigned int]': ../../src/test/test_concurrent_priority_queue.cpp:923:16: required from 'void Examine(Queue&, Queue&, const std::vector&) [with bool hasCopyCtor = true; Queue = tbb::interface5::concurrent_priority_queue, SmartPointersCompare, debug_allocator, std::allocator> >; typename Queue::value_type = std::weak_ptr]' ../../src/test/test_concurrent_priority_queue.cpp:931:34: required from 'void Examine(const Queue&, const std::vector&) [with Queue = tbb::interface5::concurrent_priority_queue, SmartPointersCompare, debug_allocator, std::allocator> >; typename container_type::value_type = std::weak_ptr]' ../../src/test/test_concurrent_priority_queue.cpp:963:12: required from 'void TypeTester(const std::vector&, Compare) [with ValueType = std::weak_ptr; Compare = SmartPointersCompare]' ../../src/test/test_concurrent_priority_queue.cpp:1052:45: required from here ../../src/test/harness_allocator.h:518:20: warning: 'void* memset(void*, int, size_t)' writing to an object of type 'class std::weak_ptr' with no trivial copy-assignment [-Wclass-memaccess] std::memset( ptr, 0xE3E3E3E3, n * sizeof(value_type) ); ~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ In file included from /usr/include/c++/8/memory:81, from ../../include/tbb/tbb_stddef.h:427, from ../../include/tbb/tbb_machine.h:117, from ../../include/tbb/atomic.h:32, from ../../include/tbb/concurrent_priority_queue.h:24, from ../../src/test/test_concurrent_priority_queue.cpp:22: /usr/include/c++/8/bits/shared_ptr.h:536:11: note: 'class std::weak_ptr' declared here class weak_ptr : public __weak_ptr<_Tp> ^~~~~~~~ In file included from ../../src/test/test_concurrent_priority_queue.cpp:28: ../../src/test/harness_allocator.h: In instantiation of 'debug_allocator::pointer debug_allocator::allocate(debug_allocator::size_type, const void*) [with T = tbb::atomic; Allocator = std::allocator; debug_allocator::pointer = tbb::atomic*; debug_allocator::size_type = long unsigned int]': ../../src/test/test_concurrent_priority_queue.cpp:923:16: required from 'void Examine(Queue&, Queue&, const std::vector&) [with bool hasCopyCtor = true; Queue = tbb::interface5::concurrent_priority_queue, std::less >, debug_allocator, std::allocator> >; typename Queue::value_type = tbb::atomic]' ../../src/test/test_concurrent_priority_queue.cpp:931:34: required from 'void Examine(const Queue&, const std::vector&) [with Queue = tbb::interface5::concurrent_priority_queue, std::less >, debug_allocator, std::allocator> >; typename container_type::value_type = tbb::atomic]' ../../src/test/test_concurrent_priority_queue.cpp:963:12: required from 'void TypeTester(const std::vector&, Compare) [with ValueType = tbb::atomic; Compare = std::less >]' ../../src/test/test_concurrent_priority_queue.cpp:1024:64: required from 'void TypeTester(const std::vector&) [with ValueType = tbb::atomic]' ../../src/test/test_concurrent_priority_queue.cpp:1041:22: required from here ../../src/test/harness_allocator.h:518:20: warning: 'void* memset(void*, int, size_t)' writing to an object of type 'struct tbb::atomic' with no trivial copy-assignment [-Wclass-memaccess] std::memset( ptr, 0xE3E3E3E3, n * sizeof(value_type) ); ~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ In file included from ../../include/tbb/concurrent_priority_queue.h:24, from ../../src/test/test_concurrent_priority_queue.cpp:22: ../../include/tbb/atomic.h:421:27: note: 'struct tbb::atomic' declared here template<> struct atomic: internal::atomic_impl_with_arithmetic { \ ^~~~~~~~~ ../../include/tbb/atomic.h:471:1: note: in expansion of macro '__TBB_DECL_ATOMIC' __TBB_DECL_ATOMIC(int) ^~~~~~~~~~~~~~~~~ g++ -o test_concurrent_priority_queue.exe -O2 -g -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -fexceptions -fstack-protector-strong -grecord-gcc-switches -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -mcpu=power8 -mtune=power8 -funwind-tables -fstack-clash-protection -g -O2 -DUSE_PTHREAD -DTEST_USES_TBB=1 -Wall -Wshadow -Wcast-qual -Woverloaded-virtual -Wnon-virtual-dtor -Wextra -O2 -g -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -fexceptions -fstack-protector-strong -grecord-gcc-switches -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -mcpu=power8 -mtune=power8 -funwind-tables -fstack-clash-protection test_concurrent_priority_queue.o libtbb.so -lpthread -lrt -Wl,-rpath-link=. -rdynamic g++ -o test_task_priority.o -c -MMD -O2 -g -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -fexceptions -fstack-protector-strong -grecord-gcc-switches -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -mcpu=power8 -mtune=power8 -funwind-tables -fstack-clash-protection -g -O2 -DUSE_PTHREAD -DTEST_USES_TBB=1 -Wall -Wshadow -Wcast-qual -Woverloaded-virtual -Wnon-virtual-dtor -Wextra -O2 -g -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -fexceptions -fstack-protector-strong -grecord-gcc-switches -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -mcpu=power8 -mtune=power8 -funwind-tables -fstack-clash-protection -std=c++14 -I../../src -I../../src/rml/include -I../../include -I. -include ../../src/test/harness_preload.h ../../src/test/test_task_priority.cpp In file included from ../../include/tbb/tbb_machine.h:243, from ../../include/tbb/task.h:25, from ../../src/test/test_task_priority.cpp:30: ../../include/tbb/machine/mac_ppc.h: In function 'int32_t __TBB_machine_cmpswp4(volatile void*, int32_t, int32_t)': ../../include/tbb/machine/mac_ppc.h:91:46: warning: cast from type 'volatile void*' to type 'int32_t*' {aka 'int*'} casts away qualifiers [-Wcast-qual] , "+m"(* (int32_t*) ptr) /* redundant with "memory" */ ^~~ ../../include/tbb/machine/mac_ppc.h: In function 'int64_t __TBB_machine_cmpswp8(volatile void*, int64_t, int64_t)': ../../include/tbb/machine/mac_ppc.h:116:46: warning: cast from type 'volatile void*' to type 'int64_t*' {aka 'long int*'} casts away qualifiers [-Wcast-qual] , "+m"(* (int64_t*) ptr) /* redundant with "memory" */ ^~~ g++ -o test_task_priority.exe -O2 -g -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -fexceptions -fstack-protector-strong -grecord-gcc-switches -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -mcpu=power8 -mtune=power8 -funwind-tables -fstack-clash-protection -g -O2 -DUSE_PTHREAD -DTEST_USES_TBB=1 -Wall -Wshadow -Wcast-qual -Woverloaded-virtual -Wnon-virtual-dtor -Wextra -O2 -g -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -fexceptions -fstack-protector-strong -grecord-gcc-switches -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -mcpu=power8 -mtune=power8 -funwind-tables -fstack-clash-protection test_task_priority.o libtbb.so -lpthread -lrt -Wl,-rpath-link=. -rdynamic g++ -o test_task_enqueue.o -c -MMD -O2 -g -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -fexceptions -fstack-protector-strong -grecord-gcc-switches -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -mcpu=power8 -mtune=power8 -funwind-tables -fstack-clash-protection -g -O2 -DUSE_PTHREAD -DTEST_USES_TBB=1 -Wall -Wshadow -Wcast-qual -Woverloaded-virtual -Wnon-virtual-dtor -Wextra -O2 -g -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -fexceptions -fstack-protector-strong -grecord-gcc-switches -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -mcpu=power8 -mtune=power8 -funwind-tables -fstack-clash-protection -std=c++14 -I../../src -I../../src/rml/include -I../../include -I. -include ../../src/test/harness_preload.h ../../src/test/test_task_enqueue.cpp In file included from ../../include/tbb/tbb_machine.h:243, from ../../include/tbb/task.h:25, from ../../src/test/harness_task.h:21, from ../../src/test/test_task_enqueue.cpp:21: ../../include/tbb/machine/mac_ppc.h: In function 'int32_t __TBB_machine_cmpswp4(volatile void*, int32_t, int32_t)': ../../include/tbb/machine/mac_ppc.h:91:46: warning: cast from type 'volatile void*' to type 'int32_t*' {aka 'int*'} casts away qualifiers [-Wcast-qual] , "+m"(* (int32_t*) ptr) /* redundant with "memory" */ ^~~ ../../include/tbb/machine/mac_ppc.h: In function 'int64_t __TBB_machine_cmpswp8(volatile void*, int64_t, int64_t)': ../../include/tbb/machine/mac_ppc.h:116:46: warning: cast from type 'volatile void*' to type 'int64_t*' {aka 'long int*'} casts away qualifiers [-Wcast-qual] , "+m"(* (int64_t*) ptr) /* redundant with "memory" */ ^~~ g++ -o test_task_enqueue.exe -O2 -g -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -fexceptions -fstack-protector-strong -grecord-gcc-switches -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -mcpu=power8 -mtune=power8 -funwind-tables -fstack-clash-protection -g -O2 -DUSE_PTHREAD -DTEST_USES_TBB=1 -Wall -Wshadow -Wcast-qual -Woverloaded-virtual -Wnon-virtual-dtor -Wextra -O2 -g -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -fexceptions -fstack-protector-strong -grecord-gcc-switches -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -mcpu=power8 -mtune=power8 -funwind-tables -fstack-clash-protection test_task_enqueue.o libtbb.so -lpthread -lrt -Wl,-rpath-link=. -rdynamic g++ -o test_task_steal_limit.o -c -MMD -O2 -g -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -fexceptions -fstack-protector-strong -grecord-gcc-switches -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -mcpu=power8 -mtune=power8 -funwind-tables -fstack-clash-protection -g -O2 -DUSE_PTHREAD -DTEST_USES_TBB=1 -Wall -Wshadow -Wcast-qual -Woverloaded-virtual -Wnon-virtual-dtor -Wextra -O2 -g -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -fexceptions -fstack-protector-strong -grecord-gcc-switches -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -mcpu=power8 -mtune=power8 -funwind-tables -fstack-clash-protection -std=c++14 -I../../src -I../../src/rml/include -I../../include -I. -include ../../src/test/harness_preload.h ../../src/test/test_task_steal_limit.cpp In file included from ../../include/tbb/tbb_machine.h:243, from ../../include/tbb/task.h:25, from ../../src/test/test_task_steal_limit.cpp:21: ../../include/tbb/machine/mac_ppc.h: In function 'int32_t __TBB_machine_cmpswp4(volatile void*, int32_t, int32_t)': ../../include/tbb/machine/mac_ppc.h:91:46: warning: cast from type 'volatile void*' to type 'int32_t*' {aka 'int*'} casts away qualifiers [-Wcast-qual] , "+m"(* (int32_t*) ptr) /* redundant with "memory" */ ^~~ ../../include/tbb/machine/mac_ppc.h: In function 'int64_t __TBB_machine_cmpswp8(volatile void*, int64_t, int64_t)': ../../include/tbb/machine/mac_ppc.h:116:46: warning: cast from type 'volatile void*' to type 'int64_t*' {aka 'long int*'} casts away qualifiers [-Wcast-qual] , "+m"(* (int64_t*) ptr) /* redundant with "memory" */ ^~~ g++ -o test_task_steal_limit.exe -O2 -g -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -fexceptions -fstack-protector-strong -grecord-gcc-switches -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -mcpu=power8 -mtune=power8 -funwind-tables -fstack-clash-protection -g -O2 -DUSE_PTHREAD -DTEST_USES_TBB=1 -Wall -Wshadow -Wcast-qual -Woverloaded-virtual -Wnon-virtual-dtor -Wextra -O2 -g -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -fexceptions -fstack-protector-strong -grecord-gcc-switches -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -mcpu=power8 -mtune=power8 -funwind-tables -fstack-clash-protection test_task_steal_limit.o libtbb.so -lpthread -lrt -Wl,-rpath-link=. -rdynamic g++ -o test_hw_concurrency.o -c -MMD -O2 -g -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -fexceptions -fstack-protector-strong -grecord-gcc-switches -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -mcpu=power8 -mtune=power8 -funwind-tables -fstack-clash-protection -g -O2 -DUSE_PTHREAD -DTEST_USES_TBB=1 -Wall -Wshadow -Wcast-qual -Woverloaded-virtual -Wnon-virtual-dtor -Wextra -O2 -g -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -fexceptions -fstack-protector-strong -grecord-gcc-switches -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -mcpu=power8 -mtune=power8 -funwind-tables -fstack-clash-protection -std=c++14 -I../../src -I../../src/rml/include -I../../include -I. -include ../../src/test/harness_preload.h ../../src/test/test_hw_concurrency.cpp In file included from ../../include/tbb/tbb_machine.h:243, from ../../include/tbb/atomic.h:32, from ../../include/tbb/tbb_thread.h:46, from ../../src/test/test_hw_concurrency.cpp:35: ../../include/tbb/machine/mac_ppc.h: In function 'int32_t __TBB_machine_cmpswp4(volatile void*, int32_t, int32_t)': ../../include/tbb/machine/mac_ppc.h:91:46: warning: cast from type 'volatile void*' to type 'int32_t*' {aka 'int*'} casts away qualifiers [-Wcast-qual] , "+m"(* (int32_t*) ptr) /* redundant with "memory" */ ^~~ ../../include/tbb/machine/mac_ppc.h: In function 'int64_t __TBB_machine_cmpswp8(volatile void*, int64_t, int64_t)': ../../include/tbb/machine/mac_ppc.h:116:46: warning: cast from type 'volatile void*' to type 'int64_t*' {aka 'long int*'} casts away qualifiers [-Wcast-qual] , "+m"(* (int64_t*) ptr) /* redundant with "memory" */ ^~~ In file included from ../../include/tbb/enumerable_thread_specific.h:25, from ../../src/test/test_hw_concurrency.cpp:36: ../../include/tbb/concurrent_vector.h: In static member function 'static void tbb::concurrent_vector::copy_range(void*, const void*, tbb::concurrent_vector::size_type)': ../../include/tbb/concurrent_vector.h:1296:18: warning: declaration of 'iterator' shadows a previous local [-Wshadow] I & iterator ((*const_cast(static_cast(p_type_erased_iterator)))); ^ ../../include/tbb/concurrent_vector.h:578:60: note: shadowed declaration is here typedef internal::vector_iterator iterator; ^~~~~~~~ In file included from ../../include/tbb/enumerable_thread_specific.h:25, from ../../src/test/test_hw_concurrency.cpp:36: ../../include/tbb/concurrent_vector.h: In instantiation of 'void tbb::internal::handle_unconstructed_elements(T*, std::size_t) [with T = tbb::internal::padded, 128>; std::size_t = long unsigned int]': ../../include/tbb/concurrent_vector.h:1123:56: required from 'tbb::concurrent_vector::internal_loop_guide::~internal_loop_guide() [with T = tbb::internal::padded, 128>; A = tbb::cache_aligned_allocator, 128> >]' ../../include/tbb/concurrent_vector.h:1262:25: required from 'static void tbb::concurrent_vector::initialize_array(void*, const void*, tbb::concurrent_vector::size_type) [with T = tbb::internal::padded, 128>; A = tbb::cache_aligned_allocator, 128> >; tbb::concurrent_vector::size_type = long unsigned int]' ../../include/tbb/concurrent_vector.h:780:76: required from 'tbb::concurrent_vector::iterator tbb::concurrent_vector::grow_by(tbb::concurrent_vector::size_type) [with T = tbb::internal::padded, 128>; A = tbb::cache_aligned_allocator, 128> >; tbb::concurrent_vector::iterator = tbb::internal::vector_iterator, 128>, tbb::cache_aligned_allocator, 128> > >, tbb::internal::padded, 128> >; tbb::concurrent_vector::size_type = long unsigned int]' ../../include/tbb/enumerable_thread_specific.h:797:36: required from 'void* tbb::interface6::enumerable_thread_specific::create_local() [with T = long unsigned int; Allocator = tbb::cache_aligned_allocator; tbb::ets_key_usage_type ETS_key_type = (tbb::ets_key_usage_type)1]' ../../include/tbb/enumerable_thread_specific.h:796:15: required from here ../../include/tbb/concurrent_vector.h:77:20: warning: 'void* memset(void*, int, size_t)' clearing an object of non-trivial type 'struct tbb::internal::padded, 128>'; use assignment or value-initialization instead [-Wclass-memaccess] std::memset( array, 0, n_of_elements * sizeof( T ) ); ~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ In file included from ../../src/test/harness.h:189, from ../../src/test/test_hw_concurrency.cpp:31: ../../include/tbb/tbb_stddef.h:257:8: note: 'struct tbb::internal::padded, 128>' declared here struct padded : padded_base {}; ^~~~~~ g++ -o test_hw_concurrency.exe -O2 -g -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -fexceptions -fstack-protector-strong -grecord-gcc-switches -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -mcpu=power8 -mtune=power8 -funwind-tables -fstack-clash-protection -g -O2 -DUSE_PTHREAD -DTEST_USES_TBB=1 -Wall -Wshadow -Wcast-qual -Woverloaded-virtual -Wnon-virtual-dtor -Wextra -O2 -g -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -fexceptions -fstack-protector-strong -grecord-gcc-switches -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -mcpu=power8 -mtune=power8 -funwind-tables -fstack-clash-protection test_hw_concurrency.o libtbb.so -lpthread -lrt -Wl,-rpath-link=. -rdynamic g++ -o test_fp.o -c -MMD -O2 -g -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -fexceptions -fstack-protector-strong -grecord-gcc-switches -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -mcpu=power8 -mtune=power8 -funwind-tables -fstack-clash-protection -g -O2 -DUSE_PTHREAD -DTEST_USES_TBB=1 -Wall -Wshadow -Wcast-qual -Woverloaded-virtual -Wnon-virtual-dtor -Wextra -O2 -g -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -fexceptions -fstack-protector-strong -grecord-gcc-switches -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -mcpu=power8 -mtune=power8 -funwind-tables -fstack-clash-protection -std=c++14 -I../../src -I../../src/rml/include -I../../include -I. -include ../../src/test/harness_preload.h ../../src/test/test_fp.cpp In file included from ../../include/tbb/tbb_machine.h:243, from ../../src/test/harness_fp.h:24, from ../../src/test/test_fp.cpp:24: ../../include/tbb/machine/mac_ppc.h: In function 'int32_t __TBB_machine_cmpswp4(volatile void*, int32_t, int32_t)': ../../include/tbb/machine/mac_ppc.h:91:46: warning: cast from type 'volatile void*' to type 'int32_t*' {aka 'int*'} casts away qualifiers [-Wcast-qual] , "+m"(* (int32_t*) ptr) /* redundant with "memory" */ ^~~ ../../include/tbb/machine/mac_ppc.h: In function 'int64_t __TBB_machine_cmpswp8(volatile void*, int64_t, int64_t)': ../../include/tbb/machine/mac_ppc.h:116:46: warning: cast from type 'volatile void*' to type 'int64_t*' {aka 'long int*'} casts away qualifiers [-Wcast-qual] , "+m"(* (int64_t*) ptr) /* redundant with "memory" */ ^~~ g++ -o test_fp.exe -O2 -g -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -fexceptions -fstack-protector-strong -grecord-gcc-switches -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -mcpu=power8 -mtune=power8 -funwind-tables -fstack-clash-protection -g -O2 -DUSE_PTHREAD -DTEST_USES_TBB=1 -Wall -Wshadow -Wcast-qual -Woverloaded-virtual -Wnon-virtual-dtor -Wextra -O2 -g -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -fexceptions -fstack-protector-strong -grecord-gcc-switches -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -mcpu=power8 -mtune=power8 -funwind-tables -fstack-clash-protection test_fp.o libtbb.so -lpthread -lrt -Wl,-rpath-link=. -rdynamic g++ -o test_tuple.o -c -MMD -O2 -g -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -fexceptions -fstack-protector-strong -grecord-gcc-switches -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -mcpu=power8 -mtune=power8 -funwind-tables -fstack-clash-protection -g -O2 -DUSE_PTHREAD -DTEST_USES_TBB=1 -Wall -Wshadow -Wcast-qual -Woverloaded-virtual -Wnon-virtual-dtor -Wextra -O2 -g -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -fexceptions -fstack-protector-strong -grecord-gcc-switches -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -mcpu=power8 -mtune=power8 -funwind-tables -fstack-clash-protection -std=c++14 -I../../src -I../../src/rml/include -I../../include -I. -include ../../src/test/harness_preload.h ../../src/test/test_tuple.cpp g++ -o test_tuple.exe -O2 -g -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -fexceptions -fstack-protector-strong -grecord-gcc-switches -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -mcpu=power8 -mtune=power8 -funwind-tables -fstack-clash-protection -g -O2 -DUSE_PTHREAD -DTEST_USES_TBB=1 -Wall -Wshadow -Wcast-qual -Woverloaded-virtual -Wnon-virtual-dtor -Wextra -O2 -g -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -fexceptions -fstack-protector-strong -grecord-gcc-switches -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -mcpu=power8 -mtune=power8 -funwind-tables -fstack-clash-protection test_tuple.o libtbb.so -lpthread -lrt -Wl,-rpath-link=. -rdynamic g++ -o test_flow_graph.o -c -MMD -O2 -g -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -fexceptions -fstack-protector-strong -grecord-gcc-switches -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -mcpu=power8 -mtune=power8 -funwind-tables -fstack-clash-protection -g -O2 -DUSE_PTHREAD -DTEST_USES_TBB=1 -Wall -Wshadow -Wcast-qual -Woverloaded-virtual -Wnon-virtual-dtor -Wextra -O2 -g -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -fexceptions -fstack-protector-strong -grecord-gcc-switches -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -mcpu=power8 -mtune=power8 -funwind-tables -fstack-clash-protection -std=c++14 -I../../src -I../../src/rml/include -I../../include -I. -include ../../src/test/harness_preload.h ../../src/test/test_flow_graph.cpp In file included from ../../include/tbb/tbb_machine.h:243, from ../../include/tbb/atomic.h:32, from ../../include/tbb/flow_graph.h:25, from ../../src/test/harness_graph.h:29, from ../../src/test/test_flow_graph.cpp:21: ../../include/tbb/machine/mac_ppc.h: In function 'int32_t __TBB_machine_cmpswp4(volatile void*, int32_t, int32_t)': ../../include/tbb/machine/mac_ppc.h:91:46: warning: cast from type 'volatile void*' to type 'int32_t*' {aka 'int*'} casts away qualifiers [-Wcast-qual] , "+m"(* (int32_t*) ptr) /* redundant with "memory" */ ^~~ ../../include/tbb/machine/mac_ppc.h: In function 'int64_t __TBB_machine_cmpswp8(volatile void*, int64_t, int64_t)': ../../include/tbb/machine/mac_ppc.h:116:46: warning: cast from type 'volatile void*' to type 'int64_t*' {aka 'long int*'} casts away qualifiers [-Wcast-qual] , "+m"(* (int64_t*) ptr) /* redundant with "memory" */ ^~~ In file included from ../../include/tbb/concurrent_unordered_map.h:27, from ../../src/test/harness_graph.h:32, from ../../src/test/test_flow_graph.cpp:21: ../../include/tbb/internal/_concurrent_unordered_impl.h: In instantiation of 'void tbb::interface5::internal::concurrent_unordered_base::set_bucket(tbb::interface5::internal::concurrent_unordered_base::size_type, tbb::interface5::internal::concurrent_unordered_base::raw_iterator) [with Traits = tbb::interface5::concurrent_unordered_map_traits, tbb::interface5::internal::hash_compare, std::equal_to >, tbb::tbb_allocator > >, false>; tbb::interface5::internal::concurrent_unordered_base::size_type = long unsigned int; tbb::interface5::internal::concurrent_unordered_base::raw_iterator = tbb::interface5::internal::flist_iterator >, tbb::tbb_allocator > > >, std::pair > >]': ../../include/tbb/internal/_concurrent_unordered_impl.h:1207:9: required from 'void tbb::interface5::internal::concurrent_unordered_base::internal_init() [with Traits = tbb::interface5::concurrent_unordered_map_traits, tbb::interface5::internal::hash_compare, std::equal_to >, tbb::tbb_allocator > >, false>]' ../../include/tbb/internal/_concurrent_unordered_impl.h:710:9: required from 'tbb::interface5::internal::concurrent_unordered_base::concurrent_unordered_base(tbb::interface5::internal::concurrent_unordered_base::size_type, const hash_compare&, const allocator_type&) [with Traits = tbb::interface5::concurrent_unordered_map_traits, tbb::interface5::internal::hash_compare, std::equal_to >, tbb::tbb_allocator > >, false>; tbb::interface5::internal::concurrent_unordered_base::size_type = long unsigned int; tbb::interface5::internal::concurrent_unordered_base::hash_compare = tbb::interface5::internal::hash_compare, std::equal_to >; tbb::interface5::internal::concurrent_unordered_base::allocator_type = tbb::tbb_allocator > >]' ../../include/tbb/concurrent_unordered_map.h:101:73: required from 'tbb::interface5::concurrent_unordered_map::concurrent_unordered_map(tbb::interface5::concurrent_unordered_map::size_type, const hasher&, const key_equal&, const allocator_type&) [with Key = int; T = tbb::atomic; Hasher = tbb::tbb_hash; Key_equality = std::equal_to; Allocator = tbb::tbb_allocator > >; tbb::interface5::concurrent_unordered_map::size_type = long unsigned int; tbb::interface5::concurrent_unordered_map::hasher = tbb::tbb_hash; tbb::interface5::concurrent_unordered_map::key_equal = std::equal_to; tbb::interface5::concurrent_unordered_map::allocator_type = tbb::tbb_allocator > >]' ../../src/test/harness_graph.h:347:17: required from 'void harness_mapped_receiver::initialize_map(const T&, size_t) [with T = int; size_t = long unsigned int]' ../../src/test/test_flow_graph.cpp:87:39: required from here ../../include/tbb/internal/_concurrent_unordered_impl.h:1471:24: warning: 'void* memset(void*, int, size_t)' clearing an object of non-trivial type 'tbb::interface5::internal::concurrent_unordered_base, tbb::interface5::internal::hash_compare, std::equal_to >, tbb::tbb_allocator > >, false> >::raw_iterator' {aka 'class tbb::interface5::internal::flist_iterator >, tbb::tbb_allocator > > >, std::pair > >'}; use assignment or value-initialization instead [-Wclass-memaccess] std::memset(new_segment, 0, sz*sizeof(raw_iterator)); ~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ In file included from ../../include/tbb/concurrent_unordered_map.h:27, from ../../src/test/harness_graph.h:32, from ../../src/test/test_flow_graph.cpp:21: ../../include/tbb/internal/_concurrent_unordered_impl.h:61:7: note: 'tbb::interface5::internal::concurrent_unordered_base, tbb::interface5::internal::hash_compare, std::equal_to >, tbb::tbb_allocator > >, false> >::raw_iterator' {aka 'class tbb::interface5::internal::flist_iterator >, tbb::tbb_allocator > > >, std::pair > >'} declared here class flist_iterator : public std::iterator ^~~~~~~~~~~~~~ g++ -o test_flow_graph.exe -O2 -g -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -fexceptions -fstack-protector-strong -grecord-gcc-switches -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -mcpu=power8 -mtune=power8 -funwind-tables -fstack-clash-protection -g -O2 -DUSE_PTHREAD -DTEST_USES_TBB=1 -Wall -Wshadow -Wcast-qual -Woverloaded-virtual -Wnon-virtual-dtor -Wextra -O2 -g -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -fexceptions -fstack-protector-strong -grecord-gcc-switches -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -mcpu=power8 -mtune=power8 -funwind-tables -fstack-clash-protection test_flow_graph.o libtbb.so -lpthread -lrt -Wl,-rpath-link=. -rdynamic g++ -o test_broadcast_node.o -c -MMD -O2 -g -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -fexceptions -fstack-protector-strong -grecord-gcc-switches -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -mcpu=power8 -mtune=power8 -funwind-tables -fstack-clash-protection -g -O2 -DUSE_PTHREAD -DTEST_USES_TBB=1 -Wall -Wshadow -Wcast-qual -Woverloaded-virtual -Wnon-virtual-dtor -Wextra -O2 -g -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -fexceptions -fstack-protector-strong -grecord-gcc-switches -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -mcpu=power8 -mtune=power8 -funwind-tables -fstack-clash-protection -std=c++14 -I../../src -I../../src/rml/include -I../../include -I. -include ../../src/test/harness_preload.h ../../src/test/test_broadcast_node.cpp In file included from ../../include/tbb/tbb_machine.h:243, from ../../include/tbb/atomic.h:32, from ../../include/tbb/flow_graph.h:25, from ../../src/test/test_broadcast_node.cpp:22: ../../include/tbb/machine/mac_ppc.h: In function 'int32_t __TBB_machine_cmpswp4(volatile void*, int32_t, int32_t)': ../../include/tbb/machine/mac_ppc.h:91:46: warning: cast from type 'volatile void*' to type 'int32_t*' {aka 'int*'} casts away qualifiers [-Wcast-qual] , "+m"(* (int32_t*) ptr) /* redundant with "memory" */ ^~~ ../../include/tbb/machine/mac_ppc.h: In function 'int64_t __TBB_machine_cmpswp8(volatile void*, int64_t, int64_t)': ../../include/tbb/machine/mac_ppc.h:116:46: warning: cast from type 'volatile void*' to type 'int64_t*' {aka 'long int*'} casts away qualifiers [-Wcast-qual] , "+m"(* (int64_t*) ptr) /* redundant with "memory" */ ^~~ g++ -o test_broadcast_node.exe -O2 -g -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -fexceptions -fstack-protector-strong -grecord-gcc-switches -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -mcpu=power8 -mtune=power8 -funwind-tables -fstack-clash-protection -g -O2 -DUSE_PTHREAD -DTEST_USES_TBB=1 -Wall -Wshadow -Wcast-qual -Woverloaded-virtual -Wnon-virtual-dtor -Wextra -O2 -g -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -fexceptions -fstack-protector-strong -grecord-gcc-switches -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -mcpu=power8 -mtune=power8 -funwind-tables -fstack-clash-protection test_broadcast_node.o libtbb.so -lpthread -lrt -Wl,-rpath-link=. -rdynamic g++ -o test_continue_node.o -c -MMD -O2 -g -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -fexceptions -fstack-protector-strong -grecord-gcc-switches -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -mcpu=power8 -mtune=power8 -funwind-tables -fstack-clash-protection -g -O2 -DUSE_PTHREAD -DTEST_USES_TBB=1 -Wall -Wshadow -Wcast-qual -Woverloaded-virtual -Wnon-virtual-dtor -Wextra -O2 -g -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -fexceptions -fstack-protector-strong -grecord-gcc-switches -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -mcpu=power8 -mtune=power8 -funwind-tables -fstack-clash-protection -std=c++14 -I../../src -I../../src/rml/include -I../../include -I. -include ../../src/test/harness_preload.h ../../src/test/test_continue_node.cpp In file included from ../../include/tbb/tbb_machine.h:243, from ../../include/tbb/atomic.h:32, from ../../include/tbb/flow_graph.h:25, from ../../src/test/harness_graph.h:29, from ../../src/test/test_continue_node.cpp:21: ../../include/tbb/machine/mac_ppc.h: In function 'int32_t __TBB_machine_cmpswp4(volatile void*, int32_t, int32_t)': ../../include/tbb/machine/mac_ppc.h:91:46: warning: cast from type 'volatile void*' to type 'int32_t*' {aka 'int*'} casts away qualifiers [-Wcast-qual] , "+m"(* (int32_t*) ptr) /* redundant with "memory" */ ^~~ ../../include/tbb/machine/mac_ppc.h: In function 'int64_t __TBB_machine_cmpswp8(volatile void*, int64_t, int64_t)': ../../include/tbb/machine/mac_ppc.h:116:46: warning: cast from type 'volatile void*' to type 'int64_t*' {aka 'long int*'} casts away qualifiers [-Wcast-qual] , "+m"(* (int64_t*) ptr) /* redundant with "memory" */ ^~~ g++ -o test_continue_node.exe -O2 -g -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -fexceptions -fstack-protector-strong -grecord-gcc-switches -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -mcpu=power8 -mtune=power8 -funwind-tables -fstack-clash-protection -g -O2 -DUSE_PTHREAD -DTEST_USES_TBB=1 -Wall -Wshadow -Wcast-qual -Woverloaded-virtual -Wnon-virtual-dtor -Wextra -O2 -g -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -fexceptions -fstack-protector-strong -grecord-gcc-switches -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -mcpu=power8 -mtune=power8 -funwind-tables -fstack-clash-protection test_continue_node.o libtbb.so -lpthread -lrt -Wl,-rpath-link=. -rdynamic g++ -o test_function_node.o -c -MMD -O2 -g -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -fexceptions -fstack-protector-strong -grecord-gcc-switches -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -mcpu=power8 -mtune=power8 -funwind-tables -fstack-clash-protection -g -O2 -DUSE_PTHREAD -DTEST_USES_TBB=1 -Wall -Wshadow -Wcast-qual -Woverloaded-virtual -Wnon-virtual-dtor -Wextra -O2 -g -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -fexceptions -fstack-protector-strong -grecord-gcc-switches -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -mcpu=power8 -mtune=power8 -funwind-tables -fstack-clash-protection -std=c++14 -I../../src -I../../src/rml/include -I../../include -I. -include ../../src/test/harness_preload.h ../../src/test/test_function_node.cpp In file included from ../../include/tbb/tbb_machine.h:243, from ../../include/tbb/atomic.h:32, from ../../include/tbb/flow_graph.h:25, from ../../src/test/harness_graph.h:29, from ../../src/test/test_function_node.cpp:21: ../../include/tbb/machine/mac_ppc.h: In function 'int32_t __TBB_machine_cmpswp4(volatile void*, int32_t, int32_t)': ../../include/tbb/machine/mac_ppc.h:91:46: warning: cast from type 'volatile void*' to type 'int32_t*' {aka 'int*'} casts away qualifiers [-Wcast-qual] , "+m"(* (int32_t*) ptr) /* redundant with "memory" */ ^~~ ../../include/tbb/machine/mac_ppc.h: In function 'int64_t __TBB_machine_cmpswp8(volatile void*, int64_t, int64_t)': ../../include/tbb/machine/mac_ppc.h:116:46: warning: cast from type 'volatile void*' to type 'int64_t*' {aka 'long int*'} casts away qualifiers [-Wcast-qual] , "+m"(* (int64_t*) ptr) /* redundant with "memory" */ ^~~ In file included from ../../include/tbb/concurrent_unordered_map.h:27, from ../../src/test/harness_graph.h:32, from ../../src/test/test_function_node.cpp:21: ../../include/tbb/internal/_concurrent_unordered_impl.h: In instantiation of 'void tbb::interface5::internal::concurrent_unordered_base::set_bucket(tbb::interface5::internal::concurrent_unordered_base::size_type, tbb::interface5::internal::concurrent_unordered_base::raw_iterator) [with Traits = tbb::interface5::concurrent_unordered_map_traits, tbb::interface5::internal::hash_compare, std::equal_to >, tbb::tbb_allocator > >, false>; tbb::interface5::internal::concurrent_unordered_base::size_type = long unsigned int; tbb::interface5::internal::concurrent_unordered_base::raw_iterator = tbb::interface5::internal::flist_iterator >, tbb::tbb_allocator > > >, std::pair > >]': ../../include/tbb/internal/_concurrent_unordered_impl.h:1207:9: required from 'void tbb::interface5::internal::concurrent_unordered_base::internal_init() [with Traits = tbb::interface5::concurrent_unordered_map_traits, tbb::interface5::internal::hash_compare, std::equal_to >, tbb::tbb_allocator > >, false>]' ../../include/tbb/internal/_concurrent_unordered_impl.h:710:9: required from 'tbb::interface5::internal::concurrent_unordered_base::concurrent_unordered_base(tbb::interface5::internal::concurrent_unordered_base::size_type, const hash_compare&, const allocator_type&) [with Traits = tbb::interface5::concurrent_unordered_map_traits, tbb::interface5::internal::hash_compare, std::equal_to >, tbb::tbb_allocator > >, false>; tbb::interface5::internal::concurrent_unordered_base::size_type = long unsigned int; tbb::interface5::internal::concurrent_unordered_base::hash_compare = tbb::interface5::internal::hash_compare, std::equal_to >; tbb::interface5::internal::concurrent_unordered_base::allocator_type = tbb::tbb_allocator > >]' ../../include/tbb/concurrent_unordered_map.h:101:73: required from 'tbb::interface5::concurrent_unordered_map::concurrent_unordered_map(tbb::interface5::concurrent_unordered_map::size_type, const hasher&, const key_equal&, const allocator_type&) [with Key = int; T = tbb::atomic; Hasher = tbb::tbb_hash; Key_equality = std::equal_to; Allocator = tbb::tbb_allocator > >; tbb::interface5::concurrent_unordered_map::size_type = long unsigned int; tbb::interface5::concurrent_unordered_map::hasher = tbb::tbb_hash; tbb::interface5::concurrent_unordered_map::key_equal = std::equal_to; tbb::interface5::concurrent_unordered_map::allocator_type = tbb::tbb_allocator > >]' ../../src/test/harness_graph.h:347:17: required from 'void harness_mapped_receiver::initialize_map(const T&, size_t) [with T = int; size_t = long unsigned int]' ../../src/test/test_function_node.cpp:110:18: required from 'void buffered_levels(size_t, Body) [with InputType = int; OutputType = int; Body = run_buffered_levels(int) [with InputType = int; OutputType = int]::; size_t = long unsigned int]' ../../src/test/test_function_node.cpp:245:42: required from 'void run_buffered_levels(int) [with InputType = int; OutputType = int]' ../../src/test/test_function_node.cpp:463:46: required from here ../../include/tbb/internal/_concurrent_unordered_impl.h:1471:24: warning: 'void* memset(void*, int, size_t)' clearing an object of non-trivial type 'tbb::interface5::internal::concurrent_unordered_base, tbb::interface5::internal::hash_compare, std::equal_to >, tbb::tbb_allocator > >, false> >::raw_iterator' {aka 'class tbb::interface5::internal::flist_iterator >, tbb::tbb_allocator > > >, std::pair > >'}; use assignment or value-initialization instead [-Wclass-memaccess] std::memset(new_segment, 0, sz*sizeof(raw_iterator)); ~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ In file included from ../../include/tbb/concurrent_unordered_map.h:27, from ../../src/test/harness_graph.h:32, from ../../src/test/test_function_node.cpp:21: ../../include/tbb/internal/_concurrent_unordered_impl.h:61:7: note: 'tbb::interface5::internal::concurrent_unordered_base, tbb::interface5::internal::hash_compare, std::equal_to >, tbb::tbb_allocator > >, false> >::raw_iterator' {aka 'class tbb::interface5::internal::flist_iterator >, tbb::tbb_allocator > > >, std::pair > >'} declared here class flist_iterator : public std::iterator ^~~~~~~~~~~~~~ g++ -o test_function_node.exe -O2 -g -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -fexceptions -fstack-protector-strong -grecord-gcc-switches -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -mcpu=power8 -mtune=power8 -funwind-tables -fstack-clash-protection -g -O2 -DUSE_PTHREAD -DTEST_USES_TBB=1 -Wall -Wshadow -Wcast-qual -Woverloaded-virtual -Wnon-virtual-dtor -Wextra -O2 -g -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -fexceptions -fstack-protector-strong -grecord-gcc-switches -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -mcpu=power8 -mtune=power8 -funwind-tables -fstack-clash-protection test_function_node.o libtbb.so -lpthread -lrt -Wl,-rpath-link=. -rdynamic g++ -o test_limiter_node.o -c -MMD -O2 -g -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -fexceptions -fstack-protector-strong -grecord-gcc-switches -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -mcpu=power8 -mtune=power8 -funwind-tables -fstack-clash-protection -g -O2 -DUSE_PTHREAD -DTEST_USES_TBB=1 -Wall -Wshadow -Wcast-qual -Woverloaded-virtual -Wnon-virtual-dtor -Wextra -O2 -g -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -fexceptions -fstack-protector-strong -grecord-gcc-switches -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -mcpu=power8 -mtune=power8 -funwind-tables -fstack-clash-protection -std=c++14 -I../../src -I../../src/rml/include -I../../include -I. -include ../../src/test/harness_preload.h ../../src/test/test_limiter_node.cpp In file included from ../../include/tbb/tbb_machine.h:243, from ../../include/tbb/atomic.h:32, from ../../include/tbb/flow_graph.h:25, from ../../src/test/test_limiter_node.cpp:25: ../../include/tbb/machine/mac_ppc.h: In function 'int32_t __TBB_machine_cmpswp4(volatile void*, int32_t, int32_t)': ../../include/tbb/machine/mac_ppc.h:91:46: warning: cast from type 'volatile void*' to type 'int32_t*' {aka 'int*'} casts away qualifiers [-Wcast-qual] , "+m"(* (int32_t*) ptr) /* redundant with "memory" */ ^~~ ../../include/tbb/machine/mac_ppc.h: In function 'int64_t __TBB_machine_cmpswp8(volatile void*, int64_t, int64_t)': ../../include/tbb/machine/mac_ppc.h:116:46: warning: cast from type 'volatile void*' to type 'int64_t*' {aka 'long int*'} casts away qualifiers [-Wcast-qual] , "+m"(* (int64_t*) ptr) /* redundant with "memory" */ ^~~ g++ -o test_limiter_node.exe -O2 -g -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -fexceptions -fstack-protector-strong -grecord-gcc-switches -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -mcpu=power8 -mtune=power8 -funwind-tables -fstack-clash-protection -g -O2 -DUSE_PTHREAD -DTEST_USES_TBB=1 -Wall -Wshadow -Wcast-qual -Woverloaded-virtual -Wnon-virtual-dtor -Wextra -O2 -g -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -fexceptions -fstack-protector-strong -grecord-gcc-switches -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -mcpu=power8 -mtune=power8 -funwind-tables -fstack-clash-protection test_limiter_node.o libtbb.so -lpthread -lrt -Wl,-rpath-link=. -rdynamic g++ -o test_join_node.o -c -MMD -O2 -g -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -fexceptions -fstack-protector-strong -grecord-gcc-switches -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -mcpu=power8 -mtune=power8 -funwind-tables -fstack-clash-protection -g -O2 -DUSE_PTHREAD -DTEST_USES_TBB=1 -Wall -Wshadow -Wcast-qual -Woverloaded-virtual -Wnon-virtual-dtor -Wextra -O2 -g -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -fexceptions -fstack-protector-strong -grecord-gcc-switches -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -mcpu=power8 -mtune=power8 -funwind-tables -fstack-clash-protection -std=c++14 -I../../src -I../../src/rml/include -I../../include -I. -include ../../src/test/harness_preload.h ../../src/test/test_join_node.cpp In file included from ../../include/tbb/tbb_machine.h:243, from ../../include/tbb/atomic.h:32, from ../../include/tbb/flow_graph.h:25, from ../../src/test/harness_graph.h:29, from ../../src/test/test_join_node.h:34, from ../../src/test/test_join_node.cpp:21: ../../include/tbb/machine/mac_ppc.h: In function 'int32_t __TBB_machine_cmpswp4(volatile void*, int32_t, int32_t)': ../../include/tbb/machine/mac_ppc.h:91:46: warning: cast from type 'volatile void*' to type 'int32_t*' {aka 'int*'} casts away qualifiers [-Wcast-qual] , "+m"(* (int32_t*) ptr) /* redundant with "memory" */ ^~~ ../../include/tbb/machine/mac_ppc.h: In function 'int64_t __TBB_machine_cmpswp8(volatile void*, int64_t, int64_t)': ../../include/tbb/machine/mac_ppc.h:116:46: warning: cast from type 'volatile void*' to type 'int64_t*' {aka 'long int*'} casts away qualifiers [-Wcast-qual] , "+m"(* (int64_t*) ptr) /* redundant with "memory" */ ^~~ g++ -o test_join_node.exe -O2 -g -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -fexceptions -fstack-protector-strong -grecord-gcc-switches -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -mcpu=power8 -mtune=power8 -funwind-tables -fstack-clash-protection -g -O2 -DUSE_PTHREAD -DTEST_USES_TBB=1 -Wall -Wshadow -Wcast-qual -Woverloaded-virtual -Wnon-virtual-dtor -Wextra -O2 -g -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -fexceptions -fstack-protector-strong -grecord-gcc-switches -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -mcpu=power8 -mtune=power8 -funwind-tables -fstack-clash-protection test_join_node.o libtbb.so -lpthread -lrt -Wl,-rpath-link=. -rdynamic g++ -o test_join_node_key_matching.o -c -MMD -O2 -g -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -fexceptions -fstack-protector-strong -grecord-gcc-switches -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -mcpu=power8 -mtune=power8 -funwind-tables -fstack-clash-protection -g -O2 -DUSE_PTHREAD -DTEST_USES_TBB=1 -Wall -Wshadow -Wcast-qual -Woverloaded-virtual -Wnon-virtual-dtor -Wextra -O2 -g -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -fexceptions -fstack-protector-strong -grecord-gcc-switches -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -mcpu=power8 -mtune=power8 -funwind-tables -fstack-clash-protection -std=c++14 -I../../src -I../../src/rml/include -I../../include -I. -include ../../src/test/harness_preload.h ../../src/test/test_join_node_key_matching.cpp In file included from ../../include/tbb/tbb_machine.h:243, from ../../include/tbb/atomic.h:32, from ../../include/tbb/flow_graph.h:25, from ../../src/test/harness_graph.h:29, from ../../src/test/test_join_node.h:34, from ../../src/test/test_join_node_key_matching.cpp:21: ../../include/tbb/machine/mac_ppc.h: In function 'int32_t __TBB_machine_cmpswp4(volatile void*, int32_t, int32_t)': ../../include/tbb/machine/mac_ppc.h:91:46: warning: cast from type 'volatile void*' to type 'int32_t*' {aka 'int*'} casts away qualifiers [-Wcast-qual] , "+m"(* (int32_t*) ptr) /* redundant with "memory" */ ^~~ ../../include/tbb/machine/mac_ppc.h: In function 'int64_t __TBB_machine_cmpswp8(volatile void*, int64_t, int64_t)': ../../include/tbb/machine/mac_ppc.h:116:46: warning: cast from type 'volatile void*' to type 'int64_t*' {aka 'long int*'} casts away qualifiers [-Wcast-qual] , "+m"(* (int64_t*) ptr) /* redundant with "memory" */ ^~~ g++ -o test_join_node_key_matching.exe -O2 -g -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -fexceptions -fstack-protector-strong -grecord-gcc-switches -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -mcpu=power8 -mtune=power8 -funwind-tables -fstack-clash-protection -g -O2 -DUSE_PTHREAD -DTEST_USES_TBB=1 -Wall -Wshadow -Wcast-qual -Woverloaded-virtual -Wnon-virtual-dtor -Wextra -O2 -g -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -fexceptions -fstack-protector-strong -grecord-gcc-switches -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -mcpu=power8 -mtune=power8 -funwind-tables -fstack-clash-protection test_join_node_key_matching.o libtbb.so -lpthread -lrt -Wl,-rpath-link=. -rdynamic g++ -o test_join_node_msg_key_matching.o -c -MMD -O2 -g -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -fexceptions -fstack-protector-strong -grecord-gcc-switches -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -mcpu=power8 -mtune=power8 -funwind-tables -fstack-clash-protection -g -O2 -DUSE_PTHREAD -DTEST_USES_TBB=1 -Wall -Wshadow -Wcast-qual -Woverloaded-virtual -Wnon-virtual-dtor -Wextra -O2 -g -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -fexceptions -fstack-protector-strong -grecord-gcc-switches -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -mcpu=power8 -mtune=power8 -funwind-tables -fstack-clash-protection -std=c++14 -I../../src -I../../src/rml/include -I../../include -I. -include ../../src/test/harness_preload.h ../../src/test/test_join_node_msg_key_matching.cpp In file included from ../../include/tbb/tbb_machine.h:243, from ../../include/tbb/atomic.h:32, from ../../include/tbb/flow_graph.h:25, from ../../src/test/harness_graph.h:29, from ../../src/test/test_join_node.h:34, from ../../src/test/test_join_node_msg_key_matching.cpp:21: ../../include/tbb/machine/mac_ppc.h: In function 'int32_t __TBB_machine_cmpswp4(volatile void*, int32_t, int32_t)': ../../include/tbb/machine/mac_ppc.h:91:46: warning: cast from type 'volatile void*' to type 'int32_t*' {aka 'int*'} casts away qualifiers [-Wcast-qual] , "+m"(* (int32_t*) ptr) /* redundant with "memory" */ ^~~ ../../include/tbb/machine/mac_ppc.h: In function 'int64_t __TBB_machine_cmpswp8(volatile void*, int64_t, int64_t)': ../../include/tbb/machine/mac_ppc.h:116:46: warning: cast from type 'volatile void*' to type 'int64_t*' {aka 'long int*'} casts away qualifiers [-Wcast-qual] , "+m"(* (int64_t*) ptr) /* redundant with "memory" */ ^~~ g++ -o test_join_node_msg_key_matching.exe -O2 -g -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -fexceptions -fstack-protector-strong -grecord-gcc-switches -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -mcpu=power8 -mtune=power8 -funwind-tables -fstack-clash-protection -g -O2 -DUSE_PTHREAD -DTEST_USES_TBB=1 -Wall -Wshadow -Wcast-qual -Woverloaded-virtual -Wnon-virtual-dtor -Wextra -O2 -g -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -fexceptions -fstack-protector-strong -grecord-gcc-switches -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -mcpu=power8 -mtune=power8 -funwind-tables -fstack-clash-protection test_join_node_msg_key_matching.o libtbb.so -lpthread -lrt -Wl,-rpath-link=. -rdynamic g++ -o test_buffer_node.o -c -MMD -O2 -g -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -fexceptions -fstack-protector-strong -grecord-gcc-switches -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -mcpu=power8 -mtune=power8 -funwind-tables -fstack-clash-protection -g -O2 -DUSE_PTHREAD -DTEST_USES_TBB=1 -Wall -Wshadow -Wcast-qual -Woverloaded-virtual -Wnon-virtual-dtor -Wextra -O2 -g -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -fexceptions -fstack-protector-strong -grecord-gcc-switches -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -mcpu=power8 -mtune=power8 -funwind-tables -fstack-clash-protection -std=c++14 -I../../src -I../../src/rml/include -I../../include -I. -include ../../src/test/harness_preload.h ../../src/test/test_buffer_node.cpp In file included from ../../include/tbb/tbb_machine.h:243, from ../../include/tbb/atomic.h:32, from ../../include/tbb/flow_graph.h:25, from ../../src/test/test_buffer_node.cpp:22: ../../include/tbb/machine/mac_ppc.h: In function 'int32_t __TBB_machine_cmpswp4(volatile void*, int32_t, int32_t)': ../../include/tbb/machine/mac_ppc.h:91:46: warning: cast from type 'volatile void*' to type 'int32_t*' {aka 'int*'} casts away qualifiers [-Wcast-qual] , "+m"(* (int32_t*) ptr) /* redundant with "memory" */ ^~~ ../../include/tbb/machine/mac_ppc.h: In function 'int64_t __TBB_machine_cmpswp8(volatile void*, int64_t, int64_t)': ../../include/tbb/machine/mac_ppc.h:116:46: warning: cast from type 'volatile void*' to type 'int64_t*' {aka 'long int*'} casts away qualifiers [-Wcast-qual] , "+m"(* (int64_t*) ptr) /* redundant with "memory" */ ^~~ g++ -o test_buffer_node.exe -O2 -g -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -fexceptions -fstack-protector-strong -grecord-gcc-switches -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -mcpu=power8 -mtune=power8 -funwind-tables -fstack-clash-protection -g -O2 -DUSE_PTHREAD -DTEST_USES_TBB=1 -Wall -Wshadow -Wcast-qual -Woverloaded-virtual -Wnon-virtual-dtor -Wextra -O2 -g -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -fexceptions -fstack-protector-strong -grecord-gcc-switches -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -mcpu=power8 -mtune=power8 -funwind-tables -fstack-clash-protection test_buffer_node.o libtbb.so -lpthread -lrt -Wl,-rpath-link=. -rdynamic g++ -o test_queue_node.o -c -MMD -O2 -g -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -fexceptions -fstack-protector-strong -grecord-gcc-switches -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -mcpu=power8 -mtune=power8 -funwind-tables -fstack-clash-protection -g -O2 -DUSE_PTHREAD -DTEST_USES_TBB=1 -Wall -Wshadow -Wcast-qual -Woverloaded-virtual -Wnon-virtual-dtor -Wextra -O2 -g -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -fexceptions -fstack-protector-strong -grecord-gcc-switches -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -mcpu=power8 -mtune=power8 -funwind-tables -fstack-clash-protection -std=c++14 -I../../src -I../../src/rml/include -I../../include -I. -include ../../src/test/harness_preload.h ../../src/test/test_queue_node.cpp In file included from ../../include/tbb/tbb_machine.h:243, from ../../include/tbb/atomic.h:32, from ../../include/tbb/flow_graph.h:25, from ../../src/test/test_queue_node.cpp:24: ../../include/tbb/machine/mac_ppc.h: In function 'int32_t __TBB_machine_cmpswp4(volatile void*, int32_t, int32_t)': ../../include/tbb/machine/mac_ppc.h:91:46: warning: cast from type 'volatile void*' to type 'int32_t*' {aka 'int*'} casts away qualifiers [-Wcast-qual] , "+m"(* (int32_t*) ptr) /* redundant with "memory" */ ^~~ ../../include/tbb/machine/mac_ppc.h: In function 'int64_t __TBB_machine_cmpswp8(volatile void*, int64_t, int64_t)': ../../include/tbb/machine/mac_ppc.h:116:46: warning: cast from type 'volatile void*' to type 'int64_t*' {aka 'long int*'} casts away qualifiers [-Wcast-qual] , "+m"(* (int64_t*) ptr) /* redundant with "memory" */ ^~~ g++ -o test_queue_node.exe -O2 -g -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -fexceptions -fstack-protector-strong -grecord-gcc-switches -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -mcpu=power8 -mtune=power8 -funwind-tables -fstack-clash-protection -g -O2 -DUSE_PTHREAD -DTEST_USES_TBB=1 -Wall -Wshadow -Wcast-qual -Woverloaded-virtual -Wnon-virtual-dtor -Wextra -O2 -g -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -fexceptions -fstack-protector-strong -grecord-gcc-switches -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -mcpu=power8 -mtune=power8 -funwind-tables -fstack-clash-protection test_queue_node.o libtbb.so -lpthread -lrt -Wl,-rpath-link=. -rdynamic g++ -o test_priority_queue_node.o -c -MMD -O2 -g -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -fexceptions -fstack-protector-strong -grecord-gcc-switches -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -mcpu=power8 -mtune=power8 -funwind-tables -fstack-clash-protection -g -O2 -DUSE_PTHREAD -DTEST_USES_TBB=1 -Wall -Wshadow -Wcast-qual -Woverloaded-virtual -Wnon-virtual-dtor -Wextra -O2 -g -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -fexceptions -fstack-protector-strong -grecord-gcc-switches -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -mcpu=power8 -mtune=power8 -funwind-tables -fstack-clash-protection -std=c++14 -I../../src -I../../src/rml/include -I../../include -I. -include ../../src/test/harness_preload.h ../../src/test/test_priority_queue_node.cpp In file included from ../../include/tbb/tbb_machine.h:243, from ../../include/tbb/atomic.h:32, from ../../include/tbb/flow_graph.h:25, from ../../src/test/test_priority_queue_node.cpp:24: ../../include/tbb/machine/mac_ppc.h: In function 'int32_t __TBB_machine_cmpswp4(volatile void*, int32_t, int32_t)': ../../include/tbb/machine/mac_ppc.h:91:46: warning: cast from type 'volatile void*' to type 'int32_t*' {aka 'int*'} casts away qualifiers [-Wcast-qual] , "+m"(* (int32_t*) ptr) /* redundant with "memory" */ ^~~ ../../include/tbb/machine/mac_ppc.h: In function 'int64_t __TBB_machine_cmpswp8(volatile void*, int64_t, int64_t)': ../../include/tbb/machine/mac_ppc.h:116:46: warning: cast from type 'volatile void*' to type 'int64_t*' {aka 'long int*'} casts away qualifiers [-Wcast-qual] , "+m"(* (int64_t*) ptr) /* redundant with "memory" */ ^~~ g++ -o test_priority_queue_node.exe -O2 -g -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -fexceptions -fstack-protector-strong -grecord-gcc-switches -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -mcpu=power8 -mtune=power8 -funwind-tables -fstack-clash-protection -g -O2 -DUSE_PTHREAD -DTEST_USES_TBB=1 -Wall -Wshadow -Wcast-qual -Woverloaded-virtual -Wnon-virtual-dtor -Wextra -O2 -g -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -fexceptions -fstack-protector-strong -grecord-gcc-switches -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -mcpu=power8 -mtune=power8 -funwind-tables -fstack-clash-protection test_priority_queue_node.o libtbb.so -lpthread -lrt -Wl,-rpath-link=. -rdynamic g++ -o test_sequencer_node.o -c -MMD -O2 -g -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -fexceptions -fstack-protector-strong -grecord-gcc-switches -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -mcpu=power8 -mtune=power8 -funwind-tables -fstack-clash-protection -g -O2 -DUSE_PTHREAD -DTEST_USES_TBB=1 -Wall -Wshadow -Wcast-qual -Woverloaded-virtual -Wnon-virtual-dtor -Wextra -O2 -g -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -fexceptions -fstack-protector-strong -grecord-gcc-switches -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -mcpu=power8 -mtune=power8 -funwind-tables -fstack-clash-protection -std=c++14 -I../../src -I../../src/rml/include -I../../include -I. -include ../../src/test/harness_preload.h ../../src/test/test_sequencer_node.cpp In file included from ../../include/tbb/tbb_machine.h:243, from ../../include/tbb/atomic.h:32, from ../../include/tbb/flow_graph.h:25, from ../../src/test/test_sequencer_node.cpp:22: ../../include/tbb/machine/mac_ppc.h: In function 'int32_t __TBB_machine_cmpswp4(volatile void*, int32_t, int32_t)': ../../include/tbb/machine/mac_ppc.h:91:46: warning: cast from type 'volatile void*' to type 'int32_t*' {aka 'int*'} casts away qualifiers [-Wcast-qual] , "+m"(* (int32_t*) ptr) /* redundant with "memory" */ ^~~ ../../include/tbb/machine/mac_ppc.h: In function 'int64_t __TBB_machine_cmpswp8(volatile void*, int64_t, int64_t)': ../../include/tbb/machine/mac_ppc.h:116:46: warning: cast from type 'volatile void*' to type 'int64_t*' {aka 'long int*'} casts away qualifiers [-Wcast-qual] , "+m"(* (int64_t*) ptr) /* redundant with "memory" */ ^~~ g++ -o test_sequencer_node.exe -O2 -g -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -fexceptions -fstack-protector-strong -grecord-gcc-switches -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -mcpu=power8 -mtune=power8 -funwind-tables -fstack-clash-protection -g -O2 -DUSE_PTHREAD -DTEST_USES_TBB=1 -Wall -Wshadow -Wcast-qual -Woverloaded-virtual -Wnon-virtual-dtor -Wextra -O2 -g -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -fexceptions -fstack-protector-strong -grecord-gcc-switches -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -mcpu=power8 -mtune=power8 -funwind-tables -fstack-clash-protection test_sequencer_node.o libtbb.so -lpthread -lrt -Wl,-rpath-link=. -rdynamic g++ -o test_source_node.o -c -MMD -O2 -g -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -fexceptions -fstack-protector-strong -grecord-gcc-switches -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -mcpu=power8 -mtune=power8 -funwind-tables -fstack-clash-protection -g -O2 -DUSE_PTHREAD -DTEST_USES_TBB=1 -Wall -Wshadow -Wcast-qual -Woverloaded-virtual -Wnon-virtual-dtor -Wextra -O2 -g -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -fexceptions -fstack-protector-strong -grecord-gcc-switches -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -mcpu=power8 -mtune=power8 -funwind-tables -fstack-clash-protection -std=c++14 -I../../src -I../../src/rml/include -I../../include -I. -include ../../src/test/harness_preload.h ../../src/test/test_source_node.cpp In file included from ../../include/tbb/tbb_machine.h:243, from ../../include/tbb/atomic.h:32, from ../../include/tbb/flow_graph.h:25, from ../../src/test/harness_graph.h:29, from ../../src/test/test_source_node.cpp:23: ../../include/tbb/machine/mac_ppc.h: In function 'int32_t __TBB_machine_cmpswp4(volatile void*, int32_t, int32_t)': ../../include/tbb/machine/mac_ppc.h:91:46: warning: cast from type 'volatile void*' to type 'int32_t*' {aka 'int*'} casts away qualifiers [-Wcast-qual] , "+m"(* (int32_t*) ptr) /* redundant with "memory" */ ^~~ ../../include/tbb/machine/mac_ppc.h: In function 'int64_t __TBB_machine_cmpswp8(volatile void*, int64_t, int64_t)': ../../include/tbb/machine/mac_ppc.h:116:46: warning: cast from type 'volatile void*' to type 'int64_t*' {aka 'long int*'} casts away qualifiers [-Wcast-qual] , "+m"(* (int64_t*) ptr) /* redundant with "memory" */ ^~~ g++ -o test_source_node.exe -O2 -g -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -fexceptions -fstack-protector-strong -grecord-gcc-switches -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -mcpu=power8 -mtune=power8 -funwind-tables -fstack-clash-protection -g -O2 -DUSE_PTHREAD -DTEST_USES_TBB=1 -Wall -Wshadow -Wcast-qual -Woverloaded-virtual -Wnon-virtual-dtor -Wextra -O2 -g -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -fexceptions -fstack-protector-strong -grecord-gcc-switches -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -mcpu=power8 -mtune=power8 -funwind-tables -fstack-clash-protection test_source_node.o libtbb.so -lpthread -lrt -Wl,-rpath-link=. -rdynamic g++ -o test_overwrite_node.o -c -MMD -O2 -g -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -fexceptions -fstack-protector-strong -grecord-gcc-switches -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -mcpu=power8 -mtune=power8 -funwind-tables -fstack-clash-protection -g -O2 -DUSE_PTHREAD -DTEST_USES_TBB=1 -Wall -Wshadow -Wcast-qual -Woverloaded-virtual -Wnon-virtual-dtor -Wextra -O2 -g -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -fexceptions -fstack-protector-strong -grecord-gcc-switches -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -mcpu=power8 -mtune=power8 -funwind-tables -fstack-clash-protection -std=c++14 -I../../src -I../../src/rml/include -I../../include -I. -include ../../src/test/harness_preload.h ../../src/test/test_overwrite_node.cpp In file included from ../../include/tbb/tbb_machine.h:243, from ../../include/tbb/atomic.h:32, from ../../include/tbb/flow_graph.h:25, from ../../src/test/harness_graph.h:29, from ../../src/test/test_overwrite_node.cpp:25: ../../include/tbb/machine/mac_ppc.h: In function 'int32_t __TBB_machine_cmpswp4(volatile void*, int32_t, int32_t)': ../../include/tbb/machine/mac_ppc.h:91:46: warning: cast from type 'volatile void*' to type 'int32_t*' {aka 'int*'} casts away qualifiers [-Wcast-qual] , "+m"(* (int32_t*) ptr) /* redundant with "memory" */ ^~~ ../../include/tbb/machine/mac_ppc.h: In function 'int64_t __TBB_machine_cmpswp8(volatile void*, int64_t, int64_t)': ../../include/tbb/machine/mac_ppc.h:116:46: warning: cast from type 'volatile void*' to type 'int64_t*' {aka 'long int*'} casts away qualifiers [-Wcast-qual] , "+m"(* (int64_t*) ptr) /* redundant with "memory" */ ^~~ g++ -o test_overwrite_node.exe -O2 -g -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -fexceptions -fstack-protector-strong -grecord-gcc-switches -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -mcpu=power8 -mtune=power8 -funwind-tables -fstack-clash-protection -g -O2 -DUSE_PTHREAD -DTEST_USES_TBB=1 -Wall -Wshadow -Wcast-qual -Woverloaded-virtual -Wnon-virtual-dtor -Wextra -O2 -g -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -fexceptions -fstack-protector-strong -grecord-gcc-switches -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -mcpu=power8 -mtune=power8 -funwind-tables -fstack-clash-protection test_overwrite_node.o libtbb.so -lpthread -lrt -Wl,-rpath-link=. -rdynamic g++ -o test_write_once_node.o -c -MMD -O2 -g -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -fexceptions -fstack-protector-strong -grecord-gcc-switches -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -mcpu=power8 -mtune=power8 -funwind-tables -fstack-clash-protection -g -O2 -DUSE_PTHREAD -DTEST_USES_TBB=1 -Wall -Wshadow -Wcast-qual -Woverloaded-virtual -Wnon-virtual-dtor -Wextra -O2 -g -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -fexceptions -fstack-protector-strong -grecord-gcc-switches -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -mcpu=power8 -mtune=power8 -funwind-tables -fstack-clash-protection -std=c++14 -I../../src -I../../src/rml/include -I../../include -I. -include ../../src/test/harness_preload.h ../../src/test/test_write_once_node.cpp In file included from ../../include/tbb/tbb_machine.h:243, from ../../include/tbb/atomic.h:32, from ../../include/tbb/flow_graph.h:25, from ../../src/test/harness_graph.h:29, from ../../src/test/test_write_once_node.cpp:25: ../../include/tbb/machine/mac_ppc.h: In function 'int32_t __TBB_machine_cmpswp4(volatile void*, int32_t, int32_t)': ../../include/tbb/machine/mac_ppc.h:91:46: warning: cast from type 'volatile void*' to type 'int32_t*' {aka 'int*'} casts away qualifiers [-Wcast-qual] , "+m"(* (int32_t*) ptr) /* redundant with "memory" */ ^~~ ../../include/tbb/machine/mac_ppc.h: In function 'int64_t __TBB_machine_cmpswp8(volatile void*, int64_t, int64_t)': ../../include/tbb/machine/mac_ppc.h:116:46: warning: cast from type 'volatile void*' to type 'int64_t*' {aka 'long int*'} casts away qualifiers [-Wcast-qual] , "+m"(* (int64_t*) ptr) /* redundant with "memory" */ ^~~ g++ -o test_write_once_node.exe -O2 -g -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -fexceptions -fstack-protector-strong -grecord-gcc-switches -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -mcpu=power8 -mtune=power8 -funwind-tables -fstack-clash-protection -g -O2 -DUSE_PTHREAD -DTEST_USES_TBB=1 -Wall -Wshadow -Wcast-qual -Woverloaded-virtual -Wnon-virtual-dtor -Wextra -O2 -g -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -fexceptions -fstack-protector-strong -grecord-gcc-switches -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -mcpu=power8 -mtune=power8 -funwind-tables -fstack-clash-protection test_write_once_node.o libtbb.so -lpthread -lrt -Wl,-rpath-link=. -rdynamic g++ -o test_indexer_node.o -c -MMD -O2 -g -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -fexceptions -fstack-protector-strong -grecord-gcc-switches -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -mcpu=power8 -mtune=power8 -funwind-tables -fstack-clash-protection -g -O2 -DUSE_PTHREAD -DTEST_USES_TBB=1 -Wall -Wshadow -Wcast-qual -Woverloaded-virtual -Wnon-virtual-dtor -Wextra -O2 -g -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -fexceptions -fstack-protector-strong -grecord-gcc-switches -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -mcpu=power8 -mtune=power8 -funwind-tables -fstack-clash-protection -std=c++14 -I../../src -I../../src/rml/include -I../../include -I. -include ../../src/test/harness_preload.h ../../src/test/test_indexer_node.cpp In file included from ../../include/tbb/tbb_machine.h:243, from ../../include/tbb/atomic.h:32, from ../../include/tbb/flow_graph.h:25, from ../../src/test/harness_graph.h:29, from ../../src/test/test_indexer_node.cpp:21: ../../include/tbb/machine/mac_ppc.h: In function 'int32_t __TBB_machine_cmpswp4(volatile void*, int32_t, int32_t)': ../../include/tbb/machine/mac_ppc.h:91:46: warning: cast from type 'volatile void*' to type 'int32_t*' {aka 'int*'} casts away qualifiers [-Wcast-qual] , "+m"(* (int32_t*) ptr) /* redundant with "memory" */ ^~~ ../../include/tbb/machine/mac_ppc.h: In function 'int64_t __TBB_machine_cmpswp8(volatile void*, int64_t, int64_t)': ../../include/tbb/machine/mac_ppc.h:116:46: warning: cast from type 'volatile void*' to type 'int64_t*' {aka 'long int*'} casts away qualifiers [-Wcast-qual] , "+m"(* (int64_t*) ptr) /* redundant with "memory" */ ^~~ g++ -o test_indexer_node.exe -O2 -g -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -fexceptions -fstack-protector-strong -grecord-gcc-switches -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -mcpu=power8 -mtune=power8 -funwind-tables -fstack-clash-protection -g -O2 -DUSE_PTHREAD -DTEST_USES_TBB=1 -Wall -Wshadow -Wcast-qual -Woverloaded-virtual -Wnon-virtual-dtor -Wextra -O2 -g -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -fexceptions -fstack-protector-strong -grecord-gcc-switches -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -mcpu=power8 -mtune=power8 -funwind-tables -fstack-clash-protection test_indexer_node.o libtbb.so -lpthread -lrt -Wl,-rpath-link=. -rdynamic g++ -o test_multifunction_node.o -c -MMD -O2 -g -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -fexceptions -fstack-protector-strong -grecord-gcc-switches -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -mcpu=power8 -mtune=power8 -funwind-tables -fstack-clash-protection -g -O2 -DUSE_PTHREAD -DTEST_USES_TBB=1 -Wall -Wshadow -Wcast-qual -Woverloaded-virtual -Wnon-virtual-dtor -Wextra -O2 -g -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -fexceptions -fstack-protector-strong -grecord-gcc-switches -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -mcpu=power8 -mtune=power8 -funwind-tables -fstack-clash-protection -std=c++14 -I../../src -I../../src/rml/include -I../../include -I. -include ../../src/test/harness_preload.h ../../src/test/test_multifunction_node.cpp In file included from ../../include/tbb/tbb_machine.h:243, from ../../include/tbb/atomic.h:32, from ../../include/tbb/flow_graph.h:25, from ../../src/test/harness_graph.h:29, from ../../src/test/test_multifunction_node.cpp:21: ../../include/tbb/machine/mac_ppc.h: In function 'int32_t __TBB_machine_cmpswp4(volatile void*, int32_t, int32_t)': ../../include/tbb/machine/mac_ppc.h:91:46: warning: cast from type 'volatile void*' to type 'int32_t*' {aka 'int*'} casts away qualifiers [-Wcast-qual] , "+m"(* (int32_t*) ptr) /* redundant with "memory" */ ^~~ ../../include/tbb/machine/mac_ppc.h: In function 'int64_t __TBB_machine_cmpswp8(volatile void*, int64_t, int64_t)': ../../include/tbb/machine/mac_ppc.h:116:46: warning: cast from type 'volatile void*' to type 'int64_t*' {aka 'long int*'} casts away qualifiers [-Wcast-qual] , "+m"(* (int64_t*) ptr) /* redundant with "memory" */ ^~~ In file included from ../../include/tbb/concurrent_unordered_map.h:27, from ../../src/test/harness_graph.h:32, from ../../src/test/test_multifunction_node.cpp:21: ../../include/tbb/internal/_concurrent_unordered_impl.h: In instantiation of 'void tbb::interface5::internal::concurrent_unordered_base::set_bucket(tbb::interface5::internal::concurrent_unordered_base::size_type, tbb::interface5::internal::concurrent_unordered_base::raw_iterator) [with Traits = tbb::interface5::concurrent_unordered_map_traits, tbb::interface5::internal::hash_compare, std::equal_to >, tbb::tbb_allocator > >, false>; tbb::interface5::internal::concurrent_unordered_base::size_type = long unsigned int; tbb::interface5::internal::concurrent_unordered_base::raw_iterator = tbb::interface5::internal::flist_iterator >, tbb::tbb_allocator > > >, std::pair > >]': ../../include/tbb/internal/_concurrent_unordered_impl.h:1207:9: required from 'void tbb::interface5::internal::concurrent_unordered_base::internal_init() [with Traits = tbb::interface5::concurrent_unordered_map_traits, tbb::interface5::internal::hash_compare, std::equal_to >, tbb::tbb_allocator > >, false>]' ../../include/tbb/internal/_concurrent_unordered_impl.h:710:9: required from 'tbb::interface5::internal::concurrent_unordered_base::concurrent_unordered_base(tbb::interface5::internal::concurrent_unordered_base::size_type, const hash_compare&, const allocator_type&) [with Traits = tbb::interface5::concurrent_unordered_map_traits, tbb::interface5::internal::hash_compare, std::equal_to >, tbb::tbb_allocator > >, false>; tbb::interface5::internal::concurrent_unordered_base::size_type = long unsigned int; tbb::interface5::internal::concurrent_unordered_base::hash_compare = tbb::interface5::internal::hash_compare, std::equal_to >; tbb::interface5::internal::concurrent_unordered_base::allocator_type = tbb::tbb_allocator > >]' ../../include/tbb/concurrent_unordered_map.h:101:73: required from 'tbb::interface5::concurrent_unordered_map::concurrent_unordered_map(tbb::interface5::concurrent_unordered_map::size_type, const hasher&, const key_equal&, const allocator_type&) [with Key = int; T = tbb::atomic; Hasher = tbb::tbb_hash; Key_equality = std::equal_to; Allocator = tbb::tbb_allocator > >; tbb::interface5::concurrent_unordered_map::size_type = long unsigned int; tbb::interface5::concurrent_unordered_map::hasher = tbb::tbb_hash; tbb::interface5::concurrent_unordered_map::key_equal = std::equal_to; tbb::interface5::concurrent_unordered_map::allocator_type = tbb::tbb_allocator > >]' ../../src/test/harness_graph.h:347:17: required from 'void harness_mapped_receiver::initialize_map(const T&, size_t) [with T = int; size_t = long unsigned int]' ../../src/test/test_multifunction_node.cpp:103:26: required from 'void buffered_levels(size_t, Body) [with InputType = int; OutputTuple = std::tuple; Body = run_buffered_levels(int) [with InputType = int; OutputTuple = std::tuple]::; size_t = long unsigned int]' ../../src/test/test_multifunction_node.cpp:234:43: required from 'void run_buffered_levels(int) [with InputType = int; OutputTuple = std::tuple]' ../../src/test/test_multifunction_node.cpp:475:65: required from here ../../include/tbb/internal/_concurrent_unordered_impl.h:1471:24: warning: 'void* memset(void*, int, size_t)' clearing an object of non-trivial type 'tbb::interface5::internal::concurrent_unordered_base, tbb::interface5::internal::hash_compare, std::equal_to >, tbb::tbb_allocator > >, false> >::raw_iterator' {aka 'class tbb::interface5::internal::flist_iterator >, tbb::tbb_allocator > > >, std::pair > >'}; use assignment or value-initialization instead [-Wclass-memaccess] std::memset(new_segment, 0, sz*sizeof(raw_iterator)); ~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ In file included from ../../include/tbb/concurrent_unordered_map.h:27, from ../../src/test/harness_graph.h:32, from ../../src/test/test_multifunction_node.cpp:21: ../../include/tbb/internal/_concurrent_unordered_impl.h:61:7: note: 'tbb::interface5::internal::concurrent_unordered_base, tbb::interface5::internal::hash_compare, std::equal_to >, tbb::tbb_allocator > >, false> >::raw_iterator' {aka 'class tbb::interface5::internal::flist_iterator >, tbb::tbb_allocator > > >, std::pair > >'} declared here class flist_iterator : public std::iterator ^~~~~~~~~~~~~~ g++ -o test_multifunction_node.exe -O2 -g -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -fexceptions -fstack-protector-strong -grecord-gcc-switches -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -mcpu=power8 -mtune=power8 -funwind-tables -fstack-clash-protection -g -O2 -DUSE_PTHREAD -DTEST_USES_TBB=1 -Wall -Wshadow -Wcast-qual -Woverloaded-virtual -Wnon-virtual-dtor -Wextra -O2 -g -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -fexceptions -fstack-protector-strong -grecord-gcc-switches -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -mcpu=power8 -mtune=power8 -funwind-tables -fstack-clash-protection test_multifunction_node.o libtbb.so -lpthread -lrt -Wl,-rpath-link=. -rdynamic g++ -o test_split_node.o -c -MMD -O2 -g -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -fexceptions -fstack-protector-strong -grecord-gcc-switches -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -mcpu=power8 -mtune=power8 -funwind-tables -fstack-clash-protection -g -O2 -DUSE_PTHREAD -DTEST_USES_TBB=1 -Wall -Wshadow -Wcast-qual -Woverloaded-virtual -Wnon-virtual-dtor -Wextra -O2 -g -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -fexceptions -fstack-protector-strong -grecord-gcc-switches -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -mcpu=power8 -mtune=power8 -funwind-tables -fstack-clash-protection -std=c++14 -I../../src -I../../src/rml/include -I../../include -I. -include ../../src/test/harness_preload.h ../../src/test/test_split_node.cpp In file included from ../../include/tbb/tbb_machine.h:243, from ../../include/tbb/atomic.h:32, from ../../include/tbb/flow_graph.h:25, from ../../src/test/harness_graph.h:29, from ../../src/test/test_split_node.cpp:22: ../../include/tbb/machine/mac_ppc.h: In function 'int32_t __TBB_machine_cmpswp4(volatile void*, int32_t, int32_t)': ../../include/tbb/machine/mac_ppc.h:91:46: warning: cast from type 'volatile void*' to type 'int32_t*' {aka 'int*'} casts away qualifiers [-Wcast-qual] , "+m"(* (int32_t*) ptr) /* redundant with "memory" */ ^~~ ../../include/tbb/machine/mac_ppc.h: In function 'int64_t __TBB_machine_cmpswp8(volatile void*, int64_t, int64_t)': ../../include/tbb/machine/mac_ppc.h:116:46: warning: cast from type 'volatile void*' to type 'int64_t*' {aka 'long int*'} casts away qualifiers [-Wcast-qual] , "+m"(* (int64_t*) ptr) /* redundant with "memory" */ ^~~ g++ -o test_split_node.exe -O2 -g -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -fexceptions -fstack-protector-strong -grecord-gcc-switches -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -mcpu=power8 -mtune=power8 -funwind-tables -fstack-clash-protection -g -O2 -DUSE_PTHREAD -DTEST_USES_TBB=1 -Wall -Wshadow -Wcast-qual -Woverloaded-virtual -Wnon-virtual-dtor -Wextra -O2 -g -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -fexceptions -fstack-protector-strong -grecord-gcc-switches -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -mcpu=power8 -mtune=power8 -funwind-tables -fstack-clash-protection test_split_node.o libtbb.so -lpthread -lrt -Wl,-rpath-link=. -rdynamic g++ -o test_static_assert.o -c -MMD -O2 -g -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -fexceptions -fstack-protector-strong -grecord-gcc-switches -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -mcpu=power8 -mtune=power8 -funwind-tables -fstack-clash-protection -g -O2 -DUSE_PTHREAD -DTEST_USES_TBB=1 -Wall -Wshadow -Wcast-qual -Woverloaded-virtual -Wnon-virtual-dtor -Wextra -O2 -g -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -fexceptions -fstack-protector-strong -grecord-gcc-switches -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -mcpu=power8 -mtune=power8 -funwind-tables -fstack-clash-protection -std=c++14 -I../../src -I../../src/rml/include -I../../include -I. -include ../../src/test/harness_preload.h ../../src/test/test_static_assert.cpp g++ -o test_static_assert.exe -O2 -g -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -fexceptions -fstack-protector-strong -grecord-gcc-switches -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -mcpu=power8 -mtune=power8 -funwind-tables -fstack-clash-protection -g -O2 -DUSE_PTHREAD -DTEST_USES_TBB=1 -Wall -Wshadow -Wcast-qual -Woverloaded-virtual -Wnon-virtual-dtor -Wextra -O2 -g -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -fexceptions -fstack-protector-strong -grecord-gcc-switches -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -mcpu=power8 -mtune=power8 -funwind-tables -fstack-clash-protection test_static_assert.o libtbb.so -lpthread -lrt -Wl,-rpath-link=. -rdynamic g++ -o test_aggregator.o -c -MMD -O2 -g -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -fexceptions -fstack-protector-strong -grecord-gcc-switches -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -mcpu=power8 -mtune=power8 -funwind-tables -fstack-clash-protection -g -O2 -DUSE_PTHREAD -DTEST_USES_TBB=1 -Wall -Wshadow -Wcast-qual -Woverloaded-virtual -Wnon-virtual-dtor -Wextra -O2 -g -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -fexceptions -fstack-protector-strong -grecord-gcc-switches -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -mcpu=power8 -mtune=power8 -funwind-tables -fstack-clash-protection -std=c++14 -I../../src -I../../src/rml/include -I../../include -I. -include ../../src/test/harness_preload.h ../../src/test/test_aggregator.cpp In file included from ../../include/tbb/tbb_machine.h:243, from ../../include/tbb/atomic.h:32, from ../../include/tbb/aggregator.h:28, from ../../src/test/test_aggregator.cpp:25: ../../include/tbb/machine/mac_ppc.h: In function 'int32_t __TBB_machine_cmpswp4(volatile void*, int32_t, int32_t)': ../../include/tbb/machine/mac_ppc.h:91:46: warning: cast from type 'volatile void*' to type 'int32_t*' {aka 'int*'} casts away qualifiers [-Wcast-qual] , "+m"(* (int32_t*) ptr) /* redundant with "memory" */ ^~~ ../../include/tbb/machine/mac_ppc.h: In function 'int64_t __TBB_machine_cmpswp8(volatile void*, int64_t, int64_t)': ../../include/tbb/machine/mac_ppc.h:116:46: warning: cast from type 'volatile void*' to type 'int64_t*' {aka 'long int*'} casts away qualifiers [-Wcast-qual] , "+m"(* (int64_t*) ptr) /* redundant with "memory" */ ^~~ g++ -o test_aggregator.exe -O2 -g -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -fexceptions -fstack-protector-strong -grecord-gcc-switches -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -mcpu=power8 -mtune=power8 -funwind-tables -fstack-clash-protection -g -O2 -DUSE_PTHREAD -DTEST_USES_TBB=1 -Wall -Wshadow -Wcast-qual -Woverloaded-virtual -Wnon-virtual-dtor -Wextra -O2 -g -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -fexceptions -fstack-protector-strong -grecord-gcc-switches -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -mcpu=power8 -mtune=power8 -funwind-tables -fstack-clash-protection test_aggregator.o libtbb.so -lpthread -lrt -Wl,-rpath-link=. -rdynamic g++ -o test_concurrent_lru_cache.o -c -MMD -O2 -g -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -fexceptions -fstack-protector-strong -grecord-gcc-switches -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -mcpu=power8 -mtune=power8 -funwind-tables -fstack-clash-protection -g -O2 -DUSE_PTHREAD -DTEST_USES_TBB=1 -Wall -Wshadow -Wcast-qual -Woverloaded-virtual -Wnon-virtual-dtor -Wextra -O2 -g -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -fexceptions -fstack-protector-strong -grecord-gcc-switches -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -mcpu=power8 -mtune=power8 -funwind-tables -fstack-clash-protection -std=c++14 -I../../src -I../../src/rml/include -I../../include -I. -include ../../src/test/harness_preload.h ../../src/test/test_concurrent_lru_cache.cpp In file included from ../../include/tbb/tbb_machine.h:243, from ../../include/tbb/atomic.h:32, from ../../include/tbb/concurrent_lru_cache.h:37, from ../../src/test/test_concurrent_lru_cache.cpp:30: ../../include/tbb/machine/mac_ppc.h: In function 'int32_t __TBB_machine_cmpswp4(volatile void*, int32_t, int32_t)': ../../include/tbb/machine/mac_ppc.h:91:46: warning: cast from type 'volatile void*' to type 'int32_t*' {aka 'int*'} casts away qualifiers [-Wcast-qual] , "+m"(* (int32_t*) ptr) /* redundant with "memory" */ ^~~ ../../include/tbb/machine/mac_ppc.h: In function 'int64_t __TBB_machine_cmpswp8(volatile void*, int64_t, int64_t)': ../../include/tbb/machine/mac_ppc.h:116:46: warning: cast from type 'volatile void*' to type 'int64_t*' {aka 'long int*'} casts away qualifiers [-Wcast-qual] , "+m"(* (int64_t*) ptr) /* redundant with "memory" */ ^~~ g++ -o test_concurrent_lru_cache.exe -O2 -g -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -fexceptions -fstack-protector-strong -grecord-gcc-switches -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -mcpu=power8 -mtune=power8 -funwind-tables -fstack-clash-protection -g -O2 -DUSE_PTHREAD -DTEST_USES_TBB=1 -Wall -Wshadow -Wcast-qual -Woverloaded-virtual -Wnon-virtual-dtor -Wextra -O2 -g -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -fexceptions -fstack-protector-strong -grecord-gcc-switches -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -mcpu=power8 -mtune=power8 -funwind-tables -fstack-clash-protection test_concurrent_lru_cache.o libtbb.so -lpthread -lrt -Wl,-rpath-link=. -rdynamic g++ -o test_examples_common_utility.o -c -MMD -O2 -g -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -fexceptions -fstack-protector-strong -grecord-gcc-switches -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -mcpu=power8 -mtune=power8 -funwind-tables -fstack-clash-protection -g -O2 -DUSE_PTHREAD -DTEST_USES_TBB=1 -Wall -Wshadow -Wcast-qual -Woverloaded-virtual -Wnon-virtual-dtor -Wextra -O2 -g -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -fexceptions -fstack-protector-strong -grecord-gcc-switches -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -mcpu=power8 -mtune=power8 -funwind-tables -fstack-clash-protection -std=c++14 -I../../src -I../../src/rml/include -I../../include -I. -include ../../src/test/harness_preload.h ../../src/test/test_examples_common_utility.cpp g++ -o test_examples_common_utility.exe -O2 -g -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -fexceptions -fstack-protector-strong -grecord-gcc-switches -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -mcpu=power8 -mtune=power8 -funwind-tables -fstack-clash-protection -g -O2 -DUSE_PTHREAD -DTEST_USES_TBB=1 -Wall -Wshadow -Wcast-qual -Woverloaded-virtual -Wnon-virtual-dtor -Wextra -O2 -g -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -fexceptions -fstack-protector-strong -grecord-gcc-switches -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -mcpu=power8 -mtune=power8 -funwind-tables -fstack-clash-protection test_examples_common_utility.o libtbb.so -lpthread -lrt -Wl,-rpath-link=. -rdynamic g++ -o test_dynamic_link.o -c -MMD -O2 -g -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -fexceptions -fstack-protector-strong -grecord-gcc-switches -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -mcpu=power8 -mtune=power8 -funwind-tables -fstack-clash-protection -g -O2 -DUSE_PTHREAD -DTEST_USES_TBB=1 -Wall -Wshadow -Wcast-qual -Woverloaded-virtual -Wnon-virtual-dtor -Wextra -O2 -g -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -fexceptions -fstack-protector-strong -grecord-gcc-switches -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -mcpu=power8 -mtune=power8 -funwind-tables -fstack-clash-protection -std=c++14 -I../../src -I../../src/rml/include -I../../include -I. -include ../../src/test/harness_preload.h ../../src/test/test_dynamic_link.cpp In file included from ../../include/tbb/tbb_machine.h:243, from ../../src/tbb/tbb_misc.h:25, from ../../src/tbb/dynamic_link.cpp:57, from ../../src/test/test_dynamic_link.cpp:59: ../../include/tbb/machine/mac_ppc.h: In function 'int32_t __TBB_machine_cmpswp4(volatile void*, int32_t, int32_t)': ../../include/tbb/machine/mac_ppc.h:91:46: warning: cast from type 'volatile void*' to type 'int32_t*' {aka 'int*'} casts away qualifiers [-Wcast-qual] , "+m"(* (int32_t*) ptr) /* redundant with "memory" */ ^~~ ../../include/tbb/machine/mac_ppc.h: In function 'int64_t __TBB_machine_cmpswp8(volatile void*, int64_t, int64_t)': ../../include/tbb/machine/mac_ppc.h:116:46: warning: cast from type 'volatile void*' to type 'int64_t*' {aka 'long int*'} casts away qualifiers [-Wcast-qual] , "+m"(* (int64_t*) ptr) /* redundant with "memory" */ ^~~ g++ -o test_dynamic_link.exe -O2 -g -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -fexceptions -fstack-protector-strong -grecord-gcc-switches -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -mcpu=power8 -mtune=power8 -funwind-tables -fstack-clash-protection -g -O2 -DUSE_PTHREAD -DTEST_USES_TBB=1 -Wall -Wshadow -Wcast-qual -Woverloaded-virtual -Wnon-virtual-dtor -Wextra -O2 -g -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -fexceptions -fstack-protector-strong -grecord-gcc-switches -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -mcpu=power8 -mtune=power8 -funwind-tables -fstack-clash-protection test_dynamic_link.o libtbb.so -lpthread -lrt -ldl -Wl,-rpath-link=. -rdynamic g++ -o test_parallel_for_vectorization.o -c -MMD -O2 -g -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -fexceptions -fstack-protector-strong -grecord-gcc-switches -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -mcpu=power8 -mtune=power8 -funwind-tables -fstack-clash-protection -g -O2 -DUSE_PTHREAD -DTEST_USES_TBB=1 -Wall -Wshadow -Wcast-qual -Woverloaded-virtual -Wnon-virtual-dtor -Wextra -O2 -g -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -fexceptions -fstack-protector-strong -grecord-gcc-switches -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -mcpu=power8 -mtune=power8 -funwind-tables -fstack-clash-protection -std=c++14 -I../../src -I../../src/rml/include -I../../include -I. -include ../../src/test/harness_preload.h ../../src/test/test_parallel_for_vectorization.cpp In file included from ../../include/tbb/tbb_machine.h:243, from ../../include/tbb/task.h:25, from ../../include/tbb/parallel_for.h:25, from ../../src/test/test_parallel_for_vectorization.cpp:35: ../../include/tbb/machine/mac_ppc.h: In function 'int32_t __TBB_machine_cmpswp4(volatile void*, int32_t, int32_t)': ../../include/tbb/machine/mac_ppc.h:91:46: warning: cast from type 'volatile void*' to type 'int32_t*' {aka 'int*'} casts away qualifiers [-Wcast-qual] , "+m"(* (int32_t*) ptr) /* redundant with "memory" */ ^~~ ../../include/tbb/machine/mac_ppc.h: In function 'int64_t __TBB_machine_cmpswp8(volatile void*, int64_t, int64_t)': ../../include/tbb/machine/mac_ppc.h:116:46: warning: cast from type 'volatile void*' to type 'int64_t*' {aka 'long int*'} casts away qualifiers [-Wcast-qual] , "+m"(* (int64_t*) ptr) /* redundant with "memory" */ ^~~ g++ -o test_parallel_for_vectorization.exe -O2 -g -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -fexceptions -fstack-protector-strong -grecord-gcc-switches -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -mcpu=power8 -mtune=power8 -funwind-tables -fstack-clash-protection -g -O2 -DUSE_PTHREAD -DTEST_USES_TBB=1 -Wall -Wshadow -Wcast-qual -Woverloaded-virtual -Wnon-virtual-dtor -Wextra -O2 -g -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -fexceptions -fstack-protector-strong -grecord-gcc-switches -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -mcpu=power8 -mtune=power8 -funwind-tables -fstack-clash-protection test_parallel_for_vectorization.o libtbb.so -lpthread -lrt -Wl,-rpath-link=. -rdynamic g++ -o test_tagged_msg.o -c -MMD -O2 -g -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -fexceptions -fstack-protector-strong -grecord-gcc-switches -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -mcpu=power8 -mtune=power8 -funwind-tables -fstack-clash-protection -g -O2 -DUSE_PTHREAD -DTEST_USES_TBB=1 -Wall -Wshadow -Wcast-qual -Woverloaded-virtual -Wnon-virtual-dtor -Wextra -O2 -g -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -fexceptions -fstack-protector-strong -grecord-gcc-switches -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -mcpu=power8 -mtune=power8 -funwind-tables -fstack-clash-protection -std=c++14 -I../../src -I../../src/rml/include -I../../include -I. -include ../../src/test/harness_preload.h ../../src/test/test_tagged_msg.cpp In file included from ../../include/tbb/tbb_machine.h:243, from ../../include/tbb/atomic.h:32, from ../../src/test/test_tagged_msg.cpp:23: ../../include/tbb/machine/mac_ppc.h: In function 'int32_t __TBB_machine_cmpswp4(volatile void*, int32_t, int32_t)': ../../include/tbb/machine/mac_ppc.h:91:46: warning: cast from type 'volatile void*' to type 'int32_t*' {aka 'int*'} casts away qualifiers [-Wcast-qual] , "+m"(* (int32_t*) ptr) /* redundant with "memory" */ ^~~ ../../include/tbb/machine/mac_ppc.h: In function 'int64_t __TBB_machine_cmpswp8(volatile void*, int64_t, int64_t)': ../../include/tbb/machine/mac_ppc.h:116:46: warning: cast from type 'volatile void*' to type 'int64_t*' {aka 'long int*'} casts away qualifiers [-Wcast-qual] , "+m"(* (int64_t*) ptr) /* redundant with "memory" */ ^~~ g++ -o test_tagged_msg.exe -O2 -g -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -fexceptions -fstack-protector-strong -grecord-gcc-switches -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -mcpu=power8 -mtune=power8 -funwind-tables -fstack-clash-protection -g -O2 -DUSE_PTHREAD -DTEST_USES_TBB=1 -Wall -Wshadow -Wcast-qual -Woverloaded-virtual -Wnon-virtual-dtor -Wextra -O2 -g -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -fexceptions -fstack-protector-strong -grecord-gcc-switches -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -mcpu=power8 -mtune=power8 -funwind-tables -fstack-clash-protection test_tagged_msg.o libtbb.so -lpthread -lrt -Wl,-rpath-link=. -rdynamic g++ -o test_partitioner_whitebox.o -c -MMD -O2 -g -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -fexceptions -fstack-protector-strong -grecord-gcc-switches -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -mcpu=power8 -mtune=power8 -funwind-tables -fstack-clash-protection -g -O2 -DUSE_PTHREAD -DTEST_USES_TBB=1 -Wall -Wshadow -Wcast-qual -Woverloaded-virtual -Wnon-virtual-dtor -Wextra -O2 -g -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -fexceptions -fstack-protector-strong -grecord-gcc-switches -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -mcpu=power8 -mtune=power8 -funwind-tables -fstack-clash-protection -std=c++14 -I../../src -I../../src/rml/include -I../../include -I. -include ../../src/test/harness_preload.h ../../src/test/test_partitioner_whitebox.cpp In file included from ../../include/tbb/tbb_machine.h:243, from ../../include/tbb/atomic.h:32, from ../../include/tbb/tbb_thread.h:46, from ../../src/test/test_partitioner_whitebox.h:25, from ../../src/test/test_partitioner_whitebox.cpp:22: ../../include/tbb/machine/mac_ppc.h: In function 'int32_t __TBB_machine_cmpswp4(volatile void*, int32_t, int32_t)': ../../include/tbb/machine/mac_ppc.h:91:46: warning: cast from type 'volatile void*' to type 'int32_t*' {aka 'int*'} casts away qualifiers [-Wcast-qual] , "+m"(* (int32_t*) ptr) /* redundant with "memory" */ ^~~ ../../include/tbb/machine/mac_ppc.h: In function 'int64_t __TBB_machine_cmpswp8(volatile void*, int64_t, int64_t)': ../../include/tbb/machine/mac_ppc.h:116:46: warning: cast from type 'volatile void*' to type 'int64_t*' {aka 'long int*'} casts away qualifiers [-Wcast-qual] , "+m"(* (int64_t*) ptr) /* redundant with "memory" */ ^~~ In file included from ../../include/tbb/enumerable_thread_specific.h:25, from ../../src/test/test_partitioner_whitebox.h:26, from ../../src/test/test_partitioner_whitebox.cpp:22: ../../include/tbb/concurrent_vector.h: In static member function 'static void tbb::concurrent_vector::copy_range(void*, const void*, tbb::concurrent_vector::size_type)': ../../include/tbb/concurrent_vector.h:1296:18: warning: declaration of 'iterator' shadows a previous local [-Wshadow] I & iterator ((*const_cast(static_cast(p_type_erased_iterator)))); ^ ../../include/tbb/concurrent_vector.h:578:60: note: shadowed declaration is here typedef internal::vector_iterator iterator; ^~~~~~~~ In file included from ../../include/tbb/enumerable_thread_specific.h:25, from ../../src/test/test_partitioner_whitebox.h:26, from ../../src/test/test_partitioner_whitebox.cpp:22: ../../include/tbb/concurrent_vector.h: In instantiation of 'void tbb::internal::handle_unconstructed_elements(T*, std::size_t) [with T = tbb::internal::padded, 128>; std::size_t = long unsigned int]': ../../include/tbb/concurrent_vector.h:1123:56: required from 'tbb::concurrent_vector::internal_loop_guide::~internal_loop_guide() [with T = tbb::internal::padded, 128>; A = tbb::cache_aligned_allocator, 128> >]' ../../include/tbb/concurrent_vector.h:1262:25: required from 'static void tbb::concurrent_vector::initialize_array(void*, const void*, tbb::concurrent_vector::size_type) [with T = tbb::internal::padded, 128>; A = tbb::cache_aligned_allocator, 128> >; tbb::concurrent_vector::size_type = long unsigned int]' ../../include/tbb/concurrent_vector.h:780:76: required from 'tbb::concurrent_vector::iterator tbb::concurrent_vector::grow_by(tbb::concurrent_vector::size_type) [with T = tbb::internal::padded, 128>; A = tbb::cache_aligned_allocator, 128> >; tbb::concurrent_vector::iterator = tbb::internal::vector_iterator, 128>, tbb::cache_aligned_allocator, 128> > >, tbb::internal::padded, 128> >; tbb::concurrent_vector::size_type = long unsigned int]' ../../include/tbb/enumerable_thread_specific.h:797:36: required from 'void* tbb::interface6::enumerable_thread_specific::create_local() [with T = long unsigned int; Allocator = tbb::cache_aligned_allocator; tbb::ets_key_usage_type ETS_key_type = (tbb::ets_key_usage_type)1]' ../../include/tbb/enumerable_thread_specific.h:796:15: required from here ../../include/tbb/concurrent_vector.h:77:20: warning: 'void* memset(void*, int, size_t)' clearing an object of non-trivial type 'struct tbb::internal::padded, 128>'; use assignment or value-initialization instead [-Wclass-memaccess] std::memset( array, 0, n_of_elements * sizeof( T ) ); ~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ In file included from ../../include/tbb/tbb_thread.h:24, from ../../src/test/test_partitioner_whitebox.h:25, from ../../src/test/test_partitioner_whitebox.cpp:22: ../../include/tbb/tbb_stddef.h:257:8: note: 'struct tbb::internal::padded, 128>' declared here struct padded : padded_base {}; ^~~~~~ g++ -o test_partitioner_whitebox.exe -O2 -g -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -fexceptions -fstack-protector-strong -grecord-gcc-switches -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -mcpu=power8 -mtune=power8 -funwind-tables -fstack-clash-protection -g -O2 -DUSE_PTHREAD -DTEST_USES_TBB=1 -Wall -Wshadow -Wcast-qual -Woverloaded-virtual -Wnon-virtual-dtor -Wextra -O2 -g -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -fexceptions -fstack-protector-strong -grecord-gcc-switches -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -mcpu=power8 -mtune=power8 -funwind-tables -fstack-clash-protection test_partitioner_whitebox.o libtbb.so -lpthread -lrt -Wl,-rpath-link=. -rdynamic g++ -o test_flow_graph_whitebox.o -c -MMD -O2 -g -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -fexceptions -fstack-protector-strong -grecord-gcc-switches -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -mcpu=power8 -mtune=power8 -funwind-tables -fstack-clash-protection -g -O2 -DUSE_PTHREAD -DTEST_USES_TBB=1 -Wall -Wshadow -Wcast-qual -Woverloaded-virtual -Wnon-virtual-dtor -Wextra -O2 -g -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -fexceptions -fstack-protector-strong -grecord-gcc-switches -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -mcpu=power8 -mtune=power8 -funwind-tables -fstack-clash-protection -std=c++14 -I../../src -I../../src/rml/include -I../../include -I. -include ../../src/test/harness_preload.h ../../src/test/test_flow_graph_whitebox.cpp In file included from ../../include/tbb/tbb_machine.h:243, from ../../include/tbb/aligned_space.h:25, from ../../include/tbb/spin_mutex.h:26, from ../../src/test/test_flow_graph_whitebox.cpp:36: ../../include/tbb/machine/mac_ppc.h: In function 'int32_t __TBB_machine_cmpswp4(volatile void*, int32_t, int32_t)': ../../include/tbb/machine/mac_ppc.h:91:46: warning: cast from type 'volatile void*' to type 'int32_t*' {aka 'int*'} casts away qualifiers [-Wcast-qual] , "+m"(* (int32_t*) ptr) /* redundant with "memory" */ ^~~ ../../include/tbb/machine/mac_ppc.h: In function 'int64_t __TBB_machine_cmpswp8(volatile void*, int64_t, int64_t)': ../../include/tbb/machine/mac_ppc.h:116:46: warning: cast from type 'volatile void*' to type 'int64_t*' {aka 'long int*'} casts away qualifiers [-Wcast-qual] , "+m"(* (int64_t*) ptr) /* redundant with "memory" */ ^~~ g++ -o test_flow_graph_whitebox.exe -O2 -g -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -fexceptions -fstack-protector-strong -grecord-gcc-switches -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -mcpu=power8 -mtune=power8 -funwind-tables -fstack-clash-protection -g -O2 -DUSE_PTHREAD -DTEST_USES_TBB=1 -Wall -Wshadow -Wcast-qual -Woverloaded-virtual -Wnon-virtual-dtor -Wextra -O2 -g -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -fexceptions -fstack-protector-strong -grecord-gcc-switches -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -mcpu=power8 -mtune=power8 -funwind-tables -fstack-clash-protection test_flow_graph_whitebox.o libtbb.so -lpthread -lrt -Wl,-rpath-link=. -rdynamic g++ -o test_composite_node.o -c -MMD -O2 -g -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -fexceptions -fstack-protector-strong -grecord-gcc-switches -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -mcpu=power8 -mtune=power8 -funwind-tables -fstack-clash-protection -g -O2 -DUSE_PTHREAD -DTEST_USES_TBB=1 -Wall -Wshadow -Wcast-qual -Woverloaded-virtual -Wnon-virtual-dtor -Wextra -O2 -g -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -fexceptions -fstack-protector-strong -grecord-gcc-switches -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -mcpu=power8 -mtune=power8 -funwind-tables -fstack-clash-protection -std=c++14 -I../../src -I../../src/rml/include -I../../include -I. -include ../../src/test/harness_preload.h ../../src/test/test_composite_node.cpp In file included from ../../include/tbb/tbb_machine.h:243, from ../../include/tbb/atomic.h:32, from ../../include/tbb/flow_graph.h:25, from ../../src/test/test_composite_node.cpp:24: ../../include/tbb/machine/mac_ppc.h: In function 'int32_t __TBB_machine_cmpswp4(volatile void*, int32_t, int32_t)': ../../include/tbb/machine/mac_ppc.h:91:46: warning: cast from type 'volatile void*' to type 'int32_t*' {aka 'int*'} casts away qualifiers [-Wcast-qual] , "+m"(* (int32_t*) ptr) /* redundant with "memory" */ ^~~ ../../include/tbb/machine/mac_ppc.h: In function 'int64_t __TBB_machine_cmpswp8(volatile void*, int64_t, int64_t)': ../../include/tbb/machine/mac_ppc.h:116:46: warning: cast from type 'volatile void*' to type 'int64_t*' {aka 'long int*'} casts away qualifiers [-Wcast-qual] , "+m"(* (int64_t*) ptr) /* redundant with "memory" */ ^~~ g++ -o test_composite_node.exe -O2 -g -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -fexceptions -fstack-protector-strong -grecord-gcc-switches -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -mcpu=power8 -mtune=power8 -funwind-tables -fstack-clash-protection -g -O2 -DUSE_PTHREAD -DTEST_USES_TBB=1 -Wall -Wshadow -Wcast-qual -Woverloaded-virtual -Wnon-virtual-dtor -Wextra -O2 -g -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -fexceptions -fstack-protector-strong -grecord-gcc-switches -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -mcpu=power8 -mtune=power8 -funwind-tables -fstack-clash-protection test_composite_node.o libtbb.so -lpthread -lrt -Wl,-rpath-link=. -rdynamic g++ -o test_async_node.o -c -MMD -O2 -g -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -fexceptions -fstack-protector-strong -grecord-gcc-switches -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -mcpu=power8 -mtune=power8 -funwind-tables -fstack-clash-protection -g -O2 -DUSE_PTHREAD -DTEST_USES_TBB=1 -Wall -Wshadow -Wcast-qual -Woverloaded-virtual -Wnon-virtual-dtor -Wextra -O2 -g -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -fexceptions -fstack-protector-strong -grecord-gcc-switches -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -mcpu=power8 -mtune=power8 -funwind-tables -fstack-clash-protection -std=c++14 -I../../src -I../../src/rml/include -I../../include -I. -include ../../src/test/harness_preload.h ../../src/test/test_async_node.cpp In file included from ../../include/tbb/tbb_machine.h:243, from ../../include/tbb/atomic.h:32, from ../../include/tbb/flow_graph.h:25, from ../../src/test/harness_graph.h:29, from ../../src/test/test_async_node.cpp:22: ../../include/tbb/machine/mac_ppc.h: In function 'int32_t __TBB_machine_cmpswp4(volatile void*, int32_t, int32_t)': ../../include/tbb/machine/mac_ppc.h:91:46: warning: cast from type 'volatile void*' to type 'int32_t*' {aka 'int*'} casts away qualifiers [-Wcast-qual] , "+m"(* (int32_t*) ptr) /* redundant with "memory" */ ^~~ ../../include/tbb/machine/mac_ppc.h: In function 'int64_t __TBB_machine_cmpswp8(volatile void*, int64_t, int64_t)': ../../include/tbb/machine/mac_ppc.h:116:46: warning: cast from type 'volatile void*' to type 'int64_t*' {aka 'long int*'} casts away qualifiers [-Wcast-qual] , "+m"(* (int64_t*) ptr) /* redundant with "memory" */ ^~~ In file included from ../../include/tbb/concurrent_queue.h:24, from ../../src/test/test_async_node.cpp:24: ../../include/tbb/internal/_concurrent_queue_impl.h: In instantiation of 'tbb::strict_ppl::internal::concurrent_queue_base_v3::concurrent_queue_base_v3() [with T = async_activity::work_type]': ../../include/tbb/concurrent_queue.h:85:25: required from 'tbb::strict_ppl::concurrent_queue::concurrent_queue(const allocator_type&) [with T = async_activity::work_type; A = tbb::cache_aligned_allocator::work_type>; tbb::strict_ppl::concurrent_queue::allocator_type = tbb::cache_aligned_allocator::work_type>]' ../../src/test/test_async_node.cpp:279:122: required from 'async_activity::async_activity(int, int) [with Input = int; Output = int]' ../../src/test/test_async_node.cpp:541:49: required from 'static int spin_test::run(int, int) [with Input = int; Output = int]' ../../src/test/test_async_node.cpp:586:26: required from here ../../include/tbb/internal/_concurrent_queue_impl.h:517:11: warning: 'void* memset(void*, int, size_t)' clearing an object of type 'struct tbb::strict_ppl::internal::concurrent_queue_rep::work_type>' with no trivial copy-assignment; use value-initialization instead [-Wclass-memaccess] memset(my_rep,0,sizeof(concurrent_queue_rep)); ~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ../../include/tbb/internal/_concurrent_queue_impl.h:405:8: note: 'struct tbb::strict_ppl::internal::concurrent_queue_rep::work_type>' declared here struct concurrent_queue_rep : public concurrent_queue_rep_base { ^~~~~~~~~~~~~~~~~~~~ ../../include/tbb/internal/_concurrent_queue_impl.h: In instantiation of 'tbb::strict_ppl::internal::concurrent_queue_base_v3::concurrent_queue_base_v3() [with T = async_activity, place_wrapper >::work_type]': ../../include/tbb/concurrent_queue.h:85:25: required from 'tbb::strict_ppl::concurrent_queue::concurrent_queue(const allocator_type&) [with T = async_activity, place_wrapper >::work_type; A = tbb::cache_aligned_allocator, place_wrapper >::work_type>; tbb::strict_ppl::concurrent_queue::allocator_type = tbb::cache_aligned_allocator, place_wrapper >::work_type>]' ../../src/test/test_async_node.cpp:279:122: required from 'async_activity::async_activity(int, int) [with Input = place_wrapper; Output = place_wrapper]' ../../src/test/test_async_node.cpp:394:49: required from 'static int basic_test::run(int) [with Input = place_wrapper; Output = place_wrapper]' ../../src/test/test_async_node.cpp:593:66: required from 'int run_tests() [with Input = int; Output = int]' ../../src/test/test_async_node.cpp:600:25: required from here ../../include/tbb/internal/_concurrent_queue_impl.h:517:11: warning: 'void* memset(void*, int, size_t)' clearing an object of type 'struct tbb::strict_ppl::internal::concurrent_queue_rep, place_wrapper >::work_type>' with no trivial copy-assignment; use value-initialization instead [-Wclass-memaccess] memset(my_rep,0,sizeof(concurrent_queue_rep)); ~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ../../include/tbb/internal/_concurrent_queue_impl.h:405:8: note: 'struct tbb::strict_ppl::internal::concurrent_queue_rep, place_wrapper >::work_type>' declared here struct concurrent_queue_rep : public concurrent_queue_rep_base { ^~~~~~~~~~~~~~~~~~~~ ../../include/tbb/internal/_concurrent_queue_impl.h: In instantiation of 'tbb::strict_ppl::internal::concurrent_queue_base_v3::concurrent_queue_base_v3() [with T = async_activity::work_type]': ../../include/tbb/concurrent_queue.h:85:25: required from 'tbb::strict_ppl::concurrent_queue::concurrent_queue(const allocator_type&) [with T = async_activity::work_type; A = tbb::cache_aligned_allocator::work_type>; tbb::strict_ppl::concurrent_queue::allocator_type = tbb::cache_aligned_allocator::work_type>]' ../../src/test/test_async_node.cpp:279:122: required from 'async_activity::async_activity(int, int) [with Input = minimal_type; Output = minimal_type]' ../../src/test/test_async_node.cpp:394:49: required from 'static int basic_test::run(int) [with Input = minimal_type; Output = minimal_type]' ../../src/test/test_async_node.cpp:591:35: required from 'int run_tests() [with Input = minimal_type; Output = minimal_type]' ../../src/test/test_async_node.cpp:601:43: required from here ../../include/tbb/internal/_concurrent_queue_impl.h:517:11: warning: 'void* memset(void*, int, size_t)' clearing an object of type 'struct tbb::strict_ppl::internal::concurrent_queue_rep::work_type>' with no trivial copy-assignment; use value-initialization instead [-Wclass-memaccess] memset(my_rep,0,sizeof(concurrent_queue_rep)); ~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ../../include/tbb/internal/_concurrent_queue_impl.h:405:8: note: 'struct tbb::strict_ppl::internal::concurrent_queue_rep::work_type>' declared here struct concurrent_queue_rep : public concurrent_queue_rep_base { ^~~~~~~~~~~~~~~~~~~~ ../../include/tbb/internal/_concurrent_queue_impl.h: In instantiation of 'tbb::strict_ppl::internal::concurrent_queue_base_v3::concurrent_queue_base_v3() [with T = async_activity, place_wrapper >::work_type]': ../../include/tbb/concurrent_queue.h:85:25: required from 'tbb::strict_ppl::concurrent_queue::concurrent_queue(const allocator_type&) [with T = async_activity, place_wrapper >::work_type; A = tbb::cache_aligned_allocator, place_wrapper >::work_type>; tbb::strict_ppl::concurrent_queue::allocator_type = tbb::cache_aligned_allocator, place_wrapper >::work_type>]' ../../src/test/test_async_node.cpp:279:122: required from 'async_activity::async_activity(int, int) [with Input = place_wrapper; Output = place_wrapper]' ../../src/test/test_async_node.cpp:394:49: required from 'static int basic_test::run(int) [with Input = place_wrapper; Output = place_wrapper]' ../../src/test/test_async_node.cpp:593:66: required from 'int run_tests() [with Input = minimal_type; Output = minimal_type]' ../../src/test/test_async_node.cpp:601:43: required from here ../../include/tbb/internal/_concurrent_queue_impl.h:517:11: warning: 'void* memset(void*, int, size_t)' clearing an object of type 'struct tbb::strict_ppl::internal::concurrent_queue_rep, place_wrapper >::work_type>' with no trivial copy-assignment; use value-initialization instead [-Wclass-memaccess] memset(my_rep,0,sizeof(concurrent_queue_rep)); ~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ../../include/tbb/internal/_concurrent_queue_impl.h:405:8: note: 'struct tbb::strict_ppl::internal::concurrent_queue_rep, place_wrapper >::work_type>' declared here struct concurrent_queue_rep : public concurrent_queue_rep_base { ^~~~~~~~~~~~~~~~~~~~ ../../include/tbb/internal/_concurrent_queue_impl.h: In instantiation of 'tbb::strict_ppl::internal::concurrent_queue_base_v3::concurrent_queue_base_v3() [with T = async_activity::work_type]': ../../include/tbb/concurrent_queue.h:85:25: required from 'tbb::strict_ppl::concurrent_queue::concurrent_queue(const allocator_type&) [with T = async_activity::work_type; A = tbb::cache_aligned_allocator::work_type>; tbb::strict_ppl::concurrent_queue::allocator_type = tbb::cache_aligned_allocator::work_type>]' ../../src/test/test_async_node.cpp:279:122: required from 'async_activity::async_activity(int, int) [with Input = int; Output = minimal_type]' ../../src/test/test_async_node.cpp:394:49: required from 'static int basic_test::run(int) [with Input = int; Output = minimal_type]' ../../src/test/test_async_node.cpp:591:35: required from 'int run_tests() [with Input = int; Output = minimal_type]' ../../src/test/test_async_node.cpp:602:34: required from here ../../include/tbb/internal/_concurrent_queue_impl.h:517:11: warning: 'void* memset(void*, int, size_t)' clearing an object of type 'struct tbb::strict_ppl::internal::concurrent_queue_rep::work_type>' with no trivial copy-assignment; use value-initialization instead [-Wclass-memaccess] memset(my_rep,0,sizeof(concurrent_queue_rep)); ~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ../../include/tbb/internal/_concurrent_queue_impl.h:405:8: note: 'struct tbb::strict_ppl::internal::concurrent_queue_rep::work_type>' declared here struct concurrent_queue_rep : public concurrent_queue_rep_base { ^~~~~~~~~~~~~~~~~~~~ ../../include/tbb/internal/_concurrent_queue_impl.h: In instantiation of 'tbb::strict_ppl::internal::concurrent_queue_base_v3::concurrent_queue_base_v3() [with T = async_activity, place_wrapper >::work_type]': ../../include/tbb/concurrent_queue.h:85:25: required from 'tbb::strict_ppl::concurrent_queue::concurrent_queue(const allocator_type&) [with T = async_activity, place_wrapper >::work_type; A = tbb::cache_aligned_allocator, place_wrapper >::work_type>; tbb::strict_ppl::concurrent_queue::allocator_type = tbb::cache_aligned_allocator, place_wrapper >::work_type>]' ../../src/test/test_async_node.cpp:279:122: required from 'async_activity::async_activity(int, int) [with Input = place_wrapper; Output = place_wrapper]' ../../src/test/test_async_node.cpp:394:49: required from 'static int basic_test::run(int) [with Input = place_wrapper; Output = place_wrapper]' ../../src/test/test_async_node.cpp:593:66: required from 'int run_tests() [with Input = int; Output = minimal_type]' ../../src/test/test_async_node.cpp:602:34: required from here ../../include/tbb/internal/_concurrent_queue_impl.h:517:11: warning: 'void* memset(void*, int, size_t)' clearing an object of type 'struct tbb::strict_ppl::internal::concurrent_queue_rep, place_wrapper >::work_type>' with no trivial copy-assignment; use value-initialization instead [-Wclass-memaccess] memset(my_rep,0,sizeof(concurrent_queue_rep)); ~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ../../include/tbb/internal/_concurrent_queue_impl.h:405:8: note: 'struct tbb::strict_ppl::internal::concurrent_queue_rep, place_wrapper >::work_type>' declared here struct concurrent_queue_rep : public concurrent_queue_rep_base { ^~~~~~~~~~~~~~~~~~~~ g++ -o test_async_node.exe -O2 -g -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -fexceptions -fstack-protector-strong -grecord-gcc-switches -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -mcpu=power8 -mtune=power8 -funwind-tables -fstack-clash-protection -g -O2 -DUSE_PTHREAD -DTEST_USES_TBB=1 -Wall -Wshadow -Wcast-qual -Woverloaded-virtual -Wnon-virtual-dtor -Wextra -O2 -g -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -fexceptions -fstack-protector-strong -grecord-gcc-switches -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -mcpu=power8 -mtune=power8 -funwind-tables -fstack-clash-protection test_async_node.o libtbb.so -lpthread -lrt -Wl,-rpath-link=. -rdynamic g++ -o test_async_msg.o -c -MMD -O2 -g -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -fexceptions -fstack-protector-strong -grecord-gcc-switches -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -mcpu=power8 -mtune=power8 -funwind-tables -fstack-clash-protection -g -O2 -DUSE_PTHREAD -DTEST_USES_TBB=1 -Wall -Wshadow -Wcast-qual -Woverloaded-virtual -Wnon-virtual-dtor -Wextra -O2 -g -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -fexceptions -fstack-protector-strong -grecord-gcc-switches -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -mcpu=power8 -mtune=power8 -funwind-tables -fstack-clash-protection -std=c++14 -I../../src -I../../src/rml/include -I../../include -I. -include ../../src/test/harness_preload.h ../../src/test/test_async_msg.cpp In file included from ../../include/tbb/tbb_machine.h:243, from ../../include/tbb/atomic.h:32, from ../../include/tbb/flow_graph.h:25, from ../../src/test/test_async_msg.cpp:33: ../../include/tbb/machine/mac_ppc.h: In function 'int32_t __TBB_machine_cmpswp4(volatile void*, int32_t, int32_t)': ../../include/tbb/machine/mac_ppc.h:91:46: warning: cast from type 'volatile void*' to type 'int32_t*' {aka 'int*'} casts away qualifiers [-Wcast-qual] , "+m"(* (int32_t*) ptr) /* redundant with "memory" */ ^~~ ../../include/tbb/machine/mac_ppc.h: In function 'int64_t __TBB_machine_cmpswp8(volatile void*, int64_t, int64_t)': ../../include/tbb/machine/mac_ppc.h:116:46: warning: cast from type 'volatile void*' to type 'int64_t*' {aka 'long int*'} casts away qualifiers [-Wcast-qual] , "+m"(* (int64_t*) ptr) /* redundant with "memory" */ ^~~ g++ -o test_async_msg.exe -O2 -g -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -fexceptions -fstack-protector-strong -grecord-gcc-switches -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -mcpu=power8 -mtune=power8 -funwind-tables -fstack-clash-protection -g -O2 -DUSE_PTHREAD -DTEST_USES_TBB=1 -Wall -Wshadow -Wcast-qual -Woverloaded-virtual -Wnon-virtual-dtor -Wextra -O2 -g -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -fexceptions -fstack-protector-strong -grecord-gcc-switches -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -mcpu=power8 -mtune=power8 -funwind-tables -fstack-clash-protection test_async_msg.o libtbb.so -lpthread -lrt -Wl,-rpath-link=. -rdynamic g++ -o test_tbb_version.o -c -MMD -O2 -g -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -fexceptions -fstack-protector-strong -grecord-gcc-switches -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -mcpu=power8 -mtune=power8 -funwind-tables -fstack-clash-protection -g -O2 -DUSE_PTHREAD -DTEST_USES_TBB=1 -Wall -Wshadow -Wcast-qual -Woverloaded-virtual -Wnon-virtual-dtor -Wextra -O2 -g -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -fexceptions -fstack-protector-strong -grecord-gcc-switches -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -mcpu=power8 -mtune=power8 -funwind-tables -fstack-clash-protection -std=c++14 -I../../src -I../../src/rml/include -I../../include -I. -include ../../src/test/harness_preload.h ../../src/test/test_tbb_version.cpp g++ -o test_tbb_version.exe -O2 -g -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -fexceptions -fstack-protector-strong -grecord-gcc-switches -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -mcpu=power8 -mtune=power8 -funwind-tables -fstack-clash-protection -g -O2 -DUSE_PTHREAD -DTEST_USES_TBB=1 -Wall -Wshadow -Wcast-qual -Woverloaded-virtual -Wnon-virtual-dtor -Wextra -O2 -g -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -fexceptions -fstack-protector-strong -grecord-gcc-switches -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -mcpu=power8 -mtune=power8 -funwind-tables -fstack-clash-protection test_tbb_version.o libtbb.so -lpthread -lrt -Wl,-rpath-link=. -rdynamic g++ -o test_task_leaks.o -c -MMD -O2 -g -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -fexceptions -fstack-protector-strong -grecord-gcc-switches -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -mcpu=power8 -mtune=power8 -funwind-tables -fstack-clash-protection -g -O2 -DUSE_PTHREAD -Wall -Wno-parentheses -Wno-non-virtual-dtor -O2 -g -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -fexceptions -fstack-protector-strong -grecord-gcc-switches -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -mcpu=power8 -mtune=power8 -funwind-tables -fstack-clash-protection -flifetime-dse=1 -std=c++14 -I../../src -I../../src/rml/include -I../../include -I. -include ../../src/test/harness_preload.h ../../src/test/test_task_leaks.cpp g++ -o test_task_leaks.exe -O2 -g -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -fexceptions -fstack-protector-strong -grecord-gcc-switches -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -mcpu=power8 -mtune=power8 -funwind-tables -fstack-clash-protection -g -O2 -DUSE_PTHREAD -Wall -Wno-parentheses -Wno-non-virtual-dtor -O2 -g -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -fexceptions -fstack-protector-strong -grecord-gcc-switches -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -mcpu=power8 -mtune=power8 -funwind-tables -fstack-clash-protection -flifetime-dse=1 test_task_leaks.o tbb_misc.o -lpthread -lrt -ldl -Wl,-rpath-link=. -rdynamic g++ -o test_task_assertions.o -c -MMD -O2 -g -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -fexceptions -fstack-protector-strong -grecord-gcc-switches -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -mcpu=power8 -mtune=power8 -funwind-tables -fstack-clash-protection -g -O2 -DUSE_PTHREAD -Wall -Wno-parentheses -Wno-non-virtual-dtor -O2 -g -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -fexceptions -fstack-protector-strong -grecord-gcc-switches -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -mcpu=power8 -mtune=power8 -funwind-tables -fstack-clash-protection -flifetime-dse=1 -std=c++14 -I../../src -I../../src/rml/include -I../../include -I. -include ../../src/test/harness_preload.h ../../src/test/test_task_assertions.cpp g++ -o test_task_assertions.exe -O2 -g -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -fexceptions -fstack-protector-strong -grecord-gcc-switches -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -mcpu=power8 -mtune=power8 -funwind-tables -fstack-clash-protection -g -O2 -DUSE_PTHREAD -Wall -Wno-parentheses -Wno-non-virtual-dtor -O2 -g -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -fexceptions -fstack-protector-strong -grecord-gcc-switches -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -mcpu=power8 -mtune=power8 -funwind-tables -fstack-clash-protection -flifetime-dse=1 test_task_assertions.o tbb_misc.o -lpthread -lrt -ldl -Wl,-rpath-link=. -rdynamic g++ -o test_fast_random.o -c -MMD -O2 -g -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -fexceptions -fstack-protector-strong -grecord-gcc-switches -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -mcpu=power8 -mtune=power8 -funwind-tables -fstack-clash-protection -g -O2 -DUSE_PTHREAD -Wall -Wno-parentheses -Wno-non-virtual-dtor -O2 -g -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -fexceptions -fstack-protector-strong -grecord-gcc-switches -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -mcpu=power8 -mtune=power8 -funwind-tables -fstack-clash-protection -flifetime-dse=1 -std=c++14 -I../../src -I../../src/rml/include -I../../include -I. -include ../../src/test/harness_preload.h ../../src/test/test_fast_random.cpp g++ -o test_fast_random.exe -O2 -g -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -fexceptions -fstack-protector-strong -grecord-gcc-switches -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -mcpu=power8 -mtune=power8 -funwind-tables -fstack-clash-protection -g -O2 -DUSE_PTHREAD -Wall -Wno-parentheses -Wno-non-virtual-dtor -O2 -g -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -fexceptions -fstack-protector-strong -grecord-gcc-switches -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -mcpu=power8 -mtune=power8 -funwind-tables -fstack-clash-protection -flifetime-dse=1 test_fast_random.o tbb_misc.o -lpthread -lrt -ldl -Wl,-rpath-link=. -rdynamic g++ -o test_global_control_whitebox.o -c -MMD -O2 -g -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -fexceptions -fstack-protector-strong -grecord-gcc-switches -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -mcpu=power8 -mtune=power8 -funwind-tables -fstack-clash-protection -g -O2 -DUSE_PTHREAD -Wall -Wno-parentheses -Wno-non-virtual-dtor -O2 -g -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -fexceptions -fstack-protector-strong -grecord-gcc-switches -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -mcpu=power8 -mtune=power8 -funwind-tables -fstack-clash-protection -flifetime-dse=1 -std=c++14 -I../../src -I../../src/rml/include -I../../include -I. -include ../../src/test/harness_preload.h ../../src/test/test_global_control_whitebox.cpp g++ -o test_global_control_whitebox.exe -O2 -g -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -fexceptions -fstack-protector-strong -grecord-gcc-switches -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -mcpu=power8 -mtune=power8 -funwind-tables -fstack-clash-protection -g -O2 -DUSE_PTHREAD -Wall -Wno-parentheses -Wno-non-virtual-dtor -O2 -g -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -fexceptions -fstack-protector-strong -grecord-gcc-switches -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -mcpu=power8 -mtune=power8 -funwind-tables -fstack-clash-protection -flifetime-dse=1 test_global_control_whitebox.o tbb_misc.o -lpthread -lrt -ldl -Wl,-rpath-link=. -rdynamic g++ -o test_concurrent_queue_whitebox.o -c -MMD -O2 -g -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -fexceptions -fstack-protector-strong -grecord-gcc-switches -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -mcpu=power8 -mtune=power8 -funwind-tables -fstack-clash-protection -g -O2 -DUSE_PTHREAD -Wall -Wno-parentheses -Wno-non-virtual-dtor -O2 -g -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -fexceptions -fstack-protector-strong -grecord-gcc-switches -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -mcpu=power8 -mtune=power8 -funwind-tables -fstack-clash-protection -flifetime-dse=1 -std=c++14 -I../../src -I../../src/rml/include -I../../include -I. -include ../../src/test/harness_preload.h ../../src/test/test_concurrent_queue_whitebox.cpp In file included from ../../src/test/test_concurrent_queue_whitebox.cpp:26: ../../src/test/../tbb/concurrent_queue.cpp: In constructor 'tbb::internal::concurrent_queue_base_v3::concurrent_queue_base_v3(std::size_t)': ../../src/test/../tbb/concurrent_queue.cpp:356:49: warning: 'void* memset(void*, int, size_t)' clearing an object of type 'class tbb::internal::concurrent_queue_rep' with no trivial copy-assignment; use value-initialization instead [-Wclass-memaccess] memset(my_rep,0,sizeof(concurrent_queue_rep)); ^ In file included from ../../src/test/test_concurrent_queue_whitebox.cpp:26: ../../src/test/../tbb/concurrent_queue.cpp:118:7: note: 'class tbb::internal::concurrent_queue_rep' declared here class concurrent_queue_rep { ^~~~~~~~~~~~~~~~~~~~ In file included from ../../include/tbb/concurrent_queue.h:24, from ../../src/test/test_concurrent_queue_whitebox.cpp:25: ../../include/tbb/internal/_concurrent_queue_impl.h: In instantiation of 'tbb::strict_ppl::internal::concurrent_queue_base_v3::concurrent_queue_base_v3() [with T = int]': ../../include/tbb/concurrent_queue.h:85:25: required from 'tbb::strict_ppl::concurrent_queue::concurrent_queue(const allocator_type&) [with T = int; A = tbb::cache_aligned_allocator; tbb::strict_ppl::concurrent_queue::allocator_type = tbb::cache_aligned_allocator]' ../../src/test/test_concurrent_queue_whitebox.cpp:78:34: required from 'void TestFlogger() [with T = int]' ../../src/test/test_concurrent_queue_whitebox.cpp:93:22: required from here ../../include/tbb/internal/_concurrent_queue_impl.h:517:11: warning: 'void* memset(void*, int, size_t)' clearing an object of type 'struct tbb::strict_ppl::internal::concurrent_queue_rep' with no trivial copy-assignment; use value-initialization instead [-Wclass-memaccess] memset(my_rep,0,sizeof(concurrent_queue_rep)); ~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ../../include/tbb/internal/_concurrent_queue_impl.h:405:8: note: 'struct tbb::strict_ppl::internal::concurrent_queue_rep' declared here struct concurrent_queue_rep : public concurrent_queue_rep_base { ^~~~~~~~~~~~~~~~~~~~ ../../include/tbb/internal/_concurrent_queue_impl.h: In instantiation of 'tbb::strict_ppl::internal::concurrent_queue_base_v3::concurrent_queue_base_v3() [with T = unsigned char]': ../../include/tbb/concurrent_queue.h:85:25: required from 'tbb::strict_ppl::concurrent_queue::concurrent_queue(const allocator_type&) [with T = unsigned char; A = tbb::cache_aligned_allocator; tbb::strict_ppl::concurrent_queue::allocator_type = tbb::cache_aligned_allocator]' ../../src/test/test_concurrent_queue_whitebox.cpp:78:34: required from 'void TestFlogger() [with T = unsigned char]' ../../src/test/test_concurrent_queue_whitebox.cpp:94:32: required from here ../../include/tbb/internal/_concurrent_queue_impl.h:517:11: warning: 'void* memset(void*, int, size_t)' clearing an object of type 'struct tbb::strict_ppl::internal::concurrent_queue_rep' with no trivial copy-assignment; use value-initialization instead [-Wclass-memaccess] memset(my_rep,0,sizeof(concurrent_queue_rep)); ~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ../../include/tbb/internal/_concurrent_queue_impl.h:405:8: note: 'struct tbb::strict_ppl::internal::concurrent_queue_rep' declared here struct concurrent_queue_rep : public concurrent_queue_rep_base { ^~~~~~~~~~~~~~~~~~~~ g++ -o test_concurrent_queue_whitebox.exe -O2 -g -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -fexceptions -fstack-protector-strong -grecord-gcc-switches -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -mcpu=power8 -mtune=power8 -funwind-tables -fstack-clash-protection -g -O2 -DUSE_PTHREAD -Wall -Wno-parentheses -Wno-non-virtual-dtor -O2 -g -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -fexceptions -fstack-protector-strong -grecord-gcc-switches -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -mcpu=power8 -mtune=power8 -funwind-tables -fstack-clash-protection -flifetime-dse=1 test_concurrent_queue_whitebox.o tbb_misc.o -lpthread -lrt -ldl -Wl,-rpath-link=. -rdynamic ./test_assembly.exe done ./test_global_control.exe TBB Warning: The number of workers is currently limited to 0. The request for 1 workers is ignored. Further requests for more workers will be silently ignored until the limit changes. TBB Warning: The number of workers is currently limited to 0. The request for 1 workers is ignored. Further requests for more workers will be silently ignored until the limit changes. done ./test_tbb_fork.exe done ./test_assembly_compiler_builtins.exe done ./test_aligned_space.exe done ./test_atomic.exe done ./test_atomic_pic.exe done ./test_atomic_compiler_builtins.exe done ./test_blocked_range.exe done ./test_blocked_range2d.exe done ./test_blocked_range3d.exe done ./test_concurrent_queue.exe done ./test_concurrent_vector.exe Warning: not much concurrency in TestConcurrentGrowBy (0 inversions) done ./test_concurrent_unordered_set.exe done ./test_concurrent_unordered_map.exe done ./test_concurrent_hash_map.exe done ./test_enumerable_thread_specific.exe done ./test_handle_perror.exe done ./test_halt.exe done ./test_mutex.exe done ./test_mutex_native_threads.exe done ./test_rwm_upgrade_downgrade.exe done ./test_cache_aligned_allocator.exe done ./test_cache_aligned_allocator_STL.exe done ./test_parallel_for.exe done ./test_parallel_reduce.exe done ./test_parallel_sort.exe done ./test_parallel_scan.exe done ./test_parallel_while.exe done ./test_parallel_do.exe done ./test_pipeline.exe done ./test_pipeline_with_tbf.exe done ./test_parallel_pipeline.exe done ./test_lambda.exe done ./test_task_scheduler_init.exe done ./test_task_scheduler_observer.exe done ./test_task.exe done ./test_tbb_thread.exe done ./test_std_thread.exe done ./test_tick_count.exe done ./test_inits_loop.exe skip ./test_yield.exe done ./test_eh_tasks.exe done ./test_eh_algorithms.exe done ./test_eh_flow_graph.exe done ./test_parallel_invoke.exe done ./test_task_group.exe done ./test_ittnotify.exe skip ./test_parallel_for_each.exe done ./test_tbb_header.exe done ./test_combinable.exe done ./test_task_auto_init.exe done ./test_task_arena.exe Call stack info (9): ./test_task_arena.exe(_Z16print_call_stackv+0x7c)[0x1001b3ac] ./test_task_arena.exe(_Z11ReportErrorPKciS0_S0_+0x3c)[0x1001b58c] ./test_task_arena.exe(_ZN7Harness11SpinBarrier10timed_waitEdPKc+0x2d4)[0x1002e274] ./test_task_arena.exe(_ZN3tbb8internal13function_taskI16AsynchronousWorkE7executeEv+0x194)[0x1002f694] ./libtbb.so.2(+0x30b18)[0x7fffa2600b18] ./libtbb.so.2(_ZNK3tbb10interface78internal15task_arena_base16internal_executeERNS1_13delegate_baseE+0x71c)[0x7fffa25f964c] ./test_task_arena.exe(_ZN21NativeParallelForTaskIi20MultipleMastersPart2E15thread_functionEPv+0x64)[0x100241d4] /lib64/power9/libpthread.so.0(+0x8d64)[0x7fffa2578d64] /lib64/power9/libc.so.6(clone+0x98)[0x7fffa20bcbb8] ../../src/test/harness_barrier.h:121, assertion n_seconds >= 0: Time is out while waiting on a barrier make[1]: *** [../../build/Makefile.test:270: test_tbb_plain] Aborted g++ -o test_openmp.o -c -MMD -O2 -g -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -fexceptions -fstack-protector-strong -grecord-gcc-switches -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -mcpu=power8 -mtune=power8 -funwind-tables -fstack-clash-protection -g -O2 -DUSE_PTHREAD -DTEST_USES_TBB=1 -Wall -Wshadow -Wcast-qual -Woverloaded-virtual -Wnon-virtual-dtor -Wextra -O2 -g -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -fexceptions -fstack-protector-strong -grecord-gcc-switches -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -mcpu=power8 -mtune=power8 -funwind-tables -fstack-clash-protection -fopenmp -std=c++14 -I../../src -I../../src/rml/include -I../../include -I. -include ../../src/test/harness_preload.h ../../src/test/test_openmp.cpp In file included from ../../include/tbb/tbb_machine.h:243, from ../../include/tbb/task.h:25, from ../../include/tbb/parallel_for.h:25, from ../../src/test/test_openmp.cpp:105: ../../include/tbb/machine/mac_ppc.h: In function 'int32_t __TBB_machine_cmpswp4(volatile void*, int32_t, int32_t)': ../../include/tbb/machine/mac_ppc.h:91:46: warning: cast from type 'volatile void*' to type 'int32_t*' {aka 'int*'} casts away qualifiers [-Wcast-qual] , "+m"(* (int32_t*) ptr) /* redundant with "memory" */ ^~~ ../../include/tbb/machine/mac_ppc.h: In function 'int64_t __TBB_machine_cmpswp8(volatile void*, int64_t, int64_t)': ../../include/tbb/machine/mac_ppc.h:116:46: warning: cast from type 'volatile void*' to type 'int64_t*' {aka 'long int*'} casts away qualifiers [-Wcast-qual] , "+m"(* (int64_t*) ptr) /* redundant with "memory" */ ^~~ g++ -o test_openmp.exe -O2 -g -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -fexceptions -fstack-protector-strong -grecord-gcc-switches -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -mcpu=power8 -mtune=power8 -funwind-tables -fstack-clash-protection -g -O2 -DUSE_PTHREAD -DTEST_USES_TBB=1 -Wall -Wshadow -Wcast-qual -Woverloaded-virtual -Wnon-virtual-dtor -Wextra -O2 -g -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -fexceptions -fstack-protector-strong -grecord-gcc-switches -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -mcpu=power8 -mtune=power8 -funwind-tables -fstack-clash-protection -fopenmp test_openmp.o libtbb.so -lpthread -lrt -Wl,-rpath-link=. -rdynamic ./test_openmp.exe 1:4 done Intel(R) Cilk(TM) Plus is not available g++ -o test_concurrent_vector_v2.o -c -MMD -D__TBB_TEST_DEPRECATED=1 -O2 -g -pipe -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -fexceptions -fstack-protector-strong -grecord-gcc-switches -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -mcpu=power8 -mtune=power8 -funwind-tables -fstack-clash-protection -g -O2 -DUSE_PTHREAD -DTEST_USES_TBB=1 -O2 -g -pipe -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -fexceptions -fstack-protector-strong -grecord-gcc-switches -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -mcpu=power8 -mtune=power8 -funwind-tables -fstack-clash-protection -Wno-parentheses -Wno-non-virtual-dtor -I../../src/test -std=c++14 -I../../src -I../../src/rml/include -I../../include -I. -include ../../src/test/harness_preload.h ../../src/old/test_concurrent_vector_v2.cpp cc1plus: error: -Wformat-security ignored without -Wformat [-Werror=format-security] cc1plus: some warnings being treated as errors g++ -o test_concurrent_queue_v2.o -c -MMD -D__TBB_TEST_DEPRECATED=1 -O2 -g -pipe -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -fexceptions -fstack-protector-strong -grecord-gcc-switches -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -mcpu=power8 -mtune=power8 -funwind-tables -fstack-clash-protection -g -O2 -DUSE_PTHREAD -DTEST_USES_TBB=1 -O2 -g -pipe -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -fexceptions -fstack-protector-strong -grecord-gcc-switches -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -mcpu=power8 -mtune=power8 -funwind-tables -fstack-clash-protection -Wno-parentheses -Wno-non-virtual-dtor -I../../src/test -std=c++14 -I../../src -I../../src/rml/include -I../../include -I. -include ../../src/test/harness_preload.h ../../src/old/test_concurrent_queue_v2.cpp make[1]: *** [../../build/common_rules.inc:86: test_concurrent_vector_v2.o] Error 1 cc1plus: error: -Wformat-security ignored without -Wformat [-Werror=format-security] cc1plus: some warnings being treated as errors g++ -o test_mutex_v2.o -c -MMD -D__TBB_TEST_DEPRECATED=1 -O2 -g -pipe -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -fexceptions -fstack-protector-strong -grecord-gcc-switches -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -mcpu=power8 -mtune=power8 -funwind-tables -fstack-clash-protection -g -O2 -DUSE_PTHREAD -DTEST_USES_TBB=1 -O2 -g -pipe -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -fexceptions -fstack-protector-strong -grecord-gcc-switches -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -mcpu=power8 -mtune=power8 -funwind-tables -fstack-clash-protection -Wno-parentheses -Wno-non-virtual-dtor -I../../src/test -std=c++14 -I../../src -I../../src/rml/include -I../../include -I. -include ../../src/test/harness_preload.h ../../src/old/test_mutex_v2.cpp make[1]: *** [../../build/common_rules.inc:86: test_concurrent_queue_v2.o] Error 1 cc1plus: error: -Wformat-security ignored without -Wformat [-Werror=format-security] cc1plus: some warnings being treated as errors g++ -o test_task_scheduler_observer_v3.o -c -MMD -D__TBB_TEST_DEPRECATED=1 -O2 -g -pipe -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -fexceptions -fstack-protector-strong -grecord-gcc-switches -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -mcpu=power8 -mtune=power8 -funwind-tables -fstack-clash-protection -g -O2 -DUSE_PTHREAD -DTEST_USES_TBB=1 -O2 -g -pipe -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -fexceptions -fstack-protector-strong -grecord-gcc-switches -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -mcpu=power8 -mtune=power8 -funwind-tables -fstack-clash-protection -Wno-parentheses -Wno-non-virtual-dtor -I../../src/test -std=c++14 -I../../src -I../../src/rml/include -I../../include -I. -include ../../src/test/harness_preload.h ../../src/old/test_task_scheduler_observer_v3.cpp make[1]: *** [../../build/common_rules.inc:86: test_mutex_v2.o] Error 1 cc1plus: error: -Wformat-security ignored without -Wformat [-Werror=format-security] cc1plus: some warnings being treated as errors make[1]: Leaving directory '/builddir/build/BUILD/tbb-2018_U2/build/obj_release' make[1]: *** [../../build/common_rules.inc:86: test_task_scheduler_observer_v3.o] Error 1 make[1]: Target 'default' not remade because of errors. make: [Makefile:47: test] Error 2 (ignored) ============END TESTING=========== + true + echo ============END TESTING=========== + exit 0 Processing files: tbb-2018.2-9.el8.ppc64le Executing(%doc): /bin/sh -e /var/tmp/rpm-tmp.Vx6bxS + umask 022 + cd /builddir/build/BUILD + cd tbb-2018_U2 + DOCDIR=/builddir/build/BUILDROOT/tbb-2018.2-9.el8.ppc64le/usr/share/doc/tbb + export LC_ALL=C + LC_ALL=C + export DOCDIR + /usr/bin/mkdir -p /builddir/build/BUILDROOT/tbb-2018.2-9.el8.ppc64le/usr/share/doc/tbb + cp -pr doc/Release_Notes.txt /builddir/build/BUILDROOT/tbb-2018.2-9.el8.ppc64le/usr/share/doc/tbb + cp -pr README.md /builddir/build/BUILDROOT/tbb-2018.2-9.el8.ppc64le/usr/share/doc/tbb + exit 0 Executing(%license): /bin/sh -e /var/tmp/rpm-tmp.amuQkW + umask 022 + cd /builddir/build/BUILD + cd tbb-2018_U2 + LICENSEDIR=/builddir/build/BUILDROOT/tbb-2018.2-9.el8.ppc64le/usr/share/licenses/tbb + export LC_ALL=C + LC_ALL=C + export LICENSEDIR + /usr/bin/mkdir -p /builddir/build/BUILDROOT/tbb-2018.2-9.el8.ppc64le/usr/share/licenses/tbb + cp -pr LICENSE /builddir/build/BUILDROOT/tbb-2018.2-9.el8.ppc64le/usr/share/licenses/tbb + exit 0 Provides: libirml.so.1()(64bit) libtbb.so.2()(64bit) libtbbmalloc.so.2()(64bit) libtbbmalloc_proxy.so.2()(64bit) tbb = 2018.2-9.el8 tbb(ppc-64) = 2018.2-9.el8 Requires(interp): /sbin/ldconfig /sbin/ldconfig Requires(rpmlib): rpmlib(CompressedFileNames) <= 3.0.4-1 rpmlib(FileDigests) <= 4.6.0-1 rpmlib(PayloadFilesHavePrefix) <= 4.0-1 Requires(post): /sbin/ldconfig Requires(postun): /sbin/ldconfig Requires: libc.so.6()(64bit) libc.so.6(GLIBC_2.17)(64bit) libdl.so.2()(64bit) libdl.so.2(GLIBC_2.17)(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) libpthread.so.0()(64bit) libpthread.so.0(GLIBC_2.17)(64bit) librt.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.3)(64bit) libstdc++.so.6(CXXABI_1.3.8)(64bit) libstdc++.so.6(CXXABI_1.3.9)(64bit) libstdc++.so.6(GLIBCXX_3.4)(64bit) libstdc++.so.6(GLIBCXX_3.4.21)(64bit) libtbbmalloc.so.2()(64bit) rtld(GNU_HASH) Processing files: tbb-devel-2018.2-9.el8.ppc64le Executing(%doc): /bin/sh -e /var/tmp/rpm-tmp.lBNta0 + umask 022 + cd /builddir/build/BUILD + cd tbb-2018_U2 + DOCDIR=/builddir/build/BUILDROOT/tbb-2018.2-9.el8.ppc64le/usr/share/doc/tbb-devel + export LC_ALL=C + LC_ALL=C + export DOCDIR + /usr/bin/mkdir -p /builddir/build/BUILDROOT/tbb-2018.2-9.el8.ppc64le/usr/share/doc/tbb-devel + cp -pr CHANGES /builddir/build/BUILDROOT/tbb-2018.2-9.el8.ppc64le/usr/share/doc/tbb-devel + cp -pr cmake/README.rst /builddir/build/BUILDROOT/tbb-2018.2-9.el8.ppc64le/usr/share/doc/tbb-devel + exit 0 Provides: pkgconfig(tbb) = 2018.2 pkgconfig(tbbmalloc) = 2018.2 pkgconfig(tbbmalloc_proxy) = 2018.2 tbb-devel = 2018.2-9.el8 tbb-devel(ppc-64) = 2018.2-9.el8 Requires(rpmlib): rpmlib(CompressedFileNames) <= 3.0.4-1 rpmlib(FileDigests) <= 4.6.0-1 rpmlib(PayloadFilesHavePrefix) <= 4.0-1 Requires: /usr/bin/pkg-config libirml.so.1()(64bit) libtbb.so.2()(64bit) libtbbmalloc.so.2()(64bit) libtbbmalloc_proxy.so.2()(64bit) Processing files: tbb-doc-2018.2-9.el8.ppc64le Executing(%doc): /bin/sh -e /var/tmp/rpm-tmp.3rDJa4 + umask 022 + cd /builddir/build/BUILD + cd tbb-2018_U2 + DOCDIR=/builddir/build/BUILDROOT/tbb-2018.2-9.el8.ppc64le/usr/share/doc/tbb-doc + export LC_ALL=C + LC_ALL=C + export DOCDIR + /usr/bin/mkdir -p /builddir/build/BUILDROOT/tbb-2018.2-9.el8.ppc64le/usr/share/doc/tbb-doc + cp -pr doc/Release_Notes.txt /builddir/build/BUILDROOT/tbb-2018.2-9.el8.ppc64le/usr/share/doc/tbb-doc + cp -pr doc/html /builddir/build/BUILDROOT/tbb-2018.2-9.el8.ppc64le/usr/share/doc/tbb-doc + exit 0 Provides: bundled(jquery) tbb-doc = 2018.2-9.el8 tbb-doc(ppc-64) = 2018.2-9.el8 Requires(rpmlib): rpmlib(CompressedFileNames) <= 3.0.4-1 rpmlib(FileDigests) <= 4.6.0-1 rpmlib(PayloadFilesHavePrefix) <= 4.0-1 Processing files: python3-tbb-2018.2-9.el8.ppc64le Executing(%doc): /bin/sh -e /var/tmp/rpm-tmp.TFu2S8 + umask 022 + cd /builddir/build/BUILD + cd tbb-2018_U2 + DOCDIR=/builddir/build/BUILDROOT/tbb-2018.2-9.el8.ppc64le/usr/share/doc/python3-tbb + export LC_ALL=C + LC_ALL=C + export DOCDIR + /usr/bin/mkdir -p /builddir/build/BUILDROOT/tbb-2018.2-9.el8.ppc64le/usr/share/doc/python3-tbb + cp -pr python3/index.html /builddir/build/BUILDROOT/tbb-2018.2-9.el8.ppc64le/usr/share/doc/python3-tbb + exit 0 Provides: python3-tbb = 2018.2-9.el8 python3-tbb(ppc-64) = 2018.2-9.el8 python3.6dist(tbb) = 0.1 python3dist(tbb) = 0.1 Requires(rpmlib): rpmlib(CompressedFileNames) <= 3.0.4-1 rpmlib(FileDigests) <= 4.6.0-1 rpmlib(PartialHardlinkSets) <= 4.0.4-1 rpmlib(PayloadFilesHavePrefix) <= 4.0-1 Requires: /usr/libexec/platform-python libc.so.6()(64bit) libc.so.6(GLIBC_2.17)(64bit) libgcc_s.so.1()(64bit) libgcc_s.so.1(GCC_3.0)(64bit) libirml.so.1()(64bit) libm.so.6()(64bit) libpthread.so.0()(64bit) libpthread.so.0(GLIBC_2.17)(64bit) libpython3.6m.so.1.0()(64bit) libstdc++.so.6()(64bit) libstdc++.so.6(CXXABI_1.3)(64bit) libstdc++.so.6(GLIBCXX_3.4)(64bit) libstdc++.so.6(GLIBCXX_3.4.11)(64bit) libtbb.so.2()(64bit) python(abi) = 3.6 rtld(GNU_HASH) Processing files: tbb-debugsource-2018.2-9.el8.ppc64le Provides: tbb-debugsource = 2018.2-9.el8 tbb-debugsource(ppc-64) = 2018.2-9.el8 Requires(rpmlib): rpmlib(CompressedFileNames) <= 3.0.4-1 rpmlib(FileDigests) <= 4.6.0-1 rpmlib(PayloadFilesHavePrefix) <= 4.0-1 Processing files: tbb-debuginfo-2018.2-9.el8.ppc64le Provides: debuginfo(build-id) = 123bcecfc351c8a38abb4df61a84155719ee33e1 debuginfo(build-id) = 33863b36616be9d81c0d1382c19ef6075d330991 debuginfo(build-id) = 9619a0268f5d5f2f1b6fd1a38c2c4b6263e0c985 debuginfo(build-id) = e2468d12049367887ed5ee85aa4f3064c43308b2 tbb-debuginfo = 2018.2-9.el8 tbb-debuginfo(ppc-64) = 2018.2-9.el8 Requires(rpmlib): rpmlib(CompressedFileNames) <= 3.0.4-1 rpmlib(FileDigests) <= 4.6.0-1 rpmlib(PayloadFilesHavePrefix) <= 4.0-1 Recommends: tbb-debugsource(ppc-64) = 2018.2-9.el8 Processing files: python3-tbb-debuginfo-2018.2-9.el8.ppc64le Provides: debuginfo(build-id) = a78a1df8dec244dde8909c26bb056ea3cd2fc02c python3-tbb-debuginfo = 2018.2-9.el8 python3-tbb-debuginfo(ppc-64) = 2018.2-9.el8 Requires(rpmlib): rpmlib(CompressedFileNames) <= 3.0.4-1 rpmlib(FileDigests) <= 4.6.0-1 rpmlib(PayloadFilesHavePrefix) <= 4.0-1 Recommends: tbb-debugsource(ppc-64) = 2018.2-9.el8 Checking for unpackaged file(s): /usr/lib/rpm/check-files /builddir/build/BUILDROOT/tbb-2018.2-9.el8.ppc64le Wrote: /builddir/build/RPMS/tbb-2018.2-9.el8.ppc64le.rpm Wrote: /builddir/build/RPMS/tbb-devel-2018.2-9.el8.ppc64le.rpm Wrote: /builddir/build/RPMS/tbb-doc-2018.2-9.el8.ppc64le.rpm Wrote: /builddir/build/RPMS/python3-tbb-2018.2-9.el8.ppc64le.rpm Wrote: /builddir/build/RPMS/tbb-debugsource-2018.2-9.el8.ppc64le.rpm Wrote: /builddir/build/RPMS/tbb-debuginfo-2018.2-9.el8.ppc64le.rpm Wrote: /builddir/build/RPMS/python3-tbb-debuginfo-2018.2-9.el8.ppc64le.rpm Executing(%clean): /bin/sh -e /var/tmp/rpm-tmp.qaDBef + umask 022 + cd /builddir/build/BUILD + cd tbb-2018_U2 + /usr/bin/rm -rf /builddir/build/BUILDROOT/tbb-2018.2-9.el8.ppc64le + exit 0 Child return code was: 0